From df9568c686e84efcd91e1557ee4e080395370bc2 Mon Sep 17 00:00:00 2001 From: Chi Kei Chan Date: Tue, 3 Nov 2020 22:49:42 -0800 Subject: [PATCH] Add seeds --- config/default.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/config/default.go b/config/default.go index 2a6a072..bf1c761 100644 --- a/config/default.go +++ b/config/default.go @@ -21,7 +21,10 @@ var DefaultConfig = Config{ P2P: P2PConfig{ Host: "0.0.0.0", DNSSeeds: []string{}, - FixedSeeds: []string{}, + FixedSeeds: []string{ + "3b755ceafc5811f0a50e102c96169b062ad1295edea0adf675e8647963acf89e@64.225.89.142", + "e3c8cfea75ff146db0b93c51cf8967242c43170dac702aec268ed566f4aa6f4b@45.55.99.2", + }, MaxInboundPeers: 117, MaxOutboundPeers: 8, ConnectionTimeoutMS: 5000, @@ -143,7 +146,7 @@ log_level = "{{.LogLevel}}" # default of 8 was chosen to match Bitcoin. max_outbound_peers = {{.P2P.MaxOutboundPeers}} # Sets a list of fixed seed peers. Items should be formatted as @. - seed_peers = [] + seed_peers = ["{{index .P2P.FixedSeeds 0}}", "{{index .P2P.FixedSeeds 1}}"] # Configures the behavior of this node's RPC server. [rpc]