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

miner: periodically recommit block #25736

Conversation

MariusVanDerWijden
Copy link
Member

Very crude implementation of a miner recommit.
I think we should refactor the whole miner thingy and maybe pull out the post-merge block production from the miner

@MariusVanDerWijden
Copy link
Member Author

Okay I update the implementation a bit. Instead of returning a block, we return a shared object that we can use to resolve the block. This construction allows us to periodically update the block from within the miner.
The only part that I'm not happy with yet is how we trigger the periodic update.

@MariusVanDerWijden
Copy link
Member Author

closed in favor of #25836

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

Successfully merging this pull request may close these issues.

1 participant