From e69fcd9d01416aacd704d224298229d6a194ac10 Mon Sep 17 00:00:00 2001 From: Steven Allen Date: Mon, 25 May 2020 23:06:42 -0700 Subject: [PATCH] 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. --- config/experiments.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/config/experiments.go b/config/experiments.go index d63580f26c0..22e87a65950 100644 --- a/config/experiments.go +++ b/config/experiments.go @@ -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"` }