mirror of
https://github.com/vacp2p/nim-libp2p-experimental.git
synced 2025-01-11 02:46:13 +00:00
c6c0c152c0
* 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::