1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-05-17 15:06:47 +08:00

go-ipfs-config: feat: add an autonat config section

And remove the current EnableAutoNATService option from the swarm config. While
a breaking change, this shouldn't cause _too_ much trouble given that we're
going to enable AutoNAT everywhere by default anyways.
This commit is contained in:
Steven Allen
2020-04-14 18:40:16 -07:00
parent 8b77ad2d5c
commit 4554fc9246
3 changed files with 80 additions and 2 deletions

View File

@ -25,6 +25,7 @@ type Config struct {
Gateway Gateway // local node's gateway server options
API API // local node's API settings
Swarm SwarmConfig
AutoNAT AutoNATConfig
Pubsub PubsubConfig
Provider Provider