<p>The txid will change, because the transaction has a different effect. It will have more/larger inputs or less/smaller outputs, possibly combined with other changes.</p>

<p>The link between the two transactions is that they conflict. This means that they directly or indirectly depend on spending the same predecessor output. As every output can be spent exactly once, both cannot end up in the same chain.</p>

CC BY-SA 4.0
2020-04-01T18:34:46.637Z
2020-04-01T18:34:46.637Z
Pieter Wuille
<p>Let's say I have a transaction with <code>txid=A</code> which has <code>bip125-replaceable=True</code>. If I bump the fee the original transaction will be removed from the mempool and replaced by the new one, so how do I know that the new transaction is, in fact, the same as the old one just with a higher fee? Does the <code>txid</code> stay the same? If so, than the answer is obvious. But if it changes, e.g. <code>txid=B</code>, then this is a completely new transaction. How can I establish the link to the old one?</p>

<mempool><replace-by-fee><bip-125-replaceable>
How do you recognize that a transaction is the replacement of another?
leilerg
# How do you recognize that a transaction is the replacement of another?

(Asked by: username_0 on 2020-04-01)

Let's say I have a transaction with `txid=A` which has `bip125-replaceable=True`. If I bump the fee the original transaction will be removed from the mempool and replaced by the new one, so how do I know that the new transaction is, in fact, the same as the old one just with a higher fee? Does the `txid` stay the same? If so, than the answer is obvious. But if it changes, e.g. `txid=B`, then this is a completely new transaction. How can I establish the link to the old one?

**Tags:** mempool, replace-by-fee, bip-125-replaceable


---

## 1 answers

### Answer by username_1 on 2020-04-01. Score: 2

The txid will change, because the transaction has a different effect. It will have more/larger inputs or less/smaller outputs, possibly combined with other changes.

The link between the two transactions is that they conflict. This means that they directly or indirectly depend on spending the same predecessor output. As every output can be spent exactly once, both cannot end up in the same chain.


---

