Skip to content

Commit b188d80

Browse files
committed
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.
1 parent 5d1a411 commit b188d80

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/policy/feerate.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@
1414
const std::string CURRENCY_UNIT = "BTC"; // One formatted unit
1515
const std::string CURRENCY_ATOM = "sat"; // One indivisible minimum value unit
1616

17+
/* Used to determine type of fee estimation requested */
18+
enum class FeeEstimateMode {
19+
UNSET, //!< Use default settings based on other criteria
20+
ECONOMICAL, //!< Force estimateSmartFee to use non-conservative estimates
21+
CONSERVATIVE, //!< Force estimateSmartFee to use conservative estimates
22+
};
23+
1724
/**
1825
* Fee rate in satoshis per kilobyte: CAmount / kB
1926
*/

src/policy/fees.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,6 @@ enum class FeeReason {
4545
REQUIRED,
4646
};
4747

48-
/* Used to determine type of fee estimation requested */
49-
enum class FeeEstimateMode {
50-
UNSET, //!< Use default settings based on other criteria
51-
ECONOMICAL, //!< Force estimateSmartFee to use non-conservative estimates
52-
CONSERVATIVE, //!< Force estimateSmartFee to use conservative estimates
53-
};
54-
5548
/* Used to return detailed information about a feerate bucket */
5649
struct EstimatorBucket
5750
{

0 commit comments

Comments
 (0)