Track (and define) ::minRelayTxFee in CTxMemPool

This commit is contained in:
Matt Corallo
2015-10-13 00:57:41 -07:00
parent 9c9b66f771
commit e8bcdce8a2
2 changed files with 11 additions and 3 deletions

View File

@@ -305,7 +305,7 @@ void CTxMemPoolEntry::UpdateState(int64_t modifySize, CAmount modifyFee, int64_t
}
}
CTxMemPool::CTxMemPool(const CFeeRate& _minRelayFee) :
CTxMemPool::CTxMemPool(const CFeeRate& _minReasonableRelayFee) :
nTransactionsUpdated(0)
{
// Sanity checks off by default for performance, because otherwise
@@ -313,7 +313,8 @@ CTxMemPool::CTxMemPool(const CFeeRate& _minRelayFee) :
// of transactions in the pool
fSanityCheck = false;
minerPolicyEstimator = new CBlockPolicyEstimator(_minRelayFee);
minerPolicyEstimator = new CBlockPolicyEstimator(_minReasonableRelayFee);
minReasonableRelayFee = _minReasonableRelayFee;
}
CTxMemPool::~CTxMemPool()