-
Notifications
You must be signed in to change notification settings - Fork 538
Improve libp2p config #46
Copy link
Copy link
Closed
Labels
P2Medium: Good to have, but can wait until someone steps upMedium: Good to have, but can wait until someone steps upexp/expertHaving worked on the specific codebase is importantHaving worked on the specific codebase is importantexplorationkind/enhancementA net-new feature or improvement to an existing featureA net-new feature or improvement to an existing feature
Metadata
Metadata
Assignees
Labels
P2Medium: Good to have, but can wait until someone steps upMedium: Good to have, but can wait until someone steps upexp/expertHaving worked on the specific codebase is importantHaving worked on the specific codebase is importantexplorationkind/enhancementA net-new feature or improvement to an existing featureA net-new feature or improvement to an existing feature
Type
Fields
Give feedbackNo fields configured for issues without a type.
Right now, it is impossible to signal through the config if we want to use a transport just for dialing and not for listening, in fact, go-ipfs makes the hard decision of disabling any dialing from a transport from where we are not listening.
The issue is that with this design, we have to make something hacky/hard coded to enable the WebSockets transport within libp2p-swarm for dialing in the browser.
https://github.com/libp2p/js-libp2p/blob/master/src/index.js#L97-L102
Ideas:
dialermultiaddr addr to signal that no listener should be started, but it should be considered to dial anyway