Commit Graph

  • 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
  • 56b1939f43 Extra safety. JoelKatz 2012-08-30 09:19:05 -07:00
  • 1813e8365d Fix crash on txn against non-existent account. JoelKatz 2012-08-30 08:59:25 -07:00
  • f63d9df60b Ledger idle timing fixes. JoelKatz 2012-08-29 23:38:35 -07:00
  • 6282ad4a88 Clean up the TransactionEngineParameter flags. Clarify the semantics for soft failure. Note that the code will not yet invoke a transaction with a retry flag, but the support is there for transcations to handle it. JoelKatz 2012-08-29 23:02:06 -07:00
  • 6b144f8749 Quick fix to the bug causing crashes. Will rethink shortly to make sure it's correct, but this should be adequate. JoelKatz 2012-08-29 17:33:37 -07:00
  • 774110eef9 Fix a bug that could cause an idle ledger to spend insufficient time establishing a consensus. JoelKatz 2012-08-29 16:01:30 -07:00
  • ed709e0ccc Merge branch 'master' of github.com:jedmccaleb/NewCoin JoelKatz 2012-08-29 14:40:00 -07:00
  • 5db8082608 Small bugfixes. JoelKatz 2012-08-29 14:39:43 -07:00
  • dacc4a7286 Merge branch 'ripple' Arthur Britto 2012-08-29 12:38:35 -07:00
  • 7967b4ec11 Improve error handling for transaction engine path creation. Arthur Britto 2012-08-29 12:38:24 -07:00
  • 4ae4807c16 Merge branch 'ripple' Arthur Britto 2012-08-29 12:00:29 -07:00
  • aec95e3a0f Merge branch 'ripple' of github.com:jedmccaleb/NewCoin into ripple Arthur Britto 2012-08-29 11:58:57 -07:00
  • d96070f083 Rename TransactionEngineResult to TER & work on ripple. Arthur Britto 2012-08-29 11:58:34 -07:00
  • 45329b8d08 Remove some dead code. JoelKatz 2012-08-29 00:09:28 -07:00
  • af5c04b816 Some extra debug. JoelKatz 2012-08-29 00:03:30 -07:00
  • 004f3719a5 Perhaps a fix for the problem. Try to make sure there's no window in which we can receive a proposal and be unable to act on it, even if our clock is way off and there are no transactions. JoelKatz 2012-08-28 23:44:29 -07:00
  • 54eca8a3bb Whitespace fix. JoelKatz 2012-08-28 23:44:19 -07:00
  • 26687c8692 Merge branch 'master' of github.com:jedmccaleb/NewCoin jed 2012-08-28 17:14:03 -07:00
  • e4f7ffe995 Some cleanups that should make Arthur happy. JoelKatz 2012-08-28 16:07:44 -07:00
  • 192c64461d Simplify and improve performance a bit. JoelKatz 2012-08-28 15:35:47 -07:00
  • 7bf224200b This is not only simpler, but should perform slightly better too. JoelKatz 2012-08-28 15:31:41 -07:00
  • fccbe7db8d Merge branch 'ripple' of github.com:jedmccaleb/NewCoin into ripple JoelKatz 2012-08-28 13:35:26 -07:00
  • fd62f72c6e Merge branch 'ripple' of github.com:jedmccaleb/NewCoin JoelKatz 2012-08-28 13:32:31 -07:00
  • 354c33f71a Work toward ripple loop detection and offer deletion. Arthur Britto 2012-08-28 13:27:54 -07:00
  • bcd08c368c This should complete the code to build the transaction meta data based on the ledger entry set. JoelKatz 2012-08-28 04:05:19 -07:00
  • 0d8ad928f6 Simplify clean up for takeOffers. Arthur Britto 2012-08-27 13:20:47 -07:00
  • 344f551c39 Merge branch 'ripple' Arthur Britto 2012-08-27 13:16:03 -07:00
  • 421841b209 Fix offer creation to support threading. Arthur Britto 2012-08-27 13:15:04 -07:00
  • e02e785a72 Work on transaction engine offer deleting. Arthur Britto 2012-08-27 12:22:03 -07:00
  • 87f476e03b Merge branch 'master' of github.com:jedmccaleb/NewCoin jed 2012-08-27 08:01:42 -07:00
  • 9148127083 Fix threading. JoelKatz 2012-08-27 03:04:33 -07:00
  • bb7f692a76 Rework transaction engine result codes. Arthur Britto 2012-08-26 20:38:35 -07:00
  • 3fd5e10390 More ripple engine fixes. Arthur Britto 2012-08-25 18:03:05 -07:00
  • cf450106c4 Require issuer when specifying currency when creating STAmount. Arthur Britto 2012-08-25 14:49:45 -07:00
  • 0cb14e4e8a Merge branch 'master' of github.com:jedmccaleb/NewCoin Arthur Britto 2012-08-24 20:18:27 -07:00
  • ba45778a08 Fixes for ripple quality in transaction engine. Arthur Britto 2012-08-24 20:18:07 -07:00
  • 59cf548953 Add issuer support to RPC send commend. Arthur Britto 2012-08-24 20:17:46 -07:00
  • 4633aa019c Mid-level threading code. JoelKatz 2012-08-24 09:35:35 -07:00
  • 82c3a49e26 Missing newlins. JoelKatz 2012-08-24 09:35:26 -07:00
  • db873ff9f5 Functions for owned nodes (nodes that have a single other node that owns them) and dual-owner nodes (nodes that have two other nodes that own them). Owned nodes would be things like nicknames. Dual-owner nodes would be things like ripple balances. JoelKatz 2012-08-24 09:32:58 -07:00
  • e6511732c7 Fix compiler warnings. Arthur Britto 2012-08-23 22:31:14 -07:00
  • 6d18e85d5d Merge branch 'master' of github.com:jedmccaleb/NewCoin jed 2012-08-23 21:33:44 -07:00
  • 0f51eb8ccf Merge branch 'ripple' Arthur Britto 2012-08-23 20:23:06 -07:00
  • bba7de2e94 Merge branch 'master' of github.com:jedmccaleb/NewCoin jed 2012-08-23 16:30:34 -07:00
  • 345c00e569 . jed 2012-08-23 16:30:15 -07:00
  • 4bacf99977 Use issuer from send and send_max when building paths in transaction engine. Arthur Britto 2012-08-23 16:23:56 -07:00
  • 068b237784 Change order book for issuer in STAmount. Arthur Britto 2012-08-23 14:59:03 -07:00
  • 78462beb59 Merge branch 'ripple' Arthur Britto 2012-08-23 14:55:21 -07:00
  • e4b8d874e7 Encode issuer in STAmount. Breaking protocol and db version change. Arthur Britto 2012-08-23 14:55:03 -07:00
  • 27490e1f0b pathfinding jed 2012-08-23 14:01:39 -07:00
  • acb4502a04 Work toward rippling through offers. Arthur Britto 2012-08-23 13:26:53 -07:00
  • cedb9d08fa Add Account field back to AccountRoot nodes. Arthur Britto 2012-08-22 16:24:05 -07:00
  • e00426a3be Finalizing of metadata building. JoelKatz 2012-08-22 14:56:01 -07:00
  • c120a4cada Fix thread. New constructor. JoelKatz 2012-08-22 08:03:29 -07:00
  • 962e9f0180 Type comparison is handled in higher-level code and not needed at the bottom. JoelKatz 2012-08-22 05:17:23 -07:00
  • c2a3d5b468 compare and duplicate should both be private. JoelKatz 2012-08-22 05:17:10 -07:00
  • a8316fac26 Missing from previous commits. JoelKatz 2012-08-22 04:55:10 -07:00
  • a3e3318943 Silence a warning. JoelKatz 2012-08-22 04:55:01 -07:00
  • f9e1ee033b TxMeta rewrite. JoelKatz 2012-08-21 08:16:10 -07:00
  • 6694372af7 . jed 2012-08-20 17:01:53 -07:00
  • 62eff7ecf4 Merge branch 'master' of github.com:jedmccaleb/NewCoin Arthur Britto 2012-08-20 16:47:16 -07:00
  • c16fe1e725 Add AccountID to json output for AccountState. Arthur Britto 2012-08-20 16:45:30 -07:00
  • 58644fc806 Fix transaction engine sense of ripple balances. Arthur Britto 2012-08-20 16:23:23 -07:00
  • 68b044ddde Changes to support threading through account roots, offers, and ripple state nodes. Fix tracking the last transaction signed by an account. JoelKatz 2012-08-20 13:45:58 -07:00
  • a99f814c20 Allow qualities to be specified as a float for RPC. Arthur Britto 2012-08-20 13:19:43 -07:00
  • 2522c4625f Fixes for paths. Arthur Britto 2012-08-20 12:37:36 -07:00
  • 1c5481bad7 forgot some functions jed 2012-08-20 11:53:43 -07:00
  • 3dc0646ed8 moved all Ledger:: functions to the same .cpp file jed 2012-08-20 09:51:10 -07:00
  • 336a1c27fc Merge branch 'master' of github.com:jedmccaleb/NewCoin jed 2012-08-20 09:42:15 -07:00
  • 5484205b26 Merge branch 'master' of github.com:jedmccaleb/NewCoin jed 2012-08-20 09:40:40 -07:00
  • 532db8be35 assert if the sanitized transaction differs materially from the submitted transaction. JoelKatz 2012-08-19 22:52:14 -07:00
  • aa1f923306 A better fix so that every type doesn't have to have its own operator=. This fixes it in one place and allows many such helpers to be removed. JoelKatz 2012-08-19 22:47:59 -07:00
  • 6f5eb015bf Fix the bug causing 'Paths' not to have a name. The implicit 'operator=' function obliterated the name. JoelKatz 2012-08-19 22:41:30 -07:00
  • d05f74b838 Merge branch 'ripple' Arthur Britto 2012-08-19 22:21:07 -07:00
  • a251a1ae4e Fix STPathSet deserialization. Arthur Britto 2012-08-19 22:20:58 -07:00
  • df351a40e0 Merge branch 'ripple' Arthur Britto 2012-08-19 21:37:22 -07:00
  • 7e30db94b4 Work on ripple paths. Arthur Britto 2012-08-19 21:36:25 -07:00
  • c036188c3c Some more cleanups. JoelKatz 2012-08-19 21:01:36 -07:00
  • 420ee91877 Remove more wasteful allocate/increment/decrement/free cycles. JoelKatz 2012-08-19 19:23:10 -07:00
  • 84ee39b147 Fix a few more cases where we create a new shared pointer just to immediately throw it away, resulting in a wasted allocate/increment/decrement/free. JoelKatz 2012-08-19 19:04:18 -07:00