diff options
author | Alex Morcos <morcos@chaincode.com> | 2017-01-19 15:17:33 -0500 |
---|---|---|
committer | Alex Morcos <morcos@chaincode.com> | 2017-02-27 11:23:51 -0500 |
commit | fe282acd7604b5265762b24e531bdf1ebb1f009b (patch) | |
tree | 4f10b6a0221b8b706d58458f31855673c13fb36b /src/test/policyestimator_tests.cpp | |
parent | 400b15147cf1c4757927935222611e8d3481e739 (diff) |
[cleanup] Remove estimatePriority and estimateSmartPriority
Unused everywhere now except one test.
Diffstat (limited to 'src/test/policyestimator_tests.cpp')
-rw-r--r-- | src/test/policyestimator_tests.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/test/policyestimator_tests.cpp b/src/test/policyestimator_tests.cpp index 0c060801bc..a4f85c5988 100644 --- a/src/test/policyestimator_tests.cpp +++ b/src/test/policyestimator_tests.cpp @@ -185,7 +185,6 @@ BOOST_AUTO_TEST_CASE(BlockPolicyEstimates) } // Test that if the mempool is limited, estimateSmartFee won't return a value below the mempool min fee - // and that estimateSmartPriority returns essentially an infinite value mpool.addUnchecked(tx.GetHash(), entry.Fee(feeV[5]).Time(GetTime()).Priority(0).Height(blocknum).FromTx(tx, &mpool)); // evict that transaction which should set a mempool min fee of minRelayTxFee + feeV[5] mpool.TrimToSize(1); @@ -193,7 +192,6 @@ BOOST_AUTO_TEST_CASE(BlockPolicyEstimates) for (int i = 1; i < 10; i++) { BOOST_CHECK(mpool.estimateSmartFee(i).GetFeePerK() >= mpool.estimateFee(i).GetFeePerK()); BOOST_CHECK(mpool.estimateSmartFee(i).GetFeePerK() >= mpool.GetMinFee(1).GetFeePerK()); - BOOST_CHECK(mpool.estimateSmartPriority(i) == INF_PRIORITY); } } |