aboutsummaryrefslogtreecommitdiff
path: root/src/txmempool.cpp
diff options
context:
space:
mode:
authorAlex Morcos <[email protected]>2017-01-19 15:17:33 -0500
committerAlex Morcos <[email protected]>2017-02-27 11:23:51 -0500
commitfe282acd7604b5265762b24e531bdf1ebb1f009b (patch)
tree4f10b6a0221b8b706d58458f31855673c13fb36b /src/txmempool.cpp
parent[debug] Change -printpriority option (diff)
downloaddiscoin-fe282acd7604b5265762b24e531bdf1ebb1f009b.tar.xz
discoin-fe282acd7604b5265762b24e531bdf1ebb1f009b.zip
[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 942a6fcce..ef4d4f3c6 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