update default config (#52)

This commit is contained in:
0g-peterzhb 2024-04-15 10:50:13 +08:00 committed by GitHub
parent f5a71375be
commit 6b9ee41457
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 2 deletions

View File

@ -14,7 +14,7 @@ build_config! {
(network_enr_udp_port, (Option<u16>), None) (network_enr_udp_port, (Option<u16>), None)
(network_libp2p_port, (u16), 1234) (network_libp2p_port, (u16), 1234)
(network_discovery_port, (u16), 1234) (network_discovery_port, (u16), 1234)
(network_target_peers, (usize), 3) (network_target_peers, (usize), 50)
(network_boot_nodes, (Vec<String>), vec![]) (network_boot_nodes, (Vec<String>), vec![])
(network_libp2p_nodes, (Vec<String>), vec![]) (network_libp2p_nodes, (Vec<String>), vec![])
(network_private, (bool), false) (network_private, (bool), false)

View File

@ -5,7 +5,6 @@ network_listen_address = "0.0.0.0"
# network_enr_udp_port = 1234 # network_enr_udp_port = 1234
network_libp2p_port = 1234 network_libp2p_port = 1234
network_discovery_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_boot_nodes = ["/ip4/54.219.26.22/udp/1234/p2p/16Uiu2HAmPxGNWu9eVAQPJww79J32pTJLKGcpjRMb4Qb8xxKkyuG1","/ip4/52.52.127.117/udp/1234/p2p/16Uiu2HAm93Hd5azfhkGBbkx1zero3nYHvfjQYM2NtiW4R3r5bE2g"]
network_libp2p_nodes = [] network_libp2p_nodes = []
network_private = false network_private = false