Commit Graph

331 Commits

Author SHA1 Message Date
reaction.la
f249adda03
Added discussion of recent history of the cold
start problem.
modified:   docs/manifesto/social_networking.md

Discussion of gpg has been obsoleted by
by git adding its own trust mechanism
to deal with the trust problems of gpg.
modified:   docs/rootDocs/README.md
modified:   docs/setup/contributor_code_of_conduct.md
2023-11-09 05:20:16 +10:00
Cheng
84c6984e40
Merge branch 'wxMenuTracker' 2023-11-08 17:24:34 +10:00
Cheng
22f4e2c1e4
Merge remote-tracking branch 'origin/docs' 2023-11-08 17:24:00 +10:00
Cheng
cfa234ef09
Amended the dynamic menu handling
for the case where we have many windows and
you want to change the menu on change of focus

Which is a classic example of writing code before
it is needed.
2023-11-08 17:23:12 +10:00
reaction.la
f683a3ab0e
Minor correction
manifesto/sox_accounting.md
2023-11-04 09:58:43 +10:00
reaction.la
0e195d8e68
sox_accounting.md -> manifesto/sox_accounting.md 2023-11-04 09:35:46 +10:00
reaction.la
611c7014f9
moved triple entry accounting to manifesto 2023-11-04 09:30:40 +10:00
reaction.la
9341691d26
minor corrections and cleanup 2023-11-04 09:28:05 +10:00
reaction.la
90ac55f30a
Obsoleted by Git now implementing its own trust model
so my elaborate workarounds of gpg's trust model are
rendered irrelevant and stupid.
2023-11-04 09:24:15 +10:00
reaction.la
a88fc58e71
Saner plan for representing bit strings.
Because I realized that the merkle
vertex encloses them and gives them order
and the merkle vertex is itself enclosed
and given order.
2023-11-04 09:19:26 +10:00
reaction.la
022d794d5f
Corrected origins of modern capitalism 2023-11-04 09:18:34 +10:00
Cheng
a29b8c7e52
fixed vcxproj to not use solutiondir,
but to default from its homedir
2023-10-29 15:42:43 +10:00
Cheng
3d805aa7c5
Fixed wallet to use the default wallet location
if available, rather than asking for a location
2023-10-29 15:37:33 +10:00
reaction.la
6d686ee527
conforming the mkdocs structure to dry 2023-10-27 10:12:00 +10:00
reaction.la
699bf5a2ac
Finally completed amending my html generation from markdown
to the new cool style imitating other successful open
software movements.

But all my navbars are the same navbar.  The point of the new
style is to make information readily available.

We will want multiple button bars in the navbar, and possibly a
related materials sidebar.  Or perhaps simply link pages.

We also need to change the introductory paragraph in every page
to the abstract style.
2023-10-26 17:12:35 +10:00
reaction.la
bde195fe98
Merge remote-tracking branch 'origin/master' into docs 2023-10-20 20:38:18 +10:00
reaction.la
3750500d1a
updating libs preparatory to merge 2023-10-20 20:37:42 +10:00
reaction.la
3c6ec5283d
finally figured out how to represent numbers and variable
length bitfields to that they will sort correctly in a Merkle Patricia
tree.

Have written no end of rubbish on this with needs to be deleted or
modified
2023-10-20 20:30:32 +10:00
Cheng
1d7ce60cf7
Fixed the default directory to be
standardpath /vendor name/appname
2023-10-20 12:51:51 +10:00
Cheng
d59729f396
Never really figured out why my code was breaking
fixed it by looking for funny things that deviated from
the sameples,  and doing various recommended safe things,
and found a few sql errors, and one by one the crashes
went away.

The new wxWidgets just seems less tolerant of little careless
stuff that is not right.
2023-10-18 20:23:56 +10:00
reaction.la
06b9fc4017
figured out, at least in outline, how to make
a distributed hash table byzantine fault tolerant

Slight clarification on scalability

Figured out how to make variable length integers that
will be represented in correct order in a patricia
merkle tree.
2023-10-13 21:14:31 +10:00
Cheng
bd08d22cef
empty commit to record known bugs
Halting work on main program to re-integrate libraries.

Crash on file dialog.  Does not happen in
wxWidgets sample code

Failure to record last used.  Does not happen in
wxWidgets sample code

Failure to throw hash re-use exception
(the library always returns zero on hashing data into an
unfinalized, or finalizing an already finalized hash)

