Skip to content

Commit

Permalink
policy/fees: correct decay explanation comments
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
darosior committed Sep 14, 2020
1 parent 06dbbe7 commit dba8196
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/policy/fees.h
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,9 @@ class CBlockPolicyEstimator

/** 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*/
Expand Down

0 comments on commit dba8196

Please sign in to comment.