Commit Graph

1122 Commits

Author SHA1 Message Date
Arthur Britto
d0c79083ab Add CLI support for RPC book_offers. 2013-02-28 16:41:18 -08:00
Arthur Britto
1571ae4a9a Add isRpcError(). 2013-02-28 16:40:51 -08:00
Arthur Britto
cf2a07fbff Remove redundant RPC accept_ledger. 2013-02-28 16:40:38 -08:00
Arthur Britto
8002f8469e Improve usage. 2013-02-28 16:38:52 -08:00
JoelKatz
ca5f3833dd Switch to turn of SSL peer verification. 2013-02-28 11:44:30 -08:00
JoelKatz
a337061084 Complain if we can't open the log file. 2013-02-28 11:44:08 -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
JoelKatz
4f06b79584 Bump from 0.7-a to 0.8-a 2013-02-28 11:20:55 -08:00
Arthur Britto
ebee057bb0 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-02-27 18:44:06 -08:00
Arthur Britto
235c3c3eb9 More strict and better diagnostics for RPC subscribe. 2013-02-27 18:43:06 -08:00
JoelKatz
312e476898 Fix a bug where a cached copy of a txn might not have a reference to the ledger
it was applied in, causing commands like 'tx' not to return metadata.
2013-02-27 18:23:24 -08:00
JoelKatz
ab89fbdcf6 Use the job queue rather than an ephemeral thread for validation writeouts. 2013-02-27 15:52:33 -08:00
JoelKatz
50be7dd7e4 Some quick changes to improve pathfinding performance. (20% faster roughly) 2013-02-27 15:17:06 -08:00
JoelKatz
543fbf269a Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-02-27 14:18:56 -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
Arthur Britto
a4ea7880d1 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-02-26 16:20:10 -08:00
Arthur Britto
c0db18e1ec Fix capitalization of urlgravatar field. 2013-02-26 16:15:53 -08:00
JoelKatz
bd3d28c2fa Fix a half-second race window during which a proposal could cause us to
enter the consensus process with the wrong last closed ledger.
2013-02-26 14:01:46 -08:00
JoelKatz
33dafca31a Use correct polymorphic downcast. 2013-02-26 06:33:56 -08:00
JoelKatz
8d25b67ad9 Use the correct downcast. 2013-02-26 06:30:37 -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
5fb29bb859 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-02-25 22:32:19 -08:00
Arthur Britto
6616ebf133 Better logging for insufficent fee paid. 2013-02-25 22:32:07 -08:00
Arthur Britto
a0c709d126 Do not allow native amounts for TrustSet. 2013-02-25 22:31:11 -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
7b14d2d44a Fig a bug in the way we traverse TaggedCaches and a similar bug in mPeerPositions. 2013-02-25 20:28:20 -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
fc221a8d7c Whitespace change. 2013-02-25 02:08:48 -08:00
JoelKatz
167d13cf40 I think this is the underlying issue. In some cases where the tx return value wasn't
full success, we applied to our open ledger but didn't relay. This caused disputes
resolved only by dispute relaying.
2013-02-24 16:48:54 -08:00
JoelKatz
d301cc6128 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-02-24 15:13:40 -08:00
JoelKatz
c83427d215 Round close times in a smarter way. 2013-02-24 15:13:30 -08:00
Arthur Britto
073fcbd96d Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-02-24 14:24:14 -08:00
Arthur Britto
2a7e753d06 Make TrustSet use mPriorBalance. 2013-02-24 14:22:32 -08:00
Arthur Britto
b759b0674c Make OfferCreate use mPriorBalance. 2013-02-24 14:20:28 -08:00
Arthur Britto
87844a6053 Make Payment use new mPriorBalance. 2013-02-24 14:18:07 -08:00
JoelKatz
076add0e73 Be more aggressive about relaying disputed transactions. 2013-02-24 14:13:20 -08:00
JoelKatz
92be1c70f5 Hopefully prevent a jump forward at the end of the consensus process.
If not, at least figure out exactly where in the consensus state machine that's happening.
2013-02-24 13:47:21 -08:00
JoelKatz
7b1dd394ea Logging cleanup. 2013-02-24 13:47:11 -08:00
JoelKatz
0c7d8136cf Reduce the severity of a 'routine' log message. 2013-02-23 00:19:32 -08:00
JoelKatz
c6ff3e3403 Truncate huge log messages. 2013-02-22 15:11:06 -08:00
JoelKatz
cb90b717cc For now, don't enforce ping timeouts. Just sending the pings is sufficient
to cause dead connections to break.
2013-02-22 09:33:26 -08:00
JoelKatz
47425827d3 Reduce logging. 2013-02-22 09:33:10 -08:00
JoelKatz
39b3fe772d Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-02-22 01:36:42 -08:00
JoelKatz
261168d512 Quiet noisy logging. 2013-02-22 01:36:31 -08:00
Arthur Britto
58bbe2d399 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-02-22 01:25:36 -08:00
Arthur Britto
54fa89f832 Comment out unavailable command doc. 2013-02-22 01:25:29 -08:00
JoelKatz
1b01114d54 Cosmetic: Don't report a nonsense age in the human-readable server_info 2013-02-21 19:34:38 -08:00
JoelKatz
5b383d43b0 Fix a bug that could cause crashes. 2013-02-21 19:29:25 -08:00
JoelKatz
716631bb5c Fix a very rare race condition. 2013-02-21 15:11:51 -08:00