Level 3 · Advanced
Merkle tree and inclusion proof
Build a Merkle tree and check an inclusion proof, the way light wallets confirm a payment is in a block. A free Bitcoin lab.
In short
A Merkle tree hashes a block's transactions in pairs until one hash remains, the Merkle root, which is stored in the block header. A short proof of a few hashes shows that a transaction is in a block without downloading the whole block.
The header commits to every transaction through one 32-byte Merkle root. Click a transaction: to prove it's in the block you need only the dashed sibling hashes, log₂(n) of them.
ProofClick tx A, B, C or D.
Learn Bitcoin with real people.
Find meetups and Bitcoiners in your city, and ask the questions you'd never post online. Free to download on iPhone and Android.