go-libp2p-daemon
go-libp2p-daemon copied to clipboard
Listen flag is confusing
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
andnoListenAddrs
for libp2p listen addresses.