mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-03 00:31:50 +00:00
Improve network parameters (#5177)
* Modify network parameters for current mainnet conditions
This commit is contained in:
@@ -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") {
|
||||
|
||||
Reference in New Issue
Block a user