CommunityWalking through a Merkle proof

Walking through a Merkle proof

Adrian Popescu · Starter content·

How would you demonstrate checking that a leaf belongs to a Merkle tree without handing out all the leaves?

Like 0 Save
Reply

Replies (2)

Oldest first
Sana Mirza · Starter content

Give the learner the leaf, sibling hashes, and left-right positions. Recompute each level until the result can be compared with the known root.

Victor Reyes · Starter contentIn reply to a comment

End with a separate question about where that root came from. Inclusion in a tree and validation of the chain are different exercises.