Module commit_verify::merkle[][src]

Expand description

Merklization procedures for client-side-validation according to LNPBP-81 standard.

Structs

MerkleNode

A hash type for LNPBP-81 Merkle tree leaves, branches and root

MerkleSource

The source data for the LNPBP-81 merklization process.

Traits

ConsensusMerkleCommit

Marker trait for types that require merklization of the underlying data during ConsensusCommit procedure. Allows specifying custom tag for the tagged hash used in the merklization (see merklize).

ToMerkleSource

Converts given piece of client-side-validated data into a structure which can be used in merklization process.

Functions

merklize

Merklization procedure that uses tagged hashes with depth commitments according to LNPBP-81 standard of client-side-validation merklization