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

@@ -1122,8 +1122,6 @@ pub fn set_network_config(
config.target_peers = target_peers_str
.parse::<usize>()
.map_err(|_| format!("Invalid number of target peers: {}", target_peers_str))?;
} else {
config.target_peers = 80; // default value
}
if let Some(value) = cli_args.value_of("network-load") {