0

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

Found it.

~/.local/share/eosio/nodeos/

I just deleted the "nodeos" directory:

rm -rf ~/.local/share/eosio/nodeos
| improve this answer | |
  • I did rm -rf ~/.local/share/eosio/nodeos but still unable to start nodeos even with the hard_replay option . – Equanimity Dec 4 '19 at 5:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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