What is the default relaying policy for RBF double spend transactions?

0

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?

cpsola

Posted 2017-03-30T15:15:30.007

Reputation: 1 453

Answers

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 serval 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 - if we did the bandwidth used by those conflicting transactions would not be paid for.

Jonas Schnelli

Posted 2017-03-30T15:15:30.007

Reputation: 5 465

Thanks! Regarding 2, as fas as I undestand, the rules mentioned in BIP125 refer to mempool inclusion. Are those the same for transaction relaying?cpsola 2017-03-31T07:06:46.750

Yes. Nodes only relay txs that are in its mempool.Jonas Schnelli 2017-03-31T16:18:47.867

Great, everything clear now, thanks @jonas-schnelli.cpsola 2017-04-01T09:25:13.540