<p>Yes. You receieve a walletnotify for every transaction your wallet sees that is relevant to it. Once when it is first seen, and once when it is seen in a block (first confirmation). These two may coincide, in which case you only get the confirmation one.</p>

<p>For mutated transactions, you will see a first one that never confirms (and in 0.9 will get a "-1" confirmations marker), and a second transaction that does confirm.</p>

CC BY-SA 3.0
2014-03-14T16:10:11.313Z
2014-03-14T16:10:11.313Z
Pieter Wuille
<p>To monitor inbound payments for a web wallet, I plan to use walletnotify to record the transaction IDs, then on each blocknotify I will check the number of confirmations for each pending transaction.</p>

<p>Obviously everyone is thinking about transaction malleability right now, so my question is this: in the event that the transaction ID is changed, or a block containing the transaction is orphaned etc - will I get another walletnotify with the changed TxId?</p>

<transaction-malleability><transaction-verification>
walletnotify and transaction malleability
Avram
# walletnotify and transaction malleability

(Asked by: username_0 on 2014-03-14)

To monitor inbound payments for a web wallet, I plan to use walletnotify to record the transaction IDs, then on each blocknotify I will check the number of confirmations for each pending transaction.

Obviously everyone is thinking about transaction malleability right now, so my question is this: in the event that the transaction ID is changed, or a block containing the transaction is orphaned etc - will I get another walletnotify with the changed TxId?

**Tags:** transaction-malleability, transaction-verification


---

## 1 answers

### Answer by username_1 on 2014-03-14. Score: 3 | Accepted answer

Yes. You receieve a walletnotify for every transaction your wallet sees that is relevant to it. Once when it is first seen, and once when it is seen in a block (first confirmation). These two may coincide, in which case you only get the confirmation one.

For mutated transactions, you will see a first one that never confirms (and in 0.9 will get a "-1" confirmations marker), and a second transaction that does confirm.


---

