aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorKarl-Johan Alm <[email protected]>2020-03-04 11:26:42 +0900
committerKarl-Johan Alm <[email protected]>2020-06-24 16:01:37 +0900
commit6fcf4484302d13bd7739b617470d8c8e31974908 (patch)
tree81f4a32e4f76fe439133476ed31498aa05708cfa /src/util
parentMOVEONLY: Make FeeEstimateMode available to CFeeRate (diff)
downloaddiscoin-6fcf4484302d13bd7739b617470d8c8e31974908.tar.xz
discoin-6fcf4484302d13bd7739b617470d8c8e31974908.zip
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 9a1cea1d4..6208a20a9 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;
}