@@ -392,7 +392,7 @@ void CTxMemPool::AddTransactionsUpdated(unsigned int n)
392392 nTransactionsUpdated += n;
393393}
394394
395- bool CTxMemPool::addUnchecked (const uint256& hash, const CTxMemPoolEntry &entry, setEntries &setAncestors, bool fCurrentEstimate )
395+ bool CTxMemPool::addUnchecked (const uint256& hash, const CTxMemPoolEntry &entry, setEntries &setAncestors, bool validFeeEstimate )
396396{
397397 // Add to memory pool without checking anything.
398398 // Used by main.cpp AcceptToMemoryPool(), which DOES do
@@ -442,7 +442,7 @@ bool CTxMemPool::addUnchecked(const uint256& hash, const CTxMemPoolEntry &entry,
442442
443443 nTransactionsUpdated++;
444444 totalTxSize += entry.GetTxSize ();
445- minerPolicyEstimator->processTransaction (entry, fCurrentEstimate );
445+ minerPolicyEstimator->processTransaction (entry, validFeeEstimate );
446446
447447 vTxHashes.emplace_back (tx.GetWitnessHash (), newit);
448448 newit->vTxHashesIdx = vTxHashes.size () - 1 ;
@@ -1015,14 +1015,14 @@ int CTxMemPool::Expire(int64_t time) {
10151015 return stage.size ();
10161016}
10171017
1018- bool CTxMemPool::addUnchecked (const uint256&hash, const CTxMemPoolEntry &entry, bool fCurrentEstimate )
1018+ bool CTxMemPool::addUnchecked (const uint256&hash, const CTxMemPoolEntry &entry, bool validFeeEstimate )
10191019{
10201020 LOCK (cs);
10211021 setEntries setAncestors;
10221022 uint64_t nNoLimit = std::numeric_limits<uint64_t >::max ();
10231023 std::string dummy;
10241024 CalculateMemPoolAncestors (entry, setAncestors, nNoLimit, nNoLimit, nNoLimit, nNoLimit, dummy);
1025- return addUnchecked (hash, entry, setAncestors, fCurrentEstimate );
1025+ return addUnchecked (hash, entry, setAncestors, validFeeEstimate );
10261026}
10271027
10281028void CTxMemPool::UpdateChild (txiter entry, txiter child, bool add)
0 commit comments