Skip to main content

root

Function root 

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

Tree root from leaves (key, leaf hash). An empty tree is zeros.