[][src]Module zebra_chain::block

Blocks and block-related structures (heights, headers, etc.)

Modules

merkle

The Bitcoin-inherited Merkle tree of transactions.

Structs

Block

A Zcash block, containing a header and a list of transactions.

CountedHeader

A header with a count of the number of transactions in its block.

Hash

A hash of a block, used to identify blocks and link blocks into a chain. ⛓️

Header

A block header, containing metadata about a block.

Height

The height of a block is the length of the chain back to the genesis block.

Enums

BlockTimeError

TODO: Use this error as the source for zebra_consensus::error::BlockError::Time, and make BlockError::Time add additional context. See https://github.com/ZcashFoundation/zebra/issues/1021 for more details.

RootHash

Zcash blocks contain different kinds of root hashes, depending on the network upgrade.