Commit Graph

194 Commits

Author SHA1 Message Date
JoelKatz
7285f98972 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-03-12 09:25:17 -07:00
JoelKatz
b3c0b7b51f Mark a critical FIXME. 2013-03-12 09:24:55 -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
87de433732 Fix the ledger selection bug. 2013-03-11 09:21:52 -07:00
JoelKatz
489458364e Fix a broken scoped unlock. 2013-03-11 07:22:42 -07:00
Arthur Britto
1479590af1 Rework RPC ledger. 2013-03-10 15:18:35 -07:00
Arthur Britto
dc69a41979 Renumber special ledger_indexes and move RPC ledger to new format. 2013-03-09 21:40:26 -08:00
jed
3bbfd61395 book sub 2013-03-09 12:27:18 -08:00
jed
87c97fc652 book subscribe 2013-03-09 11:42:59 -08:00
jed
81a79ae1fd Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-03-08 16:50:39 -08:00
jed
a7083d1423 book subscribe 2013-03-08 16:50:29 -08:00
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