Commit Graph

  • 1ba5b02f14 Don't track metadata for directory nodes. JoelKatz 2012-09-12 09:18:10 -07:00
  • 30cd0e197d Remove dead code that's in my way. JoelKatz 2012-09-12 09:18:03 -07:00
  • ca6e9cf764 Fix a case where we can get stuck in the wrong consensus window and have to wait for it to timeout. JoelKatz 2012-09-11 21:36:23 -07:00
  • b5da6c22a5 Missing piece for TX metadata. JoelKatz 2012-09-11 15:35:23 -07:00
  • ca1436ac25 Remove some dead code that was in my way. JoelKatz 2012-09-11 14:51:13 -07:00
  • 81cd4cf820 Start of code to track network state, track overwhelmed nodes, and adjust transaction fees. JoelKatz 2012-09-11 11:56:41 -07:00
  • ac225c74e6 Merge branch 'master' of github.com:jedmccaleb/NewCoin JoelKatz 2012-09-10 16:30:37 -07:00
  • 2c2d9cf8f5 Small cleanups. JoelKatz 2012-09-10 16:30:25 -07:00
  • 4faad38112 Base classes used polymorphically whose child classes have data members or destructors must themselves have virtual destructors or Bad Things(TM) happen. JoelKatz 2012-09-10 16:29:42 -07:00
  • cc467bf1d3 Move TransactionEngine do* to TransactionAction.cpp Arthur Britto 2012-09-10 12:51:56 -07:00
  • b7f3baee15 Split up TransactionEngine, part 1. Arthur Britto 2012-09-09 19:54:46 -07:00
  • 4adfce51a3 Create TransactionErr.* and move dir functions to LedgerEntrySet. Arthur Britto 2012-09-08 15:37:22 -07:00
  • fe6c5d2b60 Comment out bad assert. Arthur Britto 2012-09-08 15:36:23 -07:00
  • be31c0e921 Merge branch 'master' of github.com:jedmccaleb/NewCoin Arthur Britto 2012-09-08 11:33:09 -07:00
  • 042a239c62 Remove unused directories (test & Debug). Arthur Britto 2012-09-08 11:32:51 -07:00
  • 4271a9d12d Improve comments. Fix a typo in previous commit. JoelKatz 2012-09-08 04:14:42 -07:00
  • 3ab5b24226 Trivial change. JoelKatz 2012-09-08 04:14:26 -07:00
  • 18b18359c5 Be smarter about tracking which peers have which ledgers. JoelKatz 2012-09-08 04:14:06 -07:00
  • 9222eee1df I believe this trivial change solves the "stuck one ledger behind" problem. If the ledger is open, there should be no significant number of proposals for a subsequent ledger. If there is, we are a ledger behind. JoelKatz 2012-09-08 03:51:56 -07:00
  • e2137ea5af Make our ledger a bit stickier to avoid the "check at the wrong time" problem (when you don't have enough validations for the latest ledger and so jump backwards when you shouldn't. This solves every known ledger consensus issue except the "stuck one ledger behind" issue. I'm working on that now. JoelKatz 2012-09-08 03:49:12 -07:00
  • 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