aboutsummaryrefslogtreecommitdiffstats
path: root/node/config.go
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2016-11-09 10:09:05 +0800
committerGitHub <noreply@github.com>2016-11-09 10:09:05 +0800
commit355f4b0c15fadec683877b5de1361bd678fee28e (patch)
treeef1c3a915af7f07c049c08318fe450b2ecf46654 /node/config.go
parent8b1df1a259fe6dc4c15e391e9c0762c9621d9d72 (diff)
parentbbb5e5d56a51d9430aec934c76a0bd02f1f2427d (diff)
downloaddexon-355f4b0c15fadec683877b5de1361bd678fee28e.tar
dexon-355f4b0c15fadec683877b5de1361bd678fee28e.tar.gz
dexon-355f4b0c15fadec683877b5de1361bd678fee28e.tar.bz2
dexon-355f4b0c15fadec683877b5de1361bd678fee28e.tar.lz
dexon-355f4b0c15fadec683877b5de1361bd678fee28e.tar.xz
dexon-355f4b0c15fadec683877b5de1361bd678fee28e.tar.zst
dexon-355f4b0c15fadec683877b5de1361bd678fee28e.zip
Merge pull request #3232 from zsfelfoldi/light-topic3
Diffstat (limited to 'node/config.go')
-rw-r--r--node/config.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/node/config.go b/node/config.go
index 15884a12e..8af9215a0 100644
--- a/node/config.go
+++ b/node/config.go
@@ -95,12 +95,16 @@ type Config struct {
// or not. Disabling is usually useful for protocol debugging (manual topology).
NoDiscovery bool
+ DiscoveryV5 bool
+
// Bootstrap nodes used to establish connectivity with the rest of the network.
BootstrapNodes []*discover.Node
// Network interface address on which the node should listen for inbound peers.
ListenAddr string
+ ListenAddrV5 string
+
// If set to a non-nil value, the given NAT port mapper is used to make the
// listening port available to the Internet.
NAT nat.Interface