This repository has been archived by the owner on Jun 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 457
Blocks need to be restored from temporary table upon failure or application restart #3775
Closed
4 tasks
Milestone
Comments
8 tasks
@michielmulders will do the analysis before the next sprint grooming meeting. |
First, happy path -> block in temp table and restore to chain (via test) |
5 tasks
shuse2
added a commit
that referenced
this issue
Sep 26, 2019
Restore blocks from temp_block table - Closes #3775
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Expected behavior
Whenever the node crashes or upon failure during one of the sync processes we roll back to the original state by applying the blocks in the temp table and continue the operating of the node.
Functions to be implemented:
restoreBlocks()
Design For Issue
Place the
restoreBlocks
inblocks/blocks
.The synchronizer class should injects
blocks module
as a dependency so we can accessrestoreBlocks
inside.Which version(s) does this affect? (Environment, OS, etc...)
feature/improve-bft
Tasks list
The text was updated successfully, but these errors were encountered: