From 6b9ee41457950a548503f34cb2ce44fc5135cac3 Mon Sep 17 00:00:00 2001 From: 0g-peterzhb <158457852+0g-peterzhb@users.noreply.github.com> Date: Mon, 15 Apr 2024 10:50:13 +0800 Subject: [PATCH] update default config (#52) --- node/src/config/mod.rs | 2 +- run/config.toml | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/node/src/config/mod.rs b/node/src/config/mod.rs index 6400294..968536b 100644 --- a/node/src/config/mod.rs +++ b/node/src/config/mod.rs @@ -14,7 +14,7 @@ build_config! { (network_enr_udp_port, (Option), None) (network_libp2p_port, (u16), 1234) (network_discovery_port, (u16), 1234) - (network_target_peers, (usize), 3) + (network_target_peers, (usize), 50) (network_boot_nodes, (Vec), vec![]) (network_libp2p_nodes, (Vec), vec![]) (network_private, (bool), false) diff --git a/run/config.toml b/run/config.toml index 0a0ad56..4192331 100644 --- a/run/config.toml +++ b/run/config.toml @@ -5,7 +5,6 @@ network_listen_address = "0.0.0.0" # network_enr_udp_port = 1234 network_libp2p_port = 1234 network_discovery_port = 1234 -network_target_peers = 3 network_boot_nodes = ["/ip4/54.219.26.22/udp/1234/p2p/16Uiu2HAmPxGNWu9eVAQPJww79J32pTJLKGcpjRMb4Qb8xxKkyuG1","/ip4/52.52.127.117/udp/1234/p2p/16Uiu2HAm93Hd5azfhkGBbkx1zero3nYHvfjQYM2NtiW4R3r5bE2g"] network_libp2p_nodes = [] network_private = false