Skip to content

Commit

Permalink
go-ipfs-config: Merge pull request ipfs#21 from ipfs/feat/autorelay
Browse files Browse the repository at this point in the history
autorelay options
  • Loading branch information
Stebalien committed Nov 27, 2018
2 parents c942f92 + 9709dd1 commit 8d62e3c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions config/swarm.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ type SwarmConfig struct {
DisableRelay bool
EnableRelayHop bool

// autorelay functionality
// if true, then the libp2p host will be constructed with autorelay functionality.
EnableAutoRelay bool
// if true, then an AutoNATService will be instantiated to facilitate autorelay
EnableAutoNATService bool

ConnMgr ConnMgr
}

Expand Down

0 comments on commit 8d62e3c

Please sign in to comment.