Commit Graph

204 Commits

Author SHA1 Message Date
JoelKatz
606dff758c Support compiling with C++11 rules. Compile C++11 by default.
This gives us some significant performance boosts when containers and binds.
2013-03-16 02:38:05 -07:00
JoelKatz
7bd96e9f2f Make the transaction application parameters accessible from the LES. 2013-03-13 21:59:43 -07:00
JoelKatz
77694b7d72 Change deprecated "start_now" to "state_now" to work with the current client
which should switch to "snapshot" ASAP.
2013-03-12 22:19:23 -07:00
Arthur Britto
ee926f3a40 More parameter checking for RPC. 2013-03-12 15:45:44 -07:00
Arthur Britto
5a08930d65 Better parameter checking for RPC subscribe books. 2013-03-12 15:17:45 -07:00
Arthur Britto
04a825298e Clean up and secure subscribe books. 2013-03-12 12:53:06 -07:00
Arthur Britto
ae26c6cc59 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-03-12 11:41:14 -07:00
Arthur Britto
d5c52df10d Revise url subscribe username and password API 2013-03-12 11:41:04 -07:00
JoelKatz
e9324204ef Don't allow subscribe to invalid market. 2013-03-12 09:51:37 -07:00
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
Arthur Britto
2e7a2fd696 Canonicalize API protocol. 2013-03-11 18:59:29 -07: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