mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-12 11:19:08 -05:00
Merge 372ca14fbe
into 85f96b01b7
This commit is contained in:
commit
c5cb3a0314
1 changed files with 6 additions and 0 deletions
|
@ -905,6 +905,12 @@ CFeeRate CBlockPolicyEstimator::estimateSmartFee(int confTarget, FeeCalculation
|
||||||
* horizons so we already have monotonically increasing estimates and
|
* horizons so we already have monotonically increasing estimates and
|
||||||
* the purpose of conservative estimates is not to let short term
|
* the purpose of conservative estimates is not to let short term
|
||||||
* fluctuations lower our estimates by too much.
|
* fluctuations lower our estimates by too much.
|
||||||
|
*
|
||||||
|
* Note: Monotonically increasing estimates are not guaranteed in certain
|
||||||
|
* data-sparse scenarios. In particular, if estimateCombinedFee returns no
|
||||||
|
* valid data (-1) for some estimates for a lower target, but does return
|
||||||
|
* valid data for a higher target, the estimate can theoretically return a
|
||||||
|
* higher value for higher targets.
|
||||||
*/
|
*/
|
||||||
double halfEst = estimateCombinedFee(confTarget/2, HALF_SUCCESS_PCT, true, &tempResult);
|
double halfEst = estimateCombinedFee(confTarget/2, HALF_SUCCESS_PCT, true, &tempResult);
|
||||||
if (feeCalc) {
|
if (feeCalc) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue