pyquarkchain
pyquarkchain copied to clipboard
Optimize getting balances for multi native tokens
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)