14 switch (feerate_estimator_type) {
18 return "block_policy";
20 return "mempool_policy";
28 const auto normalized{
ToLower(feerate_estimator_type)};
std::string_view FeeRateEstimatorTypeToString(FeeRateEstimatorType feerate_estimator_type)
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.