πŸ”Reset Node

Wipes the node's data and start over with the latest version.

How to reset your node's data

The mainnet as a network will never be reset. However, sometimes your individual node's state may have been corrupted - e.g., you were too late to a major upgrade, then you might want to reset your node and re-index.

The testnet is reset pretty frequently. We use the testnet to deploy new features that we'll be stress-testing before making it to the mainnet.

Mainnet

Download the latest docker-compose file: https://raw.githubusercontent.com/Taraxa-project/taraxa-ops/master/taraxa_compose_mainnet/docker-compose.yml

cd .\Desktop\taraxa-ops-master\taraxa_compose\
docker-compose down -v
docker-compose pull
del config\mainnet.json
docker-compose up -d
docker-compose logs -f// Some code

Testnet

Download the latest docker-compose file: https://raw.githubusercontent.com/Taraxa-project/taraxa-ops/master/taraxa_compose/docker-compose.yml

cd .\Desktop\taraxa-ops-master\taraxa_compose\
docker-compose down -v
docker-compose pull
del config\testnet.json
docker-compose up -d
docker-compose logs -f

Last updated