mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-19 13:27:35 +02:00
Track (and define) ::minRelayTxFee in CTxMemPool
This commit is contained in:
parent
9c9b66f771
commit
e8bcdce8a2
2 changed files with 11 additions and 3 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue