Tuning and cleanups for ledger fetching

* Track stats for ledger fetch and output
* Reduce entries queried on timeout
* Allow duplicate node requests on timeout
* Don't query deep on timeout
* Adjust latency tuning
* Change high latency cutoff
* Set absolute limit on reply entries
* Small optimizations
This commit is contained in:
David Schwartz
2015-10-07 13:06:59 -07:00
committed by Nik Bougalis
parent 61e5359231
commit fe89c74e3b
12 changed files with 104 additions and 60 deletions

View File

@@ -45,7 +45,6 @@ PeerSet::PeerSet (Application& app, uint256 const& hash, int interval, bool txnD
, mTimeouts (0)
, mComplete (false)
, mFailed (false)
, mAggressive (false)
, mTxnData (txnData)
, mProgress (false)
, mTimer (app_.getIOService ())