Crate zcash_history

Source
Expand description

Chain history library for Zcash

To be used in zebra and via FFI bindings in zcashd

Structs§

Entry
MMR Entry.
NodeData
V1 node metadata.
Tree
Represents partially loaded tree.

Enums§

EntryKind
MMR Node. It is leaf when left, right are None and node when they are not.
EntryLink
Reference to the tree node.
Error
Crate-level error type
V1
Version 1 of the Zcash chain history tree.
V2
Version 2 of the Zcash chain history tree.

Constants§

MAX_ENTRY_SIZE
Max serialized length of entry data.
MAX_NODE_DATA_SIZE
Maximum serialized size of the node metadata.

Traits§

Version
A version of the chain history tree.