ChainSafe / ChainSafe/gossamer
feat(dot/network): manage multiple peersets
- Dominant language
- Go
- Stars
- 454
- Forks
- 144
- PR merge metrics
- No merged PRs in 30d
Description
## Issue summary
- Do a thorough review of substrate/client/network/src/
- check how are they managing peerset of different protocol. Currently gossamer seems to be using just one peerset.
- We need to able to manage multiple peersets. We need different peersets for different notification protocol. Validation and Collation Protocol certainly need to have their own peersets. Not sure if this is true for other notification protocols.
- Connect and disconnect peers seperately for each protocol
Currently we have a Handler in dot/peerset, but it does not get used anywhere.
## Other information and links
- https://github.com/paritytech/polkadot-sdk/blob/93d9c8c24e5d470e036caaa23df08dcf0c527dd6/substrate/client/network/src/
Contributor guide
Assessment
This issue has not been assessed yet.