Skip to content

Commit dba8196

Browse files
committed
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 <[email protected]>
1 parent 06dbbe7 commit dba8196

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/policy/fees.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,9 +138,9 @@ class CBlockPolicyEstimator
138138

139139
/** Decay of .962 is a half-life of 18 blocks or about 3 hours */
140140
static constexpr double SHORT_DECAY = .962;
141-
/** Decay of .998 is a half-life of 144 blocks or about 1 day */
141+
/** Decay of .9952 is a half-life of 144 blocks or about 1 day */
142142
static constexpr double MED_DECAY = .9952;
143-
/** Decay of .9995 is a half-life of 1008 blocks or about 1 week */
143+
/** Decay of .99931 is a half-life of 1008 blocks or about 1 week */
144144
static constexpr double LONG_DECAY = .99931;
145145

146146
/** Require greater than 60% of X feerate transactions to be confirmed within Y/2 blocks*/

0 commit comments

Comments
 (0)