Arthur Britto
837ec2b69d
Remove limits on RPC account_tx for admins.
2013-03-23 14:36:07 -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
JoelKatz
a169167030
Fix a bug where a node doesn't get a chance to finish acquiring a TX set
...
before all nodes forget it because they're done with it, leaving a node
behind the consensus.
2012-12-27 20:25:12 -08:00
JoelKatz
33aee3705a
Pass fee information to client.
2012-12-27 10:42:58 -08:00
JoelKatz
9124c91884
Ping websocket connections every two minutes.
...
Detect and close non-responsive connections.
UNTESTED
2012-12-25 10:19:24 -08:00
JoelKatz
cc7b1434c7
Begin tying in the new transaction queue code.
2012-12-19 11:31:33 -08:00
Arthur Britto
f93dc7a7b4
Fix network state reporting in server and client.
2012-12-14 16:34:11 -08:00
Arthur Britto
5b68f2a15d
Refactor NetworkOps and RPC to specify account_index and ledgers better.
2012-12-05 18:02:41 -08:00
JoelKatz
41fe8f4443
Count InfoSub's.
2012-11-30 03:48:49 -08:00
JoelKatz
0fe9f178ef
NetworkOPs function to test if we have in our database a specified range of ledger numbers.
2012-11-29 11:46:22 -08:00
jed
32c231ab57
add meta to account_tx
2012-11-29 09:22:44 -08:00
jed
e90a1a404d
still working
2012-11-28 16:29:15 -08:00
JoelKatz
95e3b5ece7
Explain the various times.
2012-11-24 09:26:26 -08:00
JoelKatz
6bc817d377
Don't use the most expensive synchronization primitives available.
2012-11-23 12:43:16 -08:00
JoelKatz
89d54999c9
Rework the way the results of ledger and TX map acquisition is passed up and down the
...
call chain so that the peer logic will know how helpful peers are being, not just whether
they're sending invalid data.
2012-11-21 09:28:09 -08:00
jed
2c2a8b5660
Merge branch 'master' of github.com:jedmccaleb/NewCoin into api2
2012-11-14 13:23:41 -08:00
JoelKatz
c6aab36fe7
Issue partial validations when appropriate.
2012-11-14 00:23:32 -08:00
JoelKatz
71cf18eee2
Track last validation so we can detect a missing validation and issue a partial.
2012-11-13 16:18:19 -08:00