aboutsummaryrefslogtreecommitdiff
path: root/src/txmempool.cpp
diff options
context:
space:
mode:
authorAlex Morcos <morcos@chaincode.com>2017-01-19 15:17:33 -0500
committerAlex Morcos <morcos@chaincode.com>2017-02-27 11:23:51 -0500
commitfe282acd7604b5265762b24e531bdf1ebb1f009b (patch)
tree4f10b6a0221b8b706d58458f31855673c13fb36b /src/txmempool.cpp
parent400b15147cf1c4757927935222611e8d3481e739 (diff)
downloadbitcoin-fe282acd7604b5265762b24e531bdf1ebb1f009b.tar.xz
[cleanup] Remove estimatePriority and estimateSmartPriority
Unused everywhere now except one test.
Diffstat (limited to 'src/txmempool.cpp')
-rw-r--r--src/txmempool.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/txmempool.cpp b/src/txmempool.cpp
index 942a6fcce7..ef4d4f3c62 100644
--- a/src/txmempool.cpp
+++ b/src/txmempool.cpp
@@ -875,16 +875,6 @@ CFeeRate CTxMemPool::estimateSmartFee(int nBlocks, int *answerFoundAtBlocks) con
LOCK(cs);
return minerPolicyEstimator->estimateSmartFee(nBlocks, answerFoundAtBlocks, *this);
}
-double CTxMemPool::estimatePriority(int nBlocks) const
-{
- LOCK(cs);
- return minerPolicyEstimator->estimatePriority(nBlocks);
-}
-double CTxMemPool::estimateSmartPriority(int nBlocks, int *answerFoundAtBlocks) const
-{
- LOCK(cs);
- return minerPolicyEstimator->estimateSmartPriority(nBlocks, answerFoundAtBlocks, *this);
-}
bool
CTxMemPool::WriteFeeEstimates(CAutoFile& fileout) const