aboutsummaryrefslogtreecommitdiff
path: root/src/policy/fees.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2017-01-04 12:25:26 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2017-01-04 12:33:56 +0100
commit1ce7ede2a9df446bc56c966f28f295b5973bbeeb (patch)
tree70a31a36faaefd9965a882cb46e0113222d04c92 /src/policy/fees.h
parent869781c51cc1b6ee0a8635bcefbcbe11db7f5b25 (diff)
parentf8d43b8081eef080ebb4514d1493c0c8d81d27ab (diff)
Merge #9288: Fix a bug if the min fee is 0 for FeeFilterRounder
f8d43b8 Avoid rollingMinimumFeeRate never being able to decay below half (Alex Morcos) eab8e1b fix a bug if the min fee is 0 for FeeFilterRounder (Alex Morcos)
Diffstat (limited to 'src/policy/fees.h')
-rw-r--r--src/policy/fees.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/policy/fees.h b/src/policy/fees.h
index 73f8e081a4..1f10cfb237 100644
--- a/src/policy/fees.h
+++ b/src/policy/fees.h
@@ -179,7 +179,7 @@ static const double MIN_SUCCESS_PCT = .95;
static const double SUFFICIENT_FEETXS = 1;
// Minimum and Maximum values for tracking feerates
-static const double MIN_FEERATE = 10;
+static constexpr double MIN_FEERATE = 10;
static const double MAX_FEERATE = 1e7;
static const double INF_FEERATE = MAX_MONEY;
static const double INF_PRIORITY = 1e9 * MAX_MONEY;