Trait reth_node_types::NodeTypes

source ·
pub trait NodeTypes:
    Send
    + Sync
    + Unpin
    + 'static {
    type Primitives: NodePrimitives;
    type ChainSpec: EthChainSpec;
}
Expand description

The type that configures the essential types of an Ethereum-like node.

This includes the primitive types of a node and chain specification.

This trait is intended to be stateless and only define the types of the node.

Required Associated Types§

source

type Primitives: NodePrimitives

The node’s primitive types, defining basic operations and structures.

source

type ChainSpec: EthChainSpec

The type used for configuration of the EVM.

Implementors§

source§

impl<P, C> NodeTypes for AnyNodeTypes<P, C>
where P: NodePrimitives + Send + Sync + Unpin + 'static, C: EthChainSpec,

source§

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

source§

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