Skip to content

Commit

Permalink
go-ipfs-config: feat: add an option for security transport experiments
Browse files Browse the repository at this point in the history
We should have a more permanent way to configure security transports, but
experimental flags are a quick and unstable way to do this without making any
promises.
  • Loading branch information
Stebalien committed May 26, 2020
1 parent b4763a0 commit 1089c31
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions config/experiments.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,11 @@ type Experiments struct {
Libp2pStreamMounting bool
P2pHttpProxy bool
StrategicProviding bool

// OverrideSecurityTransports overrides the set of available security
// transports when non-empty. This option should eventually migrate some
// place more stable.
//
// Default: ["tls", "secio", "noise"].
OverrideSecurityTransports []string `json:",omitempty"`
}

0 comments on commit 1089c31

Please sign in to comment.