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

add a "threshold" and "head" parameter to the "delegators" rpc call #3537

Closed
ghost opened this issue Oct 29, 2021 · 1 comment
Closed

add a "threshold" and "head" parameter to the "delegators" rpc call #3537

ghost opened this issue Oct 29, 2021 · 1 comment
Milestone

Comments

@ghost
Copy link

ghost commented Oct 29, 2021

Summary

RPC call:
https://docs.nano.org/commands/rpc-protocol/#delegators

the delegators call doesn't have a threshold, so if there's many delegators, the node runs out of ram when processing the call.

the accounts_pending call has a "threshold", so I'd like delegators to behave like accounts_pending, and omit any delegator below a given threshold.

What problem would be solved by this feature?

the node runs out of ram when processing the call if there are a lot of low weight delegators.

Are there any previous requests for this feature?

no

Do you have a suggested solution?

no

If this feature is approved, would you be willing to submit a pull request with the solution?

I am willing to collaborate

Possible solution

No response

Supporting files

No response

@shryder
Copy link
Contributor

shryder commented Oct 29, 2021

It's going to be available on v23: #3333

@ghost ghost closed this as completed Oct 30, 2021
@zhyatt zhyatt added this to the V23.0 milestone Nov 24, 2021
This issue was closed.
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

2 participants