|
|
@ -574,7 +574,7 @@ CTxMemPool::WriteFeeEstimates(CAutoFile& fileout) const
|
|
|
|
fileout << CLIENT_VERSION; // version that wrote the file
|
|
|
|
fileout << CLIENT_VERSION; // version that wrote the file
|
|
|
|
minerPolicyEstimator->Write(fileout);
|
|
|
|
minerPolicyEstimator->Write(fileout);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
catch (std::exception &e) {
|
|
|
|
catch (const std::exception &) {
|
|
|
|
LogPrintf("CTxMemPool::WriteFeeEstimates() : unable to write policy estimator data (non-fatal)");
|
|
|
|
LogPrintf("CTxMemPool::WriteFeeEstimates() : unable to write policy estimator data (non-fatal)");
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -593,7 +593,7 @@ CTxMemPool::ReadFeeEstimates(CAutoFile& filein)
|
|
|
|
LOCK(cs);
|
|
|
|
LOCK(cs);
|
|
|
|
minerPolicyEstimator->Read(filein, minRelayFee);
|
|
|
|
minerPolicyEstimator->Read(filein, minRelayFee);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
catch (std::exception &e) {
|
|
|
|
catch (const std::exception &) {
|
|
|
|
LogPrintf("CTxMemPool::ReadFeeEstimates() : unable to read policy estimator data (non-fatal)");
|
|
|
|
LogPrintf("CTxMemPool::ReadFeeEstimates() : unable to read policy estimator data (non-fatal)");
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|