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