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

Introduce new APIs: klay.getValidators, klay.getValidatorSize #1866

Open
aidan-kwon opened this issue Jun 16, 2023 · 1 comment
Open

Introduce new APIs: klay.getValidators, klay.getValidatorSize #1866

aidan-kwon opened this issue Jun 16, 2023 · 1 comment
Assignees
Labels

Comments

@aidan-kwon
Copy link
Member

Klaytn has similar APIs returning consensus nodes, but there are some differences between them.

  • klay.getCouncil returns all registered consensus nodes including demoted nodes that don't stake enough KLAY.
  • klay.getCommittee returns a valid validator list, but it can be a subset of the entire valid validator list when the configuration for the committeeSize is small.

So, we need new APIs returning the entire valid validator list, klay.getValidators, and its size, klay.getValidatorSize.

@exalate-issue-sync
Copy link

Exalate commented: Issue Created by: aidan-kwon

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

No branches or pull requests

4 participants