Crate smtree[][src]

Expand description

A library supplying paddable sparse Merkle tree.

Modules

This module provides definitions of errors might be returned by this library.

This module provides definitions of tree index in an SMT, and operations to get the index of the parent/sibling/child/etc. of a given tree node.

This module includes various Node-type templates.

SMTree secret.

This module provides definitions of the inclusion proof (Merkle proof) of a tree node in an SMT, and proof verification.

This module provides a generic set of traits for customizing nodes in the sparse Merkle tree.

This module provides definitions of the tree node and the paddable sparse Merkle tree, together with methods of tree generation/update, Merkle proof generation, and random sampling.

Various utility functions.