Commit Graph

201 Commits

Author SHA1 Message Date
JoelKatz
c5acd0f630 Cleanups. 2012-08-13 03:10:43 -07:00
JoelKatz
d477172f65 Cleanups and whitespace fixes. 2012-08-09 19:20:53 -07:00
JoelKatz
3a4762c609 Don't try to calculate close time offsets if a ledger closed due to being idle. 2012-08-08 01:35:44 -07:00
JoelKatz
8e89335e2b Cleanups to the sha map node format code. 2012-08-07 19:52:09 -07:00
JoelKatz
b4e63c3025 Fix a few cases where we reset the acquire timer when we should not. 2012-08-07 04:11:20 -07:00
JoelKatz
86b9597ddd Reduce log chattiness.
Acquire transaction and state trees in parallel.
2012-08-07 03:32:58 -07:00
JoelKatz
03e8104f62 Small close time consensus fix. 2012-08-07 01:39:34 -07:00
JoelKatz
f80b884e81 Fix a consensus close time bug. 2012-08-07 01:30:39 -07:00
JoelKatz
5c01dc7338 We can lose time consensus. 2012-08-06 04:28:20 -07:00
JoelKatz
7186d45f45 Some extra debug to try to find the close time consensus buglet. 2012-08-06 04:22:35 -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
7a5db15041 Add more consensus information to the "server_info" RPC call. 2012-08-06 03:51:44 -07:00
JoelKatz
efa3653b80 Bugfix for moving from connected to tracking state.
Skeleting for getting Json info from consensus engine.
2012-08-06 03:40:52 -07:00
JoelKatz
85c0293673 Report peer close times. 2012-08-06 03:39:45 -07:00
JoelKatz
573ef488f2 Fix dead ledger logic.
Improve some logging.
Fix how we handle close time consensus based on whether we're validating.
2012-08-06 03:05:44 -07:00
JoelKatz
b14b2f5dab Separate close times and network times. 2012-08-06 02:12:27 -07:00
JoelKatz
127391b345 Remove assert. 2012-08-03 06:51:32 -07:00
JoelKatz
d98a931b8e Compute our clock offset. (We don't actually set it yet though.) 2012-08-03 04:40:16 -07:00
JoelKatz
0f44af556e Better reporting of ledger jumps. 2012-08-02 11:51:24 -07:00
JoelKatz
63576f0709 Fix the crash bug Jed reported. 2012-08-02 11:33:58 -07:00
JoelKatz
a902134133 Don't be blind to validations during the idle time. 2012-08-01 15:00:39 -07:00
JoelKatz
ee3562a9a9 Cleanup resynch logic. 2012-08-01 14:38:29 -07:00
JoelKatz
2230286afb Some small missing pieces for TX metadata. 2012-07-20 14:08:33 -07:00
JoelKatz
93de56ae47 Fix some issues slowing down transaction convergence.
The biggest one is that a node that closes its ledger first will announce a transaction set we
have in our open ledger but don't realize we have.
2012-07-17 21:11:54 -07:00
JoelKatz
333c9896fb Cut to millisecond timing. 2012-07-17 17:48:55 -07:00
JoelKatz
69ff2e06ea Don't try to rescue transactions that made it into the closed ledger. 2012-07-17 16:06:36 -07:00
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