diff options
author | Karl-Johan Alm <karljohan-alm@garage.co.jp> | 2020-03-04 11:26:06 +0900 |
---|---|---|
committer | Karl-Johan Alm <karljohan-alm@garage.co.jp> | 2020-06-24 15:52:06 +0900 |
commit | b188d80c2de9ebb114da5ceea78baa46bde7dff6 (patch) | |
tree | a6b1d96f47bb1f72d0485fbd52ea0dc9de13f3a0 /src/policy/feerate.h | |
parent | 5d1a411eb12fc700804ffe5d6e205234d30edd5f (diff) | |
download | bitcoin-b188d80c2de9ebb114da5ceea78baa46bde7dff6.tar.xz |
MOVEONLY: Make FeeEstimateMode available to CFeeRate
Can verify move-only with:
git log -p -n1 --color-moved
This commit is move-only and doesn't change code or affect behavior.
Diffstat (limited to 'src/policy/feerate.h')
-rw-r--r-- | src/policy/feerate.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/policy/feerate.h b/src/policy/feerate.h index 4e0673cae6..5eb2d84d4b 100644 --- a/src/policy/feerate.h +++ b/src/policy/feerate.h @@ -14,6 +14,13 @@ const std::string CURRENCY_UNIT = "BTC"; // One formatted unit const std::string CURRENCY_ATOM = "sat"; // One indivisible minimum value unit +/* Used to determine type of fee estimation requested */ +enum class FeeEstimateMode { + UNSET, //!< Use default settings based on other criteria + ECONOMICAL, //!< Force estimateSmartFee to use non-conservative estimates + CONSERVATIVE, //!< Force estimateSmartFee to use conservative estimates +}; + /** * Fee rate in satoshis per kilobyte: CAmount / kB */ |