go-libp2p
go-libp2p copied to clipboard
swarm: concurrently resolve and dial addresses
We currently first resolve all addresses before we start dialing any address. This is suboptimal, since a single slow address resolution can block us from dialing addresses that we already have. The swarm can already handle concurrent dial attempts, so this should be a relatively straightforward change.