Crate zebra_chain

Source
Expand description

Core Zcash data structures.

This crate provides definitions of core data structures for Zcash, such as blocks, transactions, addresses, etc.

Re-exports§

pub use error::Error;

Modules§

amount
Strongly-typed zatoshi amounts that prevent under/overflows.
block
Blocks and block-related structures (heights, headers, etc.)
chain_sync_status
Defines method signatures for checking if the synchronizer is likely close to the network chain tip.
chain_tip
Zebra interfaces for access to chain tip information.
common
Common functions used in Zebra.
diagnostic
Diagnostic types and functions for Zebra:
error
Errors that can occur inside any zebra-chain submodule.
fmt
Format wrappers for Zebra
history_tree
History tree (Merkle mountain range) structure that contains information about the block history as specified in ZIP-221.
orchard
Orchard-related functionality.
parallel
Parallel chain update methods.
parameters
Consensus parameters for each Zcash network.
primitives
External primitives used in Zcash structures.
sapling
Sapling-related functionality.
serialization
Consensus-critical serialization.
shutdown
Shutdown related code.
sprout
Sprout-related functionality.
subtree
Struct representing Sapling/Orchard note commitment subtrees
transaction
Transactions and transaction-related structures.
transparent
Transparent-related (Bitcoin-inherited) functionality.
value_balance
Balances in chain value pools and transaction value pools.
work
Proof-of-work implementation.

Type Aliases§

BoxError
Error type alias to make working with generic errors easier.