Commit Graph

13397 Commits

Author SHA1 Message Date
Arthur Britto
0f632fde02 Initial support for scons. 2012-03-06 18:39:25 -08:00
JoelKatz
203a519ee5 Cleanups. 2012-02-21 09:05:30 -08:00
JoelKatz
b89d95f83d Complete the handler for received ledger data. 2012-02-20 21:10:23 -08:00
JoelKatz
ef09bf96e7 Various cleanups. 2012-02-20 20:26:10 -08:00
JoelKatz
214833078a More ledger acquire work. 2012-02-16 16:00:05 -08:00
JoelKatz
b6946e40d6 Some helper functions to help adapt between vectors and strings. 2012-02-16 15:49:10 -08:00
JoelKatz
5d3fcdb8ac Whitespace cleanups. 2012-02-16 14:37:18 -08:00
JoelKatz
dc0f0a6576 Do this the canonical way. 2012-02-16 14:37:13 -08:00
JoelKatz
370f969c7e LedgerAcquire functions. 2012-02-16 14:37:06 -08:00
JoelKatz
dad3cee004 Type in previous commit. 2012-02-16 14:12:52 -08:00
JoelKatz
349bbcee4a Some missing LedgerAcquire functions. 2012-02-16 14:12:05 -08:00
JoelKatz
0b4cad2433 Change the way we track the state of a SHAMap so it makes more sense. 2012-02-14 19:47:11 -08:00
JoelKatz
ccb7ed38e7 Ledger synch work. 2012-02-13 19:29:11 -08:00
JoelKatz
9524df694a Rename add1/get1 to add8/get8 to be consistent with other member functions. 2012-02-13 19:28:29 -08:00
JoelKatz
db8763ef19 More work on peer to peer ledger sync. 2012-02-13 10:48:59 -08:00
JoelKatz
b8b78b2c27 Header cleanup. 2012-02-13 10:48:11 -08:00
JoelKatz
3dbbda4b4a Security flaw. When we add transaction nodes to a synching tree,
we must make sure the hash of the data equals the tag!
2012-02-08 21:39:40 -08:00
JoelKatz
bb5f70cd73 Cleanups and optimizations. 2012-02-07 19:48:10 -08:00
JoelKatz
43c70696ce Cleanups and bug fix. 2012-02-07 17:30:06 -08:00
JoelKatz
a5a4a373f7 Cleanups and bugfix. 2012-02-07 17:29:58 -08:00
JoelKatz
6a3a4a1c96 Cleanups. 2012-02-07 17:29:48 -08:00
JoelKatz
35b6cf58c8 Cleanups. 2012-02-07 17:29:44 -08:00
JoelKatz
250bb71e7e Add isZero/isNonZero to avoid !!hash constructs. 2012-02-07 17:26:49 -08:00
JoelKatz
104fa67d86 Bugfix. 2012-02-07 17:02:59 -08:00
JoelKatz
704eb22195 Cleanup 2012-02-07 17:02:53 -08:00
JoelKatz
29d24c0af8 Bugfixes and new unit test. 2012-02-07 16:54:59 -08:00
JoelKatz
60d403725c Cleanups. 2012-02-07 14:16:10 -08:00
JoelKatz
ad61c7575f Bugfix. 2012-02-07 14:15:08 -08:00
JoelKatz
01983330d8 Complete the SHAMap rewrite. 2012-02-06 15:39:06 -08:00
JoelKatz
04cc08748e Half the new map diff implementation. This is the part that handles
a branch that's either empty in the other tree or matched by only
a leaf.
2012-02-05 21:22:20 -08:00
JoelKatz
4c1c53df87 Cleanups. 2012-02-05 07:18:35 -08:00
JoelKatz
3ec994f435 cleanups 2012-02-05 07:15:41 -08:00
JoelKatz
ef0c9d036a cleanups. 2012-02-05 07:13:23 -08:00
JoelKatz
c2498de27e Cleanups. 2012-02-05 07:08:54 -08:00
JoelKatz
30c9bf0ed2 Major rewrite of the SHAMap code. This code performs much better
than the original version, particularly for smaller maps.
2012-02-05 06:54:44 -08:00
JoelKatz
41ce5fa7f9 Missing from previous commit. 2012-02-02 16:14:27 -08:00
JoelKatz
fca8d4f8e9 Unordered maps perform better than regular ones. 2012-02-02 16:14:11 -08:00
JoelKatz
9b804c0c61 Optimizations. 2012-02-01 21:04:28 -08:00
JoelKatz
08d6b55fed Major optimization in the way we track SHAMaps. 2012-02-01 20:51:58 -08:00
JoelKatz
5888d19f2b SHAMap sync now passes its unit test with the "full below" optimization
disabled. There's a logic error in the implementation.
2012-02-01 19:10:07 -08:00
JoelKatz
86687e2012 bugfixes. 2012-02-01 18:46:08 -08:00
JoelKatz
ca3b614e29 A bug fix that's also a simplification. 2012-02-01 18:38:42 -08:00
JoelKatz
f2130d4f6b Complete the SHAMapSync unit test. The test currently fails. Debug in progress 2012-02-01 14:22:34 -08:00
JoelKatz
443eef3a9b Complete the SHAMapSync code. Next step is to finish the testing harness. 2012-01-31 20:07:55 -08:00
JoelKatz
bac03c31de Fixes and cleanups. 2012-01-31 18:44:59 -08:00
JoelKatz
eec4bfddff Need a 'walkTo' function. That walks as far as possible to tree
position.
2012-01-31 15:52:44 -08:00
JoelKatz
ca26a22314 Map sync testing framework. 2012-01-31 12:29:18 -08:00
JoelKatz
a7bdb81d3d Clean this up a bit. 2012-01-31 12:29:06 -08:00
JoelKatz
5a52d6fec3 More work on the ledger/SHAMap sync code. 2012-01-30 20:56:38 -08:00
JoelKatz
6e11bfbb81 More ledger acquire code. 2012-01-30 20:56:11 -08:00