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

Optimize getting balances for multi native tokens #789

Open
ninjaahhh opened this issue Nov 15, 2019 · 0 comments
Open

Optimize getting balances for multi native tokens #789

ninjaahhh opened this issue Nov 15, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@ninjaahhh
Copy link
Contributor

current impl on #785 for getting balance map can be expensive if having many non-zero native token balances (iterating a trie). this operation is needed in JSONRPC

since clusters support mining often need to turn on JSONRPC, to avoid future DDoS, we need to optimize the approach of getting balances (e.g. pagination)

@ninjaahhh ninjaahhh self-assigned this Nov 15, 2019
@ninjaahhh ninjaahhh added the enhancement New feature or request label Nov 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant