Commit Graph

4349 Commits

Author SHA1 Message Date
JoelKatz
dfbd99940a Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-01-09 20:49:17 -08:00
JoelKatz
99a8925fe5 Merge function to add all nodes from another database. 2013-01-09 20:48:56 -08:00
Arthur Britto
90b1cc69c7 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-01-09 16:22:10 -08:00
Arthur Britto
9b6ee7fc88 JS Add support for SourceTag and Destination tag. 2013-01-09 16:21:57 -08:00
JoelKatz
cf284897bb Fix a case where we might try too quickly to re-acquire a ledger. 2013-01-09 15:55:41 -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
d9ab92e88e Cleanup. 2013-01-09 11:06:07 -08:00
JoelKatz
38af346881 Fix some calls that bypass the cache. 2013-01-09 10:49:08 -08:00
JoelKatz
d8b79aa0ee Fix bad log type. 2013-01-09 10:42:23 -08:00
JoelKatz
6cf1b3dbc1 Tiny cleanup. 2013-01-09 10:31:14 -08:00
JoelKatz
07634b5168 This is probably what was causing all the trouble. 2013-01-09 10:29:34 -08:00
JoelKatz
714b3fb0d0 Small fixes. 2013-01-09 10:14:18 -08:00
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
cb6cf0dd8b Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-01-09 09:29:31 -08:00
JoelKatz
fcabad79ae Fix the breakage. 2013-01-09 09:29:15 -08:00
Stefan Thomas
e502badd2b Add test case for #7. 2013-01-09 18:29:12 +01: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