diff --git a/config/swarm.go b/config/swarm.go index e79d42c97eed..8cbeb122f133 100644 --- a/config/swarm.go +++ b/config/swarm.go @@ -35,6 +35,9 @@ type SwarmConfig struct { // When enabled, node will provide a limited relay service to other peers. RelayService RelayService + // EnableHolePunching enables the hole punching service. + EnableHolePunching Flag `json:",omitempty"` + // Transports contains flags to enable/disable libp2p transports. Transports Transports