Skip to content

Commit

Permalink
go-ipfs-config: autorelay options
Browse files Browse the repository at this point in the history
  • Loading branch information
vyzo authored and Stebalien committed Nov 27, 2018
1 parent c942f92 commit 9709dd1
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 9709dd1

Please sign in to comment.