2
2
What would happened if two transactions have the same hash?
Would it make the Unspent Transaction Outputs(UTXO) in the old transaction not spendable?
I think it would make the outputs in the new transaction spendable and the outputs in the old transaction not spendable.
As eponymous's comment:"All blocks after 2012 contain the height in the block's coinbase transaction". It is difficult to create a new coinbase transaction with duplicate hashes because the height is included in the coinbase transaction.
– Bill – 2018-05-18T17:13:54.843Also read:Can the outputs of transactions with duplicate hashes be spent? and Two blocks, two transactions, same hash
– Bill – 2018-05-18T17:17:51.943