Commit Graph

16 Commits

Author SHA1 Message Date
JoelKatz
793843780c Filter out redundant node queries. 2013-01-10 16:27:22 -08:00
JoelKatz
ce3ce7820b Raise the re-acquire interval. 2013-01-10 08:46:02 -08:00
JoelKatz
7ed37066cf Add some features to the KeyCache code so we can use it for ledger acquire failure tracking too. 2013-01-09 15:55:18 -08:00
JoelKatz
c74a1b89e3 By careful how many GetObjectByHash requests we send. 2013-01-09 03:08:00 -08:00
JoelKatz
ecc04b21f3 Be smarter about when we clean up ledger acquires. 2013-01-07 14:42:46 -08:00
JoelKatz
6624e31d5a Clean up old acquires. 2013-01-07 08:57:20 -08:00
JoelKatz
63fd3818fb Rather than counting PeerSet's, count LedgerAcquire's and TransactionAcquire's. 2013-01-06 17:32:25 -08:00
JoelKatz
cb6f73cc89 Some cleanups and some additional code (currently disabled) toward acquire by pure hash. 2013-01-04 20:58:07 -08:00
JoelKatz
f666003977 TMGetObjectByHash needs to know the object type. 2013-01-04 20:42:31 -08:00
JoelKatz
ee89904a00 Cleanup trigger. 2013-01-04 20:26:26 -08:00
JoelKatz
d57b5a9797 Track failed acquires. Fix a case where an acquire both succeeds and fails. 2013-01-04 15:21:31 -08:00
JoelKatz
d4f4d9bf78 Redesign the way the acquire timer is (re)set so that we won't have bugs
where we fail to arm it.
2013-01-03 21:25:40 -08:00
JoelKatz
5009d4c3b8 Cleanups. 2012-12-30 13:19:42 -08:00
JoelKatz
fa1db60011 Correctly check for acquire doneness. 2012-12-25 21:07:53 -08:00
JoelKatz
89d54999c9 Rework the way the results of ledger and TX map acquisition is passed up and down the
call chain so that the peer logic will know how helpful peers are being, not just whether
they're sending invalid data.
2012-11-21 09:28:09 -08:00
Stefan Thomas
fa3fab5816 Moved cpp code to src/cpp and js code to src/js. 2012-11-07 12:49:50 -08:00