JoelKatz
406ab0e63d
Check if the closed ledger already has a transaction before applying it.
2012-07-17 16:02:13 -07:00
JoelKatz
e89af2f784
Merge branch 'continuousClose'
...
Conflicts:
src/LedgerAcquire.cpp
src/NetworkOPs.h
Merge continuous ledger close into main branch. YAY!
2012-07-16 14:48:21 -07:00
JoelKatz
40e0dba6b6
Simplify timing.
2012-07-16 13:25:38 -07:00
JoelKatz
19b4ea8160
Beging removing the "wobble" logic, as CLC doesn't use it.
2012-07-16 12:02:09 -07:00
JoelKatz
f9e0a6ae72
Don't treat idle time as wobble time.
2012-07-16 11:34:38 -07:00
JoelKatz
7e7356c155
Cleanups and bugfixes.
2012-07-16 00:47:46 -07:00
JoelKatz
d9d1d72556
Bugfix. Don't use rounded ledger timing to decide when to close an idle ledger.
2012-07-16 00:06:00 -07:00
JoelKatz
fd6bed1f4c
Typo.
2012-07-15 23:47:31 -07:00
JoelKatz
2e2547ad0a
Close time fixes.
2012-07-15 23:46:38 -07:00
JoelKatz
4d9500a076
Bugfix.
2012-07-15 23:41:52 -07:00
JoelKatz
d1adcb03c6
Remove debug.
2012-07-15 23:30:29 -07:00
JoelKatz
19002c5b55
Fix bug in previous commit.
2012-07-14 02:24:59 -07:00
JoelKatz
b516cdcf04
Bugfixes to code to get into sync during consensus phase.
2012-07-14 02:24:00 -07:00
JoelKatz
4ba8545762
Buglet.
2012-07-14 01:53:20 -07:00
JoelKatz
90935666bd
Bugfix.
2012-07-14 00:27:26 -07:00
JoelKatz
adcec3cabb
Bugfix.
2012-07-13 12:40:46 -07:00
JoelKatz
2463d25682
Must update positions even if not proposing. Otherwise, we never realize there's a consensus on close times.
2012-07-13 10:35:08 -07:00
JoelKatz
02decebe08
Rest of close time logic.
2012-07-12 21:46:13 -07:00
JoelKatz
16f9d7d74e
32-bit times. Track proposed ledger close times.
2012-07-12 01:42:44 -07:00
JoelKatz
f71469f55c
Mark a FIXME needed for new timing to work right.
2012-07-11 18:18:48 -07:00
JoelKatz
bde6db0cac
Don't change our position too soon, before others have a chance to weigh in.
2012-07-11 11:39:23 -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
09a7eb094b
CC work.
2012-07-06 01:17:55 -07:00
JoelKatz
182228b6f9
Infrastructure for continuous ledger close.
2012-06-30 16:58:05 -07:00
JoelKatz
01cdd91b8c
Merge branch 'master' into continuousClose
2012-06-30 16:32:38 -07:00
JoelKatz
c1d01348f8
Add root node in wire format.
2012-06-29 23:33:12 -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
Arthur Britto
029bcfa6d9
Cosmetic, rename a few protobuf fields.
2012-06-28 01:01:44 -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
8e1c49f0d7
Bugfixes.
2012-06-23 22:28:49 -07:00
JoelKatz
08c71cbaad
Remove debug.
2012-06-23 21:34:49 -07:00
JoelKatz
ae127674ec
Remove extraneous log.
2012-06-23 20:43:39 -07:00
JoelKatz
14795c55f4
Remove a FIXME or two.
2012-06-23 19:34:25 -07:00
JoelKatz
31ad073f8a
Track timeouts in ledgers and transaction sets we're acquiring.
2012-06-22 17:57:02 -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
64a1d14fdc
Mark an urgent FIXME.#
...
TODO
2012-06-22 01:57:54 -07:00
JoelKatz
6182c4bb51
Make the dirty node save logic work during consensus ledger close.
2012-06-22 00:42:03 -07:00
JoelKatz
3162c022eb
Spelling error.
2012-06-21 20:47:26 -07:00
JoelKatz
dda06d989d
Begin fixing consensus without having the full consensus LCL.
2012-06-21 17:37:27 -07:00
JoelKatz
9cb6130f7f
If we've lost synch, still report the ledger we're running on.
2012-06-21 12:07:44 -07:00
JoelKatz
43425f39eb
Bugfixes.
2012-06-20 18:38:28 -07:00
JoelKatz
94bc059f87
Fix some mishandling of genesis block close timing.
2012-06-20 13:40:10 -07:00
JoelKatz
58dcc8b9c1
Don't use stale validiations.
2012-06-20 13:26:32 -07:00
JoelKatz
7e35a793aa
Fix.
2012-06-20 04:51:45 -07:00
JoelKatz
0af5d379c2
Fix set:
...
1) Create validation structure even if not proposing (but if validating)
2) Fix hashes in status change messages, do it only one way
3) Don't spin right at wobble time.
4) Report accept status change on new last-closed ledger, not new open ledger.
5) Make sure validation count is correct even if we first encounter a ledger on ourselves (not a peer)
6) At end of consensus, assume nodes cycled (until they report otherwise). By doing nothing,
we effectively assumed they didn't.
7) Miscellaneous cleanups and fixes.
2012-06-20 04:23:29 -07:00
JoelKatz
171b5420d0
Fix some bugs in previous commit.
2012-06-20 02:20:31 -07:00
JoelKatz
da3720baa9
Bugfixes.
2012-06-20 02:18:03 -07:00