BIP30 and BIP34 interaction (was Re: [BIP Proposal] Buried Deployments)



Summary:

In a discussion on the bitcoin-dev mailing list, Eric Voskuil mentioned that the only way for two transactions to have the same txid is if their parents are identical. Coinbases, which have no parents, used to allow for the possibility of identical transactions, but duplicate outputs weren't possible in the database, so the later coinbase transaction overwrote the earlier one. This happened for two coinbases, which is what exceptions are for. However, neither of those coinbases were spent before the overwrite happened, and all future activate coinbase transactions will have a unique hash and therefore different txids. While there may not be an explicit rule mandating that txids be unique, the rules guarantee it unless the hash function is broken.


Updated on: 2023-06-11T20:36:01.392339+00:00