Commit Graph

72 Commits

Author SHA1 Message Date
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
JoelKatz
18167be5e3 Add new 'consensus_info' RPC command to help troubleshoot consensus convergence issues. 2013-02-09 14:21:57 -08:00
jed
e8b17ef082 Merge branch 'book'
Conflicts:
	src/cpp/ripple/OrderBookDB.cpp
	src/cpp/ripple/OrderBookDB.h
	src/cpp/ripple/Pathfinder.cpp
2013-02-05 13:47:25 -08:00
jed
eb27240610 first draft 2013-02-05 13:04:38 -08:00
JoelKatz
9781c10736 Fix some cases where ledger flags are incorrectly set. 2013-02-01 16:11:32 -08:00
jed
62f6d030c6 still working 2013-01-31 10:59:19 -08:00
JoelKatz
80d98e55a9 Clean up JSON reporting of booleans and network state. 2013-01-18 17:38:11 -08:00
JoelKatz
809868c6fc This is not optimal, but this should at least make the logic for when we
publish transactions to which accounts sensible.
2013-01-17 11:33:42 -08:00
JoelKatz
8191153dce Split into server_info (for humans) and server_state (for machines).
Allow either without admin privileges, filter information out from non-admins.
Cleanup and improve data in all cases.
2013-01-15 19:16:20 -08:00
JoelKatz
d398c5bb02 Don't show our validation key in non-admin server_info. 2013-01-15 17:03:00 -08:00
Arthur Britto
88c702a957 Make actual submitting optional for submitTransactionSync 2013-01-14 16:59:06 -08:00
Arthur Britto
04c17ac1f3 Work toward subscribe accounts by ledger index. 2013-01-05 16:51:45 -08:00
JoelKatz
dfbd640f6c Complete the fetch by hash logic, including tracking the hashes we want. 2013-01-04 22:14:53 -08:00
Arthur Britto
ab0da033c3 Add support for JSON-RPC subscriptions. 2012-12-29 16:07:29 -08:00
Arthur Britto
192dae3b74 Stub subscribe for JSON-RPC. 2012-12-29 14:42:38 -08:00