Commit Graph

83 Commits

Author SHA1 Message Date
JoelKatz
79c3f777aa Memory fixes. 2013-01-08 01:14:55 -08:00
JoelKatz
7a2f098ac4 Reduce some chatty logging. 2013-01-07 23:47:21 -08:00
JoelKatz
217573599d Be more aggressive in finding ledgers that other nodes want. 2013-01-04 15:50:16 -08:00
JoelKatz
aee92a447c Suppress some spurious non-local fetches of data. 2013-01-04 00:01:43 -08:00
JoelKatz
903a04e9bd Raise the pending save count sooner. 2013-01-03 23:07:56 -08:00
JoelKatz
b7fe1424fb Count a ledger as present (for purposes of allowing clients that trust us to
query it) only when it has been validated.
2013-01-03 21:04:11 -08:00
JoelKatz
1127ae560e Defer publishing a ledger to clients until it accumulates sufficient
validations. We now have an open ledger, a last closed ledger, and a last
validated ledger. Normally, a ledger will be validated right after it
closes, but in edge cases, we might see a ledger close that then doesn't get
validated. This makes the code do the right thing.
2013-01-02 12:04:16 -08:00
JoelKatz
1e24721a98 First part of the fix to stop us from publishing ledgers that don't get validated. 2013-01-01 16:11:30 -08:00
JoelKatz
0c91e7e78a Add the code to walk to the ledger chain. 2012-12-30 22:36:54 -08:00
JoelKatz
3ff4dc99ad Function to retrieve previous ledger hashes from the ledger. 2012-12-28 20:40:30 -08:00
JoelKatz
3c9be6f549 Remove FirstLedgerSequence and mark it deprecated 2012-12-28 19:46:01 -08:00
JoelKatz
be2e55d49c Fix some cases where the acquire engine can stall. 2012-12-25 21:05:12 -08:00
JoelKatz
34456b019c Cleanup thread creation. 2012-12-21 12:10:26 -08:00
JoelKatz
4fb2220891 New fee stuff.
CAUTION: Code is currently in an untested state.
2012-12-20 13:02:05 -08:00
Arthur Britto
de9cffe5c5 Emit 256 bits of random on RPC server subscribe. 2012-12-06 00:02:02 -08:00
Arthur Britto
5b68f2a15d Refactor NetworkOps and RPC to specify account_index and ledgers better. 2012-12-05 18:02:41 -08:00
JoelKatz
f5d8c771a5 Remove redundant or broken locks. 2012-12-04 12:34:44 -08:00
jed
50953ff6d5 add account_offers and refactor 2012-12-04 12:12:11 -08:00
JoelKatz
7708968cff Stuctures for feature enabling. 2012-12-02 15:23:17 -08:00
JoelKatz
e5e96f9dd7 Bugfix. 2012-11-30 03:17:16 -08:00
JoelKatz
2864dda4eb Make directory nodes self-descriptive.
Callers pass in a "describer" function that stamps new directory entries.
2012-11-30 00:30:19 -08:00
JoelKatz
87ee255251 Save txn metadata into transaction database. 2012-11-29 10:35:53 -08:00
JoelKatz
377747fb2c Helper function. 2012-11-29 09:00:16 -08:00
JoelKatz
72777b6b83 Remove some shared pointers on load monitors. 2012-11-28 15:53:07 -08:00
JoelKatz
6aca65ff76 Get the shared pointers out of the scoped lock stuff. We don't need it. 2012-11-28 15:27:20 -08:00
jed
89f02efc16 option to return date of transaction in the JSON 2012-11-23 17:58:48 -08:00
JoelKatz
8b53f85f60 Separate ledger publish logic so we can tell if clients are overloading us. 2012-11-23 12:15:04 -08:00
JoelKatz
11088937a4 Track special disk accesses. 2012-11-19 17:08:58 -08:00
Arthur Britto
42b37c8b1f Fixes for path expansion. 2012-11-12 14:40:42 -08:00
Arthur Britto
95c590bef4 Make Ledger::getBookBase logging more informative. 2012-11-12 14:30:12 -08:00
JoelKatz
5cb35b7a8f Make the skip lists self-decsriptive. This change will cause old and new servers to diverge ledgers. 2012-11-08 14:36:15 -08:00
JoelKatz
644aa28e5b Fix the need to call setIndex after creating a new SLE.
Finish the ledger skip list code. (Note that this will cause ledger divergence if old code talks to new code.)
2012-11-08 04:36:15 -08:00
Stefan Thomas
fa3fab5816 Moved cpp code to src/cpp and js code to src/js. 2012-11-07 12:49:50 -08:00