Commit Graph

12 Commits

Author SHA1 Message Date
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
fe3acce262 Some missing functions. 2011-11-25 21:52:54 -08:00
JoelKatz
d176e9d2c7 Bugfixes. isChildLeaf had wrong test. peekNextItem walked the wrong way. 2011-11-25 17:10:42 -08:00
JoelKatz
01f5740add Endian fix. SHAMap now passes its (admittedly anemic right now) unit test. 2011-11-25 13:52:04 -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
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