validator: remove disused cuda config argument
This commit is contained in:
committed by
mergify[bot]
parent
8ed0cd0fff
commit
71f6d839f9
@ -123,7 +123,6 @@ pub struct ValidatorConfig {
|
|||||||
pub max_genesis_archive_unpacked_size: u64,
|
pub max_genesis_archive_unpacked_size: u64,
|
||||||
pub wal_recovery_mode: Option<BlockstoreRecoveryMode>,
|
pub wal_recovery_mode: Option<BlockstoreRecoveryMode>,
|
||||||
pub poh_verify: bool, // Perform PoH verification during blockstore processing at boo
|
pub poh_verify: bool, // Perform PoH verification during blockstore processing at boo
|
||||||
pub cuda: bool,
|
|
||||||
pub require_tower: bool,
|
pub require_tower: bool,
|
||||||
pub tower_path: Option<PathBuf>,
|
pub tower_path: Option<PathBuf>,
|
||||||
pub debug_keys: Option<Arc<HashSet<Pubkey>>>,
|
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,
|
max_genesis_archive_unpacked_size: MAX_GENESIS_ARCHIVE_UNPACKED_SIZE,
|
||||||
wal_recovery_mode: None,
|
wal_recovery_mode: None,
|
||||||
poh_verify: true,
|
poh_verify: true,
|
||||||
cuda: false,
|
|
||||||
require_tower: false,
|
require_tower: false,
|
||||||
tower_path: None,
|
tower_path: None,
|
||||||
debug_keys: 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,
|
max_genesis_archive_unpacked_size: config.max_genesis_archive_unpacked_size,
|
||||||
wal_recovery_mode: config.wal_recovery_mode.clone(),
|
wal_recovery_mode: config.wal_recovery_mode.clone(),
|
||||||
poh_verify: config.poh_verify,
|
poh_verify: config.poh_verify,
|
||||||
cuda: config.cuda,
|
|
||||||
require_tower: config.require_tower,
|
require_tower: config.require_tower,
|
||||||
tower_path: config.tower_path.clone(),
|
tower_path: config.tower_path.clone(),
|
||||||
debug_keys: config.debug_keys.clone(),
|
debug_keys: config.debug_keys.clone(),
|
||||||
|
@ -2286,7 +2286,6 @@ pub fn main() {
|
|||||||
.ok()
|
.ok()
|
||||||
.or_else(|| Some(ledger_path.clone())),
|
.or_else(|| Some(ledger_path.clone())),
|
||||||
dev_halt_at_slot: value_t!(matches, "dev_halt_at_slot", Slot).ok(),
|
dev_halt_at_slot: value_t!(matches, "dev_halt_at_slot", Slot).ok(),
|
||||||
cuda,
|
|
||||||
expected_genesis_hash: matches
|
expected_genesis_hash: matches
|
||||||
.value_of("expected_genesis_hash")
|
.value_of("expected_genesis_hash")
|
||||||
.map(|s| Hash::from_str(s).unwrap()),
|
.map(|s| Hash::from_str(s).unwrap()),
|
||||||
|
Reference in New Issue
Block a user