Skip to main content

root

Function root 

Source
pub fn root(leaves: &[Hash]) -> Hash
Expand description

The Merkle root over leaves, in order.

An empty log hashes to SHA-256(""), which is RFC 6962’s rule and is a value rather than an absence — an empty log can be signed, and a signed empty head is how a verifier learns the log exists and holds nothing.