Commit Graph

4015 Commits

Author SHA1 Message Date
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
JoelKatz
f493ea6478 Be more aggressive about avoiding publishing ledger holes. Make the logic simpler and more sensible. 2013-01-07 01:33:14 -08:00
Arthur Britto
22a8f576e2 UT: Fix Issue #5 test to use 75/USD not 25/USD. 2013-01-06 21:21:11 -08:00
Arthur Britto
69a0d5ac16 UT: Remove focus from latest test. 2013-01-06 18:20:58 -08:00
Arthur Britto
926bc743d2 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-01-06 17:50:50 -08:00
Arthur Britto
ec85d58bdf UT: Add UT for issue #5. 2013-01-06 17:50:39 -08:00
Arthur Britto
aad57519ae Improve pathfinding, don't explore obviously dry paths. 2013-01-06 17:50:09 -08:00
JoelKatz
63fd3818fb Rather than counting PeerSet's, count LedgerAcquire's and TransactionAcquire's. 2013-01-06 17:32:25 -08:00
JoelKatz
cf77fd88f9 Mark a FIXME. 2013-01-06 17:32:10 -08:00
Arthur Britto
781fef32e3 UT: Enable some path tests. 2013-01-06 15:57:06 -08:00
Arthur Britto
642b782900 Fix comment. 2013-01-06 11:35:45 -08:00
Arthur Britto
4961fde6d7 Mark more code as unneeded. 2013-01-06 11:32:24 -08:00
Arthur Britto
a40fbdb832 Update DEFAULT_PEER_SCAN_INTERVAL_MIN for production use. 2013-01-06 11:29:52 -08:00
Arthur Britto
5114790700 Make unneeded code a compilation option. 2013-01-06 02:15:46 -08:00
Arthur Britto
c728edb1f8 Remove MySqlDatabase. 2013-01-06 02:10:29 -08:00
Arthur Britto
85c7ac0acf Remove WinDatabase. 2013-01-06 02:09:33 -08:00
Arthur Britto
8877501e5b Remove db->escape in favor of sqlEscape. 2013-01-06 02:08:54 -08:00
Arthur Britto
04c17ac1f3 Work toward subscribe accounts by ledger index. 2013-01-05 16:51:45 -08:00
Arthur Britto
b912eeb0af Add on_send_empty() to websockettpp. 2013-01-05 15:33:31 -08:00
Arthur Britto
53f900fbe1 JS: Fix saving fee info. 2013-01-04 22:29:46 -08:00
JoelKatz
dfbd640f6c Complete the fetch by hash logic, including tracking the hashes we want. 2013-01-04 22:14:53 -08:00