Build a fee rate estimation error result: a zero‐value estimation identifying the estimator and target, alongside the error message.
Synopsis
Declared in <util/fees.h>
util::Unexpected<FeeRateEstimationError>
EstimationError(
FeeRateEstimatorType estimator,
int returned_target,
std::string error);
Return Value
An unexpected result wrapping the estimator, target, and error.
Parameters
Name |
Description |
estimator |
The estimator that produced the error. |
returned_target |
The confirmation target associated with the failed estimate. |
error |
The error message describing the failure. |
Created with MrDocs