Need to use std::variant, with the variants being
monotype for the default init of hash and blob of unsigned
char for the init with an hsh argument, with a member
function blob that does get_if<1> and casts it to byte,
(and throws if it returns null) and for hsh, the variants
being monotype, the libsodium data structure,
and another monotype after the hash is finalized.

For every cross type constructor, you need a corresponding
static cast in the source type, so that copy construction works.

I don't know why << fails with a left hand type.
2023-10-12 11:32:38 +10:00
Cheng
0f214cb028
broken file dialog, broken save default file
looks like wxWidgets bugs
going back to sample code
either sample code breaks, and I make a bug report
to wxWidgets, or I converge the sample code to my
code, and see when it breaks
2023-10-05 20:31:45 +10:00
Cheng
145a3a911f
Finally documented the api to my hash code.
Also fixed it so that
hash<...> a = hsh() << ...;
Actually works.  Needed a cast in the hsh class that calls
the constructor in the hash class.
2023-10-03 11:34:30 +10:00
reaction.la
776c18a4a6
Merge remote-tracking branch 'origin/master' into docs 2023-10-02 23:05:21 +10:00
reaction.la
678e2d7dce
updating wxWidgets 2023-10-02 23:00:39 +10:00
reaction.la
e645c3b381
Added the proposal for variable length quantities
that sort as bitstrings
2023-10-02 21:45:59 +10:00
Cheng
7ba674c29a
Cajoled visual studio into issuing intelligent error messages
when an unserializable type is in the parameter pack.
2023-10-02 11:49:04 +10:00
Cheng
dbe030ba21
Went all in on concepts because of nicer error messages
But did not apply the concept to the parameter pack,
event though I applied no end of cleverness to generate
a variant concept, because
visual studio gives meaningless error messages when applying
a variant concept to a parameter pack.

This will probably improve in later or different compilers,
but right now, this feature does not work
2023-10-01 06:11:15 +10:00
Cheng
bc3f2c9daf
Removed the old "is_serializable" in favor of C++20 concepts syntax.
Changed the name to "has_machine_independent_representation" for a more
intellible error explanation
2023-09-30 15:13:26 +10:00
Cheng
5f4fe3104b
Moved the compiled sql statments from the stack to unique
pointers that are members of the window
2023-09-29 21:16:13 +10:00
Cheng
883d8c5b51
Found the sanity test bug.
My hashing code incorrectly ignored the trailing null in std::strings.
(but not in c strings)
2023-09-29 18:44:49 +10:00
Cheng
bba593180e
displays names in alphabetic order
sanity test of pubkey mysteriously fails in display_wallet, yet identical test with same values succeeds in unit_test
need to create a view once sanity test passes.
then need to refresh display on edit/add name
need to make a second try at integrating release v3.2.2.1
2023-09-29 08:14:29 +10:00
Cheng
d82d5218bc
Got it working, the mystery crash was my update to wxWidgets 3.2.2.1 2023-09-28 18:14:32 +10:00
Cheng
a68282e390
modified: .gitconfig 2023-09-28 14:34:51 +10:00
Cheng
b60c57c2d2
rolling back wx widgets to v3.2.0
file dialog now works, but bugs in my sql code
2023-09-28 12:13:08 +10:00
Cheng
b16ddb2071
stashing changes here, and going back in time till file dialogs work 2023-09-27 22:50:55 +10:00
Cheng
f7876905e3
Simplifying the serialization to and from VLQ integer format with C++20 concepts.
Moving serialization to a new header, serialization.h
2023-09-25 18:51:12 +10:00
Cheng
8e7225440a
my exception code was too clever by half 2023-09-25 11:35:18 +10:00
Cheng
fefb99bb33
Discovered that modifying the wxWidgets manifest has no effect
Restored the wallet manifest.
Discovered that local wxString variables are apt to get wiped during
a throw.  Dangerous to pass a wXstring.utf8() to an exception
2023-09-25 10:23:11 +10:00
reaction.la
4b2ac88e44
started documenting the cold start problem 2023-09-25 08:44:24 +10:00
Cheng
883bd8ebe8
std::format seems like a great idea.
Used it in one place.  Better than printf
derived functionality.

But they never bothered to think through supporting user types,
and that is a complete mess that is grossly inconsistent or simply
not working from one compiler to the next.
2023-09-24 20:06:54 +10:00
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