go-ipfs-config: doc(swarm): extend autorelay docs
Steven Allen committed
Jun 15, 2020 at 19:57 UTC
f55b515255aeffef58ada9eb399396e7c2bff4d2
1 file changed
+2
-1
config/swarm.go
+2
-1
@@ -27,7 +27,8 @@ type SwarmConfig struct {
27
//
28
// When both EnableAutoRelay and EnableRelayHop are set, this go-ipfs node
29
// will advertise itself as a public relay. Otherwise it will find and use
30
- // advertised public relays.
30
+ // advertised public relays when it determines that it's not reachable
31
+ // from the public internet.
32
EnableAutoRelay bool
33
34
// Transports contains flags to enable/disable libp2p transports.