diff options
| author | Alex Morcos <[email protected]> | 2015-11-16 15:21:51 -0500 |
|---|---|---|
| committer | Alex Morcos <[email protected]> | 2015-11-16 15:33:06 -0500 |
| commit | 63030514701828a06040413837f5eced9deeee03 (patch) | |
| tree | 62be88c1ff41a297a3e1b58ff5ccd68789cb699c /src/policy/fees.h | |
| parent | Increase success threshold for fee estimation to 95% (diff) | |
| download | discoin-63030514701828a06040413837f5eced9deeee03.tar.xz discoin-63030514701828a06040413837f5eced9deeee03.zip | |
EstimateSmart functions consider mempool min fee
Diffstat (limited to 'src/policy/fees.h')
| -rw-r--r-- | src/policy/fees.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/policy/fees.h b/src/policy/fees.h index 07caa6e71..59e6bfbc0 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); |