Commit Graph

48 Commits

Author SHA1 Message Date
Vinnie Falco
045c3cc01f Reorganize all includes in ripple_main.cpp 2013-06-06 21:42:46 -07:00
Vinnie Falco
ee49051e1c Downgrade access specification from protected to private in most places
Conflicts:
	src/cpp/ripple/FeatureTable.h
	src/cpp/ripple/HashedObject.h
	src/cpp/ripple/NetworkOPs.h
2013-06-06 20:44:58 -07:00
JoelKatz
69a904133f Block operation if a feature we don't support is enabled in the ledger. 2013-05-30 14:30:06 -07:00
JoelKatz
a38e80eb6b Function to get list of features supported by ledger. 2013-05-30 13:44:18 -07:00
JoelKatz
fdea361dd7 Add 'visitAccountItems' function. 2013-05-30 13:07:53 -07:00
JoelKatz
aef0a84e07 Don't use getAccountState as a quick way to check if an account
exists in a ledger. It's much heavier than needed.
2013-05-30 11:48:13 -07:00
Vinnie Falco
47e00f20fb Move InstanceCounter to ripple_basics 2013-05-30 10:16:23 -07:00
Vinnie Falco
2c525b03c6 Enormous cleanup of RippleAddress et. al. into ripple_data
Start cleanup into ripple_data, split out some hash_value() instances
Tidy up CBigNum into ripple_data, moving definitions to .cpp
Split and clean up base58 stuff
Remove unused files from VS2012 project
Clean up some bignum stuff and remove unused files
Partial cleanup of RFC1751
Enormous cleanup with RippleAddress and related, into ripple_data
Remove unused VS project files
Move ECIES stuff into CKey
2013-05-30 10:16:22 -07:00
Vinnie Falco
ce66f950cf Put json in its own module with header 2013-05-27 13:15:58 -07:00
Vinnie Falco
251cf723a7 Rename types.h to IntegerTypes.h and move to ripple_basics.h 2013-05-27 13:15:54 -07:00
JoelKatz
41b70c76da If we detect a missing node in a ledger we're supposed to have full,
re-acquire that ledger to fill the hole.
2013-05-08 15:55:52 -07:00
JoelKatz
8a368204c1 Last part of the fetch pack code. 2013-04-22 06:56:11 -07:00
JoelKatz
8ed0d107fd Allow administrators to submit transactions that don't meet the local load fee. 2013-04-15 17:14:20 -07:00
JoelKatz
fbe8823439 Don't blow up if we have a ledger in the ledger DB but not its root map node in the node DB. 2013-03-30 19:53:34 -07:00
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