Commit Graph

  • 8002f8469e Improve usage. Arthur Britto 2013-02-28 16:38:52 -08:00
  • b4833d0d7c Merge branch 'master' of github.com:jedmccaleb/NewCoin jed 2013-02-28 13:57:19 -08:00
  • 2d6e33f0b6 ? jed 2013-02-28 13:57:06 -08:00
  • 5e78d19f7a git push Merge branch 'master' of github.com:jedmccaleb/NewCoin JoelKatz 2013-02-28 13:51:20 -08:00
  • 063479d77c Remove some premature optimizations. JoelKatz 2013-02-28 13:50:46 -08:00
  • a0b2f923f0 Rename jsonrpc tools. Arthur Britto 2013-02-28 13:23:17 -08:00
  • ca5f3833dd Switch to turn of SSL peer verification. JoelKatz 2013-02-28 11:44:30 -08:00
  • a337061084 Complain if we can't open the log file. JoelKatz 2013-02-28 11:44:08 -08:00
  • db9e3c6c63 Merge branch 'master' of github.com:jedmccaleb/NewCoin JoelKatz 2013-02-28 11:21:31 -08:00
  • 09d8a454c2 Order book cleanups. JoelKatz 2013-02-28 11:21:13 -08:00
  • 4f06b79584 Bump from 0.7-a to 0.8-a JoelKatz 2013-02-28 11:20:55 -08:00
  • ebee057bb0 Merge branch 'master' of github.com:jedmccaleb/NewCoin Arthur Britto 2013-02-27 18:44:06 -08:00
  • 19f90a1d2c Add new tools for debuging JSON-RPC. Arthur Britto 2013-02-27 18:43:57 -08:00
  • 235c3c3eb9 More strict and better diagnostics for RPC subscribe. Arthur Britto 2013-02-27 18:43:06 -08:00
  • 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. JoelKatz 2013-02-27 18:23:24 -08:00
  • ab89fbdcf6 Use the job queue rather than an ephemeral thread for validation writeouts. JoelKatz 2013-02-27 15:52:33 -08:00
  • 50be7dd7e4 Some quick changes to improve pathfinding performance. (20% faster roughly) JoelKatz 2013-02-27 15:17:06 -08:00
  • 543fbf269a Merge branch 'master' of github.com:jedmccaleb/NewCoin JoelKatz 2013-02-27 14:18:56 -08:00
  • 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. JoelKatz 2013-02-27 14:18:07 -08:00
  • 10c759510a JS: Fix Amount.divide() and remove extra clone()s. Arthur Britto 2013-02-26 21:32:44 -08:00
  • a4ea7880d1 Merge branch 'master' of github.com:jedmccaleb/NewCoin Arthur Britto 2013-02-26 16:20:10 -08:00
  • c0db18e1ec Fix capitalization of urlgravatar field. Arthur Britto 2013-02-26 16:15:53 -08:00
  • 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. JoelKatz 2013-02-26 14:01:46 -08:00
  • 33dafca31a Use correct polymorphic downcast. JoelKatz 2013-02-26 06:33:56 -08:00
  • d3a485802d Merge branch 'master' of github.com:jedmccaleb/NewCoin JoelKatz 2013-02-26 06:30:55 -08:00
  • 8d25b67ad9 Use the correct downcast. JoelKatz 2013-02-26 06:30:37 -08:00
  • ea03da3593 JS: Added a debug script I was using while developing local signing. Stefan Thomas 2013-02-26 13:58:27 +01:00
  • 0ad2d77d02 JS: Fix erroneous base58 decoding and add tests for issue. Stefan Thomas 2013-02-26 13:56:40 +01:00
  • 380523a462 Library now correctly rewinds, remove manual rewind from tests. Stefan Thomas 2013-02-26 11:01:27 +01:00
  • 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). JoelKatz 2013-02-26 00:11:23 -08:00
  • 5fb29bb859 Merge branch 'master' of github.com:jedmccaleb/NewCoin Arthur Britto 2013-02-25 22:32:19 -08:00
  • 6616ebf133 Better logging for insufficent fee paid. Arthur Britto 2013-02-25 22:32:07 -08:00
  • a0c709d126 Do not allow native amounts for TrustSet. Arthur Britto 2013-02-25 22:31:11 -08:00
  • ec8b388a8b Temporarily revert the 'tx' format change until I can confirm it won't break the client. JoelKatz 2013-02-25 21:18:29 -08:00
  • 7b14d2d44a Fig a bug in the way we traverse TaggedCaches and a similar bug in mPeerPositions. JoelKatz 2013-02-25 20:28:20 -08:00
  • 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 JoelKatz 2013-02-25 12:51:06 -08:00
  • fc221a8d7c Whitespace change. JoelKatz 2013-02-25 02:08:48 -08:00
  • 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. JoelKatz 2013-02-24 16:48:54 -08:00
  • d301cc6128 Merge branch 'master' of github.com:jedmccaleb/NewCoin JoelKatz 2013-02-24 15:13:40 -08:00
  • c83427d215 Round close times in a smarter way. JoelKatz 2013-02-24 15:13:30 -08:00
  • 073fcbd96d Merge branch 'master' of github.com:jedmccaleb/NewCoin Arthur Britto 2013-02-24 14:24:14 -08:00
  • 2a7e753d06 Make TrustSet use mPriorBalance. Arthur Britto 2013-02-24 14:22:32 -08:00
  • b759b0674c Make OfferCreate use mPriorBalance. Arthur Britto 2013-02-24 14:20:28 -08:00
  • 87844a6053 Make Payment use new mPriorBalance. Arthur Britto 2013-02-24 14:18:07 -08:00
  • 076add0e73 Be more aggressive about relaying disputed transactions. JoelKatz 2013-02-24 14:13:20 -08:00
  • 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. JoelKatz 2013-02-24 13:47:21 -08:00
  • 7b1dd394ea Logging cleanup. JoelKatz 2013-02-24 13:47:11 -08:00
  • 3932ce95fd JS: Hotfix for sequence issue. Stefan Thomas 2013-02-23 23:25:55 +01:00
  • 0c7d8136cf Reduce the severity of a 'routine' log message. JoelKatz 2013-02-23 00:19:32 -08:00
  • c6ff3e3403 Truncate huge log messages. JoelKatz 2013-02-22 15:11:06 -08:00
  • cb90b717cc For now, don't enforce ping timeouts. Just sending the pings is sufficient to cause dead connections to break. JoelKatz 2013-02-22 09:33:26 -08:00
  • 47425827d3 Reduce logging. JoelKatz 2013-02-22 09:33:10 -08:00
  • 1a3b28a668 JS: More tests for equals. Stefan Thomas 2013-02-22 13:47:47 +01:00
  • 544105e23d JS: Prevent Amount#negate from creating amounts that are negative zero. Stefan Thomas 2013-02-22 13:47:26 +01:00
  • 50b5644334 JS: Add a way for the test suite to change Amount#equals, so it ignores issuers. Stefan Thomas 2013-02-22 13:46:50 +01:00
  • 47791fa851 JS: Fix Amount#equals and Amount#not_equals_why to pass all tests. Stefan Thomas 2013-02-22 12:47:56 +01:00
  • 0641d38dc1 JS: More tests for Amount#equals and Amount#not_equals_why. Stefan Thomas 2013-02-22 12:47:36 +01:00
  • 8cb8b353c3 JS: Amount - handle plain numbers as arguments to ratio_human and product_human. Stefan Thomas 2013-02-22 12:45:27 +01:00
  • 39b3fe772d Merge branch 'master' of github.com:jedmccaleb/NewCoin JoelKatz 2013-02-22 01:36:42 -08:00
  • 261168d512 Quiet noisy logging. JoelKatz 2013-02-22 01:36:31 -08:00
  • 58bbe2d399 Merge branch 'master' of github.com:jedmccaleb/NewCoin Arthur Britto 2013-02-22 01:25:36 -08:00
  • 54fa89f832 Comment out unavailable command doc. Arthur Britto 2013-02-22 01:25:29 -08:00
  • 1b01114d54 Cosmetic: Don't report a nonsense age in the human-readable server_info JoelKatz 2013-02-21 19:34:38 -08:00
  • 5b383d43b0 Fix a bug that could cause crashes. JoelKatz 2013-02-21 19:29:25 -08:00
  • 716631bb5c Fix a very rare race condition. JoelKatz 2013-02-21 15:11:51 -08:00
  • 8f9b41e446 Turn websocket ping frequency down. JoelKatz 2013-02-21 14:45:41 -08:00
  • 0f903a2cc9 Merge branch 'master' of github.com:jedmccaleb/NewCoin JoelKatz 2013-02-21 14:22:28 -08:00
  • 9508a4a7d6 Try to prevent websocket connections from pinging out. JoelKatz 2013-02-21 14:22:08 -08:00
  • aa77f433e4 JS: Failing test. Amount#equals does not compare exponent. Stefan Thomas 2013-02-21 23:06:12 +01:00
  • a38e17beed JS: Added class OrderBook for listening to order books. Stefan Thomas 2013-02-19 17:35:42 +01:00
  • 6357a906d3 Most recent data first. JoelKatz 2013-02-21 12:48:25 -08:00
  • 2d1b98609e Temporarily limit getAccountTx to 200 transactions. JoelKatz 2013-02-21 12:36:16 -08:00
  • a331d23183 Fix some inefficiecies. JoelKatz 2013-02-21 10:42:17 -08:00
  • e3b4571831 Cleanup of STObject::setType. Avoid some excess allocations. JoelKatz 2013-02-21 10:29:06 -08:00
  • 7300e803ae Accelerated 'ledger' command. JoelKatz 2013-02-21 10:09:40 -08:00
  • 2e12ffac57 Allow a lot more commands to take advantage of the immutable SLE acceleration. Allow faster operations on the open ledger by using many smaller freezes rather than one big one. JoelKatz 2013-02-21 09:57:42 -08:00
  • 53b622db75 Make getSLEi more useful. JoelKatz 2013-02-21 09:47:34 -08:00
  • 5451e20eaa Make getAccountState use getSLEi. Make getSLEi work against a mutex ledger without holding a master lock. JoelKatz 2013-02-21 06:47:38 -08:00
  • 73c795a4b2 I guess I couldn't get away with this. JoelKatz 2013-02-21 02:52:22 -08:00
  • 1e2aba6b38 Ledger acquire timing changes. Better logging of acquire stalls. JoelKatz 2013-02-21 02:47:19 -08:00
  • a2a52ad88b Fix a crash bug reported by Jon Montroll. ConnectionPool::peerConnect called Peer::connect while holding the ConnectionPool::mPeerLock. But Peer::connect could call Peer::detach which calls ConnectionPool::peerClosed which tries to acquire the ConnectionPool::mPeerLock mutex. Said mutex was not recursive. Belt and suspenders fix -- make the mutex recursive and make ConnectionPool::peerConnection call Peer::connect without holding the ConnectionPool::mPeerLock mutex. (This was intended to be a fast, internal mutex and calls to external 'heavy' functions should not be made while holding it.) JoelKatz 2013-02-21 02:43:20 -08:00
  • 0d928f8471 Small bugfix. JoelKatz 2013-02-21 00:37:39 -08:00
  • 44f9106556 Complete the peer ping/pong logic. Disconnect idle/broken peers. JoelKatz 2013-02-20 21:42:27 -08:00
  • 644b9448f7 Drop fees faster. JoelKatz 2013-02-20 14:32:59 -08:00
  • 2de9ffe4dc Up target latencies for client commands. JoelKatz 2013-02-20 14:28:16 -08:00
  • 52c378411d If we start seeing acquire timeouts, don't start new acquires. The link could be overloaded. JoelKatz 2013-02-20 13:30:57 -08:00
  • 25c52b1a4d Use getSLEi to get an immutable SLE. This lets us cache them. JoelKatz 2013-02-20 12:00:38 -08:00
  • ba37349b95 Function to get map entry with its hash. JoelKatz 2013-02-20 11:59:33 -08:00
  • 24355e17fb I apologize for this moderate buchery, but we need to save the calls to base58::ToString JoelKatz 2013-02-20 11:58:57 -08:00
  • 3191bd4922 Limit paths returned by pathfinder. Arthur Britto 2013-02-20 11:06:57 -08:00
  • 4ad437c783 Merge branch 'master' of github.com:jedmccaleb/NewCoin Arthur Britto 2013-02-20 11:05:18 -08:00
  • 4bc9a9fdb0 Allow -3 to select last fully-validated ledger. JoelKatz 2013-02-20 09:41:23 -08:00
  • 7552f9eacf Some optimizations. JoelKatz 2013-02-20 09:33:09 -08:00
  • c375d2d96b Logging reduction. JoelKatz 2013-02-19 15:44:12 -08:00
  • 4d6bf6fd43 Logging reductions. JoelKatz 2013-02-19 15:41:03 -08:00
  • 7c7944a82c Disambiguate rpcSRC_ACT_NOT_FOUND errors so it's clear when it's the secret that's at fault. JoelKatz 2013-02-19 13:48:46 -08:00
  • 637b7e5431 Make the CA servers used for outbound HTTPS connections configurable. JoelKatz 2013-02-19 13:48:25 -08:00
  • fb5637d3e0 Add hotwallets to ripple-example.txt Arthur Britto 2013-02-19 13:38:49 -08:00
  • 6c6e8777f4 Log outbound connection certificate verification failures. JoelKatz 2013-02-19 13:11:24 -08:00
  • 875b47ca75 Typo. JoelKatz 2013-02-19 07:59:21 -08:00