# Functions
CalcMerkleRoot merkle .
CalcMerkleRootCache merkle .
CalcMultiLayerMerkleInfo merkle hash hash .
Computation This implements a constant-space merkle root/path calculator, limited to 2^32 leaves.
Decode decodes the byte-reversed hexadecimal string encoding of a Hash to a destination.
GetHashFromTwoHash hash hash.
GetMerkleBranch txindex branch position 0 .
GetMerkleRoot 256 , n * step = hashes (hashes / n).
GetMerkleRootAndBranch merkle roothash tx index branch, :position 0 .
GetMerkleRootFromBranch branch roothash txhash proof .
NewHash returns a new Hash from a byte slice.
NewHashFromStr creates a Hash from a hash string.
# Variables
ErrHashStrSize error.
# Type aliases
Hash.