Skip to content
Snippets Groups Projects
Commit 033a0d01 authored by Aaro Altonen's avatar Aaro Altonen Committed by GitHub
Browse files

Adjust the ratio of the `in-peers`/`out-peers` (#13477)

Establish fewer outbound connections in an attempt to allow publicly
available nodes to accept more full nodes.

Maintain the overall number of connections node should establish.
parent b5e7fbfb
Branches
No related merge requests found
......@@ -82,11 +82,11 @@ pub struct NetworkParams {
pub allow_private_ip: bool,
/// Specify the number of outgoing connections we're trying to maintain.
#[arg(long, value_name = "COUNT", default_value_t = 15)]
#[arg(long, value_name = "COUNT", default_value_t = 8)]
pub out_peers: u32,
/// Maximum number of inbound full nodes peers.
#[arg(long, value_name = "COUNT", default_value_t = 25)]
#[arg(long, value_name = "COUNT", default_value_t = 32)]
pub in_peers: u32,
/// Maximum number of inbound light nodes peers.
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment