reth_db_common::init

Function insert_genesis_header

Source
pub fn insert_genesis_header<Provider, Spec>(
    provider: &Provider,
    chain: &Spec,
) -> ProviderResult<()>
where Provider: StaticFileProviderFactory + DBProvider<Tx: DbTxMut>, Spec: EthChainSpec,
Expand description

Inserts header for the genesis state.