diff options
| author | Alex Morcos <[email protected]> | 2017-02-15 15:23:34 -0500 |
|---|---|---|
| committer | Alex Morcos <[email protected]> | 2017-04-10 13:56:50 -0400 |
| commit | 14e10aa842b8583f9648accd5d151dbdf342b9dc (patch) | |
| tree | bd9cb352c1734d8ec7dbd87fee74b1f91e77644b /src/txmempool.cpp | |
| parent | Give CBlockPolicyEstimator it's own lock (diff) | |
| download | discoin-14e10aa842b8583f9648accd5d151dbdf342b9dc.tar.xz discoin-14e10aa842b8583f9648accd5d151dbdf342b9dc.zip | |
Call estimate(Smart)Fee directly from CBlockPolicyEstimator
Diffstat (limited to 'src/txmempool.cpp')
| -rw-r--r-- | src/txmempool.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/txmempool.cpp b/src/txmempool.cpp index 7fac48d3c..fa0584149 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 { |