mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Ledger acquire improvements and I/O reductions.
This commit is contained in:
@@ -283,7 +283,7 @@ bool LedgerMaster::acquireMissingLedger(Ledger::ref origLedger, const uint256& l
|
||||
}
|
||||
}
|
||||
|
||||
if (theApp->getOPs().shouldFetchPack())
|
||||
if (theApp->getOPs().shouldFetchPack() && (ledgerSeq > 40000))
|
||||
{ // refill our fetch pack
|
||||
Ledger::pointer nextLedger = mLedgerHistory.getLedgerBySeq(ledgerSeq + 1);
|
||||
if (nextLedger)
|
||||
|
||||
Reference in New Issue
Block a user