Commit Graph

83 Commits

Author SHA1 Message Date
JoelKatz
f111ca306c Debug improvements. 2012-11-05 19:01:59 -08:00
JoelKatz
66f8fad377 Use peer IDs in the acquire code. Fix a bug where we issue way too many acquire queries. 2012-11-05 17:16:00 -08:00
JoelKatz
eb58c6abf1 Whitespace fix. 2012-11-04 14:39:30 -08:00
JoelKatz
6394ca2341 x = y::pointer() -> x.reset() 2012-11-02 09:00:29 -07:00
JoelKatz
7c346c8d4a Count some more class instances. 2012-11-01 08:46:04 -07:00
JoelKatz
bede5379a5 Add peers to a ledger at the right time. 2012-10-28 19:14:11 -07:00
JoelKatz
a893ee686f Cleanups. 2012-10-28 18:37:16 -07:00
JoelKatz
32799f76ca Improve logging. 2012-10-28 18:27:31 -07:00
JoelKatz
bde211663f Show peer info in debug 2012-10-26 15:37:41 -07:00
JoelKatz
98130b524d We didn't correctly store root nodes we acquired from the network. 2012-10-25 02:22:23 -07:00
JoelKatz
ef40099649 Major updates to the ledger tracking system. 2012-10-25 01:50:07 -07:00
JoelKatz
253e3f5243 Use the new, simpler traverse logic. 2012-10-24 15:46:19 -07:00
JoelKatz
806a025523 Small bugfixes. 2012-10-24 12:56:49 -07:00
JoelKatz
b44ef50039 Small bugfixes and logging improvements. 2012-10-24 12:27:45 -07:00
JoelKatz
853136b2a5 Trigger the history acquire code under the correct conditions.
Advance the "last full ledger" tracking correctly.
2012-10-24 11:17:00 -07:00
JoelKatz
0ac4185ff9 Update to support accepting ledgers acquired during the history fill. 2012-10-24 07:26:05 -07:00
JoelKatz
5684a8e233 LedgerAcquireSet code to acquire a set of ledgers to restore a chain. 2012-10-23 17:03:38 -07:00
JoelKatz
39303e3998 Some extra LedgerAcquire helper functions. 2012-10-22 14:01:17 -07:00
Arthur Britto
b2481f3c49 Rename the protocol from newcoin to ripple. 2012-10-12 15:53:59 -07:00
JoelKatz
e18f8c47f5 Use the local hashed object store to jump start fetching a ledger. 2012-10-11 07:01:40 -07:00
JoelKatz
c43934ab6f Fix lots of places I used 'empty' instead of 'clear'. This is why I like 'isEmpty'. 2012-10-11 05:06:24 -07:00
JoelKatz
12c6a37cac More log partition support. 2012-10-08 00:48:04 -07:00
JoelKatz
39cb1899d0 A few small bugfixes and some exra logging to track down a sync bug that Jed reported. 2012-10-03 22:23:32 -07:00
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