-
Notifications
You must be signed in to change notification settings - Fork 418
Closed
Milestone
Description
MIN_RELAY_FEE_SAT_PER_1000_WEIGHT
is used to enforce a minimum fee bump for transaction RBFs. Per Bitcoin Core policy, this should be 1 sat/vB. Instead, we're using 16 sat/vB:
rust-lightning/lightning/src/chain/chaininterface.rs
Lines 178 to 179 in 1386bef
/// Minimum relay fee as required by bitcoin network mempool policy. | |
pub const MIN_RELAY_FEE_SAT_PER_1000_WEIGHT: u64 = 4000; |
This causes RBFs to be much larger than needed in some cases.
We should be using 250 sat/kw, or maybe 253 sat/kw if we need to worry about rounding for the incremental relay feerate.