Commit Graph

47 Commits

Author SHA1 Message Date
JoelKatz
8701337af7 Work on the wobble logic. 2012-06-02 16:19:37 -07:00
JoelKatz
c32e18d2ff use add, not getTransaction 2012-06-01 15:41:13 -07:00
JoelKatz
a6e738ccfd Add detailed comments to explain a missing bit of code. 2012-06-01 13:55:45 -07:00
JoelKatz
4d2e5acf47 For now, ratchet up network states quickly 2012-06-01 13:54:16 -07:00
JoelKatz
ba6a14b97e Udpates. 2012-06-01 13:51:14 -07:00
Arthur Britto
545ede1823 Merge branch 'pay'
Conflicts:
	src/NetworkOPs.cpp
	src/SHAMap.cpp
2012-06-01 01:23:19 -07:00
JoelKatz
2ec46c0dbf Bugfixes. 2012-05-31 20:55:30 -07:00
JoelKatz
7ce4e28dac Track network state changes. 2012-05-31 20:34:40 -07:00
Arthur Britto
a0009f7c6f Rework Ledger index calculation. 2012-05-31 20:26:14 -07:00
JoelKatz
f1db232f1f Misleading log message. 2012-05-31 18:29:18 -07:00
JoelKatz
f8219061b6 Use simple logging system to timestamp/filter log messages. 2012-05-31 17:00:15 -07:00
JoelKatz
d52b87fc58 Debug and bugfixes. 2012-05-31 01:12:51 -07:00
Arthur Britto
0faa7ea071 Lots of debugging. 2012-05-30 13:35:58 -07:00
Arthur Britto
a283d9df30 Merge branch 'pay'
Conflicts:
	src/NetworkOPs.cpp
2012-05-30 00:51:48 -07:00
Arthur Britto
68c8434a2b Rework RPCServer to go through NetworkOPs. 2012-05-30 00:41:10 -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
06535a1a43 Updates. 2012-05-28 17:25:51 -07:00
JoelKatz
ae9db460ab A bit of a painful PackedMessage change, but this simplifies a lot of code.
It's worth it to take the pain now.
2012-05-28 13:07:19 -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
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