@cryptotaxi247 / kubo / commits / e69fcd9d0

go-ipfs-config: feat: add an option for security transport experiments

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.

Steven Allen committed May 25, 2020 at 23:06 UTC e69fcd9d01416aacd704d224298229d6a194ac10
1 file changed +7
config/experiments.go
+7
@@ -8,4 +8,11 @@ type Experiments struct {
8 Libp2pStreamMounting bool
9 P2pHttpProxy bool
10 StrategicProviding bool
11 +
12 + // OverrideSecurityTransports overrides the set of available security
13 + // transports when non-empty. This option should eventually migrate some
14 + // place more stable.
15 + //
16 + // Default: ["tls", "secio", "noise"].
17 + OverrideSecurityTransports []string `json:",omitempty"`
18 }