Commit Graph

60 Commits

Author SHA1 Message Date
JoelKatz
a4f41edf7a Cleanup shared polymorphic downcast. 2012-09-14 07:08:01 -07:00
JoelKatz
0efe8b4892 Cleanups. 2012-09-13 20:41:25 -07:00
JoelKatz
3ab5b24226 Trivial change. 2012-09-08 04:14:26 -07:00
JoelKatz
63921c9757 Cleanups and fixes. 2012-09-07 22:21:07 -07:00
JoelKatz
7d6259d8b3 Whitespace fix. 2012-09-03 06:02:42 -07:00
JoelKatz
d5fe3261ab Cleanups and simplfications. 2012-09-03 01:47:03 -07:00
JoelKatz
02bd898e51 Some const-correctness.
const SLE::pointer & -> SLE::ref
2012-08-31 18:26:45 -07:00
JoelKatz
420ee91877 Remove more wasteful allocate/increment/decrement/free cycles. 2012-08-19 19:23:10 -07:00
JoelKatz
abf41dd4de Fix a large number of cases where we copy construct a shared_ptr just to destroy it. 2012-08-15 04:01:22 -07:00
JoelKatz
11f7012d09 Fix a bug where tx set acquire timeouts never occured.
Run acquire timeouts in milliseconds rather than seconds.
2012-08-15 01:20:14 -07:00
JoelKatz
88e938ec50 Change TXS acquire timeout. 2012-08-13 17:10:51 -07:00
jed
7fd327ee38 compile on windows 2012-08-08 10:22:54 -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
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