reth_node_api

Trait NodeTypesWithEngine

Source
pub trait NodeTypesWithEngine: NodeTypes {
    type Engine: EngineTypes;
}
Expand description

The type that configures an Ethereum-like node with an engine for consensus.

Required Associated Types§

Source

type Engine: EngineTypes

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

Implementors§

Source§

impl<P, E, C, S> NodeTypesWithEngine for AnyNodeTypesWithEngine<P, E, C, S>
where P: NodePrimitives + Send + Sync + Unpin + 'static, E: EngineTypes + Send + Sync + Unpin, C: EthChainSpec + 'static, S: StateCommitment,

Source§

impl<Types, DB> NodeTypesWithEngine for NodeTypesWithDBAdapter<Types, DB>
where Types: NodeTypesWithEngine, DB: Send + Sync + Unpin + 'static,