Trait NodeTypes
pub trait NodeTypes:
Send
+ Sync
+ Unpin
+ 'static {
type Primitives: NodePrimitives;
type ChainSpec: EthChainSpec;
type StateCommitment: StateCommitment;
}
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§
type Primitives: NodePrimitives
type Primitives: NodePrimitives
The node’s primitive types, defining basic operations and structures.
type ChainSpec: EthChainSpec
type ChainSpec: EthChainSpec
The type used for configuration of the EVM.
type StateCommitment: StateCommitment
type StateCommitment: StateCommitment
The type used to perform state commitment operations.