From 0906b8996c55d7022f694d883486357f3e913067 Mon Sep 17 00:00:00 2001 From: blake <572337+bartenbach@users.noreply.github.com> Date: Fri, 22 Mar 2024 00:11:36 -0500 Subject: [PATCH] Health check slot distance (#335) Changed validator health check slot distance to 128 to be consistent --- CHANGELOG.md | 1 + validator/src/cli.rs | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c2898a3aab0d3c..09d411471323d7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,7 @@ Release channels have their own copy of this changelog: * Changes * `central-scheduler` as default option for `--block-production-method` (#34891) * `solana-rpc-client-api`: `RpcFilterError` depends on `base64` version 0.22, so users may need to upgrade to `base64` version 0.22 + * Changed default value for `--health-check-slot-distance` from 150 to 128 ## [1.18.0] * Changes diff --git a/validator/src/cli.rs b/validator/src/cli.rs index 8cae6667f87a34..9d041877e3054a 100644 --- a/validator/src/cli.rs +++ b/validator/src/cli.rs @@ -28,7 +28,7 @@ use { solana_net_utils::{MINIMUM_VALIDATOR_PORT_RANGE_WIDTH, VALIDATOR_PORT_RANGE}, solana_rayon_threadlimit::get_thread_count, solana_rpc::{rpc::MAX_REQUEST_BODY_SIZE, rpc_pubsub_service::PubSubConfig}, - solana_rpc_client_api::request::MAX_MULTIPLE_ACCOUNTS, + solana_rpc_client_api::request::{DELINQUENT_VALIDATOR_SLOT_DISTANCE, MAX_MULTIPLE_ACCOUNTS}, solana_runtime::{ snapshot_bank_utils::{ DEFAULT_FULL_SNAPSHOT_ARCHIVE_INTERVAL_SLOTS, @@ -2216,7 +2216,7 @@ impl DefaultArgs { maximum_local_snapshot_age: "2500".to_string(), genesis_archive_unpacked_size: MAX_GENESIS_ARCHIVE_UNPACKED_SIZE.to_string(), rpc_max_multiple_accounts: MAX_MULTIPLE_ACCOUNTS.to_string(), - health_check_slot_distance: "150".to_string(), + health_check_slot_distance: DELINQUENT_VALIDATOR_SLOT_DISTANCE.to_string(), tower_storage: "file".to_string(), etcd_domain_name: "localhost".to_string(), rpc_pubsub_max_active_subscriptions: PubSubConfig::default()