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

retrying block production #101

Closed
SurfingNerd opened this issue Aug 26, 2021 · 4 comments
Closed

retrying block production #101

SurfingNerd opened this issue Aug 26, 2021 · 4 comments
Labels
question Further information is requested

Comments

@SurfingNerd
Copy link
Collaborator

after x seconds, if a block can't get produced, the network should restart the block production.

@cryptonit
Copy link

cryptonit commented Aug 26, 2021

or combine with hearthbeat (that happens after 10 min with no block)
if heathbeat is reached a ongoing (maybe stuck) blockproduction is stopped and a new block is started

any transactions of mempool not deleted if a block with them inside isnt successful created so no transaction should be lost

but a possible rare stuck at blockcreation event is countered by restart block

@SurfingNerd SurfingNerd added the question Further information is requested label Dec 21, 2021
@SurfingNerd
Copy link
Collaborator Author

need to clarify this issue.
retrying block production, often referred to "phoenix protocol" (??) should be most of all a diamond-node implementation.
We need to work out if the contracts are part of this change.

@cryptonit
Copy link

i agree to my understanding its a node only thing
no contract is involved as contracts are just executed when a block is generated
this "phoenix protocol" is to avoid most kinds of stuck in a unable to finish block by just restart from scratch after a timeout is reached. maybe some kind of round counter is needed so block contributions and most important block seal mesage fit to the actual atempt

@SurfingNerd
Copy link
Collaborator Author

open ethereum issue: DMDcoin/openethereum-3.x#52

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
None yet
Development

No branches or pull requests

2 participants