I was getting an Error while starting nodeos.
Error: 3190000 block_log_exception: Block log exception: block log does not contain last irreversible block
If you are getting the same error look at my answer below.
EOS.IO Stack Exchange is a question and answer site for users and developers of distributed applications built on top of the blockchain operating system, EOS.IO. It only takes a minute to sign up.Sign up to join this community
To solve this issue, go to your home directory.
Here you will see two files
Delete the data folder using
rm -rf data/ and start your nodeos again. Error should be gone.
You can use
--hard-replay to replay the blockchain to the last irreversible block.
If you don't mind losing accounts that you have created, the first method is the best, however, if you do not want to lose the current accounts, make sure to use the second method.