Function solana_genesis_utils::download_then_check_genesis_hash[][src]

pub fn download_then_check_genesis_hash(
    rpc_addr: &SocketAddr,
    ledger_path: &Path,
    expected_genesis_hash: Option<Hash>,
    max_genesis_archive_unpacked_size: u64,
    no_genesis_fetch: bool,
    use_progress_bar: bool
) -> Result<GenesisConfig, String>