reth_db_common::init

Function insert_genesis_header

Source
pub fn insert_genesis_header<Provider, Spec>(
    provider: &Provider,
    chain: &Spec,
) -> ProviderResult<()>
where Provider: StaticFileProviderFactory<Primitives: NodePrimitives<BlockHeader: Compact>> + DBProvider<Tx: DbTxMut>, Spec: EthChainSpec<Header = <Provider::Primitives as NodePrimitives>::BlockHeader>,
Expand description

Inserts header for the genesis state.