-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
buggetting-startedIssues that can be tackled if you don't know the internals of libp2p very wellIssues that can be tackled if you don't know the internals of libp2p very wellhelp wantedneed/author-inputNeeds input from the original authorNeeds input from the original authorpriority:nicetohave
Description
Summary
Useless concurrent dials when a peer is found with two identical multiaddrs in the DHT: one with a peerid, and the other without a peerid.
Expected behaviour
When dialing a peer, identical multiaddrs (that only differ with the presence of the peerid) should be filtered out in order to prevent useless concurrent dials to the same peer.
Actual behaviour
Two identical mutliaddrs filled by the DHT:
/ip4/10.10.0.1/tcp/80
and
/ip4/10.10.0.1/tcp/80/QmXXXXXXXX
are concurrently dialed twice.
Possible Solution
Maybe check uniqueness of multiaddrs without peerid
Version
- libp2p version (version number, commit, or branch): 0.49
Would you like to work on fixing this bug?
No
Metadata
Metadata
Assignees
Labels
buggetting-startedIssues that can be tackled if you don't know the internals of libp2p very wellIssues that can be tackled if you don't know the internals of libp2p very wellhelp wantedneed/author-inputNeeds input from the original authorNeeds input from the original authorpriority:nicetohave