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

Do we really need to "setState" on a block X to calculate POP payouts for X+1? #907

Open
Warchant opened this issue Dec 13, 2021 · 2 comments
Labels
question Further information is requested

Comments

@Warchant
Copy link
Collaborator

Do we really need to "setState" on a block X to calculate POP payouts for X+1?

@Warchant
Copy link
Collaborator Author

Warchant commented Dec 13, 2021

@blackyblack @black0rwhite

@blackyblack
Copy link
Contributor

Probably yes. But we likely can optimize it to calculate reward for block X + 1 on block X, and apply it as soon as block X + 1 is applied. So we won't have to unapply and reapply block X + 1 every time.

@Warchant Warchant added the question Further information is requested label Jan 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
Status: Backlog
Development

No branches or pull requests

2 participants