Skip to main content

Module merkle

Module merkle 

Source
Expand description

Merkle tree for whole-index integrity verification.

Leaf = SHA-256(block_data). Parent = SHA-256(left || right). Odd leaf count → last leaf is promoted (hashed with itself).

Structs§

MerkleTree