Skip to content
New issue

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

Admin API: query for peers with specific capabilities. #64

Open
jimstir opened this issue Jun 13, 2024 · 0 comments
Open

Admin API: query for peers with specific capabilities. #64

jimstir opened this issue Jun 13, 2024 · 0 comments

Comments

@jimstir
Copy link
Collaborator

jimstir commented Jun 13, 2024

Reference issue: vacp2p/rfc#418
Author: jm-clius

Problem

The Admin API provides a get_waku_v2_admin_v1_peers method to query the peers currently registered on a Waku v2 node. This method currently takes no parameters.

It will be useful to specify some filter criteria when querying for peers, including filtering on connectedness state and registered protocol.
Example uses:
"Verify that node is connected to at least one store peer"
"Show all relay peers for this node"
etc.

Acceptance criteria

get_waku_v2_admin_v1_peers method extended to filter results on:

  • Connectedness state
  • Registered protocol
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant