JoelKatz
80a6f7e5ad
Mostly small cleanups and style fixes.
2011-12-13 18:04:43 -08:00
JoelKatz
fe13406ef8
Some missing helper functions.
2011-12-05 15:00:47 -08:00
JoelKatz
66fec28ffe
Cleanup, additional debug, and a very painful bugfix that turned out to be a
...
1 instead of a 0.
2011-11-29 11:26:45 -08:00
JoelKatz
ebb9a9c255
Build enough information into the leaf nodes so that they can be parsed
...
without knowledge of the objects they contain. This will allow new
transaction or account formats to be added (possibly with larger data sizes)
without breaking the ability to parse the hash trees. It also simplifies
the operation-specific tree code (since it doesn't have to parse the raw
leaf data).
2011-11-28 13:59:34 -08:00
JoelKatz
d176e9d2c7
Bugfixes. isChildLeaf had wrong test. peekNextItem walked the wrong way.
2011-11-25 17:10:42 -08:00
JoelKatz
354da99038
Correct depth to 20+leaf, not 10+leaf.
2011-11-25 13:51:47 -08:00
JoelKatz
0df9ec91fa
Debug and unit test code. Copy on write logic. Bugfixes.
2011-11-25 00:03:33 -08:00
JoelKatz
83b2f8b73a
Simplify. Rewrite SHAMap::dirtyUp.
2011-11-23 23:45:26 -08:00
JoelKatz
51f3f4e1a4
Some missing handlers. SHAMap traversal top-level code.
2011-11-23 14:57:11 -08:00
JoelKatz
17c265ee24
Some cleanups.
...
Add functions that avoid an allocate/copy/free where that's not needed.
2011-11-23 12:50:05 -08:00
JoelKatz
6c7fd5f195
More work on core ledger and transaction processing code.
2011-11-22 15:42:03 -08:00
JoelKatz
41309b6f72
Part of the 'tray' implementation to avoid a burst of load on ledger close
2011-11-21 13:10:12 -08:00
JoelKatz
fa60ccd2df
Start tying all these classes together:
2011-11-18 11:23:06 -08:00
JoelKatz
76b7b3c68e
More SHA map work.
2011-11-17 19:57:19 -08:00
JoelKatz
477b2df276
More work on the SHAMap/Serialize classes.
2011-11-17 18:11:11 -08:00
JoelKatz
e7bae43261
Continue implementation these classes.
2011-11-17 12:22:25 -08:00
JoelKatz
55b2111fd5
Updates. Create a class to hold an item in a SHAMap, separating the tag from
...
the data (it's not always the hash of the data). Make ScopedLock's recursive.
2011-11-15 10:49:14 -08:00
JoelKatz
7fb40e1c55
Updates.
2011-11-14 19:48:46 -08:00
JoelKatz
fbf6967d82
Continue fleshing out these classes.
2011-11-14 17:32:05 -08:00
JoelKatz
ccea015c6a
Start coding the guts of the SHAMap structure that will hold, synchronize,
...
sign, and validate our account balances and transactions.
2011-11-14 15:21:14 -08:00
JoelKatz
53b61d4d65
Start to flesh out this code.
2011-11-12 14:12:38 -08:00
JoelKatz
06816dd73e
The low-level code that manages a tree of hash nodes. This manages the
...
individual nodes but not the logic that connects them. It is designed around
the assumption that not all nodes are necessarily resident in memory.
2011-11-10 21:15:32 -08:00