pub fn generate_manifest(
source_datadir: &Path,
output_dir: &Path,
base_url: Option<&str>,
block: u64,
chain_id: u64,
blocks_per_file: u64,
) -> Result<SnapshotManifest>Expand description
Package chunk archives from a source datadir and generate a manifest.
block selects chunks whose nominal ranges start at or before the snapshot height. Each
selected file is archived in full; component block counts come from its actual stored ranges.