Commit Graph

  • 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
  • b14b2f5dab Separate close times and network times. JoelKatz 2012-08-06 02:12:27 -07:00
  • 05e193f370 Use a median filter to protect against bad timeservers. JoelKatz 2012-08-05 20:07:08 -07:00
  • 65cbd319c1 Cleanups. JoelKatz 2012-08-05 03:56:17 -07:00
  • ad0650b7fa Suppress small offsets. They are likely just due to rounding. JoelKatz 2012-08-05 03:47:15 -07:00
  • ed8635c98d Use the OpenSSL RNG for randomness that needs to be secure. JoelKatz 2012-08-05 00:54:28 -07:00
  • 3e3d367c98 Finalizations, cleanup, and security improvements. JoelKatz 2012-08-05 00:39:06 -07:00
  • 6bd7738303 Make time errors a thing of the past. JoelKatz 2012-08-05 00:19:41 -07:00
  • ee01b55874 An SNTP client implementation. About 95% complete right now. JoelKatz 2012-08-04 21:33:05 -07:00
  • 1a6a6231cc Add path expansion to transaction engine. Arthur Britto 2012-08-03 14:57:52 -07:00
  • 78f415f386 Allow a 20 second clock offset. JoelKatz 2012-08-03 07:02:18 -07:00
  • 127391b345 Remove assert. JoelKatz 2012-08-03 06:51:32 -07:00
  • d98a931b8e Compute our clock offset. (We don't actually set it yet though.) JoelKatz 2012-08-03 04:40:16 -07:00
  • 97c1dc73f6 Use the offset. JoelKatz 2012-08-03 04:40:10 -07:00
  • 0f4800f6bb Support for a local time to network time offset JoelKatz 2012-08-03 04:39:52 -07:00
  • 1892e7e00a Some extra debug. JoelKatz 2012-08-03 04:11:52 -07:00
  • 5778cb1183 Keep one validation back to avoid a split case when some nodes have sent new validations and some haven't JoelKatz 2012-08-03 04:07:01 -07:00
  • 6815c7ef98 Cleanups. JoelKatz 2012-08-03 04:06:53 -07:00
  • d251a67d17 Fix typos. JoelKatz 2012-08-03 03:47:27 -07:00
  • debcea79f0 Don't switch to our own previous ledger. JoelKatz 2012-08-03 03:46:31 -07:00
  • 9eaf052ee8 Make this compile temporarily. JoelKatz 2012-08-03 03:22:32 -07:00