Trait NodeTypesWithEngine
pub trait NodeTypesWithEngine: NodeTypes {
type Engine: EngineTypes
where <Self::Engine as PayloadTypes>::BuiltPayload: BuiltPayload<Primitives = Self::Primitives>;
}
Available on crate feature
node-api
only.Expand description
The type that configures an Ethereum-like node with an engine for consensus.
Required Associated Types§
type Engine: EngineTypes
where
<Self::Engine as PayloadTypes>::BuiltPayload: BuiltPayload<Primitives = Self::Primitives>
type Engine: EngineTypes where <Self::Engine as PayloadTypes>::BuiltPayload: BuiltPayload<Primitives = Self::Primitives>
The node’s engine types, defining the interaction with the consensus engine.