CBlockPolicyEstimator::estimateSmartFee

Estimate feerate needed to get be included in a block within confTarget blocks. If no answer can be given at confTarget, return an estimate at the closest target where one can be given. 'conservative' estimates are valid over longer time horizons also.

Synopsis

Declared in <policy/fees/block_policy_estimator.h>

[[requires_capability(0x7f2e3ae70e58), requires_capability(0x7f2e2423ae58)]]
virtual
CFeeRate
estimateSmartFee(
    int confTarget,
    FeeCalculation* feeCalc,
    bool conservative) const;

Return Value

The estimated feerate.

Parameters

NameDescription
confTargetDesired number of blocks within which to confirm.
feeCalcOptional output with detailed information about the calculation.
conservativeWhether to produce a conservative estimate valid over longer horizons.