@cryptotaxi247 / kubo / commits / 7fe155c28

go-ipfs-config: feat: add a flag to enable the hole punching service (#155)

* add a flag to enable the hole punching service * chore: omitempty EnableHolePunching Co-authored-by: Marcin Rataj <lidel@lidel.org>

Marten Seemann committed Nov 16, 2021 at 14:55 UTC 7fe155c287d43eab47c8324b4e4be5201fce64e1
1 file changed +3
config/swarm.go
+3
@@ -35,6 +35,9 @@ type SwarmConfig struct {
35 // When enabled, node will provide a limited relay service to other peers.
36 RelayService RelayService
37
38 + // EnableHolePunching enables the hole punching service.
39 + EnableHolePunching Flag `json:",omitempty"`
40 +
41 // Transports contains flags to enable/disable libp2p transports.
42 Transports Transports
43