Enums

Constants

Concatenated to leaf hash input as described by
“MTH({d(0)}) = SHA-256(0x00 || d(0))”

Concatenated to node hash input as described by

Functions

Returns the computed leaf hash of “MTH({d(0)}) = SHA-256(0x00 || d(0))”.

Returns the computed node hash of “MTH(D[n]) = SHA-256(0x01 || MTH(D[0:k]) || MTH(D[k:n]))”.

This function will compute and return a Merkle root given a leaf and corresponding proof.

This function will take a Merkle leaf and proof and return whether the corresponding root