aboutsummaryrefslogtreecommitdiff
path: root/src/policy/fees.h
diff options
context:
space:
mode:
authorAlex Morcos <morcos@chaincode.com>2015-11-16 15:21:51 -0500
committerAlex Morcos <morcos@chaincode.com>2015-11-16 15:33:06 -0500
commit63030514701828a06040413837f5eced9deeee03 (patch)
tree62be88c1ff41a297a3e1b58ff5ccd68789cb699c /src/policy/fees.h
parentf22ac4a22c570921f1c2be121e6744a1564b2ce7 (diff)
downloadbitcoin-63030514701828a06040413837f5eced9deeee03.tar.xz
EstimateSmart functions consider mempool min fee
Diffstat (limited to 'src/policy/fees.h')
-rw-r--r--src/policy/fees.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/policy/fees.h b/src/policy/fees.h
index 07caa6e713..59e6bfbc06 100644
--- a/src/policy/fees.h
+++ b/src/policy/fees.h
@@ -15,6 +15,7 @@
class CAutoFile;
class CFeeRate;
class CTxMemPoolEntry;
+class CTxMemPool;
/** \class CBlockPolicyEstimator
* The BlockPolicyEstimator is used for estimating the fee or priority needed
@@ -246,7 +247,7 @@ public:
* confTarget blocks. If no answer can be given at confTarget, return an
* estimate at the lowest target where one can be given.
*/
- CFeeRate estimateSmartFee(int confTarget, int *answerFoundAtTarget);
+ CFeeRate estimateSmartFee(int confTarget, int *answerFoundAtTarget, const CTxMemPool *pool);
/** Return a priority estimate */
double estimatePriority(int confTarget);
@@ -255,7 +256,7 @@ public:
* confTarget blocks. If no answer can be given at confTarget, return an
* estimate at the lowest target where one can be given.
*/
- double estimateSmartPriority(int confTarget, int *answerFoundAtTarget);
+ double estimateSmartPriority(int confTarget, int *answerFoundAtTarget, const CTxMemPool *pool);
/** Write estimation data to a file */
void Write(CAutoFile& fileout);