mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
To reset Tendermint, just rm data & config dirs
This commit is contained in:
parent
2205ce57aa
commit
afd19ecab0
@ -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:
|
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)
|
- 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:
|
- reset Tendermint by removing its data and config directories:
|
||||||
- removing the directory `$HOME/.tendermint/data` and
|
- `rm -rf $HOME/.tendermint/data`
|
||||||
- doing `tendermint unsafe_reset_priv_validator`
|
- `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
|
## Member: Dynamically Add a New Member to the Network
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user