EngineValidatorAddOn

Trait EngineValidatorAddOn 

Source
pub trait EngineValidatorAddOn<Node>: Send
where Node: FullNodeComponents,
{ type ValidatorBuilder: EngineValidatorBuilder<Node>; // Required method fn engine_validator_builder(&self) -> Self::ValidatorBuilder; }
Expand description

Helper trait that provides the validator builder for the engine API

Required Associated Types§

Source

type ValidatorBuilder: EngineValidatorBuilder<Node>

The validator builder type to use.

Required Methods§

Source

fn engine_validator_builder(&self) -> Self::ValidatorBuilder

Returns the validator builder.

Implementations on Foreign Types§

§

impl<N, EthB, PVB, EB, EVB, RpcMiddleware> EngineValidatorAddOn<N> for EthereumAddOns<N, EthB, PVB, EB, EVB, RpcMiddleware>
where N: FullNodeComponents, <N as FullNodeTypes>::Types: NodeTypes<Primitives = EthPrimitives>, <<N as FullNodeTypes>::Types as NodeTypes>::ChainSpec: EthChainSpec + EthereumHardforks, <<N as FullNodeTypes>::Types as NodeTypes>::Payload: EngineTypes<ExecutionData = ExecutionData>, <N as FullNodeComponents>::Evm: ConfigureEvm<NextBlockEnvCtx = NextBlockEnvAttributes>, EthB: EthApiBuilder<N>, PVB: Send, EB: EngineApiBuilder<N>, EVB: EngineValidatorBuilder<N>, EthApiError: FromEvmError<<N as FullNodeComponents>::Evm>, <<<N as FullNodeComponents>::Evm as ConfigureEvm>::BlockExecutorFactory as BlockExecutorFactory>::EvmFactory: EvmFactory<Tx = TxEnv>, RpcMiddleware: Send,

§

type ValidatorBuilder = EVB

§

fn engine_validator_builder( &self, ) -> <EthereumAddOns<N, EthB, PVB, EB, EVB, RpcMiddleware> as EngineValidatorAddOn<N>>::ValidatorBuilder

Implementors§

Source§

impl<N, EthB, PVB, EB, EVB, RpcMiddleware> EngineValidatorAddOn<N> for RpcAddOns<N, EthB, PVB, EB, EVB, RpcMiddleware>
where N: FullNodeComponents, EthB: EthApiBuilder<N>, PVB: Send, EB: EngineApiBuilder<N>, EVB: EngineValidatorBuilder<N>, RpcMiddleware: Send,