Transaction

0fc3995a8f337ff7c283a54e04c15687662016cc77d76d6b9f39e94fd16a6e2b
( - )
225,195
2020-01-06 17:40:55
1
3,314 B

4 Outputs

Total Output:
  • j"19HxigV4QyBv3tHpQVcUEQyq1pzZVdoAutM # For lazy people (like me:)) Thanks @Zhell for your answer, which allowed me to decode the proof. For anyone else that might be looking for this, the structure of the proof is the following: 1. Block header (80 bytes) 2. Number of transactions in the block (unsigned int, 4 bytes, little endian) 3. Number of hashes (varint, 1 - 3 bytes) 4. Hashes (N * 32 bytes, little endian) 5. Number of bytes of flag bits (varint, 1 - 3 bytes) 6. Flag bits (little endian) Flag bits indicate which nodes in the merkle tree are relevant for the proof (depth-first). Hashes are also listed in a depth-first fashion. This is relevant for proofs that cover more than one transaction. Example: ``` $ ./src/bitcoin-cli gettxoutproof '["1a5ef521d112853d01afed4c1bc7e2e0b1edd9e3195214a3fb14e5866519b1e3", "e8de2d2c2c8b0593a5e2fec218c5c2f38d17cdde045742482a1c4554a3cd1b14"]' 00004020e2ac770a4f511b7ed2f3b638fe12d39ff52b8ced104d360500000000000000006f5ca47842fdd12f46a274ce7060c701d0c1fcff294a826e19b88e8f3dcdbca8f560135e8b64051816587c9c1f0100000bc21da39408e165a8368a7df46a17af25b4c5e3778b45222e48da632412b3be56e3b1196586e514fba3145219e3d9edb1e0e2c71b4cedaf013d8512d121f55e1ae120e954338e4d63d0a446a466b4ec548704366a89c2513c0c47818e4f8af8fa141bcda354451c2a48425704decd178df3c2c518c2fee2a593058b2c2c2ddee80ebc68aa38c161fcbf32f336b9d06feb652893be3326b0fd755cf61e575a56d7cb6b4944a2e74e3fdb583885c9dd4849ab2fd974207d9693a3062d9ba5eb0ea1b7c2d9841297396526c43af19fa8e67f3a6c07f9c8333eda575556df0e8b86a65982f24022336589fae3d56d69d73474024ced4f3a63c7205623d5bd22daf8a58e69b4748539fcdc24e0241f8231278b560340a3eb112f2fd041dc7bd1a0f6ddc37b916c24b0f96a1e9e13b4ffc7ad9c3805cadb91520435821edd439ca70198c92187deb1dde075366006d963632a0fd1ca510b362bbd6cf1805ac70becd3d303ff2d00 ``` is decoded as ``` Block header: 00004020e2ac770a4f511b7ed2f3b638fe12d39ff52b8ced104d360500000000000000006f5ca47842fdd12f46a274ce7060c701d0c1fcff294a826e19b88e8f3dcdbca8f560135e8b64051816587c9c Number of transactions: 1f010000 # Decimal: 287 Number of hashes: 0b # Decimal: 11 Hashes: c21da39408e165a8368a7df46a17af25b4c5e3778b45222e48da632412b3be56 e3b1196586e514fba3145219e3d9edb1e0e2c71b4cedaf013d8512d121f55e1a e120e954338e4d63d0a446a466b4ec548704366a89c2513c0c47818e4f8af8fa 141bcda354451c2a48425704decd178df3c2c518c2fee2a593058b2c2c2ddee8 0ebc68aa38c161fcbf32f336b9d06feb652893be3326b0fd755cf61e575a56d7 cb6b4944a2e74e3fdb583885c9dd4849ab2fd974207d9693a3062d9ba5eb0ea1 b7c2d9841297396526c43af19fa8e67f3a6c07f9c8333eda575556df0e8b86a6 5982f24022336589fae3d56d69d73474024ced4f3a63c7205623d5bd22daf8a5 8e69b4748539fcdc24e0241f8231278b560340a3eb112f2fd041dc7bd1a0f6dd c37b916c24b0f96a1e9e13b4ffc7ad9c3805cadb91520435821edd439ca70198 c92187deb1dde075366006d963632a0fd1ca510b362bbd6cf1805ac70becd3d3 Number of bytes in flag bits: 03 # Decimal: 3 Flag bits: ff2d00 ``` text/markdownUTF-8 answer.md
    https://whatsonchain.com/tx/0fc3995a8f337ff7c283a54e04c15687662016cc77d76d6b9f39e94fd16a6e2b