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
jed
1a4e0d6868
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2013-02-06 09:05:43 -08:00
JoelKatz
8c36646b8c
Make a fast, monotonic timer.
2013-02-05 22:06:30 -08:00
JoelKatz
5aa810404b
Track uptime. Update local fee schedule based on load manager.
2013-02-05 21:33:42 -08:00
jed
e8b17ef082
Merge branch 'book'
...
Conflicts:
src/cpp/ripple/OrderBookDB.cpp
src/cpp/ripple/OrderBookDB.h
src/cpp/ripple/Pathfinder.cpp
2013-02-05 13:47:25 -08:00
jed
eb27240610
first draft
2013-02-05 13:04:38 -08:00
JoelKatz
1b2c0b9242
Add database memory usage to 'get_counts' output.
2013-02-04 23:37:44 -08:00
Arthur Britto
628a1bdd5f
Merge branch 'master' into autoclient
...
Conflicts:
src/cpp/ripple/AutoSocket.h
2013-02-01 19:01:10 -08:00
Arthur Britto
e53e27cfa6
Always provided extended RPC ledger_header info.
2013-02-01 17:06:36 -08:00
Stefan Thomas
eeb9598b12
Add debugging parameter to sign and submit RPC calls.
2013-02-01 22:44:04 +01:00
Arthur Britto
3066a895c1
Get rid of ledger_header hack.
2013-01-30 02:10:26 -08:00
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