Skip to content

Commit df9568c

Browse files
committed
Add seeds
1 parent 040a962 commit df9568c

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

config/default.go

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@ var DefaultConfig = Config{
2121
P2P: P2PConfig{
2222
Host: "0.0.0.0",
2323
DNSSeeds: []string{},
24-
FixedSeeds: []string{},
24+
FixedSeeds: []string{
25+
"3b755ceafc5811f0a50e102c96169b062ad1295edea0adf675e8647963acf89e@64.225.89.142",
26+
"e3c8cfea75ff146db0b93c51cf8967242c43170dac702aec268ed566f4aa6f4b@45.55.99.2",
27+
},
2528
MaxInboundPeers: 117,
2629
MaxOutboundPeers: 8,
2730
ConnectionTimeoutMS: 5000,
@@ -143,7 +146,7 @@ log_level = "{{.LogLevel}}"
143146
# default of 8 was chosen to match Bitcoin.
144147
max_outbound_peers = {{.P2P.MaxOutboundPeers}}
145148
# Sets a list of fixed seed peers. Items should be formatted as <peer-id>@<ip>.
146-
seed_peers = []
149+
seed_peers = ["{{index .P2P.FixedSeeds 0}}", "{{index .P2P.FixedSeeds 1}}"]
147150
148151
# Configures the behavior of this node's RPC server.
149152
[rpc]

0 commit comments

Comments
 (0)