Module proof

Module proof 

Source
Expand description

Defines the inclusion Proof structure, and functions for verifying them against a root digest.

Also provides lower-level functions for building verifiers against new or extended proof types. These lower level functions are kept outside of the Proof structure and not re-exported by the parent module.

Structs§

Proof
Contains the information necessary for proving the inclusion of an element, or some range of elements, in the MMR from its root digest.

Enums§

ReconstructionError
Errors that can occur when reconstructing a digest from a proof due to invalid input.