leaf Index
Method to return the index of the input leaf in the partial Merkle tree structure.
Return
leaf-index of this component (starting from zero).
Parameters
leaf
the component hash to check.
Throws
if the provided hash is not in the tree.