1
I see TxID in bitcoin transaction input as reference of the UTXO. How does TXID gets created and at which point, wallet or node?
1
I see TxID in bitcoin transaction input as reference of the UTXO. How does TXID gets created and at which point, wallet or node?
2
The TXID, the transaction ID, is a hash of the serialized (non-witness) transaction whose UTXO is being spent. It gets created at the same time as the transaction does
Thanks for the answer. So what gets broadcast on network, Only TxID or both TxID and serialized entire transaction? I believe second. – ManasMi – 2017-09-12T04:46:25.963
You only need to send the serialized transaction itself, because anyone can hash it to find the txid. But generally the txid would be sent first so the client can see if they already have it or not – MeshCollider – 2017-09-12T05:53:48.350