Improve network parameters (#5177)

* Modify network parameters for current mainnet conditions
This commit is contained in:
Age Manning
2024-02-08 02:40:47 +00:00
committed by GitHub
parent 675a231b45
commit 4db84de563
4 changed files with 3 additions and 5 deletions

View File

@@ -51,7 +51,7 @@ mod gossip_cache;
pub mod gossipsub_scoring_parameters;
pub mod utils;
/// The number of peers we target per subnet for discovery queries.
pub const TARGET_SUBNET_PEERS: usize = 6;
pub const TARGET_SUBNET_PEERS: usize = 3;
const MAX_IDENTIFY_ADDRESSES: usize = 10;