mirror of
https://github.com/status-im/nim-libp2p.git
synced 2025-02-11 12:26:24 +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::