Skip to content

Instantly share code, notes, and snippets.

@johnX9
Created May 26, 2018 16:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save johnX9/40f872fc067b661f7f821eaedaba7133 to your computer and use it in GitHub Desktop.
Save johnX9/40f872fc067b661f7f821eaedaba7133 to your computer and use it in GitHub Desktop.
# recovers reversible block database if that database is in a bad state
--fix-reversible-blocks
# do not skip any checks that can be skipped while replaying irreversible blocks
--force-all-checks
# clear chain state database and replay all blocks
--replay-blockchain
# clear chain state database, recover as many blocks as possible from the block log, and then replay those blocks
--hard-replay-blockchain
# clear chain state database and block log
--delete-all-blocks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment