mirror of
https://github.com/status-im/nim-libp2p.git
synced 2025-03-01 04:50:42 +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::