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/txmempool.cpp | |
| 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/txmempool.cpp')
| -rw-r--r-- | src/txmempool.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/txmempool.cpp b/src/txmempool.cpp index 503e73d45..58b8448bb 100644 --- a/src/txmempool.cpp +++ b/src/txmempool.cpp @@ -704,7 +704,7 @@ CFeeRate CTxMemPool::estimateFee(int nBlocks) const CFeeRate CTxMemPool::estimateSmartFee(int nBlocks, int *answerFoundAtBlocks) const { LOCK(cs); - return minerPolicyEstimator->estimateSmartFee(nBlocks, answerFoundAtBlocks); + return minerPolicyEstimator->estimateSmartFee(nBlocks, answerFoundAtBlocks, this); } double CTxMemPool::estimatePriority(int nBlocks) const { @@ -714,7 +714,7 @@ double CTxMemPool::estimatePriority(int nBlocks) const double CTxMemPool::estimateSmartPriority(int nBlocks, int *answerFoundAtBlocks) const { LOCK(cs); - return minerPolicyEstimator->estimateSmartPriority(nBlocks, answerFoundAtBlocks); + return minerPolicyEstimator->estimateSmartPriority(nBlocks, answerFoundAtBlocks, this); } bool |