From a9e32c10e1a870cb151a93760727f92fe49dc99d Mon Sep 17 00:00:00 2001 From: marcello33 Date: Sat, 7 Oct 2023 08:33:58 +0200 Subject: [PATCH] dev: add: recommended peer settings for mainnet nodes --- packaging/templates/mainnet-v1/archive/config.toml | 2 +- .../templates/mainnet-v1/sentry/sentry/bor/config.toml | 2 +- .../templates/mainnet-v1/sentry/validator/bor/config.toml | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packaging/templates/mainnet-v1/archive/config.toml b/packaging/templates/mainnet-v1/archive/config.toml index 8522ca0304..ab16db7194 100644 --- a/packaging/templates/mainnet-v1/archive/config.toml +++ b/packaging/templates/mainnet-v1/archive/config.toml @@ -35,7 +35,7 @@ gcmode = "archive" # txarrivalwait = "500ms" # [p2p.discovery] # v5disc = false - # bootnodes = [] + # bootnodes = ["enode://76316d1cb93c8ed407d3332d595233401250d48f8fbb1d9c65bd18c0495eca1b43ec38ee0ea1c257c0abb7d1f25d649d359cdfe5a805842159cfe36c5f66b7e8@52.78.36.216:30303", "enode://b8f1cc9c5d4403703fbf377116469667d2b1823c0daf16b7250aa576bacf399e42c3930ccfcb02c5df6879565a2b8931335565f0e8d3f8e72385ecf4a4bf160a@3.36.224.80:30303", "enode://8729e0c825f3d9cad382555f3e46dcff21af323e89025a0e6312df541f4a9e73abfa562d64906f5e59c51fe6f0501b3e61b07979606c56329c020ed739910759@54.194.245.5:30303", "enode://681ebac58d8dd2d8a6eef15329dfbad0ab960561524cf2dfde40ad646736fe5c244020f20b87e7c1520820bc625cfb487dd71d63a3a3bf0baea2dbb8ec7c79f1@34.240.245.39:30303"] # bootnodesv4 = [] # bootnodesv5 = [] # static-nodes = [] diff --git a/packaging/templates/mainnet-v1/sentry/sentry/bor/config.toml b/packaging/templates/mainnet-v1/sentry/sentry/bor/config.toml index 411c16f529..d2bc5bd988 100644 --- a/packaging/templates/mainnet-v1/sentry/sentry/bor/config.toml +++ b/packaging/templates/mainnet-v1/sentry/sentry/bor/config.toml @@ -39,7 +39,7 @@ syncmode = "full" # bootnodesv4 = [] # bootnodesv5 = [] # static-nodes = [] - # trusted-nodes = [] + # trusted-nodes = [":"] # Recommended setting with sentry <> validator architecture # dns = [] # [heimdall] diff --git a/packaging/templates/mainnet-v1/sentry/validator/bor/config.toml b/packaging/templates/mainnet-v1/sentry/validator/bor/config.toml index 7798cccd1a..fb3713764d 100644 --- a/packaging/templates/mainnet-v1/sentry/validator/bor/config.toml +++ b/packaging/templates/mainnet-v1/sentry/validator/bor/config.toml @@ -25,7 +25,7 @@ syncmode = "full" # debug = true [p2p] - maxpeers = 1 + maxpeers = 20 port = 30303 nodiscover = true # maxpendpeers = 50 @@ -37,10 +37,10 @@ syncmode = "full" # txarrivalwait = "500ms" # [p2p.discovery] # v5disc = false - # bootnodes = [] + # bootnodes = ["enode://76316d1cb93c8ed407d3332d595233401250d48f8fbb1d9c65bd18c0495eca1b43ec38ee0ea1c257c0abb7d1f25d649d359cdfe5a805842159cfe36c5f66b7e8@52.78.36.216:30303", "enode://b8f1cc9c5d4403703fbf377116469667d2b1823c0daf16b7250aa576bacf399e42c3930ccfcb02c5df6879565a2b8931335565f0e8d3f8e72385ecf4a4bf160a@3.36.224.80:30303", "enode://8729e0c825f3d9cad382555f3e46dcff21af323e89025a0e6312df541f4a9e73abfa562d64906f5e59c51fe6f0501b3e61b07979606c56329c020ed739910759@54.194.245.5:30303", "enode://681ebac58d8dd2d8a6eef15329dfbad0ab960561524cf2dfde40ad646736fe5c244020f20b87e7c1520820bc625cfb487dd71d63a3a3bf0baea2dbb8ec7c79f1@34.240.245.39:30303"] # bootnodesv4 = [] # bootnodesv5 = [] - # static-nodes = [] + # static-nodes = [":"] # Recommended setting with sentry <> validator architecture # trusted-nodes = [] # dns = []