aboutsummaryrefslogtreecommitdiff
path: root/src/policy
diff options
context:
space:
mode:
authorKarl-Johan Alm <karljohan-alm@garage.co.jp>2020-03-04 11:26:06 +0900
committerKarl-Johan Alm <karljohan-alm@garage.co.jp>2020-06-24 15:52:06 +0900
commitb188d80c2de9ebb114da5ceea78baa46bde7dff6 (patch)
treea6b1d96f47bb1f72d0485fbd52ea0dc9de13f3a0 /src/policy
parent5d1a411eb12fc700804ffe5d6e205234d30edd5f (diff)
downloadbitcoin-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')
-rw-r--r--src/policy/feerate.h7
-rw-r--r--src/policy/fees.h7
2 files changed, 7 insertions, 7 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
*/
diff --git a/src/policy/fees.h b/src/policy/fees.h
index 6ee6e0d547..e445c1590d 100644
--- a/src/policy/fees.h
+++ b/src/policy/fees.h
@@ -45,13 +45,6 @@ enum class FeeReason {
REQUIRED,
};
-/* 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
-};
-
/* Used to return detailed information about a feerate bucket */
struct EstimatorBucket
{