FeeRateEstimatorManager::GetFeeRateEstimate

GetFeeRateEstimate overloads

Synopses

Declared in <policy/fees/estimator_man.h>

Get a fee rate estimate from the available fee rate estimators.

virtual
util::Expected<FeeRateEstimation, FeeRateEstimationError>
GetFeeRateEstimate(
    int target,
    bool conservative) const;
» more...

Like GetFeeRateEstimate, but only consults the specified estimator type.

virtual
util::Expected<FeeRateEstimation, FeeRateEstimationError>
GetFeeRateEstimate(
    FeeRateEstimatorType type,
    int target,
    bool conservative) const;
» more...

Return Value

  • fee rate estimation, or an error on failure.
  • Fee rate estimation from the specified estimator, or an error on failure.

Parameters

NameDescription
target [in]The target within which the transaction should be confirmed.
conservative [in]Whether to select a more conservative, potentially higher, fee rate estimate.
type [in]The estimator to query. NONE returns the manager-selected combined estimate.