Closed
Description
This is an improvement request
Problem
We currently rely on PeerManager that maintains a copy of peers being used for the protocol, and maintain the copy in-memory in an array.
We might be able to improve this maintenance of the copy of peer list in an array, to the usage of metadata in Libp2p's PeerStore for the same.
Proposed Solution
Experiment with moving the source of truth for which peers to use for protocols as part of the peer's metadata instead of an in-memory variable
Notes
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done