Skip to content
This repository was archived by the owner on Aug 12, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions crates/storb_validator/src/constants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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;