Function proveMerkle

  • Proves a merkle hash.

    Parameters

    • leafHash: Hash256

      Leaf hash to prove.

    • merklePath: MerklePart[]

      Merkle hash chain path from leaf to root.

    • rootHash: Hash256

      Root hash of the merkle tree.

    Returns boolean

    \c true if leaf hash is connected to root hash; false otherwise.