Trait reth_node_builder::NodeTypes

pub trait NodeTypes: Send + Sync + 'static {
    type Primitives: NodePrimitives;
    type Engine: EngineTypes;
}
Expand description

The type that configures the essential types of an ethereum like node.

This includes the primitive types of a node, the engine API types for communication with the consensus layer.

This trait is intended to be stateless and only define the types of the node.

Required Associated Types§

type Primitives: NodePrimitives

The node’s primitive types, defining basic operations and structures.

type Engine: EngineTypes

The node’s engine types, defining the interaction with the consensus engine.

Implementations on Foreign Types§

§

impl<Node> NodeTypes for ExExContext<Node>
where Node: FullNodeComponents,

§

type Primitives = <Node as NodeTypes>::Primitives

§

type Engine = <Node as NodeTypes>::Engine

Implementors§

source§

impl<T: FullNodeTypes, C: NodeComponents<T>> NodeTypes for NodeAdapter<T, C>

§

impl<Types, DB, Provider> NodeTypes for FullNodeTypesAdapter<Types, DB, Provider>
where Types: NodeTypes, DB: Send + Sync + 'static, Provider: Send + Sync + 'static,

§

type Primitives = <Types as NodeTypes>::Primitives

§

type Engine = <Types as NodeTypes>::Engine