revert removing private peers from persistent

This commit is contained in:
Anton Kaliaev
2018-03-13 10:57:21 +04:00
parent a40518c7da
commit 2a258a2c3f
4 changed files with 4 additions and 30 deletions

View File

@@ -251,6 +251,7 @@ type P2PConfig struct {
Seeds string `mapstructure:"seeds"`
// Comma separated list of nodes to keep persistent connections to
// Do not add private peers to this list if you don't want them advertised
PersistentPeers string `mapstructure:"persistent_peers"`
// Skip UPNP port forwarding

View File

@@ -127,6 +127,7 @@ laddr = "{{ .P2P.ListenAddress }}"
seeds = ""
# Comma separated list of nodes to keep persistent connections to
# Do not add private peers to this list if you don't want them advertised
persistent_peers = ""
# Path to address book