JoelKatz
b516cdcf04
Bugfixes to code to get into sync during consensus phase.
2012-07-14 02:24:00 -07:00
JoelKatz
02decebe08
Rest of close time logic.
2012-07-12 21:46:13 -07:00
JoelKatz
fc48efea59
Track proposed ledger close times.
2012-07-12 01:43:02 -07:00
JoelKatz
187130fe31
Properly sequence from one converge window to the next.
2012-07-10 19:24:52 -07:00
JoelKatz
74cd8a65b8
More continuous ledger close work:
...
CLC code now compiles and links.
Remove dead code.
Decide when to come out of idle.
Decide when we have a convergence.
Give all state handlers access to timing information.
2012-07-10 10:25:54 -07:00
JoelKatz
632bf2e586
Updates to CLC.
2012-07-09 15:56:36 -07:00
JoelKatz
b417faa927
CLC work.
2012-07-09 10:43:11 -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
c13c561295
Use the new accelerators to speed up ledger and transaction set synchronization
2012-06-24 05:33:53 -07:00
JoelKatz
4568302182
Fix a bug where a non-validating node couldn't recognize consensus if there
...
was only one vaalidating node.
2012-06-22 03:01:13 -07:00
JoelKatz
dda06d989d
Begin fixing consensus without having the full consensus LCL.
2012-06-21 17:37:27 -07:00
JoelKatz
da3720baa9
Bugfixes.
2012-06-20 02:18:03 -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
JoelKatz
ea837ff819
Clean up some logging that was confusing.
2012-06-18 21:12:35 -07:00
JoelKatz
74ea434435
Bugfixes to consensus:
...
1) Don't apply to new open ledger in final mode.
2) Re-apply any NO transactions to the new open ledger.
2012-06-18 12:57:43 -07:00
JoelKatz
a0970e705f
Consensus bugfixing.
2012-06-18 12:24:15 -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
4b79e7dca8
New canonical transaction order code. Tested and working.
...
CanonicalTXSet acts much like a map, but sorts the transactions in a simple
order that makes them take fewer passed.
2012-06-08 05:09:23 -07:00
JoelKatz
bda64fac2a
Tx set exchange improvements.
2012-06-07 12:25:44 -07:00
JoelKatz
b4e238a2e4
With luck, a fix for the crash.
2012-06-05 15:41:44 -07:00
JoelKatz
0e7307200e
First set of efficiency improvements.
2012-06-04 07:18:57 -07:00
JoelKatz
2206ff3be6
Get rid of hash_SMN and instead extend boost::hash.
...
This makes the TaggedCache code cleaner.
2012-06-04 06:01:11 -07:00
JoelKatz
75ad545916
Finish the wobble rework.
2012-06-03 15:30:39 -07:00
JoelKatz
d35bb54c06
Structures to correctly handle both pre and post close wobble.
2012-06-03 12:24:10 -07:00
JoelKatz
a2be7ab180
Complete ledger consensus logic. Now to test it.
2012-05-30 22:15:20 -07:00
JoelKatz
70767a3b1a
Dispatch on consensus.
2012-05-30 17:08:50 -07:00
JoelKatz
6123e3886a
Refactor LedgerConsensus code. Add new LC work.
...
Properly sequence LC states
Properly handle wobble time.
Complete LC sequence correctly and exit it.
2012-05-29 18:02:17 -07:00
JoelKatz
c74dad5478
Updates.
2012-05-29 12:35:23 -07:00
JoelKatz
32534e8d0d
More ledger consensus work.
2012-05-28 17:25:25 -07:00
JoelKatz
b144fa48b5
More ledger consensus work. IHAVE broadcast logic.
2012-05-28 13:06:45 -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
d9e5b7e109
Handle a few odd cases, including the case where a peer proposes a ledger
...
that is internally inconsistent.
2012-05-26 20:04:40 -07:00
JoelKatz
9fb8674710
More ledger consensus work. Update votes correctly when we finish
...
synching a transaction set.
2012-05-26 12:11:45 -07:00
JoelKatz
07e353d8a2
More ledger consensus work.
2012-05-23 17:26:45 -07:00
JoelKatz
9b9177f15e
Ledger consensus stuff.
2012-05-23 15:18:34 -07:00
JoelKatz
33e9fbda04
Missing pieces.
2012-05-23 02:16:53 -07:00
JoelKatz
56a780e5c3
Cleanups.
2012-05-22 07:56:38 -07:00
JoelKatz
441a27dffd
Ledger consensus work.
2012-05-22 02:35:47 -07:00
JoelKatz
9a4862a5d9
Commit some ledger close/consensus work.
2012-05-21 06:05:32 -07:00
JoelKatz
e47fb22087
Minimize differences between my working code and the main repo to avoid conficts:
...
Consensus startup.
Logic to create consensus structure, change state transitions.
Fix bugs in switchLastClosedLedger
Protocol changes.
2012-05-19 05:43:41 -07:00
JoelKatz
e5a4a8ba20
High-level functions.
2012-05-15 04:12:18 -07:00
JoelKatz
80ed62481d
Structures for ledger closing logic.
2012-05-14 13:35:36 -07:00