Commit Graph

58 Commits

Author SHA1 Message Date
Vinnie Falco
2abec05b5b Replace InstanceCounter with CountedObject 2013-06-19 16:23:03 -07:00
Vinnie Falco
326ff5a205 Tidy up LedgerEntrySet 2013-06-16 16:57:51 -07:00
Vinnie Falco
00a7cbf610 Update copyright notice and 80 column separators 2013-06-15 18:20:59 -07:00
Vinnie Falco
521e812fc4 Reformatting using AStyle 2013-06-14 08:45:13 -07:00
Vinnie Falco
b664f906c0 Tidy up 2013-06-12 18:21:57 -07:00
Vinnie Falco
3273625f61 Split up InfoSub and tidy up various files 2013-06-09 11:26:18 -07:00
Vinnie Falco
b51edb58fc Replace std::vector<unsigned char> with Blob 2013-06-07 15:24:39 -07:00
Vinnie Falco
a6fdabc68a Reformat annotations in preparation for automated extraction 2013-06-07 14:46:09 -07:00
Vinnie Falco
ef232f4359 Split up and refactor HashedObject 2013-06-07 13:44:15 -07:00
Vinnie Falco
3fafde063f Move serialization and error code stuff into ripple_data 2013-06-06 21:42:58 -07:00
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