From afd19ecab0d5ed6193ee6bf4189f0a18a127a198 Mon Sep 17 00:00:00 2001 From: Troy McConaghy Date: Sun, 29 Jul 2018 14:55:46 +0200 Subject: [PATCH] To reset Tendermint, just rm data & config dirs --- docs/server/source/simple-network-setup.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/server/source/simple-network-setup.md b/docs/server/source/simple-network-setup.md index e7eb8818..5efca5fb 100644 --- a/docs/server/source/simple-network-setup.md +++ b/docs/server/source/simple-network-setup.md @@ -249,9 +249,11 @@ If you followed the above instructions, then your node should be publicly-access If you want to refresh your node back to a fresh empty state, then your best bet is to terminate it and deploy a new virtual machine, but if that's not an option, then you can: - drop the `bigchain` database in MongoDB using `bigchaindb drop` (but that only works if MongoDB is running) -- [reset Tendermint](https://tendermint.readthedocs.io/projects/tools/en/master/using-tendermint.html#reset) by: - - removing the directory `$HOME/.tendermint/data` and - - doing `tendermint unsafe_reset_priv_validator` +- reset Tendermint by removing its data and config directories: + - `rm -rf $HOME/.tendermint/data` + - `rm -rf $HOME/.tendermint/config` + +Note: There are commands such as `tendermint unsafe_reset_priv_validator` but they're not as thorough. ## Member: Dynamically Add a New Member to the Network