<p>No, it would not because the malleated transaction is technically a different transaction. Transactions are identified by their hashes, not the inputs or the outputs of the transaction. Since malleating a transaction means that you are changing part of the transaction, its hash will also change. This means that the malleated transaction is actually a different transaction and will be treated as such. So no local information from the original transaction will be added to the malleated transaction unless you explicitly add it.</p>

CC BY-SA 4.0
2018-06-18T08:10:37.263Z
Actually, I believe some metadata is copied to malleated transactions.
Pieter Wuille
CC BY-SA 4.0
2018-06-18T07:20:42.393Z
2018-06-18T07:20:42.393Z
Ava Chow
<p>I'm using the bitcoin core wallet and trying to build some programs around it. I see that <code>comment</code> and <code>to</code> can be added to transactions locally. If I understand it correctly, both are stored in local database and are not public information.</p>

<p>The question I have is whether this will help with malleated transactions. For example, if the transaction I initiated is changed a bit (still valid) and added to the blockchain, would the bitcoin core client attach the <code>comment</code> and <code>to</code> to the malleated transaction when I query for recent transactions?</p>

<bitcoin-core><json-rpc><transaction-malleability>
"comment" and "to" of malleated transactions
Will Gu
# "comment" and "to" of malleated transactions

(Asked by: username_0 on 2018-06-18)

I'm using the bitcoin core wallet and trying to build some programs around it. I see that `comment` and `to` can be added to transactions locally. If I understand it correctly, both are stored in local database and are not public information.

The question I have is whether this will help with malleated transactions. For example, if the transaction I initiated is changed a bit (still valid) and added to the blockchain, would the bitcoin core client attach the `comment` and `to` to the malleated transaction when I query for recent transactions?

**Tags:** bitcoin-core, json-rpc, transaction-malleability


---

## 1 answers

### Answer by username_1 on 2018-06-18. Score: 1 | Accepted answer

No, it would not because the malleated transaction is technically a different transaction. Transactions are identified by their hashes, not the inputs or the outputs of the transaction. Since malleating a transaction means that you are changing part of the transaction, its hash will also change. This means that the malleated transaction is actually a different transaction and will be treated as such. So no local information from the original transaction will be added to the malleated transaction unless you explicitly add it.

> **Comments:**
> **username_2**: Actually, I believe some metadata is copied to malleated transactions.  

---

