Commit Graph

26 Commits

Author SHA1 Message Date
JoelKatz
8083b677e2 A better way to convert between uint160 and uint256 types. 2011-12-15 16:52:50 -08:00
JoelKatz
c7f890ab47 Bugfixes. 2011-12-15 12:44:29 -08:00
JoelKatz
d1b2d12a04 Tie the SHAMap code to the HashedObject code in a much simpler way.
Write out dirty nodes when we accept a ledger.
2011-12-13 20:15:36 -08:00
JoelKatz
b829f2ca16 Finish SQL read/write outer ledger functions. 2011-12-13 19:30:35 -08:00
JoelKatz
4b5bc85a0d More work on ledger sequencing:
Track whether ledger is accepted.
	Assert on modifications to an accepted ledger.
	Save accepted ledgers to DB.
	Load ledger by hash/index.
	Ledger history functions, ledger canonicalization.
	'Push' ledger to history.
2011-12-13 18:05:29 -08:00
JoelKatz
3d8dab3ae9 Don't use ScopedLock where the lighter recursive_mutex::ScopedLock will do. 2011-12-13 15:30:33 -08:00
JoelKatz
5db7ba9d62 Some extra debug. An extra helper function. Remove dead code. 2011-12-13 12:17:14 -08:00
JoelKatz
46d6ae415b Cleanup. 2011-12-02 16:22:54 -08:00
JoelKatz
f243286bc9 Bugfixes and new code. Ledger unit test now successfully creates a local
account, creates an initial ledger, closes the initial ledger and opens a
new ledger, creates a second account, and adds a transaction to transfer
funds to the open ledger.
2011-11-30 12:19:48 -08:00
JoelKatz
dc8cd59c1d Fix some small bugs in the Ledger code. Add a unit test. (Needs more tests.) 2011-11-29 16:43:32 -08:00
JoelKatz
11f9e111de Construct the next ledger from the existing ledger.
Close ledger logic.
2011-11-28 19:34:16 -08:00
JoelKatz
e87a027df2 Code to boostrap the initial ledger. 2011-11-26 00:57:31 -08:00
JoelKatz
d4030472e7 Cleanups. Function to fully remove/undo a transaction from a ledger. 2011-11-25 21:50:58 -08:00
JoelKatz
5fc9233fb5 More ledger functions, updateAccountState/addTransaction. 2011-11-23 12:50:51 -08:00
JoelKatz
6c7fd5f195 More work on core ledger and transaction processing code. 2011-11-22 15:42:03 -08:00
JoelKatz
73578d6313 Begin trying the ledger code in. 2011-11-21 13:09:47 -08:00
JoelKatz
1d140e8829 Sync Linux tweaks. 2011-11-07 13:45:32 -08:00
jed
7436a8deec . 2011-10-28 16:51:35 -07:00
jed
e68b0fb8d1 . 2011-10-27 16:59:42 -07:00
jed
7eae6e5886 added sqllite 2011-10-27 13:04:08 -07:00
jed
d26577ffd7 . 2011-10-26 20:49:04 -07:00
jed
880c763dea . 2011-10-26 16:10:43 -07:00
jed
11a964ffed . 2011-10-21 11:32:23 -07:00
jed
0416d64fdc . 2011-10-20 16:34:22 -07:00
jed
650ee74391 . 2011-10-20 13:34:49 -07:00
jed
a8e8613475 first 2011-10-14 11:39:06 -07:00