Trait reth::builder::FullNodeTypes
source · pub trait FullNodeTypes: NodeTypes + 'static {
type DB: Database + DatabaseMetrics + DatabaseMetadata + Clone + Unpin + 'static;
type Provider: FullProvider<Self::DB>;
}
Expand description
A helper trait that is downstream of the NodeTypes
trait and adds stateful components to the
node.
Its types are configured by node internally and are not intended to be user configurable.
Required Associated Types§
sourcetype DB: Database + DatabaseMetrics + DatabaseMetadata + Clone + Unpin + 'static
type DB: Database + DatabaseMetrics + DatabaseMetadata + Clone + Unpin + 'static
Underlying database type used by the node to store and retrieve data.
sourcetype Provider: FullProvider<Self::DB>
type Provider: FullProvider<Self::DB>
The provider type used to interact with the node.
Object Safety§
This trait is not object safe.