Design · lab
Merkle proof
What "Proven" means, checked in your browser. A real mainnet transaction, its merkle path, and its block header, recomputed byte by byte with SHA-256. Nothing here asks an indexer; every mark below is the result of a comparison made on this page.
Claim under test
- in block
Stated by source · context, not proven here
- network
- height
- block size
- confirmations
Height and confirmations need the whole header chain to prove. This page proves inclusion in one header, and that the header has real proof of work.
Tamper
01 Raw tx → txid
The txid is not stored anywhere; it is the double SHA-256 of the tx's bytes. Change one byte and it becomes a different transaction.
raw tx · wire order ·
- sha256d · internal order
- reversed · display order
- claimed txid
Endianness: hashes come out of SHA-256 in internal order. Explorers and APIs show them byte-reversed. Same bytes, opposite direction.
02 txid + merkle path → root
Pair the current hash with one sibling per level and hash the pair, climbing to the root. The tx's position in the block, index , decides the order: bit k is 1 when the current hash is the right child at level k.
Pairs are concatenated and hashed in internal order. Hashes below are shown in display order.
| level | bit | side | hashed as | sibling → result |
|---|
- computed root
No check yet: a root is only meaningful once it matches a header.
03 Root matches the block header
A block header is 80 bytes. One of its fields is the merkle root of every tx in the block.
| field | bytes | wire order (little-endian) | value |
|---|
- computed root
- header's root
04 Header → block hash → proof of work
The block hash is the double SHA-256 of those 80 bytes. It must be below the target encoded in bits; finding such a header costs real work. That work is what makes the header expensive to fake.
- block hash · display
- target from bits
- proof of work
- stated block
Compare the leading zeros: the hash is read as a big-endian number in display order.