Merkle Trees

Structure

Merkle trees are cryptographic data structures where each non-leaf node contains the hash of its child nodes, ultimately leading to a single root hash. This structure efficiently summarizes a large dataset, such as all transactions within a block or all open positions in a derivatives protocol. The Merkle root acts as a unique identifier for the entire dataset.