From 7495cbd1c8b9b8175f0c8a29dfbab45044265f3a Mon Sep 17 00:00:00 2001 From: Brooks Prumo Date: Thu, 4 Nov 2021 11:54:25 -0500 Subject: [PATCH] Remove --no-incremental-snapshot-fetch CLI arg (#21172) Now that bootstrap with incremental snapshots enabled has a fallback mechanism in place, this no-incremental-snapshot-fetch flag is no longer required. Fixes #21127 --- validator/src/main.rs | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/validator/src/main.rs b/validator/src/main.rs index 7dbaa332bd..e27c58dfc3 100644 --- a/validator/src/main.rs +++ b/validator/src/main.rs @@ -608,13 +608,6 @@ pub fn main() { .help("Do not attempt to fetch a snapshot from the cluster, \ start from a local snapshot if present"), ) - .arg( - Arg::with_name("no_incremental_snapshot_fetch") - .long("no-incremental-snapshot-fetch") - .takes_value(false) - .help("Do not attempt to fetch incremental snapshots from the cluster, only fetch \ - full snapshots"), - ) .arg( Arg::with_name("no_genesis_fetch") .long("no-genesis-fetch") @@ -1931,8 +1924,7 @@ pub fn main() { "max_genesis_archive_unpacked_size", u64 ), - incremental_snapshot_fetch: matches.is_present("incremental_snapshots") - && !matches.is_present("no_incremental_snapshot_fetch"), + incremental_snapshot_fetch: matches.is_present("incremental_snapshots"), }; let private_rpc = matches.is_present("private_rpc");