reth_db_common::init

Function insert_genesis_history

Source
pub fn insert_genesis_history<'a, 'b, Provider>(
    provider: &Provider,
    alloc: impl Iterator<Item = (&'a Address, &'b GenesisAccount)> + Clone,
) -> ProviderResult<()>
where Provider: DBProvider<Tx: DbTxMut> + HistoryWriter,
Expand description

Inserts history indices for genesis accounts and storage.