Commit Graph

45 Commits

Author SHA1 Message Date
JoelKatz
3ae8ec6168 Remove some old debug. 2012-08-06 03:05:17 -07:00
JoelKatz
6815c7ef98 Cleanups. 2012-08-03 04:06:53 -07:00
JoelKatz
e373a58f5c Avoid duplicate completion of acquired ledgers. 2012-08-02 11:50:59 -07:00
JoelKatz
67ee822948 Fix the other half of the acquire timeout bug. 2012-08-02 11:36:48 -07:00
JoelKatz
befd7aa108 Fix an infinite timeout scenario with ledger acquisition. 2012-08-02 11:34:11 -07:00
JoelKatz
c9f4d5d900 If we complete a ledger from cache, the completion code didn't run. 2012-07-16 00:46:11 -07:00
JoelKatz
5bf33c4604 Store the acquired ledger. 2012-07-16 00:31:30 -07:00
JoelKatz
4336e877c8 Some extra asserts to help catch bugs sooner. 2012-07-15 23:30:04 -07:00
JoelKatz
67743ad628 Extra debug test. 2012-07-14 01:57:28 -07:00
JoelKatz
338fa90387 Correctly sequence to acquiring a new LCL if it changes. Don't keep acquiring the old one. 2012-07-12 23:07:55 -07:00
JoelKatz
c7eb0269c2 For now, detect clocks out of sync and disallow connection.
Improve speed of ledger synchronization by compressing all three base queries into one.
2012-06-30 22:17:53 -07:00
JoelKatz
0627ae22da A better fix. Take the format as a parameter in addRootNode. 2012-06-29 23:32:26 -07:00
JoelKatz
b95dc249c0 Fix two bugs that could have been what Jed reported. 2012-06-29 22:41:14 -07:00
JoelKatz
340f17e471 Use the new filters. 2012-06-24 05:48:09 -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
e7aef33344 Clean up timeout tracking and log acquire timeouts. 2012-06-23 16:55:26 -07:00
JoelKatz
31ad073f8a Track timeouts in ledgers and transaction sets we're acquiring. 2012-06-22 17:57:02 -07:00
jed
c62cbeadf0 partial fix for joining the network 2012-06-21 10:20:11 -07:00
JoelKatz
7467407dfe Cleanups. 2012-06-19 05:30:07 -07:00
JoelKatz
12dffac101 Fix some broken traverses. 2012-06-19 04:52:38 -07:00
JoelKatz
098bbcfe7f Remove chatty debug 2012-06-18 11:21:38 -07:00
JoelKatz
7d153490ab Bugfixes. 2012-06-05 15:54:52 -07:00
JoelKatz
0e7307200e First set of efficiency improvements. 2012-06-04 07:18:57 -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
b7d836a5da Revert "More LedgerAcquire work. Broadcast IHAVEs for tx sets."
This reverts commit 240386931c.

Erroneous commit.
2012-05-28 13:03:21 -07:00
JoelKatz
240386931c More LedgerAcquire work. Broadcast IHAVEs for tx sets. 2012-05-28 13:02:43 -07:00
JoelKatz
56a780e5c3 Cleanups. 2012-05-22 07:56:38 -07:00
JoelKatz
fbce5dafc5 Move some PeerSet structures. 2012-05-22 02:34:20 -07:00
JoelKatz
7c12a5cd92 Whitespace fixes. 2012-05-19 05:10:21 -07:00
JoelKatz
667b7bb3fb Cosmetic changes. 2012-05-14 16:08:48 -07:00
Arthur Britto
ee017fbf9d Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-05-13 11:59:24 -07:00
Arthur Britto
66a77d2937 Rename trans engine never prefix to ten. 2012-05-13 11:59:02 -07:00
JoelKatz
87b998c9ee Use polymorphic downcast. 2012-05-12 22:40:34 -07:00
JoelKatz
bc8eff1bf5 Remove dead code. 2012-05-12 22:19:58 -07:00
JoelKatz
b74e64bd76 Abstract out the peer set and timing code fromt he ledger acquire logic.
There's probably a better way to handle the timer lambda, but this works.
2012-05-12 22:14:16 -07:00
JoelKatz
02ce4acb11 Fix ledger acquire timing. 2012-05-10 17:44:06 -07:00
JoelKatz
6dc8d762e8 Typo. 2012-05-10 17:18:20 -07:00
JoelKatz
d6529b6927 Fix some cases where we acquire the ledger but don't realize it. 2012-05-10 17:17:45 -07:00
JoelKatz
07827d4765 Fix ledger acquire timer logic. 2012-05-10 17:11:41 -07:00
JoelKatz
5f21490861 Fix ledger acquire node handling bug. 2012-05-10 16:15:57 -07:00
JoelKatz
a958c40e98 Bugfix. New LedgerAcquire not added to hash. 2012-05-10 16:04:45 -07:00
JoelKatz
8c4d8d201f Fix bug acquiring ledger with no transactions. 2012-05-09 15:17:10 -07:00
JoelKatz
e1a4b0dc67 Cleanups. 2012-05-07 19:28:30 -07:00
JoelKatz
d29733aa11 Add ledger remove from acquire set. Cleanups. 2012-05-04 03:33:37 -07:00
Arthur Britto
c513e45754 Move sources to src and build objs in obj. 2012-03-06 22:43:06 -08:00