penumbra_tct::internal

Module path

Source
Available on crate feature internal only.
Expand description

Authentication paths into the tree, generically for trees of any height.

An authentication path of a tree is a sequence of triples of hashes equal in length to the height of the tree.

The interpretation of an authentication path is dependent on an index into the tree, stored separately, which indicates the position of the leaf witnessed by the authentication path.

These are wrapped in more specific domain types by the exposed crate API to make it more comprehensible.

Structs§

  • The empty authentication path, for the zero-height tree.
  • The authentication path for a node, whose height is always at least 1.
  • When deserializing an authentication path, it was malformed.

Enums§

  • An enumeration of the different ways a path can go down a quadtree.

Traits§

  • Identifies the unique type representing an authentication path for the given height.

Type Aliases§

  • An authentication path into a Tree.