mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-02 17:56:16 +00:00
fees: reduce MIN_BUCKET_FEERATE to 100
- The DEFAULT_MIN_RELAY_TX_FEE has been reduced to 100 in v30. This change updates block policy fee estimator to reflect that change.
This commit is contained in:
parent
292ea0eb89
commit
b54dedcc85
@ -181,13 +181,15 @@ private:
|
||||
static constexpr double SUFFICIENT_TXS_SHORT = 0.5;
|
||||
|
||||
/** Minimum and Maximum values for tracking feerates
|
||||
* The MIN_BUCKET_FEERATE should just be set to the lowest reasonable feerate we
|
||||
* might ever want to track. Historically this has been 1000 since it was
|
||||
* inheriting DEFAULT_MIN_RELAY_TX_FEE and changing it is disruptive as it
|
||||
* invalidates old estimates files. So leave it at 1000 unless it becomes
|
||||
* necessary to lower it, and then lower it substantially.
|
||||
* The MIN_BUCKET_FEERATE should just be set to the lowest reasonable feerate.
|
||||
* MIN_BUCKET_FEERATE has historically inherited DEFAULT_MIN_RELAY_TX_FEE.
|
||||
* It is hardcoded because changing it is disruptive, as it invalidates existing fee
|
||||
* estimate files.
|
||||
*
|
||||
* Whenever DEFAULT_MIN_RELAY_TX_FEE changes, this value should be updated
|
||||
* accordingly. At the same time CURRENT_FEES_FILE_VERSION should be bumped.
|
||||
*/
|
||||
static constexpr double MIN_BUCKET_FEERATE = 1000;
|
||||
static constexpr double MIN_BUCKET_FEERATE = 100;
|
||||
static constexpr double MAX_BUCKET_FEERATE = 1e7;
|
||||
|
||||
/** Spacing of FeeRate buckets
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user