diff options
| author | Antoine Poinsot <[email protected]> | 2020-07-30 18:33:57 +0200 |
|---|---|---|
| committer | Antoine Poinsot <[email protected]> | 2020-09-14 15:11:25 +0200 |
| commit | dba8196b447b6a85be66890db70928100e867d8b (patch) | |
| tree | d77d75419021c885e961314fd8490015fcc2189b /src/policy | |
| parent | Merge #19931: Change CSipHasher's count variable to uint8_t (diff) | |
| download | discoin-dba8196b447b6a85be66890db70928100e867d8b.tar.xz discoin-dba8196b447b6a85be66890db70928100e867d8b.zip | |
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]>
Diffstat (limited to 'src/policy')
| -rw-r--r-- | src/policy/fees.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/policy/fees.h b/src/policy/fees.h index e79dbc986..8ea8816dc 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*/ |