mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-05 02:33:07 +02:00
Merge bitcoin/bitcoin#33199: fees: enable CBlockPolicyEstimator return sub 1 sat/vb fee rate estimates
8966352df3doc: add release notes (ismaelsadeeq)704a09fe71test: ensure fee estimator provide fee rate estimate < 1 s/vb (ismaelsadeeq)243e48cf49fees: delete unused dummy field (ismaelsadeeq)fc4fbda42afees: bump fees file version (ismaelsadeeq)b54dedcc85fees: reduce `MIN_BUCKET_FEERATE` to 100 (ismaelsadeeq) Pull request description: This is a simple PR that updates the block policy estimator’s `MIN_BUCKET_FEERATE` constant to be 100, which is identical to the policy `DEFAULT_MIN_RELAY_TX_FEE`. This change enables the block policy fee rate estimator to return sub-1 sat/vB fee rate estimates. The change is correct because the estimator creates buckets of fee rates from `MIN_BUCKET_FEERATE`, `MIN_BUCKET_FEERATE` + `FEE_SPACING`, `MIN_BUCKET_FEERATE` + `2 * FEE_SPACING`, … up to `MAX_BUCKET_FEERATE`. This means it will record sub-1 sat/vB fee rates in the buckets and may return them as a fee rate estimate when that bucket is the lowest one with sufficient transactions for a given target. --- While touching this part of the fee estimator code, this PR got rid of the dummy value persisted in the file ACKs for top commit: achow101: ACK8966352df3musaHaruna: ACK [8966352](8966352df3) polespinasa: ACK8966352df3Tree-SHA512: 9424e0820fcbe124adf5e5d9101a8a2983ba802887101875b2d1856d700c8b563d7a6f6ca3e3db29cb939f786719603aadbf5480d59d55d0951ed1c0caa49868
This commit is contained in:
9
doc/release-notes-33199.md
Normal file
9
doc/release-notes-33199.md
Normal file
@@ -0,0 +1,9 @@
|
||||
Fee Estimation
|
||||
========================
|
||||
|
||||
- The Bitcoin Core fee estimator minimum fee rate bucket was updated from **1 sat/vB** to **0.1 sat/vB**,
|
||||
which matches the node’s default `minrelayfee`.
|
||||
This means that for a given confirmation target, if a sub-1 sat/vB fee rate bucket is the minimum tracked
|
||||
with sufficient data, its average value will be returned as the fee rate estimate.
|
||||
|
||||
- Note: Restarting a node with this change invalidates previously saved estimates in `fee_estimates.dat`, the fee estimator will start tracking fresh stats.
|
||||
Reference in New Issue
Block a user