Revert "Disable CheckAndRemove on file dumps"

This reverts commit 3fc9ea4adf.
This commit is contained in:
Evan Duffield 2015-07-30 07:41:14 -07:00
parent 4455951bd0
commit 7a9028631a
3 changed files with 5 additions and 4 deletions

View File

@ -2232,6 +2232,7 @@ void ThreadCheckDarkSendPool()
}
mnodeman.ProcessMasternodeConnections();
masternodePayments.CleanPaymentList();
CleanTransactionLocksList();
//if we've used 90% of the Masternode list then drop all the oldest.

View File

@ -319,8 +319,8 @@ CBudgetDB::ReadResult CBudgetDB::Read(CBudgetManager& objToLoad, bool fDryRun)
LogPrintf("Loaded info from budget.dat %dms\n", GetTimeMillis() - nStart);
LogPrintf(" %s\n", objToLoad.ToString());
if(!fDryRun) {
//LogPrintf("Budget manager - cleaning....\n");
//objToLoad.CheckAndRemove();
LogPrintf("Budget manager - cleaning....\n");
objToLoad.CheckAndRemove();
LogPrintf("Budget manager - result:\n");
LogPrintf(" %s\n", objToLoad.ToString());
}

View File

@ -144,8 +144,8 @@ CMasternodePaymentDB::ReadResult CMasternodePaymentDB::Read(CMasternodePayments&
LogPrintf("Loaded info from mnpayments.dat %dms\n", GetTimeMillis() - nStart);
LogPrintf(" %s\n", objToLoad.ToString());
if(!fDryRun) {
//LogPrintf("Masternode payments manager - cleaning....\n");
//objToLoad.CleanPaymentList();
LogPrintf("Masternode payments manager - cleaning....\n");
objToLoad.CleanPaymentList();
LogPrintf("Masternode payments manager - result:\n");
LogPrintf(" %s\n", objToLoad.ToString());
}