rust-libp2p
rust-libp2p copied to clipboard
feat(kad): only dial if not connected AND not dialing
I was looking about our code and noticed we still used the old DialCondition (before the change to not dialling NOR connected as default) and thought I'd double check in libp2p.
These places looked a bit suss and we can perhaps rely on the defaults here?