diff --git a/config/.gx/lastpubver b/config/.gx/lastpubver index 2e54b10c4cb7..a2e4a75c2190 100644 --- a/config/.gx/lastpubver +++ b/config/.gx/lastpubver @@ -1 +1 @@ -0.2.15: QmNUhkTWN7iynJZTj1RcTsQDSRGGkh87zMo9ELypxhY8Y6 +0.2.16: QmPEpj17FDRpc7K1aArKZp3RsHtzRMKykeK9GVgn4WQGPR diff --git a/config/package.json b/config/package.json index 9ae6f7db7cf5..af0991647a85 100644 --- a/config/package.json +++ b/config/package.json @@ -55,6 +55,6 @@ "license": "", "name": "go-ipfs-config", "releaseCmd": "git commit -a -m \"gx publish $VERSION\"", - "version": "0.2.15" + "version": "0.2.16" } diff --git a/config/pubsub.go b/config/pubsub.go index da25b0f24d1b..94e03e28b82d 100644 --- a/config/pubsub.go +++ b/config/pubsub.go @@ -1,5 +1,18 @@ package config type PubsubConfig struct { + // Router can be either floodsub (legacy) or gossipsub (new and + // backwards compatible). Router string + + // DisableSigning disables message signing. Message signing is *enabled* + // by default. + DisableSigning bool + + // StrictSignatureVerification enables strict signature verification. + // When enabled, unsigned messages will be rejected. Eventually, this + // will be made the default and this option will disappear. Once this + // happens, networks will either need to completely disable or + // completely enable message signing. + StrictSignatureVerification bool }