Commit Graph

584 Commits

Author SHA1 Message Date
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
926bc743d2 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-01-06 17:50:50 -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
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
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
58587d9406 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-01-04 20:26:47 -08:00
JoelKatz
ee89904a00 Cleanup trigger. 2013-01-04 20:26:26 -08:00
Arthur Britto
7b28fcee7c Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-01-04 16:02:08 -08:00
Arthur Britto
dfd3994921 Add config option [database_path]. 2013-01-04 16:01:55 -08:00
JoelKatz
217573599d Be more aggressive in finding ledgers that other nodes want. 2013-01-04 15:50:16 -08:00
JoelKatz
d998feb13c Don't start a publish thread if there's nothing to publish. 2013-01-04 15:23:03 -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
bb6b72fea4 Make a "getNeededHashes" function to get the hashes we need to fill in a ledger hole. 2013-01-04 15:21:02 -08:00
JoelKatz
8062c8c959 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-01-04 12:34:02 -08:00
JoelKatz
e683f92844 Fix one case where we stop acquiring historical ledgers after a failure. 2013-01-04 12:13:58 -08:00
Arthur Britto
2746806cd3 Enable DestinationTag features. 2013-01-04 11:57:05 -08:00
Arthur Britto
3dfb1ca1eb Note problems with account_tx. 2013-01-04 11:56:45 -08:00
JoelKatz
8ace87066a Fix a huge delay with --net 2013-01-04 01:10:13 -08:00
JoelKatz
f0c73a76ce Fix some local acquire logic 2013-01-04 00:40:03 -08:00
JoelKatz
03ecbd1ea8 Create a few extra threads. 2013-01-04 00:22:20 -08:00
JoelKatz
06c54c425c Fix not leaving the "need network ledger" state correctly. 2013-01-04 00:08:27 -08:00
JoelKatz
aee92a447c Suppress some spurious non-local fetches of data. 2013-01-04 00:01:43 -08:00
JoelKatz
3708271ae5 Rest of fix. 2013-01-03 23:37:38 -08:00
JoelKatz
3eafdbc38b Emergency fix. 2013-01-03 23:28:03 -08:00
JoelKatz
11cb109c16 Another safety. 2013-01-03 23:23:10 -08:00
JoelKatz
6849c579eb Extra safety. 2013-01-03 23:12:48 -08:00
JoelKatz
7859dceb32 Small cleanup. 2013-01-03 23:09:17 -08:00
JoelKatz
903a04e9bd Raise the pending save count sooner. 2013-01-03 23:07:56 -08:00
JoelKatz
0d8ed85bd4 Update. 2013-01-03 22:44:56 -08:00
JoelKatz
e78b5d11b6 Bugfix. 2013-01-03 22:33:55 -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