rpc/wallet: add two explicit modes to estimate_mode

This commit is contained in:
Karl-Johan Alm
2020-03-04 11:26:42 +09:00
parent b188d80c2d
commit 6fcf448430
3 changed files with 58 additions and 41 deletions

View File

@@ -40,6 +40,8 @@ const std::vector<std::pair<std::string, FeeEstimateMode>>& FeeModeMap()
{"unset", FeeEstimateMode::UNSET},
{"economical", FeeEstimateMode::ECONOMICAL},
{"conservative", FeeEstimateMode::CONSERVATIVE},
{(CURRENCY_UNIT + "/kB"), FeeEstimateMode::BTC_KB},
{(CURRENCY_ATOM + "/B"), FeeEstimateMode::SAT_B},
};
return FEE_MODES;
}