pub async fn import_receipts_from_file<N, P, F>(
    provider_factory: ProviderFactory<N>,
    path: P,
    chunk_len: Option<u64>,
    filter: F,
) -> Result<()>
where N: NodeTypesWithDB<ChainSpec = ChainSpec>, P: AsRef<Path>, F: FnMut(u64, &mut Receipts) -> usize,
Available on crate feature optimism only.
Expand description

Imports receipts to static files from file in chunks. See import_receipts_from_reader.