From 8cbf42b0797117ecb9451d951350849e82c1255d Mon Sep 17 00:00:00 2001 From: shr1ftyy Date: Tue, 1 Jul 2025 12:03:19 +0000 Subject: [PATCH] refactor: adjust scoring params we will also increase the subnet's immunity period from 5000 -> 7200 blocks --- crates/storb_validator/src/constants.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/storb_validator/src/constants.rs b/crates/storb_validator/src/constants.rs index 3e637cb..8e3db53 100644 --- a/crates/storb_validator/src/constants.rs +++ b/crates/storb_validator/src/constants.rs @@ -21,7 +21,7 @@ pub const SYNTH_CHALLENGE_TIMEOUT: f64 = 1.0; // TODO: modify this pub const SYNTH_CHALLENGE_WAIT_BEFORE_RETRIEVE: f64 = 3.0; pub const MIN_SYNTH_CHUNK_SIZE: usize = 1024 * 10 * 10; // minimum size of synthetic data in bytes pub const MAX_SYNTH_CHUNK_SIZE: usize = 1024 * 10 * 10 * 10 * 10; // maximum size of synthetic data in bytes -pub const MAX_SYNTH_CHALLENGE_MINER_NUM: usize = 10; // maximum number of miners to challenge +pub const MAX_SYNTH_CHALLENGE_MINER_NUM: usize = 25; // maximum number of miners to challenge // constants for MetadataDB pub const DB_MAX_LIFETIME: u64 = 3600; // Close connections after 1 hour @@ -34,5 +34,5 @@ pub const INFO_API_RATE_LIMIT_MAX_REQUESTS: usize = 10; // Initial values for alpha and beta used in the scoring system // These were empirically derived to minimise reliable node churn -pub const INITIAL_ALPHA: f64 = 500.0; -pub const INITIAL_BETA: f64 = 1000.0; +pub const INITIAL_ALPHA: f64 = 10.0; +pub const INITIAL_BETA: f64 = 20.0;