Commit Graph

29 Commits

Author SHA1 Message Date
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
Arthur Britto
eab7a2d93a Merge branch 'pay'
Conflicts:
	src/NetworkOPs.cpp
2012-05-27 17:56:45 -07:00
Arthur Britto
af5c25a24d Cosmetic changes. 2012-05-27 17:43:46 -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
5c4d3743a4 Differentiate the two beginConsensus cases. (Ledger close or network
showing consensus traffic.)
2012-05-26 14:20:46 -07:00
JoelKatz
9b9177f15e Ledger consensus stuff. 2012-05-23 15:18:34 -07:00
JoelKatz
14d9efd1bb Implement two pass through functions to LedgerConsensus. 2012-05-22 22:07:04 -07:00
JoelKatz
00077bff16 Missing stubs. 2012-05-22 07:56:53 -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
7cfe501559 Bugfix. 2012-05-15 20:29:54 -07:00
Arthur Britto
66a77d2937 Rename trans engine never prefix to ten. 2012-05-13 11:59:02 -07:00
JoelKatz
eb5cc1617e Fix a spinout where we set the timer for shorter and shorter times. 2012-05-10 16:08:09 -07:00
JoelKatz
6f3edf951d Use shared pointers when building protocol messages to fix leaks. 2012-05-09 17:49:36 -07:00
JoelKatz
0139304b98 Don't run the timer routine of the timer was cancelled/aborted. 2012-05-09 17:27:34 -07:00
Arthur Britto
2da5c4cc31 Remove dead code TimingService. 2012-05-09 17:05:28 -07:00
JoelKatz
facc2fb7df Prevent the timer from firing slightly early. 2012-05-08 16:03:58 -07:00
JoelKatz
ccc07e1765 bugfixes. 2012-05-08 14:23:51 -07:00
JoelKatz
9d1cc2b5e5 Report/track peer ledger changes. 2012-05-08 04:14:51 -07:00
JoelKatz
f0480cb774 Ledger sequencing logic. 2012-05-08 03:45:34 -07:00
JoelKatz
a626706638 Rework time logic. All network protocols now use our native time, 64-bit
seconds since 1/1/2000. Some places internally use only 32-bits. We'll have
to fix that by 2130 or so.
2012-05-07 15:31:48 -07:00
JoelKatz
5ada49d206 Ledger switch logic. 2012-05-05 13:51:08 -07:00
JoelKatz
64f5e3aea6 Cleanup. 2012-05-04 03:35:25 -07:00
JoelKatz
7f38b019e8 Network connection state machine. (Partial) 2012-05-04 03:34:38 -07:00
JoelKatz
39fbc0fb62 Tie to new code. 2012-04-23 16:01:23 -07:00
JoelKatz
8ef67e3c3a New-style transaction cut over. 2012-03-28 15:09:29 -07:00
Arthur Britto
73ff9b95ad Rework addresses. 2012-03-17 20:19:09 -07:00
Arthur Britto
c513e45754 Move sources to src and build objs in obj. 2012-03-06 22:43:06 -08:00