Module block

Expand description

Block abstraction.

Modules§

body
Block body abstraction.
error
Error types for the block module.
header
Block header data primitive.
serde_bincode_compatserde-bincode-compat
Bincode-compatible header type serde implementations.

Structs§

RecoveredBlock
A block with senders recovered from the block’s transactions.
SealedBlock
Sealed full block composed of the block’s header and body.

Traits§

Block
Abstraction of block data type.
FullBlock
Helper trait that unifies all behaviour required by block to support full node operations.
TestBlocktest-utils
An extension trait for Blocks that allows for mutable access to the block’s internals.

Type Aliases§

BlockTx
Helper trait to access BlockBody::Transaction given a Block.