aboutsummaryrefslogtreecommitdiff
path: root/src/txmempool.cpp
diff options
context:
space:
mode:
authorAlex Morcos <morcos@chaincode.com>2017-02-15 15:23:34 -0500
committerAlex Morcos <morcos@chaincode.com>2017-04-10 13:56:50 -0400
commit14e10aa842b8583f9648accd5d151dbdf342b9dc (patch)
treebd9cb352c1734d8ec7dbd87fee74b1f91e77644b /src/txmempool.cpp
parentdbb9e3699b8e835fd72a5db2c22927d828484c32 (diff)
Call estimate(Smart)Fee directly from CBlockPolicyEstimator
Diffstat (limited to 'src/txmempool.cpp')
-rw-r--r--src/txmempool.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/txmempool.cpp b/src/txmempool.cpp
index 7fac48d3c5..fa05841491 100644
--- a/src/txmempool.cpp
+++ b/src/txmempool.cpp
@@ -843,15 +843,6 @@ TxMempoolInfo CTxMemPool::info(const uint256& hash) const
return GetInfo(i);
}
-CFeeRate CTxMemPool::estimateFee(int nBlocks) const
-{
- return minerPolicyEstimator->estimateFee(nBlocks);
-}
-CFeeRate CTxMemPool::estimateSmartFee(int nBlocks, int *answerFoundAtBlocks) const
-{
- return minerPolicyEstimator->estimateSmartFee(nBlocks, answerFoundAtBlocks, *this);
-}
-
bool
CTxMemPool::WriteFeeEstimates(CAutoFile& fileout) const
{