Add retry mechanism when downloading genesis and snapshots

This commit is contained in:
Michael Vines
2020-02-25 10:41:13 -07:00
parent 2c63cf3cbd
commit fbf78b83c4
6 changed files with 169 additions and 121 deletions

View File

@ -55,7 +55,6 @@ mod tests {
snapshot_interval_slots,
snapshot_package_output_path: PathBuf::from(snapshot_output_path.path()),
snapshot_path: PathBuf::from(snapshot_dir.path()),
trusted_validators: None,
};
bank_forks.set_snapshot_config(Some(snapshot_config.clone()));
SnapshotTestConfig {