-
Notifications
You must be signed in to change notification settings - Fork 787
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Limit and add optional "offset" & "count" parameters for "delegators" RPC #3330
Comments
shryder
added a commit
to shryder/nano-node
that referenced
this issue
Jun 12, 2021
shryder
added a commit
to shryder/nano-node
that referenced
this issue
Jun 12, 2021
shryder
added a commit
to shryder/nano-node
that referenced
this issue
Jun 13, 2021
The |
shryder
added a commit
to shryder/nano-node
that referenced
this issue
Jun 13, 2021
shryder
added a commit
to shryder/nano-node
that referenced
this issue
Jun 13, 2021
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Summary
Limit the amount of delegators returned by the "delegators" RPC and add the optional parameters "offset" and "count".
What problem would be solved by this feature?
If I send multiple "delegators" RPC commands to my node for the rep NF#1 for example (it has ~16 million delegators)
The second problem is for services having to cache this data instead of getting up-to-date information through the RPC when desired.
Are there any previous requests for this feature?
I don't know
Do you have a suggested solution?
So my suggestion is
The first suggestion is so the weak nodes don't crash
The second and third is so the user/service doesn't have to wait a long time to get the current delegators list.
Explorers currently make the request every once in a while and cache the delegators instead of showing live data.
If this feature is approved, would you be willing to submit a pull request with the solution?
I would
Possible solution
No response
Supporting files
No response
The text was updated successfully, but these errors were encountered: