Accept old ledgers acquired over the network at a lower priority.

This commit is contained in:
JoelKatz
2013-02-10 16:40:52 -08:00
parent 1c56e3b53a
commit a26a302476
3 changed files with 19 additions and 16 deletions

View File

@@ -173,7 +173,7 @@ bool LedgerMaster::acquireMissingLedger(Ledger::ref origLedger, const uint256& l
{
cLog(lsTRACE) << "Ledger hash found in database";
mTooFast = true;
theApp->getJobQueue().addJob(jtPUBLEDGER, boost::bind(&LedgerMaster::asyncAccept, this, ledger));
theApp->getJobQueue().addJob(jtPUBOLDLEDGER, boost::bind(&LedgerMaster::asyncAccept, this, ledger));
return true;
}