Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
dennis-tra committed Jan 9, 2025
1 parent 0297b17 commit 8cdf962
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ant.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,15 +128,15 @@ func SpawnAnt(ctx context.Context, ps peerstore.Peerstore, ds ds.Batching, cfg *
libp2p.DisableRelay(),
libp2p.ListenAddrStrings(listenAddrs...),
libp2p.DisableMetrics(),
// libp2p.ShareTCPListener(),
libp2p.ShareTCPListener(),
libp2p.ResourceManager(rm),
libp2p.ConnectionManager(connmgr.NullConnMgr{}),
libp2p.Transport(libp2ptcp.NewTCPTransport),
libp2p.Transport(libp2pquic.NewTransport),
libp2p.Transport(libp2pwebtransport.New),
libp2p.Transport(libp2pwebrtc.New),
libp2p.Transport(libp2pws.New, libp2pws.WithTLSConfig(certMgr.TLSConfig())),
// libp2p.AddrsFactory(certMgr.AddressFactory()),
libp2p.AddrsFactory(certMgr.AddressFactory()),
}

if cfg.Port == 0 {
Expand Down

0 comments on commit 8cdf962

Please sign in to comment.