2 ms·
> Transaction malleability is meant to change the hash of the transaction, because that ensures no-one can mutate transactions after they're in a block. Huh?
by bjourne 13y ago
> Transaction malleability is meant to change the hash of the transaction, because that ensures no-one can mutate transactions after they're in a block.
Huh?
> If you really need to track transactions in the way MtGox is doing, you should construct your own transaction ID that hashes everything except the scriptSigs (which are malleable).
Yeah. Except the Bitcoin network also apparently produces its own hashes of transactions and those hashes include mutable data leading to undesirable situations like hash(txn1) != hash(txn2) even though txn1 == txn2. It's like hashing people by their name and age instead of name and date of birth. Next year you won't find them in your table because their age is different.