Is there a nodeos command-line switch to just destroy the entire blockchain state and start over from the first block? Or can I achieve this by deleting one or more specific directories that are stored somewhere?

I have a vanilla EOSIO 1.6.1 binary release installation on Ubuntu 18. I don't know where the blockchain data is stored.

1 Answer 1


Found it.


I just deleted the "nodeos" directory:

rm -rf ~/.local/share/eosio/nodeos
  • I did rm -rf ~/.local/share/eosio/nodeos but still unable to start nodeos even with the hard_replay option .
    – Equanimity
    Dec 4, 2019 at 5:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.