Commit Graph

183 Commits

Author SHA1 Message Date
JoelKatz
b71f16b8b8 Better logging of rpcTOO_BUSY returns. 2013-03-08 13:44:12 -08:00
JoelKatz
51aa48d622 Lok TOO_BUSY errors. 2013-03-08 13:37:54 -08:00
JoelKatz
7621feda7b Updates to load monitoring and source load tracking. 2013-03-08 09:48:54 -08:00
JoelKatz
7c3d732a08 Name load source. Hook up load sources through WSConnection->RPCHandler. 2013-03-07 18:07:34 -08:00
JoelKatz
4f02510385 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-03-07 14:57:27 -08:00
JoelKatz
a55b876477 Fix uptiming computing bug. 2013-03-07 14:57:08 -08:00
Arthur Britto
a172654422 Let RPC ripple_path_find work on any ledger. 2013-03-07 12:44:33 -08:00
Arthur Britto
9121cfd567 Change RPCs to use account instead of ident. 2013-03-07 03:39:17 -08:00
JoelKatz
0007d76923 Job queue simplificaiton 2013-03-06 19:30:08 -08:00
JoelKatz
e219aa67bc Quick workaround for piling up client requests. 2013-03-06 18:03:54 -08:00
JoelKatz
2d8fb05f57 Set correct issuers. 2013-03-06 14:07:56 -08:00
JoelKatz
ce401dffb6 Speed up path finding by about 35%. 2013-03-04 18:57:44 -08:00
JoelKatz
d1169ee86d Make sure all load sources are named. 2013-03-04 16:22:09 -08:00
JoelKatz
93f79ca204 Remove broken unlocks. 2013-03-04 15:53:27 -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
Arthur Britto
b4c0469752 Start of RPC book_offers. 2013-02-28 20:31:51 -08:00
Arthur Britto
cf2a07fbff Remove redundant RPC accept_ledger. 2013-02-28 16:40:38 -08:00
JoelKatz
db9e3c6c63 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-02-28 11:21:31 -08:00
JoelKatz
09d8a454c2 Order book cleanups. 2013-02-28 11:21:13 -08:00
Arthur Britto
235c3c3eb9 More strict and better diagnostics for RPC subscribe. 2013-02-27 18:43:06 -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
33dafca31a Use correct polymorphic downcast. 2013-02-26 06:33:56 -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
ec8b388a8b Temporarily revert the 'tx' format change until I can confirm it won't break the client. 2013-02-25 21:18:29 -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
47425827d3 Reduce logging. 2013-02-22 09:33:10 -08:00
JoelKatz
7300e803ae Accelerated 'ledger' command. 2013-02-21 10:09:40 -08:00
JoelKatz
5451e20eaa Make getAccountState use getSLEi.
Make getSLEi work against a mutex ledger without holding a master lock.
2013-02-21 06:47:38 -08:00
JoelKatz
0d928f8471 Small bugfix. 2013-02-21 00:37:39 -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
4bc9a9fdb0 Allow -3 to select last fully-validated ledger. 2013-02-20 09:41:23 -08:00
JoelKatz
7552f9eacf Some optimizations. 2013-02-20 09:33:09 -08:00
JoelKatz
7c7944a82c Disambiguate rpcSRC_ACT_NOT_FOUND errors so it's clear when it's the
secret that's at fault.
2013-02-19 13:48:46 -08:00
JoelKatz
676fb5462a Set the 'validated' field a bit more logically. 2013-02-17 17:10:17 -08:00
JoelKatz
72ee15afe9 Improve account_tx. Better performance, identify fully-validated transactions. 2013-02-17 16:49:57 -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
fd009a750a Validated check was backwards. 2013-02-15 10:40:00 -08:00
JoelKatz
78f058d710 Add a 'validated' field to the 'tx' output. If true, the transaction metadata
came from a fully-validated ledger.
2013-02-15 09:32:24 -08:00
JoelKatz
dc7f026bb2 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-02-15 05:39:28 -08:00
JoelKatz
158aa7c454 Make the 'tx' command return metadata if possible.
Allow the ledger to be specified a bit more flexibly in account_tx.
2013-02-15 05:38:19 -08:00
Arthur Britto
dd7f8aa8d1 Add strict option to RPC account_info and allow last closed ledger to be specified. 2013-02-14 23:51:57 -08:00
Arthur Britto
235ab44728 Add RPC ping. 2013-02-13 14:50:05 -08:00
JoelKatz
cb111b6318 Path finding fixes:
Track path finding and order book creation time and latency.
Use a ledger snapshot for path finding.
You can't call getCurrentLedger from an unlocked context.
Pathfinding called from the transaction sign function held the master lock.
2013-02-12 20:39:00 -08:00
Arthur Britto
ef5069a706 Make pathfinder search size configurable, reduce to 5. 2013-02-12 18:41:52 -08:00
Arthur Britto
a1a12682ab More verbose logging about subscribing. 2013-02-10 21:49:08 -08:00
Arthur Britto
4e1f0c2c60 Fix RPC account_info to return actNotFound as appropriate. 2013-02-10 02:26:43 -08:00
JoelKatz
18167be5e3 Add new 'consensus_info' RPC command to help troubleshoot consensus convergence issues. 2013-02-09 14:21:57 -08:00
Arthur Britto
ff08e952f9 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-02-06 14:53:41 -08:00
Arthur Britto
ac916ad841 Output computed paths for RPC ripple_path_find. 2013-02-06 14:53:32 -08:00