Skip to content

Fix RBF nsequence: canonical value, all inputs#21

Open
bc1cindy wants to merge 2 commits into
mrtnetwork:mainfrom
bc1cindy:rbf-nsequence-canonical
Open

Fix RBF nsequence: canonical value, all inputs#21
bc1cindy wants to merge 2 commits into
mrtnetwork:mainfrom
bc1cindy:rbf-nsequence-canonical

Conversation

@bc1cindy
Copy link
Copy Markdown

@bc1cindy bc1cindy commented Jun 3, 2026

0x01 signals opt-in RBF, but on v2 txs it also sets a BIP-68 relative timelock of 1 block (unintended), and it's an abnormal value that fingerprints the wallet on-chain, harmful in collaborative settings like payjoin. It was also applied only to inputs[0], leaving a mixed [0x01, MAX, …] pattern that fingerprints too.

use the canonical 0xFFFFFFFD (ENABLE_RBF_NO_LOCKTIME) and apply it to every input, in both builders.

ref: payjoin/rust-payjoin#1597

closes #22

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.

RBF nsequence: non-canonical 0x01, only on inputs[0]

1 participant