This file is used in the YouTube Mobilefish.com Blockchain tutorial 27: Bitcoin Raw TX & TXID Source: https://bitcoin.stackexchange.com/questions/2859/how-are-transaction-hashes-calculated BITCOIN GENESIS RAW TRANSACTION ================================ nVersion: 01000000 inputs count: 01 1st input: prevout_hash: 0000000000000000000000000000000000000000000000000000000000000000 prevout_n: ffffffff scriptSig: 4d:04ffff001d0104455468652054696d65732030332f4a616e2f32303039204368616e63656c6c6f72206f6e206272696e6b206f66207365636f6e64206261696c6f757420666f722062616e6b73 sequence: ffffffff outputs count: 01 1st output: value: 00f2052a01000000 (hex(50*10^8) is 0000012a05f200, and bitcoin puts the bytes in reverse order) scriptPubKey: 43:4104678afdb0fe5548271967f1a67130b7105cd6a828e03909a67962e0ea1f61deb649f6bc3f4cef38c4f35504e51ec112de5c384df7ba0b8d578a4c702b6bf11d5fac nLockTime: 00000000 BITCOIN GENESIS RAW TRANSACTION IN HEX (LENGTH = 204 BYTES) =========================================================== 01000000010000000000000000000000000000000000000000000000000000000000000000ffffffff4d04ffff001d0104455468652054696d65732030332f4a616e2f32303039204368616e63656c6c6f72206f6e206272696e6b206f66207365636f6e64206261696c6f757420666f722062616e6b73ffffffff0100f2052a01000000434104678afdb0fe5548271967f1a67130b7105cd6a828e03909a67962e0ea1f61deb649f6bc3f4cef38c4f35504e51ec112de5c384df7ba0b8d578a4c702b6bf11d5fac00000000 TRANSACTION HASH ================ 4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b Note: To calculate the transaction id use the python script (use the little endian byte order): https://www.mobilefish.com/download/cryptocurrency/calculate_txid.py.txt