js-libp2p
js-libp2p copied to clipboard
feat: track failed/successful dials per-address
Instead of tracking which peer we failed to dial, track dial success or failure on a per-address basis.
This will let us detect when IPv6 is unsupported or certain transports (e.g. UDP ones) are blocked.
Refs: #2010
LGTM but we should perhaps merge https://github.com/libp2p/js-libp2p/issues/2150 into this before merging this as it effectively adds no enhancement without the sorting functionality.