Commit Graph

23 Commits

Author SHA1 Message Date
JoelKatz
7f44d1569e Computing our node public and private keys every time we needed them was silly and expensive. 2012-10-25 18:59:07 -07:00
JoelKatz
87df08ea0b Mark some significant optimization opportuntities. 2012-10-25 18:46:22 -07:00
Arthur Britto
249725b66b Rename NewcoinAddress to RippleAddress. 2012-10-25 18:31:20 -07:00
JoelKatz
9ee4ec0649 Some cleanups. 2012-10-17 10:23:03 -07:00
JoelKatz
b35f87564a Fix a bug triggered by a acquiring a transaction set after having bowed out
of the consensus process.
2012-09-13 19:32:44 -07:00
JoelKatz
adf4ff998b Make it less likely that a node will get temporarily stuck in a stale consensus process. 2012-09-07 11:23:06 -07:00
JoelKatz
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).
2012-08-31 15:51:41 -07:00
JoelKatz
c3603c403d Code to determine how old a proposal is.
Low-level code to remove a peer from the consensus process.
2012-08-31 14:47:31 -07:00
JoelKatz
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.
2012-08-06 03:57:01 -07:00
JoelKatz
c839f93d3c 32-bit network times. Close time cleanup. 2012-07-12 01:43:56 -07:00
JoelKatz
9022a96495 Bugfix. 2012-07-11 11:39:06 -07:00
JoelKatz
3a77ef5c82 Begin implementing continuous ledger close.
Pretty much all remaining changes should be to LedgerConsensus.cpp
2012-06-29 16:34:16 -07:00
JoelKatz
c1003de4e8 Use new hash prefixes. 2012-06-25 09:11:30 -07:00
JoelKatz
8e1c49f0d7 Bugfixes. 2012-06-23 22:28:49 -07:00
JoelKatz
9db52a232a Split get signing hash operation and signature verify operation. 2012-06-23 21:53:54 -07:00
JoelKatz
75f85ae519 Begin the code to allow a node to enter the consensus process even if it's not proposing and
even if it's not validating. This also fixes the bug Arthur reported.
2012-06-19 16:55:04 -07:00
Arthur Britto
ab9cc7f70c Check UNL before processing validation. 2012-06-13 16:53:09 -07:00
Arthur Britto
368e5a0acc Have consensus use the config for validation and use uint160 for peerIDs. 2012-06-13 15:51:30 -07:00
JoelKatz
e16d9e48f7 Whitespace. 2012-06-03 15:30:59 -07:00
JoelKatz
32534e8d0d More ledger consensus work. 2012-05-28 17:25:25 -07:00
JoelKatz
441a27dffd Ledger consensus work. 2012-05-22 02:35:47 -07:00
JoelKatz
a6273613a5 Fix this class. 2012-05-21 19:39:32 -07:00
JoelKatz
058d4fd480 Class to handle ledger proposals. We need this because they're
signed and so must be canonicalized.
2012-05-17 00:42:12 -07:00