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

Too many queued stakings can cause slow block production #274

Closed
5 tasks done
hallazzang opened this issue Mar 28, 2022 · 0 comments · Fixed by #305
Closed
5 tasks done

Too many queued stakings can cause slow block production #274

hallazzang opened this issue Mar 28, 2022 · 0 comments · Fixed by #305
Assignees
Milestone

Comments

@hallazzang
Copy link
Contributor

hallazzang commented Mar 28, 2022

We can put ending timestamp inside store keys to mitigate this problem.
When queuing staking, the end time is set to current blocktime + time.Duration(params.NextEpochDays), and queued staking will be processed at the end time, not when the epoch increases.

Tasks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment