Commit Graph

123 Commits

Author SHA1 Message Date
Arthur Britto
a05a2c7181 Make RPC ledger_header work. 2013-01-30 01:28:06 -08:00
Arthur Britto
d569633c09 Let [rpc_admin_allow] take multiple lines. 2013-01-21 17:18:21 -08:00
Arthur Britto
fe2ffafb10 UT: Tests for ripple-client issue #23. 2013-01-19 18:53:42 -08:00
Arthur Britto
e69d309cb3 More security changes. 2013-01-18 01:41:48 -08:00
Arthur Britto
bda80d4144 Change the security model for RPC admin access. 2013-01-18 00:36:22 -08:00
Arthur Britto
f54a3ca970 Fix security for RPC validation_seed. 2013-01-17 14:15:23 -08:00
Arthur Britto
c0a630a196 Allow RPC subscribe with no streams. 2013-01-16 22:42:10 -08:00
Arthur Britto
97716977c9 Report an error if RPC subscribe specifies no streams. 2013-01-16 15:22:29 -08:00
Arthur Britto
503e9a7ddc More specific RPC error reporting. 2013-01-16 15:03:36 -08:00
JoelKatz
1af14e07c7 Tiny cosmetic tweak. 2013-01-15 19:19:33 -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
5c052ebdf4 Temporarily turn off admin checking for subscribe. 2013-01-14 20:18:34 -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
a12a566139 Make ripple_path_find work for command line. 2013-01-13 21:11:37 -08:00
Arthur Britto
8df9519a1c Add a default for currencies for ripple_find_path. 2013-01-11 18:55:13 -08:00
Arthur Britto
e0a49f875a Fix more RPC error reporting. 2013-01-08 18:59:59 -08:00
Arthur Britto
8e801158b3 Improve error reporting for account not found. 2013-01-08 18:04:00 -08:00
Arthur Britto
642b782900 Fix comment. 2013-01-06 11:35:45 -08:00
Arthur Britto
5114790700 Make unneeded code a compilation option. 2013-01-06 02:15:46 -08:00
Arthur Britto
04c17ac1f3 Work toward subscribe accounts by ledger index. 2013-01-05 16:51:45 -08:00
Arthur Britto
3dfb1ca1eb Note problems with account_tx. 2013-01-04 11:56:45 -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
c78f352035 Add default fee for AccountSet. 2013-01-01 12:35:35 -08:00
Arthur Britto
6830a61ff1 Make validation_create require admin. 2013-01-01 02:04:19 -08:00
Arthur Britto
7fd00894b9 Allow empty array to for empty object for JSON-RPC. 2012-12-30 17:02:35 -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
3a673654b6 Make sure clients get the initial load information. 2012-12-27 16:54:11 -08:00
Arthur Britto
3e3d0c295b More robustness fixes for RPC. 2012-12-22 16:51:46 -08:00
Arthur Britto
a201a91ab0 Make RPC submit more robust. 2012-12-22 16:25:42 -08:00
JoelKatz
a4ff121b35 Mark a FIXME 2012-12-19 12:00:23 -08:00
JoelKatz
2203313945 Logging cleanups. 2012-12-18 14:39:02 -08:00
Arthur Britto
0da6d15719 Allow remotes to do RPC tx. 2012-12-18 12:27:25 -08:00
JoelKatz
8a1033caad Second round of removing extraneous copy constructor and destructor calls. 2012-12-17 20:31:26 -08:00
JoelKatz
2a06686b7c Round one of fixes to avoid ridiculous numbers of spurious copy constructor and destructor calls.
Most of these fixes involve calls to BOOST_FOREACH to iterate over a map or unordered_map where the
iterator type didn't perfectly match the internal type, so a reference into the map couldn't be created
and a new value/content pair had to be created for each iteration.
2012-12-17 20:20:24 -08:00
Arthur Britto
f93dc7a7b4 Fix network state reporting in server and client. 2012-12-14 16:34:11 -08:00
JoelKatz
25abc284be Fix build issues. 2012-12-13 10:34:13 -08:00
Arthur Britto
f1735c5cdf Move from account create fee to reserve XRP. 2012-12-12 21:54:56 -08:00
Arthur Britto
eac6fe88c1 Add support for multiple path finding and path length limiting. 2012-12-11 15:31:55 -08:00
jed
eea2739f53 add seq to offer json 2012-12-10 12:05:50 -08:00
Arthur Britto
e03ed39fca Some pathfinding fixes. 2012-12-07 17:47:29 -08:00
Arthur Britto
2701f25052 Be more strict with payment build_path flag. 2012-12-07 15:22:24 -08:00
Arthur Britto
8ad9d62641 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-12-06 20:16:19 -08:00
Arthur Britto
56e85db815 Fixes for ripple_path_find. 2012-12-06 20:16:12 -08:00
JoelKatz
2e425d60fd Don't return rpcSUCCESS. 2012-12-06 18:59:10 -08:00
Stefan Thomas
cbb1e50222 Add event allowing client to track server's network connectivity. 2012-12-06 12:33:41 -08:00