![]() |
Bitcoin Core 32.1.0
P2P Digital Currency
|
#include <attributes.h>#include <util/expected.h>#include <util/feefrac.h>#include <optional>#include <string>#include <string_view>#include <utility>Go to the source code of this file.
Classes | |
| struct | FeeRateEstimation |
| A successful fee rate estimate returned by a fee rate estimator. More... | |
| struct | FeeRateEstimationError |
| A failed fee rate estimation, carrying the zero-value estimation that identifies the estimator and target alongside the error reason. More... | |
Enumerations | |
| enum class | FeeEstimateMode { UNSET , ECONOMICAL , CONSERVATIVE } |
| enum class | FeeReason { FEE_RATE_ESTIMATOR , MEMPOOL_MIN , USER_SPECIFIED , FALLBACK , REQUIRED } |
| enum class | FeeRateEstimatorType { AUTO , BLOCK_POLICY , MEMPOOL_POLICY } |
| Identifier for fee rate estimator. More... | |
Functions | |
| util::Unexpected< FeeRateEstimationError > | EstimationError (FeeRateEstimatorType estimator, int returned_target, std::string error) |
| Build a fee rate estimation error result: a zero-value estimation identifying the estimator and target, alongside the error message. | |
| const FeeRateEstimation & | FeeRateEstimationRef (const util::Expected< FeeRateEstimation, FeeRateEstimationError > &result LIFETIMEBOUND) |
| Return the estimation carried by a fee rate estimate result: the successful estimation, or the error's zero-value estimation. | |
| std::string_view | FeeRateEstimatorTypeToString (FeeRateEstimatorType feerate_estimator_type) |
| std::optional< FeeRateEstimatorType > | FeeRateEstimatorTypeFromString (std::string_view feerate_estimator_type) |
|
strong |
|
strong |
|
strong |
|
inline |
|
inline |
| std::optional< FeeRateEstimatorType > FeeRateEstimatorTypeFromString | ( | std::string_view | feerate_estimator_type | ) |
| std::string_view FeeRateEstimatorTypeToString | ( | FeeRateEstimatorType | feerate_estimator_type | ) |