Crate reth_node_types

Source
Expand description

Standalone crate for Reth configuration traits and builder types.

Structs§

AnyNodeTypes
A NodeTypes type builder.
AnyNodeTypesWithEngine
A NodeTypesWithEngine type builder.
NodeTypesWithDBAdapter
An adapter type combining NodeTypes and db into NodeTypesWithDB.

Traits§

Block
Abstraction of block data type.
BlockBody
Abstraction for block’s body.
FullBlock
Helper trait that unifies all behaviour required by block to support full node operations.
FullNodePrimitives
Helper trait that sets trait bounds on NodePrimitives.
FullReceipt
Helper trait that unifies all behaviour required by receipt to support full node operations.
FullSignedTx
Helper trait that unifies all behaviour required by block to support full node operations.
NodePrimitives
Configures all the primitive types of the node.
NodeTypes
The type that configures the essential types of an Ethereum-like node.
NodeTypesWithDB
A helper trait that is downstream of the NodeTypesWithEngine trait and adds database to the node.
NodeTypesWithEngine
The type that configures an Ethereum-like node with an engine for consensus.

Type Aliases§

BlockTy
Helper adapter type for accessing NodePrimitives::Block on NodeTypes.
BodyTy
Helper adapter type for accessing NodePrimitives::BlockBody on NodeTypes.
HeaderTy
Helper adapter type for accessing NodePrimitives::BlockHeader on NodeTypes.
KeyHasherTy
Helper type for getting the Primitives associated type from a NodeTypes.
PrimitivesTy
Helper type for getting the Primitives associated type from a NodeTypes.
ReceiptTy
Helper adapter type for accessing NodePrimitives::Receipt on NodeTypes.
TxTy
Helper adapter type for accessing NodePrimitives::SignedTx on NodeTypes.