export

Function export 

Source
pub fn export<P>(provider: &P, config: &ExportConfig) -> Result<Vec<PathBuf>>
where P: BlockReader,
Expand description

Export history from storage-api between 2 blocks with parameters defined in ExportConfig. Fetches block history data from the provider and prepares it for export to era1 files for a given number of blocks then writes them to disk.