Commit Graph

34 Commits

Author SHA1 Message Date
Arthur Britto
deab548f1f Fix include for RPCHandler.h. 2013-03-23 19:01:17 -07:00
Arthur Britto
dc69a41979 Renumber special ledger_indexes and move RPC ledger to new format. 2013-03-09 21:40:26 -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
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
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
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
18167be5e3 Add new 'consensus_info' RPC command to help troubleshoot consensus convergence issues. 2013-02-09 14:21:57 -08:00
Arthur Britto
bda80d4144 Change the security model for RPC admin access. 2013-01-18 00:36:22 -08:00
Arthur Britto
503e9a7ddc More specific RPC error reporting. 2013-01-16 15:03:36 -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
Arthur Britto
1008c8d1f1 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-01-14 17:00:25 -08:00
Arthur Britto
4e06e0ffa5 Add server support for sign and submit tx_blobs. 2013-01-14 16:59:47 -08:00
JoelKatz
5fa43cc770 Make a simple way to extend the RPC command set without modifying core server code.
This makes it easy to add self-contained modules that can be controlled and is also
useful for one-off and troubleshooting commands.
2013-01-13 22:46:42 -08:00
Arthur Britto
5114790700 Make unneeded code a compilation option. 2013-01-06 02:15:46 -08:00
JoelKatz
06c54c425c Fix not leaving the "need network ledger" state correctly. 2013-01-04 00:08:27 -08:00
JoelKatz
3eafdbc38b Emergency fix. 2013-01-03 23:28:03 -08:00
Arthur Britto
dc2d87480f Abstract parseUrl. 2012-12-29 14:39:41 -08:00
Arthur Britto
5b68f2a15d Refactor NetworkOps and RPC to specify account_index and ledgers better. 2012-12-05 18:02:41 -08:00
Arthur Britto
f44e58776f Add support for RPC random. 2012-12-04 23:38:10 -08:00
jed
50953ff6d5 add account_offers and refactor 2012-12-04 12:12:11 -08:00
Arthur Britto
65175b8e54 Refactor RPC submit and submit_json. 2012-12-02 19:46:32 -08:00
Arthur Britto
fed1250218 Regularize RPC handling. 2012-12-02 16:05:45 -08:00
Arthur Britto
17b2506cd7 Work toward RPC refactor and do not print to cout. 2012-12-01 17:59:35 -08:00
Arthur Britto
6d8afeca47 Work on path finder integration. 2012-11-30 17:14:25 -08:00
Arthur Britto
2aa6eb8784 Add framework for RPC ripple_path_find. 2012-11-21 16:25:53 -08:00
Arthur Britto
9755563e18 Cosmetic changes for path finding. 2012-11-20 18:52:42 -08:00
Arthur Britto
f2dcc4cdd0 Add support for getting ledger_header. 2012-11-13 14:06:59 -08:00
Stefan Thomas
f5a6fdbab9 Instantiate an RPCHandler per request.
RPCHandlers are pretty light objects and this allows us to pass in
parameters like the InfoSub object without locking or adding more
parameters to the RPC methods.
2012-11-10 15:51:45 -08:00
Stefan Thomas
b6bbef84cf Move lock from RPCHandler to InfoSub. 2012-11-10 15:17:28 -08:00
Stefan Thomas
00bb9d99a7 Refactored WSConnection and RPCHandler to have one layer of commands.
Evented RPC commands are now on the same level as all other RPC
commands and are handled by the RPCHandler class.
2012-11-10 15:17:28 -08:00
Stefan Thomas
fa3fab5816 Moved cpp code to src/cpp and js code to src/js. 2012-11-07 12:49:50 -08:00