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

Ability to get committee members via RPC #341

Closed
roman-khimov opened this issue Sep 4, 2020 · 0 comments · Fixed by #342
Closed

Ability to get committee members via RPC #341

roman-khimov opened this issue Sep 4, 2020 · 0 comments · Fixed by #342

Comments

@roman-khimov
Copy link
Contributor

Summary or problem description
After the governance changes we now have a new entity, committee. It's an important entity in Neo but there is currently no easy way to get data about its members via RPC (counting candidates votes is not considered).

Do you have any solution you want to propose?
I see two main options here:

  1. Add an explicit getcommittee RPC call that would return committee members (probably with some flag signifying validators).
  2. Modify getvalidators RPC call, remove "active" field and add "incommittee" and "isvalidator" fields where isvalidator would have the same meaning as active previously and incommittee would be true for the members of committee.

But maybe there is some better way.

Where in the software does this update applies to?

  • RPC (HTTP)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant