Module light_concurrent_merkle_tree::hash
source · Functions§
- Returns the hash of the parent node based on the provided
node
(with itsnode_index
) andsibling
(with itssibling_index
). - Computes the root for the given
leaf
(with indexi
) andproof
. It doesn’t perform the validation of the providedproof
.