Commit Graph

4655 Commits

Author SHA1 Message Date
Arthur Britto
19f90a1d2c Add new tools for debuging JSON-RPC. 2013-02-27 18:43:57 -08:00
Arthur Britto
235c3c3eb9 More strict and better diagnostics for RPC subscribe. 2013-02-27 18:43: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
10c759510a JS: Fix Amount.divide() and remove extra clone()s. 2013-02-26 21:32:44 -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
d3a485802d Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-02-26 06:30:55 -08:00
JoelKatz
8d25b67ad9 Use the correct downcast. 2013-02-26 06:30:37 -08:00
Stefan Thomas
ea03da3593 JS: Added a debug script I was using while developing local signing.
Handy to compare the server's serialization results with the client's. I figured
this might be useful whenever a local signing bug comes up, so it'd be good to
keep it around.
2013-02-26 13:58:27 +01:00
Stefan Thomas
0ad2d77d02 JS: Fix erroneous base58 decoding and add tests for issue. 2013-02-26 13:56:40 +01:00
Stefan Thomas
380523a462 Library now correctly rewinds, remove manual rewind from tests. 2013-02-26 11:01:40 +01: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
Stefan Thomas
3932ce95fd JS: Hotfix for sequence issue. 2013-02-23 23:25:55 +01: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
Stefan Thomas
1a3b28a668 JS: More tests for equals. 2013-02-22 13:47:47 +01:00
Stefan Thomas
544105e23d JS: Prevent Amount#negate from creating amounts that are negative zero. 2013-02-22 13:47:26 +01:00
Stefan Thomas
50b5644334 JS: Add a way for the test suite to change Amount#equals, so it ignores issuers. 2013-02-22 13:46:50 +01:00
Stefan Thomas
47791fa851 JS: Fix Amount#equals and Amount#not_equals_why to pass all tests. 2013-02-22 12:48:05 +01:00
Stefan Thomas
0641d38dc1 JS: More tests for Amount#equals and Amount#not_equals_why. 2013-02-22 12:48:05 +01:00
Stefan Thomas
8cb8b353c3 JS: Amount - handle plain numbers as arguments to ratio_human and product_human. 2013-02-22 12:48:04 +01: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