Commit Graph

86 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
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
Arthur Britto
768007cee6 Make RPC book_offers usuable.
- Missing: transfer fees
- Adds taker support
- Adds taker_gets_funded and taker_pays_funded
- Adds don't return unfunded offers
- Adds follow offer owner balances.
2013-03-02 23:55:45 -08:00
Arthur Britto
301909fa01 Fix framework for RPC book_offers. 2013-03-01 13:38:37 -08:00
JoelKatz
09d8a454c2 Order book cleanups. 2013-02-28 11:21:13 -08:00
JoelKatz
bc21139198 If we don't have a ledger we should have, make sure we mark it missing so the
fetch engine will work on it.
2013-02-27 14:18:07 -08:00
JoelKatz
bd3d28c2fa Fix a half-second race window during which a proposal could cause us to
enter the consensus process with the wrong last closed ledger.
2013-02-26 14:01:46 -08:00
JoelKatz
c570cca15e Rewrite the notification code to use smart pointers. This fixes several
fatal race conditions in notifications. This makes failure to remove a
notification non-fatal (it will remove itself harmlessly when an attempt is
made to notify it).
2013-02-26 00:11:23 -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
25c52b1a4d Use getSLEi to get an immutable SLE. This lets us cache them. 2013-02-20 12:00:38 -08:00
JoelKatz
84a2af37f9 Add 'getValidatedSeq'. 2013-02-17 16:49:24 -08:00
JoelKatz
862dbd7234 Add NetworkOPs::isValidate functions to check if a ledger is fully validated. 2013-02-15 19:01:48 -08:00
JoelKatz
73fe72bfa3 Track whether a message is a broadcast. If a broadcast, log at a lower level. 2013-02-12 22:05:46 -08:00
JoelKatz
d0e85ff4b4 Make sure all fee schedule changes are reported to clients. 2013-02-11 14:50:15 -08:00
JoelKatz
4abdb34c20 Trivial cleanups. 2013-02-09 16:17:12 -08:00