Module zebra_chain::block

source ·
Expand description

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



  • Randomised property testing for Blocks.
  • commitment 🔒
    The Commitment enum, used for the corresponding block header field.
  • error 🔒
    Errors that can occur when checking Block consensus rules.
  • hash 🔒
  • header 🔒
    The block header.
  • height 🔒
    Block height.
  • The Bitcoin-inherited Merkle tree of transactions.
  • serialize 🔒
    Serialization and deserialization for Zcash blocks.
  • Tests for Zebra blocks


  • A Zcash block, containing a header and a list of transactions.
  • A block commitment to chain history and transaction auth.
  • The root hash of a Merkle Mountain Range chain history tree.
  • A header with a count of the number of transactions in its block. This structure is used in the Bitcoin network protocol.
  • A hash of a block, used to identify blocks and link blocks into a chain. ⛓️
  • A block header, containing metadata about a block.
  • The length of the chain back to the genesis block.
  • A serialized block.




Type Aliases§