You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
The Polkadot collation and validator-to-validator communication protocols require the node to be connected to specific sets of peers. As an example, we want validators to reserve incoming slots for collators, and not have all its slots occupied by relay chain full nodes.
Rather than changing the peerset and try to fit all use-cases in it (#6087), an alternative idea is to:
Let the current peerset handle the default protocols (block announces, transactions, syncing)
Let the code that registers a notification protocol control, for this individual notification protocol, which nodes to establish outgoing substreams to, and whether to accept incoming substreams.
The exact API details are still blurry, but I prefer this approach over trying to make the peerset suit our use-cases.