Commit Graph

34 Commits

Author SHA1 Message Date
JoelKatz
00913f838f Fix the 'getAccountHash() == mAccountStateMap->getHash()' bug.
'getNeededHashes' can do the wrong thing (report no needed hashes when we
need them all) if we have a ledger's root node but not the root node of the
tree we're querying.
2013-03-17 22:04:34 -07:00
JoelKatz
80233579f1 Add a function to check if a currency/issuer/currency/issuer set
defines a valid order book.
2013-03-12 09:42:38 -07:00
Arthur Britto
1479590af1 Rework RPC ledger. 2013-03-10 15:18:35 -07:00
JoelKatz
ff8dbcf5ff Remove pending save logic. Replace with job count logic.
Prioritize newer ledgers over clients.
2013-03-06 20:57:11 -08:00
JoelKatz
6a298872cc Dispatch save accepted ledger better. 2013-03-06 16:33:53 -08:00
JoelKatz
51a85504a8 Startup and shutdown improvements. Performance improvements. 2013-03-03 02:09:19 -08:00
JoelKatz
923446fb78 Fix 'tx' output format. Begin supporting a binary output format.
This adds support for binary in 'tx' and 'account_tx' commands.
https://ripple.com/wiki/FormatChange
2013-02-25 12:51:06 -08:00
JoelKatz
2e12ffac57 Allow a lot more commands to take advantage of the immutable SLE acceleration.
Allow faster operations on the open ledger by using many smaller freezes rather than one big one.
2013-02-21 09:57:42 -08:00
JoelKatz
53b622db75 Make getSLEi more useful. 2013-02-21 09:47:34 -08:00
JoelKatz
25c52b1a4d Use getSLEi to get an immutable SLE. This lets us cache them. 2013-02-20 12:00:38 -08:00
JoelKatz
7552f9eacf Some optimizations. 2013-02-20 09:33:09 -08:00
JoelKatz
7bbf01e114 Function to get just txn metadata. 2013-02-15 05:38:01 -08:00
JoelKatz
b39a977282 Cleanups. 2013-02-10 01:09:37 -08:00
JoelKatz
e5220a721c Fix the fix. 2013-02-09 20:36:55 -08:00
JoelKatz
4843a90910 Fix a deadlock. 2013-02-09 20:33:30 -08:00
JoelKatz
e674bcea36 A collection of small bugfixes. 2013-02-08 16:22:27 -08:00
JoelKatz
8b2e866a21 Improve performance by using sqlite3 prepared statements. 2013-02-07 17:07:46 -08:00
JoelKatz
9781c10736 Fix some cases where ledger flags are incorrectly set. 2013-02-01 16:11:32 -08:00
JoelKatz
bdd5d4af9f Add 'dropCache' function to remove extraneous nodes from memory. 2013-01-27 13:55:06 -08:00
JoelKatz
d14d8cbf76 Helper functions. 2013-01-11 14:21:31 -08:00
JoelKatz
e2bac0e7cd Optimize the startup code so we don't have long periods of slowness on startup. 2013-01-10 08:41:32 -08:00
JoelKatz
aee92a447c Suppress some spurious non-local fetches of data. 2013-01-04 00:01:43 -08:00
JoelKatz
3ff4dc99ad Function to retrieve previous ledger hashes from the ledger. 2012-12-28 20:40:30 -08:00
JoelKatz
22973c1e5b Function to get reserve increment. 2012-12-27 10:40:53 -08:00
JoelKatz
4fb2220891 New fee stuff.
CAUTION: Code is currently in an untested state.
2012-12-20 13:02:05 -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
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
1d3a17b59d Structures for self-descriptive directory nodes. 2012-11-30 00:12:25 -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
jed
5bbdd90a4c refactor Transaction. compiling. still need to test 2012-11-14 13:05:59 -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