reth_db_common::init

Function insert_history

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

Inserts history indices for genesis accounts and storage.