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:
1 file changed
+8
-6
@@ -181,13 +181,15 @@ private:
|
|||||||
static constexpr double SUFFICIENT_TXS_SHORT = 0.5;
|
static constexpr double SUFFICIENT_TXS_SHORT = 0.5;
|
||||||
|
|
||||||
/** Minimum and Maximum values for tracking feerates
|
/** Minimum and Maximum values for tracking feerates
|
||||||
* The MIN_BUCKET_FEERATE should just be set to the lowest reasonable feerate we
|
* The MIN_BUCKET_FEERATE should just be set to the lowest reasonable feerate.
|
||||||
* might ever want to track. Historically this has been 1000 since it was
|
* MIN_BUCKET_FEERATE has historically inherited DEFAULT_MIN_RELAY_TX_FEE.
|
||||||
* inheriting DEFAULT_MIN_RELAY_TX_FEE and changing it is disruptive as it
|
* It is hardcoded because changing it is disruptive, as it invalidates existing fee
|
||||||
* invalidates old estimates files. So leave it at 1000 unless it becomes
|
* estimate files.
|
||||||
* necessary to lower it, and then lower it substantially.
|
*
|
||||||
|
* 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;
|
static constexpr double MAX_BUCKET_FEERATE = 1e7;
|
||||||
|
|
||||||
/** Spacing of FeeRate buckets
|
/** Spacing of FeeRate buckets
|
||||||
|
|||||||
Reference in new issue
Block a user