Module warg_transparency::log

source ·
Expand description

Immutable Log w/ Inclusion and Consistency Proofs

The main trait in this module is [VerifiableLog], which defines the API of a log where inclusion and consistency can be verified.

Implementations:

  • [InOrderLog] - The only implementation in this module is , which is a [VerifiableLog] whose contents are structured using binary in-order interval numbering as described in [Dat - Distributed Dataset Synchronization and Versioning][2].

Structs§

  • A point in the history of a log, represented by its length
  • A proof of the consistency between two points in the logs history.
  • A proof that a leaf is present for a root
  • The nodes visited when verifying the inclusion proof.
  • A collection of inclusion proof info
  • Represents a node in a tree by its index.
  • A collection of inclusion proof info
  • A log builder which maintains a stack of balanced roots
  • A verifiable log where the node hashes are stored contiguously in memory by index.

Enums§

Traits§