Skip to content

MIN_RELAY_FEE_SAT_PER_1000_WEIGHT is inflated 16x #3438

Closed
@morehouse

Description

@morehouse

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:

/// 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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions