Commit Graph

  • 1a1952ea7b You can now create a LedgerEntrySet without a TransactionEngine. You can call all the various entry* functions on it directly. You can throw it out when you're done. The constructor is: JoelKatz 2012-09-08 00:48:26 -07:00
  • 63921c9757 Cleanups and fixes. JoelKatz 2012-09-07 22:21:07 -07:00
  • 0defc8d5ab Cleanups. JoelKatz 2012-09-07 15:50:07 -07:00
  • 345d3ccb1d Merge branch 'master' of github.com:jedmccaleb/NewCoin JoelKatz 2012-09-07 15:26:14 -07:00
  • cbc758db64 Fix crash JoelKatz 2012-09-07 15:25:47 -07:00
  • 390e628f10 Cmall cleanups and fixes. JoelKatz 2012-09-07 15:06:25 -07:00
  • a3ddb9b146 Remove unused variables. Arthur Britto 2012-09-07 14:40:16 -07:00
  • 90fb093402 . jed 2012-09-07 14:33:56 -07:00
  • 43a3bcc155 . jed 2012-09-07 14:33:13 -07:00
  • dcfe92a84b Merge branch 'master' of github.com:jedmccaleb/NewCoin jed 2012-09-07 14:23:32 -07:00
  • 8ffb303ab7 missing files jed 2012-09-07 14:23:01 -07:00
  • ae50e04ad5 Merge branch 'master' of github.com:jedmccaleb/NewCoin Arthur Britto 2012-09-07 14:08:35 -07:00
  • e0cfa2e12d Remove obsolete ledeger fields. Arthur Britto 2012-09-07 14:08:25 -07:00
  • 084a0c4888 Merge branch 'master' of github.com:jedmccaleb/NewCoin jed 2012-09-07 14:04:26 -07:00
  • e12a6a7fc5 changed contract jed 2012-09-07 14:04:02 -07:00
  • 9f6118b795 Tiny cleanup JoelKatz 2012-09-07 11:25:20 -07:00
  • adf4ff998b Make it less likely that a node will get temporarily stuck in a stale consensus process. JoelKatz 2012-09-07 11:23:06 -07:00
  • e557395072 Fix the bug causing ledgers to close immediately even without transactions. Fix a bug that could cause the network to proceed without a consensus. JoelKatz 2012-09-07 10:47:15 -07:00
  • 19c69cbb82 Cosmetic. JoelKatz 2012-09-07 10:46:58 -07:00
  • 1353001be0 Merge branch 'master' of github.com:jedmccaleb/NewCoin jed 2012-09-07 07:18:59 -07:00
  • dbbd03cad1 . jed 2012-09-07 07:18:47 -07:00
  • 61cdcf2830 Merge branch 'ripple' Arthur Britto 2012-09-06 21:34:33 -07:00
  • 7a479d6035 Fixes for rippling through an offer. Arthur Britto 2012-09-06 21:32:07 -07:00
  • a3241dae56 Fix a case where we could lose deferred prposals. JoelKatz 2012-09-05 22:28:26 -07:00
  • 4737b960fc Improve comment. JoelKatz 2012-09-05 22:23:12 -07:00
  • 6eacbf16e7 Typo. JoelKatz 2012-09-05 22:23:03 -07:00
  • 2da2b340fc Make it compile. JoelKatz 2012-09-05 21:55:20 -07:00
  • 687578abd9 Get rid of "dead" ledgers. We don't need them any more and they make trouble. Fix close time synch to be more accurate. JoelKatz 2012-09-05 21:55:00 -07:00
  • 8e5374b338 contract stuff. Still aways a way I just wanted to get it in github. jed 2012-09-05 16:54:14 -07:00
  • a61b5e98fe Merge branch 'master' of github.com:jedmccaleb/NewCoin jed 2012-09-05 15:56:29 -07:00
  • 0d40390e6b contract jed 2012-09-05 15:33:48 -07:00
  • 2512eac370 Rounding was messing up the close time consensus test. JoelKatz 2012-09-05 14:52:55 -07:00
  • ec625a608f Small tweaks. JoelKatz 2012-09-05 14:37:42 -07:00
  • 0b67ad7858 Merge branch 'master' of github.com:jedmccaleb/NewCoin JoelKatz 2012-09-05 14:37:09 -07:00
  • 159fe2145a Copy the correct hash JoelKatz 2012-09-05 14:36:50 -07:00
  • 34101d0a7a Merge branch 'ripple' Arthur Britto 2012-09-05 14:19:25 -07:00
  • 986fd52f19 Get indirect ripple working again. Arthur Britto 2012-09-05 14:18:58 -07:00
  • 7a300f6c7b Fix deadlock. JoelKatz 2012-09-05 10:18:23 -07:00
  • 1dfdf8e9d8 Count a validation for its previous ledger if it's during consensus time. JoelKatz 2012-09-05 10:05:15 -07:00
  • 7785b89b5d Some extra debugging. Don't jump back to the ledger we just left (yeah, there was another way that could happen.) JoelKatz 2012-09-05 07:22:04 -07:00
  • 6c7fadf479 Merge branch 'master' of github.com:jedmccaleb/NewCoin jed 2012-09-05 07:12:19 -07:00
  • 090e7c6064 start contracts jed 2012-09-05 07:12:00 -07:00
  • 1c963cc1a0 Merge branch 'master' into ripple Arthur Britto 2012-09-04 16:16:13 -07:00
  • 829b57173f Restruct reverse ripple through offers. Arthur Britto 2012-09-04 15:40:53 -07:00
  • 00199d3915 An imperfect fix for the case where we get validations during the consensus process for the next ledger and think it's a change in the previous ledger. JoelKatz 2012-09-03 20:36:51 -07:00
  • cfedc4b981 Bugfix. JoelKatz 2012-09-03 20:29:29 -07:00
  • 4930ebb945 Simplify the way we handle validations. Include a signing time instead of a closing time. Keep only the validation with the most recent signing time. Sign using network time. This eliminates the ValidationPair nightmare and makes the logic must easier to understand, increasing confidence that it does what it's supposed to do. JoelKatz 2012-09-03 20:13:57 -07:00
  • 9a5d23d5d4 Cosmetic. Arthur Britto 2012-09-03 14:43:16 -07:00
  • dda279e5a6 Remove remaining support for redeem and issue flags. Arthur Britto 2012-09-03 14:37:00 -07:00
  • 74392e5929 Provide seperate ledger entry to state to ripple reverse. Arthur Britto 2012-09-03 14:28:45 -07:00
  • 8910a3e14b Implement quality limit for ripple. Arthur Britto 2012-09-03 14:15:31 -07:00
  • 61831eaa3c Obsolete redeem and issue flag support from ripple paths. Arthur Britto 2012-09-03 13:57:01 -07:00
  • 0862ed2957 Don't get stuck in consensus process. JoelKatz 2012-09-03 10:14:25 -07:00
  • f4dad6fe3c Timestamps were expiring too soon. JoelKatz 2012-09-03 09:54:27 -07:00
  • 1891cf0654 Improve error message. JoelKatz 2012-09-03 09:50:25 -07:00
  • ee78114033 Convenience type. JoelKatz 2012-09-03 09:47:14 -07:00
  • 7eef087d53 Typo. JoelKatz 2012-09-03 09:47:03 -07:00
  • c598b25b87 Remove annoying debug. JoelKatz 2012-09-03 09:46:49 -07:00
  • 203533db3d Remove chatty debug. JoelKatz 2012-09-03 09:46:35 -07:00
  • 0149c3948b Ack! Test for stale proposals was backwards. JoelKatz 2012-09-03 08:50:28 -07:00
  • 46f6110cdd Small cleanup. JoelKatz 2012-09-03 08:40:10 -07:00
  • df1e5ab95a Cleanup. Fix a bug when we incompletely remove a vote on a disputed transaction. JoelKatz 2012-09-03 08:35:53 -07:00
  • b4548760df New-style proposal support. JoelKatz 2012-09-03 06:03:45 -07:00
  • cc4827559c Support for proposals that contain the previous ledger hash. A fix for ledger acquires not stopping when they should. JoelKatz 2012-09-03 06:03:09 -07:00
  • 7d6259d8b3 Whitespace fix. JoelKatz 2012-09-03 06:02:42 -07:00
  • 4f598af582 Change 'shouldClose' to return a bool. Clear structures on LCL view change during consensus window. Cleaner calculation of 'rounded' close times. Maintain close time offset. JoelKatz 2012-09-03 05:16:32 -07:00
  • 8eb33f6bb5 Better logging of time offsets on connection. JoelKatz 2012-09-03 05:16:08 -07:00
  • 81793192cb Bugfix and close time offset set function. JoelKatz 2012-09-03 04:37:25 -07:00
  • 9f8c1bdc7a Cleanups. JoelKatz 2012-09-03 03:15:42 -07:00
  • 9977463122 You no longer need .getFullText() on an operator<< to an ostream. There's like 25 of them in TransactionEngine.cpp that can be removed when convenient JoelKatz 2012-09-03 02:30:17 -07:00
  • d5fe3261ab Cleanups and simplfications. JoelKatz 2012-09-03 01:47:03 -07:00
  • b950877758 Some proposal cleanups. JoelKatz 2012-09-03 01:19:58 -07:00
  • 1024af54b6 Modify RPC and transactions to use quality flags for ripple. Arthur Britto 2012-09-02 21:32:52 -07:00
  • 9329604836 Restructure forward ripple through offers. Arthur Britto 2012-09-01 17:24:14 -07:00
  • 60653a5108 Add STAmount divide and multiply shortcuts. Arthur Britto 2012-09-01 17:24:12 -07:00
  • 8d7773dcd6 Remove unused variable. Arthur Britto 2012-09-01 17:23:40 -07:00
  • 3005d46b12 Cleanup. JoelKatz 2012-09-01 01:01:28 -07:00
  • 3bd054748e Fix a vulnerability. Someone could see a ledger proposal and send us a malformed version of that ledger proposal that failed our validity check but was similar enough to the real proposal to trick us into suppressing that proposal as a duplicate. JoelKatz 2012-09-01 00:53:40 -07:00
  • 02bd898e51 Some const-correctness. const SLE::pointer & -> SLE::ref JoelKatz 2012-08-31 18:26:45 -07:00
  • 9ef0a5491b Use "Ledger::ref" instead of "const Ledger::pointer&". JoelKatz 2012-08-31 18:11:41 -07:00
  • ad12e318ba Allow a peer position to be removed from the consensus logic if the peer is not responding. This version uses static timing. A peer takes a position every 12 seconds and a position is valid for 20 seconds. It might make sense to either make that timing adaptive or include a "validity time" field in the position. However, I think this is really only going to be an issue in fairly small networks (which is why we are seeing it). JoelKatz 2012-08-31 15:51:41 -07:00
  • f636ae861e Merge branch 'master' of github.com:jedmccaleb/NewCoin JoelKatz 2012-08-31 14:47:55 -07:00
  • c3603c403d Code to determine how old a proposal is. Low-level code to remove a peer from the consensus process. JoelKatz 2012-08-31 14:47:31 -07:00
  • 69de9f9ce2 Progress toward ripple pre restructuring forward. Arthur Britto 2012-08-31 14:05:37 -07:00
  • 73e6e70f13 Use stl for min and max. Arthur Britto 2012-08-30 21:16:07 -07:00
  • e8a74c7679 Work on ripple. Arthur Britto 2012-08-30 21:15:46 -07:00
  • 22a1cb6eed Work towards ripple. Arthur Britto 2012-08-30 15:19:28 -07:00
  • 61de69e8d0 Merge branch 'ripple' Arthur Britto 2012-08-30 13:17:57 -07:00
  • 657084f5b9 Rework applyTransaction to use new TERs. Arthur Britto 2012-08-30 13:17:38 -07:00
  • 4d3fc5b6a5 Stash and apply proposals received with a different LCL. JoelKatz 2012-08-30 12:28:02 -07:00
  • faaedb806f Start of the proposal defer/playback code. Clean up tem codes to tap codes. JoelKatz 2012-08-30 11:43:20 -07:00
  • 651cee5738 Clean up ledger JSON output. JoelKatz 2012-08-30 10:44:21 -07:00
  • de5c9cc1a2 Comment out some code that's causing an issue. JoelKatz 2012-08-30 10:44:09 -07:00
  • dbc2b4c4e9 Improve log message text. JoelKatz 2012-08-30 10:30:19 -07:00
  • ee71603dec Logic error in last close logic making us thing consensus was slow. JoelKatz 2012-08-30 10:29:56 -07:00
  • 9308abc8e1 Extra logging. JoelKatz 2012-08-30 10:05:33 -07:00
  • e5af7072bc Propogate a view change during consensus to the NetworkOPs code. JoelKatz 2012-08-30 10:04:58 -07:00
  • c8d3de7b7d Remove an incorrect assertion. JoelKatz 2012-08-30 09:48:59 -07:00
  • c481bd6cba Simplify the code that handles a ledger change in the consensus window. Remove duplicate code. Handle edge cases correctly in all code paths. JoelKatz 2012-08-30 09:38:44 -07:00
  • 727d2644a4 We mishandle the cases where we already have the new consensus LCL. JoelKatz 2012-08-30 09:19:14 -07:00