Post
Topic
Board Bitcoin Technical Support
Merits 2 from 2 users
Re: How to write raw taproot transaction and apply an RBF flag?
by
TheArchaeologist
on 15/11/2021, 22:03:07 UTC
⭐ Merited by nc50lc (1) ,ETFbitcoin (1)
I was able to find my RBF answer here
https://github.com/BlockchainCommons/Learning-Bitcoin-from-the-Command-Line/blob/master/05_2_Resending_a_Transaction_with_RBF.md

But do I need a sequence for each input? If I have 4 inputs, do I need 4 sequence fields?
This is described in BIP-125 (https://github.com/bitcoin/bips/blob/master/bip-0125.mediawiki):
  • Explicit signaling: A transaction is considered to have opted in to allowing replacement of itself if any of its inputs have an nSequence number less than (0xffffffff - 1).
So one sequence is enough.