0

If I am sending a new RBF transaction to replace my stuck transaction and since the txid preimage has outputs value it will change the txid then why do we even care about RBF and nsequence < 0xffffffff since it will never come into effect ? Correct me If I am wrong fundamentally somewhere .

1 Answer 1

3

In essence, that is exactly what it is: an RBF transaction is simply a new, distinct transaction.

The RBF aspect, the rules associated with it, matter however. Full nodes maintain a list of transactions they expect to confirm (called their "mempool"), and in order to enter the mempool, and be relayed to other nodes, there are applicable rules.

One of those rules is that normally, an existing transaction in the mempool cannot be replaced by another. When RBF is enabled on the original, this is allowed under certain circumstances.

In short, while the replacement transaction is valid regardless of whether the original opted in the RBF, that does not mean it will necessarily be accepted by nodes and propagated across the network to miners.

1
  • Essentially it is a new transaction that is double spending the UTXO that has already been "spent" (is in the mempool). The nodes need some sort of rules to decide which transaction to pick up and send to miners. To prevent spamming attacks I believe that initially the RBF rule was that the new transaction had to have a higher fee than the one it is replacing. Is this still the case? Apr 14 at 10:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.