1
0
forked from cheng/wallet
Commit Graph

189 Commits

Author SHA1 Message Date
Cheng
fc9f82b6e5
Documented a bit of code that I had started to forget.
Remade hashing according to the dry principle,
eliminating much code repetition.
Introduced c++20 "concepts" to radically reduce
verbose and incomprehensible template metacode.

modified:   src/db_accessors.h
modified:   src/ristretto255.h
modified:   src/testbed.cpp
2023-09-24 15:38:10 +10:00
Cheng
60eece9269
Merge remote-tracking branch 'origin/docs' 2023-09-23 16:28:50 +10:00
Cheng
89ebcee054
fixed those irritating uninitialized memory warnings by annotating parameters 2023-09-23 15:58:56 +10:00
Cheng
1b0d5148e8
putting in additional SFINAE guards in an effort to hunt down pesky and mysterious warnings 2023-09-22 20:35:28 +10:00
Cheng
9a12dbbd7e
minimally broken branch to isolate what is broken 2023-09-22 19:49:30 +10:00
Cheng
3dabb9992c
updating to version of wxWidgets that tells windows to be unicode 2023-09-22 18:36:07 +10:00
Cheng
d7c06c75c0
cleaning up error reporting 2023-09-22 12:10:52 +10:00
Your Name
654e50ebbd Merge branch 'master' into docs 2023-09-19 16:48:02 +10:00
reaction.la
d50eaa6138
gave the root docs, README, LICENSE, and so forth, the new look 2023-09-19 15:54:05 +10:00
reaction.la
1606968f28
rootdocs broken, manifesto working 2023-09-19 13:13:07 +10:00
reaction.la
5a5403de9c
minor work on the motivation document
darkened the buttons slightly for greater clarity
2023-09-19 10:07:39 +10:00
Cheng
ac7f6806eb
I suffered greatly trying to get the libraries to build correctly
Because one has to separately specify build characteristics in
many different places it is quite difficult to make sure the right
things are linking the right things.

I added the two files msvc/winConfigDebug.bat msvc/winConfigRelease.bat
To build only the libaries that should be linked, so we will get an
error message if a release build links to a debug build.
2023-09-18 07:10:41 +10:00
reaction.la
a11845b46b
cleaning up the very incomplete, but publishable, outline of
what needs doing, and also changed the unintellible
2023-09-17 19:13:44 +10:00
Cheng
61aa3ff141
Updating libsodium - they finally made a release, though
I have been using their unreleased versions for a very
long time.

The release has radically reorganized the build process, probably
to support arm builds
2023-09-17 18:25:49 +10:00
Cheng
70100fbc61
updating wxWidgets - more carefully this time 2023-09-17 14:52:43 +10:00
Cheng
4f77dc9951
command line make 2023-09-16 19:02:43 +10:00
Cheng
3dbd15d27e
Added line numbers and function names to unit test failures
Turned off the deprecated compare warning with explanation
Made a small start on getting names in correct order in the display_wallet
Unit test and create new wallet is still broken if wallet file does
not already exist
2023-09-16 18:49:43 +10:00
Cheng
23e95c16ba
moved a large array from stack to dynamic allocation, and fixed unit
test to correctly handle the new database schema
2023-09-15 19:46:38 +10:00
Cheng
408942a336
My update of wxWidgets broke. wxWidgets bug, or bug in the way I use it.
My update of the schema to explicitly name the ROWID column broke everything because I was using position rather than names for fields
2023-09-14 10:45:12 +10:00
reaction.la
bb6c750a0e
Linkbar is now working, if only in the manifesto subdirectory.
Finally going public with it.  Linked it from my reaction.la
web index, so should become visible to search engines bye and bye
2023-09-06 17:07:37 +10:00
reaction.la
b5beb723c4
Since "proof of stake" already means something else
changed it to proof of share.
Made a small start on populating the horizontal navbar
discovered that no end of my documentation has been broken
by events and should not be linked in.
2023-09-04 20:04:59 +10:00
reaction.la
3c3a22578d
docs build still broken 2023-08-26 09:38:32 +10:00
reaction.la
8cfb02ee99
put in the machinery for a navbar, a navcolumn
and a banner.
    Broke all my existing markdown builds, because I
	have a hundred files that do not fit the new machinery

    And now I have to provide navbars for each directory,
	and update the mkdocs.sh in each directory

    And add a recursive invocation of mkdocs in subdirectories
