go-libp2p-daemon icon indicating copy to clipboard operation
go-libp2p-daemon copied to clipboard

Listen flag is confusing

Open Stebalien opened this issue 3 years ago • 0 comments

We use the listen flag to control socket. There's also a noListenAddrs which specifies "don't listen on any libp2p transports". There's also an option hostAddrs which specifies which libp2p transports/addresses we should listen on.

We should change this to:

  • -control, or -controlSocket, etc. for the control address.
  • listenAddrs and noListenAddrs for libp2p listen addresses.

Stebalien avatar Mar 15 '21 18:03 Stebalien