Allow multiple simultaneous connections to the same peer #912
Labels
difficulty:moderate
priority:important
The changes needed are critical for libp2p, or are blocking another project
Right now, in order to simplify the implementations of
NetworkBehaviour
, we only have allow connection per peer ID.Allowing multiple connections would, in my opinion, considerably increase the difficulty of implementing this trait. If we provide helpers for
NetworkBehaviour
, though, we could allow multiple connections per peer.Note that we should have ways to properly identify each connection. Having multiple connections shouldn't be implicit.
The text was updated successfully, but these errors were encountered: