We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This is an improvement request
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.
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
The text was updated successfully, but these errors were encountered:
WIP efforts: #2172
Sorry, something went wrong.
some observations so far on this issue:
Pro:
Con:
await
await this.peerStore.get()
let's research:
libp2p.peerStore
Connection.metadata
relevant comment https://github.com/waku-org/js-waku/pull/2137/files#r1795552243
I think I found an approach to this problem and will tackle it in #2186
danisharora099
No branches or pull requests
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
The text was updated successfully, but these errors were encountered: