penumbra_sdk_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§

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

Enums§

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

Traits§

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

Type Aliases§

AuthPath
An authentication path into a Tree.