You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 21, 2023. It is now read-only.
Go-libp2p automatically detects its public/private status. It starts in client (queries) mode and if it determines its diallable will switch to server (mounts the protocol in multistream and responds to queries).
This can also be manually set.
We can leave this as manual in JS for now. It will require some work in libp2p for address detection to get auto mode working properly.
The text was updated successfully, but these errors were encountered:
Listen for the change:addresses event emitted by the AddressManager
a. Does the new address list contain public IPs? Are we in client mode? Enable server mode.
b. Does the new address list not contain public IPs? Are we in server mode? Enable client mode.
Go-libp2p automatically detects its public/private status. It starts in client (queries) mode and if it determines its diallable will switch to server (mounts the protocol in multistream and responds to queries).
This can also be manually set.
We can leave this as manual in JS for now. It will require some work in libp2p for address detection to get auto mode working properly.
The text was updated successfully, but these errors were encountered: