Commit Graph

99 Commits

Author SHA1 Message Date
Vinnie Falco
68179cfce3 Add LeakChecked qualifiers to key classes 2013-07-01 09:32:06 -07:00
JoelKatz
ca4a2ad104 Remove the JSONCache. It was basically a failed experiment. 2013-06-28 16:07:32 -07:00
JoelKatz
898ee39375 Add the 'fail_hard' flag for submitting and signing transactions. If fail
hard is set, on a local error, the transaction should be guaranteed not to
happen unless it is resubmitted.
2013-06-18 13:52:52 -07:00
Vinnie Falco
7474c17823 Rename ripple namespace used for protobuf to 'protocol' 2013-06-17 09:52:41 -07:00
Vinnie Falco
7eff38c1bb Rename LedgerAcquire to InboundLedger 2013-06-16 16:57:52 -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
12d1117623 Clean up JSONCache 2013-06-12 16:14:34 -07:00
JoelKatz
987dc25a48 JSON cache for account offers and account lines. 2013-06-12 15:25:51 -07:00
Vinnie Falco
a70ede6cae Remove unused functions and clean up some comments 2013-06-11 13:21:37 -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
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
Vinnie Falco
fb8c370d70 Move TaggedCache to ripple_basics and remove dependency on upTime 2013-05-27 13:16:01 -07:00
JoelKatz
576ee472bf Add "syncing" state. 2013-05-23 18:46:39 -07:00
JoelKatz
dedb8ff945 Merge branch 'cache_snapshot' into develop 2013-05-20 11:56:36 -07:00
JoelKatz
a71225f9a3 Don't service stale/superceded fetch pack requests. 2013-05-17 01:05:29 -07:00
JoelKatz
eecc9017b1 Wrapper to get current snapshot. 2013-05-16 00:58:34 -07:00
JoelKatz
423635d2ef Faster publishing of order book changes to book listeners 2013-05-14 18:25:47 -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
707f914d32 Some new PF API support. 2013-04-29 23:31:25 -07:00
JoelKatz
1e5437a719 Missing from previous commit. 2013-04-29 16:42:42 -07:00
JoelKatz
4812d30c16 Be smarter about when we grab fetch packs. 2013-04-25 19:11:18 -07:00
JoelKatz
494202fbcf Ledger acquire improvements and I/O reductions. 2013-04-25 11:09:57 -07:00
JoelKatz
aeccecb578 ech pack stuff. 2013-04-22 11:09:07 -07:00
JoelKatz
8a368204c1 Last part of the fetch pack code. 2013-04-22 06:56:11 -07:00
JoelKatz
0c7066944e Fetch pack scheme. Phase two. 2013-04-21 20:37:46 -07:00
JoelKatz
79ec8e6070 First part of fetch acceleration changes. Includes a bugfix that I'll push to master. 2013-04-21 12:44:21 -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
7131564eb1 Emergency patch to fix ledger not closing.
Do not timeout on acquiring a transaction set if a trusted peer
still proposes it. Instead, fetch more aggressively.
2013-04-05 09:41:43 -07:00
JoelKatz
e40b7b9f0b Stop the acquire engine in cases where it shouldn't run. 2013-03-29 10:16:25 -07:00
JoelKatz
7344ab0148 Missing from previous commit. 2013-03-27 18:15:49 -07:00
Arthur Britto
09633c5f04 Fixes for account_tx. 2013-03-27 17:26:13 -07:00
Arthur Britto
a828ed3703 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-03-27 14:48:30 -07:00
Arthur Britto
79b83bf0ef Minor cleanup. 2013-03-27 14:48:22 -07:00
JoelKatz
3ec1865ce5 Range of validated ledgers. 2013-03-27 14:46:31 -07:00
jatchili
c5f82da409 Sort order, limit, and offsets work. Still to do: detecting when we've requested too many ledgers. 2013-03-25 17:09:15 -07:00
jatchili
fae1b0f71a sql query helper functionc\ 2013-03-25 13:26:12 -07:00
Arthur Britto
f635980330 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-03-23 14:36:14 -07:00
Arthur Britto
837ec2b69d Remove limits on RPC account_tx for admins. 2013-03-23 14:36:07 -07:00
JoelKatz
cd14be1afb Better logging of untrusted validations. (To make sure there's no bug.) 2013-03-21 06:03:47 -07:00
JoelKatz
7a6a199df4 Take advantage of perfect forwarding in a few more places. 2013-03-18 03:10:54 -07:00
Stefan Thomas
049f92e882 Clean up orderbook-related variable naming.
Also adds the ability to unsubscribe from both sides of an orderbook
simultaneously. Adds better error handling.
2013-03-12 13:09:51 +01:00
JoelKatz
6f811f1e96 Back out some Ledger::ref uses that scare me. 2013-03-10 16:03:23 -07:00
JoelKatz
ec77707c39 Make clear that transJson can only be used to publish transactions.
Put a 'validated' field in published transactions.
2013-03-10 15:32:02 -07:00
Arthur Britto
3a8d85d9c4 Publish transaction due to subscribe accounts as type "transaction". 2013-03-04 19:24:20 -08:00
JoelKatz
51db2d2cd7 Reprocess accepted ledgers once. Track metadata, transaction data, and affected accounts.
Process to SQL database and publish from this structure.
Include number of transactions in ledger publish info.
Publish transactions in applied order.
2013-03-04 13:59:53 -08:00