Skip to content

Commit

Permalink
Add seeds
Browse files Browse the repository at this point in the history
  • Loading branch information
chikeichan committed Nov 4, 2020
1 parent 040a962 commit df9568c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions config/default.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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 <peer-id>@<ip>.
seed_peers = []
seed_peers = ["{{index .P2P.FixedSeeds 0}}", "{{index .P2P.FixedSeeds 1}}"]
# Configures the behavior of this node's RPC server.
[rpc]
Expand Down

0 comments on commit df9568c

Please sign in to comment.