-
Notifications
You must be signed in to change notification settings - Fork 20
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
how to let client side know the fork activity with this framework #22
Comments
In the specific implementation, Postgres, for instance, you can look at the rollback functionality that occurs when a fork has occurred. Going to mention @flux627 he will know if we store any state data in the event of a fork to reference that it happened. |
@chris-allnutt ,thanks ,follow your advice to debug,seems the rollback can only get the fallback block number, can we get the full block, include the producer infor? |
What's the use-case? |
@flux627 we would like to know which producer cause the fork, this infor could help producer to self-check their bp node. |
I got a fork issue just now , this is the output of my demux-eos program : 26101980 - 018e48dc92695aea1705f9321180969759db4dd2b40299a7e6410e97f7dedecf - Fri Nov 09 2018 22:01:04 GMT-0500 (EST) |
@crazybits Sorry on the delayed reply. I think this functionality might be outside the scope of what Demux is made for- accumulating state based on blockchain events. Forks are not really events. Forks change what the events are (from the perspective of Demux), but are not events themselves. That said, you could do this via Effects. Create a new ActionReader that emits a Closing this, but feel free to continue the conversation with any followup questions. |
when demux detect the fork block, any way to get the required infor?
The text was updated successfully, but these errors were encountered: