mirror of
https://github.com/vacp2p/nim-libp2p.git
synced 2025-02-14 17:38:21 +00:00
* prefer PeerID in switch api This avoids ref issues like ref identity and nil * use existing peerinfo instance if possible * remove secureCodec there may be multiple connections per peerinfo with different codecs * avoid some extra async::