diff --git a/beacon_node/lighthouse_network/src/config.rs b/beacon_node/lighthouse_network/src/config.rs index aee53a469c..a0ee97975a 100644 --- a/beacon_node/lighthouse_network/src/config.rs +++ b/beacon_node/lighthouse_network/src/config.rs @@ -341,7 +341,7 @@ impl Default for Config { enr_udp6_port: None, enr_quic6_port: None, enr_tcp6_port: None, - target_peers: 100, + target_peers: 200, discv5_config, boot_nodes_enr: vec![], boot_nodes_multiaddr: vec![], @@ -352,7 +352,7 @@ impl Default for Config { disable_discovery: false, disable_quic_support: false, upnp_enabled: true, - network_load: 4, + network_load: 3, private: false, subscribe_all_data_column_subnets: false, subscribe_all_subnets: false, @@ -421,8 +421,8 @@ impl From for NetworkLoad { mesh_n_low: 4, outbound_min: 3, mesh_n: 8, - mesh_n_high: 12, - gossip_lazy: 3, + mesh_n_high: 10, + gossip_lazy: 2, history_gossip: 3, heartbeat_interval: Duration::from_millis(1000), }, diff --git a/beacon_node/src/cli.rs b/beacon_node/src/cli.rs index 924ff079d6..386eb721a0 100644 --- a/beacon_node/src/cli.rs +++ b/beacon_node/src/cli.rs @@ -236,7 +236,6 @@ pub fn cli_app() -> Command { .long("network-load") .value_name("INTEGER") .help("Lighthouse's network can be tuned for bandwidth/performance. Setting this to a high value, will increase the bandwidth lighthouse uses, increasing the likelihood of redundant information in exchange for faster communication. This can increase profit of validators marginally by receiving messages faster on the network. Lower values decrease bandwidth usage, but makes communication slower which can lead to validator performance reduction. Values are in the range [1,5].") - .default_value("3") .hide(true) .action(ArgAction::Set) .display_order(0) diff --git a/beacon_node/src/config.rs b/beacon_node/src/config.rs index 64c71c83c3..7e4b77e9aa 100644 --- a/beacon_node/src/config.rs +++ b/beacon_node/src/config.rs @@ -1467,10 +1467,6 @@ pub fn set_network_config( if parse_flag(cli_args, "proposer-only") { config.subscribe_all_subnets = false; - if cli_args.get_one::("target-peers").is_none() { - // If a custom value is not set, change the default to 15 - config.target_peers = 15; - } config.proposer_only = true; warn!( info = "Proposer-only mode enabled",