Commit Graph

  • e825db5db9 Don't report a failure if we got a fat root. JoelKatz 2012-08-19 19:03:33 -07:00
  • fbd67bda89 Let issuer be defaulted for RPC ripple command. Arthur Britto 2012-08-19 18:54:26 -07:00
  • 053e030e70 Constify TransactionEngine. Arthur Britto 2012-08-19 02:32:09 -07:00
  • 6aa725768a Cosmetic. Arthur Britto 2012-08-19 01:41:07 -07:00
  • 64b3afad28 Fixes for quality. Arthur Britto 2012-08-18 13:16:58 -07:00
  • 3530988e9c Cosmetic. Arthur Britto 2012-08-18 13:16:26 -07:00
  • d5734cd6ce Merge ripple dirs with owner dirs and RPC fixes for setting quality. Arthur Britto 2012-08-18 12:41:58 -07:00
  • 3208f2c15e Merge branch 'master' of github.com:jedmccaleb/NewCoin jed 2012-08-17 21:36:14 -07:00
  • ffbd719508 . jed 2012-08-17 21:35:56 -07:00
  • 12c34a4b75 Merge branch 'ripple' Arthur Britto 2012-08-17 17:12:47 -07:00
  • 99d1451c29 Fixes for direct ripple with quality to work. Arthur Britto 2012-08-17 17:11:13 -07:00
  • f2902ca014 Make json full text for STAccount more legible. Arthur Britto 2012-08-17 17:08:23 -07:00
  • 6bf10b1082 Threading support for node deletion. JoelKatz 2012-08-17 16:18:22 -07:00
  • 2365b1b784 Merge branch 'master' of github.com:jedmccaleb/NewCoin jed 2012-08-16 16:52:40 -07:00
  • 50777639fb Set the tolerated clock offset to 20 seconds for now. JoelKatz 2012-08-16 16:00:18 -07:00
  • b789154c08 SLE support for threading through transactions. JoelKatz 2012-08-16 15:59:27 -07:00
  • 27f4a2ce30 Disable SNTPClient in standalone mode, try 2. Arthur Britto 2012-08-16 14:13:59 -07:00
  • 9c66ae8ef0 Fixes for ripple path expansion. Arthur Britto 2012-08-16 14:06:06 -07:00
  • 28c31e797b Disable SNTPClient in standalone mode. Arthur Britto 2012-08-16 14:05:21 -07:00
  • 916cdf5279 Remove mOrigNodes. JoelKatz 2012-08-15 15:33:03 -07:00
  • 6862e85f6a Merge branch 'master' of github.com:jedmccaleb/NewCoin jed 2012-08-15 15:16:46 -07:00
  • 5a8a4ebbfc . jed 2012-08-15 15:16:32 -07:00
  • c540b2a8a6 Merge branch 'master' of github.com:jedmccaleb/NewCoin Arthur Britto 2012-08-15 15:00:09 -07:00
  • f4714736cb Fixes for path checkpointing and expansion. Arthur Britto 2012-08-15 14:59:55 -07:00
  • c18302e089 Merge branch 'master' of github.com:jedmccaleb/NewCoin jed 2012-08-15 10:35:26 -07:00
  • 4f285dc603 add RippleLines jed 2012-08-15 10:35:12 -07:00
  • abf41dd4de Fix a large number of cases where we copy construct a shared_ptr just to destroy it. JoelKatz 2012-08-15 04:01:22 -07:00
  • 11f7012d09 Fix a bug where tx set acquire timeouts never occured. Run acquire timeouts in milliseconds rather than seconds. JoelKatz 2012-08-15 01:20:14 -07:00
  • 8ef27615dc Add getJson to PathState. Arthur Britto 2012-08-14 18:18:15 -07:00
  • 872314f933 Remove more Account from AccountStateNode and LedgerEntrySet revision. Arthur Britto 2012-08-14 17:16:39 -07:00
  • 44053a4afc Merge branch 'master' into ripple Arthur Britto 2012-08-14 16:10:17 -07:00
  • 64d6f16068 Minor cleanup. Arthur Britto 2012-08-14 16:04:39 -07:00
  • d3bce70e86 Remove Config::init. It's not needed. JoelKatz 2012-08-14 16:00:03 -07:00
  • 36fb085114 Make this more readable. JoelKatz 2012-08-14 15:59:25 -07:00
  • 5ddbf968bf Remove Account field from AccountRootNode. Arthur Britto 2012-08-14 15:50:35 -07:00
  • 89c7c26c2f Oops. JoelKatz 2012-08-14 15:36:50 -07:00
  • e473ce8424 Support "standalone" mode (-a or --standalone) in which we do not connect to the network and do not close ledgers. This mode makes it much easier to test transactions as they are only applied once to the open ledger. JoelKatz 2012-08-14 15:35:30 -07:00
  • 463a2abc9b Merge branch 'master' of github.com:jedmccaleb/NewCoin jed 2012-08-14 14:19:59 -07:00
  • 6044e49994 . jed 2012-08-14 14:19:44 -07:00
  • 07f5bf2612 Enforce SendMax restrictions in transaction engine. Arthur Britto 2012-08-14 13:31:46 -07:00
  • 11f02ba798 Ignore create flag on payments if account already created. Arthur Britto 2012-08-14 13:17:59 -07:00
  • 4b2ae556bd Downgrade a timing issue from fatal to warning. JoelKatz 2012-08-14 01:51:46 -07:00
  • 046c539d49 Mark a parameter as unused. JoelKatz 2012-08-14 01:51:35 -07:00
  • 3dcdc3b94a Fire up the aux thread earlier. JoelKatz 2012-08-14 01:51:17 -07:00
  • 04427b4ad0 Cleanups. JoelKatz 2012-08-13 23:15:50 -07:00
  • 227754496e Fix what is probably *the* bug. We aren't usually in our own UNL, so we specially mark our validations trusted. But that wasn't properly taken into account in one case where we decide if a validation is current. This causes two nodes to each not recognize their own validations, so they tend to exchange ledgers. JoelKatz 2012-08-13 23:14:39 -07:00
  • 5eca52497f Improve close time synch with no transactions JoelKatz 2012-08-13 23:13:12 -07:00
  • 6788105b2c Chatty debug. JoelKatz 2012-08-13 23:13:01 -07:00
  • 22237e58ab Check for network condition during idle time. Switch LCL if needed. JoelKatz 2012-08-13 22:27:29 -07:00
  • 8068e5fbb9 Remove chatty debug. JoelKatz 2012-08-13 22:27:20 -07:00
  • ba6e65214b Log whether a ledger is alive or dead when considering it as LCL. JoelKatz 2012-08-13 19:23:49 -07:00
  • d1547998d7 Change LEDGER_MAX_INTERVAL to LEDGER_VAL_INTERVAL to more accurately reflect what it now does. Turn this interval way up to ensure we can't lose synch (due to validations seeming too old) if time resolution drops drastically. JoelKatz 2012-08-13 17:55:55 -07:00
  • 524e89f4e1 Timing cleanups. JoelKatz 2012-08-13 17:35:20 -07:00
  • e3b6ec5080 Don't call newLCL more than once. JoelKatz 2012-08-13 17:18:58 -07:00
  • 4aea8c8dfb Use fat root semantics when acquire transaction sets. This might save a pass. JoelKatz 2012-08-13 17:11:15 -07:00
  • a7f192c989 Cleanups. JoelKatz 2012-08-13 17:11:00 -07:00
  • ae6c724f54 Merge branch 'master' of github.com:jedmccaleb/NewCoin JoelKatz 2012-08-13 17:10:59 -07:00
  • 88e938ec50 Change TXS acquire timeout. JoelKatz 2012-08-13 17:10:51 -07:00
  • 02adbfc953 Merge branch 'ripple' Arthur Britto 2012-08-13 17:06:43 -07:00
  • 9e41cac0da Add RPC ripple command and improve wallet_propose. Arthur Britto 2012-08-13 17:05:35 -07:00
  • 0f51774f58 Some paranoid extra checks. JoelKatz 2012-08-13 15:10:38 -07:00
  • 99a3d83330 Indent fix. JoelKatz 2012-08-13 14:56:08 -07:00
  • d554950efe One more drop of extra debug. JoelKatz 2012-08-13 14:35:47 -07:00
  • d3daa2fc00 Extra debug to help rule out the possibility that our ledgers are diverging after we are in sync. JoelKatz 2012-08-13 04:53:50 -07:00
  • c5acd0f630 Cleanups. JoelKatz 2012-08-13 03:10:43 -07:00
  • eaf0ffa08f Possible fix for a bug Jed reported. JoelKatz 2012-08-13 03:10:29 -07:00
  • 3e72880c2f Merge branch 'master' of github.com:jedmccaleb/NewCoin JoelKatz 2012-08-13 02:19:42 -07:00
  • e0aa5f287f Some asserts to help track down a bug (that seems impossible) that Jed reported. JoelKatz 2012-08-13 02:19:18 -07:00
  • 05304cc1fc More work towards ripple backend. Arthur Britto 2012-08-11 14:39:58 -07:00
  • 2f3f51b0ee Merge branch 'master' into ripple Arthur Britto 2012-08-10 13:14:58 -07:00
  • 622066f7e3 Work towards ripple backend. Arthur Britto 2012-08-10 12:58:59 -07:00
  • 5b431ea4f6 Fix the bug Jed reported where our second closed ledger has a close time in the past which crashes the CLC timing code. JoelKatz 2012-08-10 10:51:35 -07:00
  • e3c77d2c0c More LedgerEntrySet code. Retrieve as Json. Finalize before serializing. JoelKatz 2012-08-09 19:21:08 -07:00
  • d477172f65 Cleanups and whitespace fixes. JoelKatz 2012-08-09 19:20:53 -07:00
  • 1aa15c62e1 Implement STAmount::getRate. JoelKatz 2012-08-09 16:03:00 -07:00
  • 4e99d8d7bd Cleanups. JoelKatz 2012-08-08 23:08:24 -07:00
  • be17a3866f Fix the race condition bug Jed reported. A time jump on startup could cause an apparently overly-long (or even negative) ledger interval. The fix is to start up time synch earlier and to tolerate slight negative ledger intervals. JoelKatz 2012-08-08 14:22:03 -07:00
  • 28bddfb538 Merge branch 'master' of github.com:jedmccaleb/NewCoin JoelKatz 2012-08-08 13:56:52 -07:00
  • 9991c9532f Not sure why I put this in, but it's wrong. JoelKatz 2012-08-08 13:56:31 -07:00
  • 7fd327ee38 compile on windows jed 2012-08-08 10:22:54 -07:00
  • 3a4762c609 Don't try to calculate close time offsets if a ledger closed due to being idle. JoelKatz 2012-08-08 01:35:44 -07:00
  • 9fc4f469b8 Add STAmount::isNonZero JoelKatz 2012-08-08 01:35:34 -07:00
  • 8e89335e2b Cleanups to the sha map node format code. JoelKatz 2012-08-07 19:52:09 -07:00
  • b4e63c3025 Fix a few cases where we reset the acquire timer when we should not. JoelKatz 2012-08-07 04:11:20 -07:00
  • 86b9597ddd Reduce log chattiness. Acquire transaction and state trees in parallel. JoelKatz 2012-08-07 03:32:58 -07:00
  • 03e8104f62 Small close time consensus fix. JoelKatz 2012-08-07 01:39:34 -07:00
  • f80b884e81 Fix a consensus close time bug. JoelKatz 2012-08-07 01:30:39 -07:00
  • 5c01dc7338 We can lose time consensus. JoelKatz 2012-08-06 04:28:20 -07:00
  • 7186d45f45 Some extra debug to try to find the close time consensus buglet. JoelKatz 2012-08-06 04:22:35 -07:00
  • 241393410a More json information about consensus process. Fix a bug where swithing ledgers during the consensus window caused us to use the wrong close resolution. JoelKatz 2012-08-06 03:57:01 -07:00
  • 7a5db15041 Add more consensus information to the "server_info" RPC call. JoelKatz 2012-08-06 03:51:44 -07:00
  • efa3653b80 Bugfix for moving from connected to tracking state. Skeleting for getting Json info from consensus engine. JoelKatz 2012-08-06 03:40:52 -07:00
  • 85c0293673 Report peer close times. JoelKatz 2012-08-06 03:39:45 -07:00
  • e491922058 Simplify. JoelKatz 2012-08-06 03:06:16 -07:00
  • 573ef488f2 Fix dead ledger logic. Improve some logging. Fix how we handle close time consensus based on whether we're validating. JoelKatz 2012-08-06 03:05:44 -07:00
  • 6553b21318 Fix some dead ledger logic. JoelKatz 2012-08-06 03:05:35 -07:00
  • 3ae8ec6168 Remove some old debug. JoelKatz 2012-08-06 03:05:17 -07:00
  • 3e2ecc88cc Check that we don't already have a dead ledger. JoelKatz 2012-08-06 02:32:53 -07:00
  • 71b5b19198 Bugfix. JoelKatz 2012-08-06 02:25:59 -07:00
  • 39b28e1f50 Don't switch to a dead ledger. Without this, we can even get out of sync with ourselves! JoelKatz 2012-08-06 02:21:17 -07:00