2

In the blockchain, every transaction has a transactionId where does this come from?

4

TXID is the double sha256 hash of the signed transaction, used to uniquely identify a particular transaction.

When you create/sign a transaction that hash will be generated with your transaction.

5
  • So it's the digital signature? Is there a comprehensive website that I can use to read up on bitcoin? From a programmers point of view. – Kyle Graham Mar 15 '18 at 20:28
  • Yeah, There's a book called Mastering Bitcoin by Andreas Antonopoulos , Best book ever. – Adam Mar 15 '18 at 20:29
  • If TxId is the hash of the transaction data, how it is made unique to guard against fraudulent duplicate transactions (including timestamp)? – Hiranmay Ghosh Dec 27 '20 at 14:40
  • @HiranmayGhosh: The output of cryptographic hash functions is collision resistant and 2^256 is a huge space of numbers. – Murch Dec 27 '20 at 17:02
  • It is the double sha256. – darosior Dec 29 '20 at 12:19
0

The TXID is the hash of the transaction.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.