From 14e10aa842b8583f9648accd5d151dbdf342b9dc Mon Sep 17 00:00:00 2001 From: Alex Morcos Date: Wed, 15 Feb 2017 15:23:34 -0500 Subject: Call estimate(Smart)Fee directly from CBlockPolicyEstimator --- src/txmempool.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/txmempool.cpp') 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 { -- cgit v1.2.3