Commit Graph

22 Commits

Author SHA1 Message Date
JoelKatz
81cd4cf820 Start of code to track network state, track overwhelmed nodes, and adjust
transaction fees.
2012-09-11 11:56:41 -07:00
JoelKatz
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.
2012-09-03 05:16:32 -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
f63d9df60b Ledger idle timing fixes. 2012-08-29 23:38:35 -07:00
JoelKatz
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.
2012-08-13 17:55:55 -07:00
JoelKatz
524e89f4e1 Timing cleanups. 2012-08-13 17:35:20 -07:00
JoelKatz
b14b2f5dab Separate close times and network times. 2012-08-06 02:12:27 -07:00
JoelKatz
333c9896fb Cut to millisecond timing. 2012-07-17 17:48:55 -07:00
JoelKatz
34935be1f4 More of the close time resolution code. 2012-07-11 18:25:47 -07:00
JoelKatz
cdb716e938 Some small tweaks and some better comments. 2012-07-01 01:26:04 -07:00
JoelKatz
182228b6f9 Infrastructure for continuous ledger close. 2012-06-30 16:58:05 -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
4a2871ff52 Timing routines for continuous ledger close. 2012-06-29 03:50:37 -07:00
JoelKatz
09120c414b Adjust timing slightly. 2012-06-23 20:41:51 -07:00
JoelKatz
0e47edbdfe Fix some consensus bugs. 2012-06-18 11:43:34 -07:00
JoelKatz
6c49630bf6 Tighten timing. 2012-06-07 12:25:55 -07:00
JoelKatz
49a239b67c Speed up ledger timing. 2012-06-03 19:43:35 -07:00
JoelKatz
0c4c27880d Adjust timings for wobble interval. 2012-05-29 18:01:43 -07:00
JoelKatz
e84c3ba714 Add some additional timing parameters. 2012-05-29 12:35:10 -07:00
JoelKatz
7e8ebcc3d9 Consensus timing and avalanche.
Transaction position change.
Track transaction data for all disputed transactions.
Update our set as our 'vote' changes.
2012-05-28 01:31:35 -07:00
JoelKatz
96bdc953bf Cleanup. 2012-05-15 04:12:32 -07:00
JoelKatz
1eb5ab4ad0 Constants for ledger timing. 2012-05-14 14:06:15 -07:00