reth::builder::node

Trait NodeTypesWithEngine

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§

type Engine: EngineTypes

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

Implementations on Foreign Types§

Source§

impl NodeTypesWithEngine for EthereumNode

Source§

type Engine = EthEngineTypes

Implementors§

Source§

impl<N, C, AO> NodeTypesWithEngine for AnyNode<N, C, AO>
where N: FullNodeTypes, C: Send + Sync + Unpin + 'static, AO: Send + Sync + Unpin + Clone + 'static,

§

impl<P, E, C, SC, S> NodeTypesWithEngine for AnyNodeTypesWithEngine<P, E, C, SC, S>
where P: NodePrimitives + Send + Sync + Unpin + 'static, E: EngineTypes + Send + Sync + Unpin, C: EthChainSpec<Header = <P as NodePrimitives>::BlockHeader> + 'static, SC: StateCommitment, S: Default + Send + Sync + Unpin + Debug + 'static,

§

type Engine = E

§

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