Let's say I broadcast a transation tx0 signaling RBF replaceability. Later on, I realize it has a small amount of fees, so I send another transaction tx1 that spends the same inputs than tx0, but this time with higher fees.

Which is the default bitcoind/bitcoin-qt behaviour regarding the relaying of tx1? Would all nodes broadcast the new version of the transaction or does the relay policy depend on the mempoolreplacement parameter? Do any special rules apply to the relaying of the replacement transaction?

I have seen that Peter Todd's RBF proposal included a NODE_REPLACE_BY_FEE service bit. Is anything like this included in the current version?

1 Answer 1

  1. Nodes will only relay if mempoolreplacement hasn't set to false (most nodes probably do relay because the default is true).

  2. There are several rules for accepting a replacement after BIP125 (check the BIP for more details). In general: The replacement must pay greater fees than the transactions it replaces.—Otherwise the bandwidth used by those conflicting transactions would not be paid for.

  3. The mempool rules are relevant since nodes only relay transactions after accepting them to their mempool.


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.