Trait reth_node_types::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> NodeTypesWithEngine for AnyNodeTypesWithEngine<P, E, C>
where P: NodePrimitives + Send + Sync + Unpin + 'static, E: EngineTypes + Send + Sync + Unpin, C: EthChainSpec,

source§

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