2023-08-26 07:45:47 +10:00
reaction.la
e679bb5960
checkin in a completely broken docs build 2023-08-26 07:39:57 +10:00
reaction.la
ae1a0b2b88
Preparing to modernize doc appearance with banner, a navbar, and a navcolumn 2023-08-26 07:16:52 +10:00
Cheng
529cc368c9
avoiding the implicit creation of the oid primary key to avoid sqlite backwards bug compatible quirks 2023-08-03 01:44:08 -07:00
Cheng
8ad667f81f
minor changes 2023-07-19 21:29:11 -07:00
Cheng
8c07e05a82
Merge branch 'master' of ../../wallet into docs 2023-05-16 08:11:41 +08:00
Cheng
c344a597a2
merging upstream changes to libsodium 2023-05-16 05:30:30 +08:00
reaction.la
d7c82381ca
removed the obsolete xlink from svg 2023-05-14 10:23:11 +08:00
Cheng
2d8aa233be
changed to immediate, and update wxWidgets version 2023-05-14 10:18:25 +08:00
reaction.la
db9b0a5982
completed the svg file 2023-05-11 09:57:01 +08:00
reaction.la
ce87c11bde
patiently prettying up the illustration of zooko's triangle 2023-05-11 09:12:25 +08:00
reaction.la
5f4642ddd2
misc 2023-05-06 09:31:26 +08:00
Cheng
ce010ab1fd
incorporating upstream changes of submodules 2023-02-27 13:09:20 +08:00
Cheng
61db535769
user friendly error handling of zooko names
Fixed it while dead drunk
could not walk in a straight line
had difficulty typing
coded rather slowly, but still wrote
smart code.

Realized that the error handling
has to have exception structures in
scope, but not the constructors in
scope

You can forward the constructors,
but if you forward the structs,
exceptions will crash.  Your exception
constructor inputs can use structs that
are out of scope at the exception handler
2023-02-26 09:12:31 +08:00
Cheng
badd99b74b
now does correct error handling on insert name
But not very user friendly
2023-02-25 15:46:07 +08:00
reaction.la
dbadd59e3c
Merge remote-tracking branch 'origin/attempt-to-fix-studio-update' into docs 2023-02-24 13:39:53 +08:00
Cheng
5b37e32a81
fixed add name UI
Error handling in add name still horribly broken
2023-02-24 13:30:54 +08:00
Cheng
55929ac9c8
Merge remote-tracking branch 'origin/docs' into attempt-to-fix-studio-update 2023-02-24 11:34:29 +08:00
Cheng
a478a79e8b
handle exception while attempting to open an existing wallet 2023-02-24 11:33:09 +08:00
reaction.la
98a0c6a5f7
typos in code of conduct 2023-02-24 11:21:15 +08:00
reaction.la
a9d34c3f0b
Merge branch 'docs' of rho.la:~/wallet into docs
Conflicts:
	docs/setup/contributor_code_of_conduct.md
2023-02-19 15:24:36 +08:00
reaction.la
5e116784bf
new file: images/gpt_partitioned_linux_disk.webp
new file:   images/msdos_linux_partition.webp
modified:   images/nobody_know_you_are_a_dog.webp
modified:   libraries.md
new file:   notes/merkle_patricia_dag.md
modified:   pandoc_templates/style.css
new file:   pandoc_templates/vscode.css
modified:   scale_clients_trust.md
modified:   setup/contributor_code_of_conduct.md
modified:   setup/set_up_build_environments.md
modified:   setup/wireguard.md
modified:   social_networking.md
modified:   ../libsodium
modified:   ../wxWidgets
2023-02-19 15:15:25 +08:00
reaction.la
6fc26cc9d0
modified: images/nobody_know_you_are_a_dog.webp
modified:   pandoc_templates/style.css
modified:   setup/contributor_code_of_conduct.md
modified:   setup/set_up_build_environments.md
modified:   setup/wireguard.md
2023-02-18 21:04:50 +08:00
Cheng
003d671c25
crash worked around
But the way I fixed it proves it is
a visual studio bug, not my bug
2023-02-17 12:43:22 +08:00
Cheng
5a9296e529
Now it compiles, but still fails unit test
So, though it compiles, the hashing code is compiling
to the wrong thing.

I conclude that my investment in template coding has been
excessive.  It is time to switch to rust.  Template
coding contains too much logically incoherent and
internally inconsistent backward compatibility
making it fragile to subtle changes in the compiler.
2023-02-16 15:24:43 +08:00
Cheng
0967d18cc4
minor changes to fix the original failure to compile correctly
Which might have worked, but now visual studio compiler
crashes on ristretto.h

modified:   src/frame.cpp
modified:   src/ristretto255.h
modified:   src/stdafx.h
2023-02-16 13:28:10 +08:00
reaction.la
9ce5bfc939
miscellaneoud edits 2022-12-22 06:02:01 +08:00
Cheng
fab225e872
struggling because with the new update, stuff just stopped working 2022-10-05 15:34:55 +11:00