Commit Graph

24 Commits

Author SHA1 Message Date
JoelKatz
0778a3ebae Don't blow up if asked to acquire a hash that's not a ledger. 2013-01-09 03:16:59 -08:00
JoelKatz
c74a1b89e3 By careful how many GetObjectByHash requests we send. 2013-01-09 03:08:00 -08:00
JoelKatz
96eac78174 To be a recent failure, a failure must be recent. 2013-01-08 01:47:09 -08:00
JoelKatz
79c3f777aa Memory fixes. 2013-01-08 01:14:55 -08:00
JoelKatz
69f42e6f02 Fix a bug that causes excessive GetObjByHash queries. 2013-01-07 22:47:16 -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
dfbd640f6c Complete the fetch by hash logic, including tracking the hashes we want. 2013-01-04 22:14:53 -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
aee92a447c Suppress some spurious non-local fetches of data. 2013-01-04 00:01:43 -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
ea514b7cf3 Fix a bug that could stall the ledger acquire engine. 2013-01-03 21:03:51 -08:00
JoelKatz
bafa5cb667 Fix a case that could stall the acquire engine. 2012-12-30 23:39:41 -08:00
JoelKatz
be2e55d49c Fix some cases where the acquire engine can stall. 2012-12-25 21:05:12 -08:00
jed
89f02efc16 option to return date of transaction in the JSON 2012-11-23 17:58:48 -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
JoelKatz
b2ef5de5f7 Cosmetic change. 2012-11-09 14:15:48 -08:00
JoelKatz
5fbe7b2015 Oops. 2012-11-09 07:31:22 -08:00
JoelKatz
f4ea700938 Indirect ledger data fetch. 2012-11-08 16:49:31 -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