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

tokenv2list spam #53

Open
Alrighttt opened this issue Jun 8, 2021 · 1 comment
Open

tokenv2list spam #53

Alrighttt opened this issue Jun 8, 2021 · 1 comment

Comments

@Alrighttt
Copy link

It's possible to add additional outputs to a tokenv2create transaction resulting in tokenv2list being spammed. I added about 100k entries on the TKLLIVE chain. The rpc is now unusable.

 time komodo-cli -ac_name=TKLLIVE tokenv2list | jq length
104076
komodo-cli -ac_name=TKLLIVE tokenv2list  0.20s user 0.04s system 0% cpu 3:13.11 total
jq length  0.15s user 0.01s system 0% cpu 3:13.12 total
@dimxy
Copy link
Owner

dimxy commented Jun 21, 2021

partially fixed in TokelPlatform branch:
disable multiple markers for tokencreate, disable markers in tokentransfer, check for 10k value, disable global pk as token creator.

TODO: also decided to make tokenv2list parametrized to return only subsets
(later let's merge into the research branch too)

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