aboutsummaryrefslogtreecommitdiffstats
path: root/node
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2017-05-10 22:51:52 +0800
committerPéter Szilágyi <peterke@gmail.com>2017-05-10 22:51:52 +0800
commit3b3989de6a1db98eb5290d6a14c5354da5d7d76a (patch)
tree0ce8858a0526c7c441e4cfdf3979c097b6078fc0 /node
parent40976ea1a009f1358bcc6f85db97efd61868dd4f (diff)
downloaddexon-3b3989de6a1db98eb5290d6a14c5354da5d7d76a.tar.gz
dexon-3b3989de6a1db98eb5290d6a14c5354da5d7d76a.tar.zst
dexon-3b3989de6a1db98eb5290d6a14c5354da5d7d76a.zip
cmd, node: support different bootnodes, fix default light port
Diffstat (limited to 'node')
-rw-r--r--node/defaults.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/node/defaults.go b/node/defaults.go
index d4e148683..848f08e05 100644
--- a/node/defaults.go
+++ b/node/defaults.go
@@ -41,9 +41,10 @@ var DefaultConfig = Config{
WSPort: DefaultWSPort,
WSModules: []string{"net", "web3"},
P2P: p2p.Config{
- ListenAddr: ":30303",
- MaxPeers: 25,
- NAT: nat.Any(),
+ ListenAddr: ":30303",
+ DiscoveryV5Addr: ":30304",
+ MaxPeers: 25,
+ NAT: nat.Any(),
},
}