aboutsummaryrefslogtreecommitdiff
path: root/src/policy
diff options
context:
space:
mode:
authorAntoine Poinsot <darosior@protonmail.com>2020-07-30 18:33:57 +0200
committerAntoine Poinsot <darosior@protonmail.com>2020-09-14 15:11:25 +0200
commitdba8196b447b6a85be66890db70928100e867d8b (patch)
treed77d75419021c885e961314fd8490015fcc2189b /src/policy
parent06dbbe76dd027e924eb95ffc4b409daffaefe61b (diff)
downloadbitcoin-dba8196b447b6a85be66890db70928100e867d8b.tar.xz
policy/fees: correct decay explanation comments
This was confusing: which one is the good one ? After testing the value is right but not the comment, so fix it. Signed-off-by: Antoine Poinsot <darosior@protonmail.com>
Diffstat (limited to 'src/policy')
-rw-r--r--src/policy/fees.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/policy/fees.h b/src/policy/fees.h
index e79dbc9868..8ea8816dc3 100644
--- a/src/policy/fees.h
+++ b/src/policy/fees.h
@@ -138,9 +138,9 @@ private:
/** Decay of .962 is a half-life of 18 blocks or about 3 hours */
static constexpr double SHORT_DECAY = .962;
- /** Decay of .998 is a half-life of 144 blocks or about 1 day */
+ /** Decay of .9952 is a half-life of 144 blocks or about 1 day */
static constexpr double MED_DECAY = .9952;
- /** Decay of .9995 is a half-life of 1008 blocks or about 1 week */
+ /** Decay of .99931 is a half-life of 1008 blocks or about 1 week */
static constexpr double LONG_DECAY = .99931;
/** Require greater than 60% of X feerate transactions to be confirmed within Y/2 blocks*/