validator: remove disused cuda config argument
This commit is contained in:
parent
8ed0cd0fff
commit
71f6d839f9
|
@ -123,7 +123,6 @@ pub struct ValidatorConfig {
|
|||
pub max_genesis_archive_unpacked_size: u64,
|
||||
pub wal_recovery_mode: Option<BlockstoreRecoveryMode>,
|
||||
pub poh_verify: bool, // Perform PoH verification during blockstore processing at boo
|
||||
pub cuda: bool,
|
||||
pub require_tower: bool,
|
||||
pub tower_path: Option<PathBuf>,
|
||||
pub debug_keys: Option<Arc<HashSet<Pubkey>>>,
|
||||
|
@ -180,7 +179,6 @@ impl Default for ValidatorConfig {
|
|||
max_genesis_archive_unpacked_size: MAX_GENESIS_ARCHIVE_UNPACKED_SIZE,
|
||||
wal_recovery_mode: None,
|
||||
poh_verify: true,
|
||||
cuda: false,
|
||||
require_tower: false,
|
||||
tower_path: None,
|
||||
debug_keys: None,
|
||||
|
|
|
@ -36,7 +36,6 @@ pub fn safe_clone_config(config: &ValidatorConfig) -> ValidatorConfig {
|
|||
max_genesis_archive_unpacked_size: config.max_genesis_archive_unpacked_size,
|
||||
wal_recovery_mode: config.wal_recovery_mode.clone(),
|
||||
poh_verify: config.poh_verify,
|
||||
cuda: config.cuda,
|
||||
require_tower: config.require_tower,
|
||||
tower_path: config.tower_path.clone(),
|
||||
debug_keys: config.debug_keys.clone(),
|
||||
|
|
|
@ -2286,7 +2286,6 @@ pub fn main() {
|
|||
.ok()
|
||||
.or_else(|| Some(ledger_path.clone())),
|
||||
dev_halt_at_slot: value_t!(matches, "dev_halt_at_slot", Slot).ok(),
|
||||
cuda,
|
||||
expected_genesis_hash: matches
|
||||
.value_of("expected_genesis_hash")
|
||||
.map(|s| Hash::from_str(s).unwrap()),
|
||||
|
|
Loading…
Reference in New Issue