Commit Graph

777 Commits

Author SHA1 Message Date
JoelKatz
d2d84d2af7 More conservative check. 2013-01-09 09:53:39 -08:00
JoelKatz
1acdad8601 Make it compile. 2013-01-09 09:38:41 -08:00
JoelKatz
fcabad79ae Fix the breakage. 2013-01-09 09:29:15 -08:00
JoelKatz
eadaaaa0fd Clean up debug. 2013-01-09 09:22:25 -08:00
JoelKatz
4f1619eb5e Extra debug. 2013-01-09 09:21:58 -08:00
JoelKatz
9a2e2d78c6 Extra debug 2013-01-09 09:21:48 -08:00
JoelKatz
e714a16b95 Optimizations. 2013-01-09 07:14:07 -08:00
JoelKatz
b5e78bda34 Fix GetObjByHash replies. 2013-01-09 03:28:20 -08:00
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
Arthur Britto
e0a49f875a Fix more RPC error reporting. 2013-01-08 18:59:59 -08:00
Arthur Britto
8e801158b3 Improve error reporting for account not found. 2013-01-08 18:04:00 -08:00
JoelKatz
ef775727d4 Reduce some loging. 2013-01-08 17:21:31 -08:00
JoelKatz
4a4046f4b6 Some temporary logging to help find/fix a bug. 2013-01-08 17:05:10 -08:00
JoelKatz
26c976f4ac Fix a race condition. 2013-01-08 16:57:18 -08:00
JoelKatz
ee5950b192 Better debug of missing hash issue. 2013-01-08 16:28:56 -08:00
JoelKatz
2de1b9eef8 Don't issue bogus 'missing skiplist' messages. 2013-01-08 16:23:58 -08:00
JoelKatz
c43f6a54dc Optimize uint's operator== and operator!= to not do byte-by-byte compares. 2013-01-08 16:16:35 -08:00
JoelKatz
aeb7a2af5d Optimize for the more common case. 2013-01-08 16:16:20 -08:00
JoelKatz
3712f0f2cb Remove a lot of unneeded hashing. 2013-01-08 15:33:13 -08:00
JoelKatz
9c9530b50f Add some comments. 2013-01-08 14:58:23 -08:00
JoelKatz
bbd32faf05 Demote some older logs. 2013-01-08 14:50:45 -08:00
JoelKatz
607e2039e2 Add negative caching for HashedObject class. This massively reduces
contention for the database lock under high network ledger fetch load.
2013-01-08 14:50:03 -08:00
JoelKatz
fbac342e2e One more. 2013-01-08 14:12:45 -08:00
JoelKatz
8e5ce2dd4c More debug. 2013-01-08 14:10:49 -08:00
JoelKatz
120e758f01 More reasonable. 2013-01-08 02:03:29 -08:00
JoelKatz
df1f3a66d5 Log message less imortant. 2013-01-08 02:02:51 -08:00
JoelKatz
c0a64f672c Demote a non-serious log that sounds like an error. 2013-01-08 02:00:54 -08:00
JoelKatz
59c91d0413 Typo. 2013-01-08 01:54:29 -08:00
JoelKatz
0229a89445 Get the logic right. 2013-01-08 01:53:47 -08:00
JoelKatz
96eac78174 To be a recent failure, a failure must be recent. 2013-01-08 01:47:09 -08:00
JoelKatz
5eeef9d3fd Accelerated aging for special occasions. 2013-01-08 01:33:40 -08:00
JoelKatz
79c3f777aa Memory fixes. 2013-01-08 01:14:55 -08:00
JoelKatz
2626368b26 Remove chatty log. 2013-01-08 01:00:48 -08:00
JoelKatz
2a657a33c9 Make sure we leave need network ledger mode. 2013-01-08 00:41:07 -08:00
JoelKatz
69ac139485 Reduce log spew. 2013-01-08 00:36:13 -08:00
JoelKatz
e34dafa839 Log some additional info. 2013-01-08 00:32:54 -08:00
JoelKatz
fc1dc50afc Ledger load fixes.
Quick and dirty check for filesystme space.
2013-01-07 23:57:06 -08:00
JoelKatz
cc2588aba2 Make it possible to start from a specific chosen ledger. 2013-01-07 23:47:39 -08:00
JoelKatz
7a2f098ac4 Reduce some chatty logging. 2013-01-07 23:47:21 -08:00
JoelKatz
69f42e6f02 Fix a bug that causes excessive GetObjByHash queries. 2013-01-07 22:47:16 -08:00
JoelKatz
c2a4cc8321 Get rid of transaction acquire entries ASAP. 2013-01-07 14:44:18 -08:00
JoelKatz
ecc04b21f3 Be smarter about when we clean up ledger acquires. 2013-01-07 14:42:46 -08:00
JoelKatz
ba79026185 Handle pongs. Ready timer for ping timing. 2013-01-07 14:34:11 -08:00
JoelKatz
c4a3f57d9c Respond to server pings with pongs. (Pings are currently not sent.) 2013-01-07 10:22:26 -08:00
JoelKatz
ef2f653473 Set the accept flag for acquires triggered by the publish logic. 2013-01-07 09:01:31 -08:00
JoelKatz
2b479a66c1 Don't immediately retry a failed acquire. 2013-01-07 08:57:41 -08:00
JoelKatz
6624e31d5a Clean up old acquires. 2013-01-07 08:57:20 -08:00
JoelKatz
e9fad1a431 Make the target size more useful. Add visitor functions. 2013-01-07 08:47:53 -08:00
JoelKatz
265218a936 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-01-07 01:33:47 -08:00