aboutsummaryrefslogtreecommitdiff
path: root/src/txmempool.cpp
diff options
context:
space:
mode:
authorMatt Corallo <git@bluematt.me>2015-10-13 00:57:41 -0700
committerMatt Corallo <git@bluematt.me>2015-10-13 01:00:19 -0700
commite8bcdce8a245af235f8be9853c8f81c9bda56412 (patch)
tree2404fef3f821029474459fbf6e5941757581a865 /src/txmempool.cpp
parent9c9b66f771ad904cd665f7f5f68e3279ebb2fa7e (diff)
downloadbitcoin-e8bcdce8a245af235f8be9853c8f81c9bda56412.tar.xz
Track (and define) ::minRelayTxFee in CTxMemPool
Diffstat (limited to 'src/txmempool.cpp')
-rw-r--r--src/txmempool.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/txmempool.cpp b/src/txmempool.cpp
index aa5aec0556..e8d76dd2f1 100644
--- a/src/txmempool.cpp
+++ b/src/txmempool.cpp
@@ -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()