aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorKarl-Johan Alm <karljohan-alm@garage.co.jp>2020-03-04 11:26:42 +0900
committerKarl-Johan Alm <karljohan-alm@garage.co.jp>2020-06-24 16:01:37 +0900
commit6fcf4484302d13bd7739b617470d8c8e31974908 (patch)
tree81f4a32e4f76fe439133476ed31498aa05708cfa /src/util
parentb188d80c2de9ebb114da5ceea78baa46bde7dff6 (diff)
downloadbitcoin-6fcf4484302d13bd7739b617470d8c8e31974908.tar.xz
rpc/wallet: add two explicit modes to estimate_mode
Diffstat (limited to 'src/util')
-rw-r--r--src/util/fees.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/fees.cpp b/src/util/fees.cpp
index 9a1cea1d4e..6208a20a97 100644
--- a/src/util/fees.cpp
+++ b/src/util/fees.cpp
@@ -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;
}