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

LiteDBStore.IterateStateReferences takes a long time #447

Closed
earlbread opened this issue Aug 19, 2019 · 3 comments
Closed

LiteDBStore.IterateStateReferences takes a long time #447

earlbread opened this issue Aug 19, 2019 · 3 comments
Assignees

Comments

@earlbread
Copy link
Contributor

LiteDBStore.IterateStateReferences() method takes a long time when there are many state references. If you have 20000 blocks and all blocks have states, it will take about 0.5 seconds.

@earlbread earlbread changed the title LiteDBStore.IterateStateReferences takes long time LiteDBStore.IterateStateReferences takes a long time Aug 19, 2019
@dahlia
Copy link
Contributor

dahlia commented Aug 28, 2019

I guess it depends on the number of accounts rather than the block height?

@earlbread
Copy link
Contributor Author

I think it depends on the height of state references. Even if there is only one account(miner account), it slows down.

@limebell
Copy link
Member

Closed by #545

limebell pushed a commit to limebell/libplanet that referenced this issue Jul 7, 2021
…op-actions

Sanity check in shop actions
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

3 participants