15 switch (feerate_estimator_type) {
19 return "block_policy";
21 return "mempool_policy";
29 const auto normalized{
ToLower(feerate_estimator_type)};
std::string_view FeeRateEstimatorTypeToString(FeeRateEstimatorType feerate_estimator_type)
std::optional< FeeRateEstimatorType > FeeRateEstimatorTypeFromString(std::string_view feerate_estimator_type)
FeeRateEstimatorType
Identifier for fee rate estimator.
std::string ToLower(std::string_view str)
Returns the lowercase equivalent of the given string.