Module hash

Source
Expand description

Hashing utils to support merkle tree operations

Functionsยง

fill_in_proof
Fills in proof to the height of the concurrent merkle tree. Missing nodes are inferred as empty node hashes.
hash_to_parent
Computes the parent node of node and sibling and copies the result into node
recompute
Recomputes root of the Merkle tree from Node & proof