Skip to content

Change RBF feerate bump rule to match BIP125#3298

Open
t-bast wants to merge 1 commit into
masterfrom
tx-init-rbf-threshold
Open

Change RBF feerate bump rule to match BIP125#3298
t-bast wants to merge 1 commit into
masterfrom
tx-init-rbf-threshold

Conversation

@t-bast
Copy link
Copy Markdown
Member

@t-bast t-bast commented May 5, 2026

The 25/24 multiplicative feerate bump for tx_init_rbf can produce increments too small for Bitcoin Core to relay the replacement transaction under BIP125's minimum relay fee policy (default incrementalRelayFee of 0.1 sat/vB since Bitcoin Core v30.0). Add a minimum additive increment of 25 sat/kw alongside the existing multiplicative rule, using whichever produces a higher feerate.

See lightning/bolts#1327

The 25/24 multiplicative feerate bump for `tx_init_rbf` can produce
increments too small for Bitcoin Core to relay the replacement
transaction under BIP125's minimum relay fee policy (default
`incrementalRelayFee` of 0.1 sat/vB since Bitcoin Core v30.0). Add a
minimum additive increment of 25 sat/kw alongside the existing
multiplicative rule, using whichever produces a higher feerate.

See lightning/bolts#1327
@t-bast t-bast requested a review from sstone May 5, 2026 12:07
@codecov-commenter
Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.63%. Comparing base (129df36) to head (cdf56d7).
⚠️ Report is 16 commits behind head on master.
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3298      +/-   ##
==========================================
- Coverage   88.67%   88.63%   -0.04%     
==========================================
  Files         221      222       +1     
  Lines       21453    21571     +118     
  Branches      832      830       -2     
==========================================
+ Hits        19023    19120      +97     
- Misses       2430     2451      +21     
Files with missing lines Coverage Δ
...inq/eclair/channel/fund/InteractiveTxBuilder.scala 92.46% <100.00%> (+0.01%) ⬆️

... and 10 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants