Skip to main content

build_index

Function build_index 

Source
pub fn build_index<P>(
    provider: &P,
    hash_collector: &mut Collector<BlockHash, BlockNumber>,
) -> Result<()>
where P: DBProvider<Tx: DbTxMut>,
Expand description

Dumps the contents of hash_collector into tables::HeaderNumbers.