Module commit

Source
Expand description

Create and compare commits in an underlying merkle tree.

Structs§

CommitHash
Hash representation that provides a hexadecimal display.
CommitProof
Represents a root hash and a proof of certain nodes.
CommitState
Commit state combines the last commit hash with a commit proof.
CommitTree
Encapsulates a Merkle tree and provides functions for generating and comparing proofs.

Enums§

Comparison
The result of comparing two commit trees.

Constants§

ZERO
Commit hash of zeroes.

Type Aliases§

TreeHash
Type for an Sha256 commit tree hash.