Resetting the Regtest Blockchain

This commit is contained in:
Bruno Volpato 2017-12-12 13:50:02 -08:00 committed by GitHub
parent 1ef4324b58
commit 643d78f67b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,6 +12,11 @@ To start your Bitcoind (Bitcoin Daemon) in Regtest mode and create a private Blo
$ bitcoind -regtest -daemon $ bitcoind -regtest -daemon
``` ```
## Resetting the Regtest Blockchain
Regtest wallets and block chain state (chainstate) are saved in the regtest subdirectory of the Bitcoin configuration directory.
If you want to start a brand new Blockchain using the Regtest mode, all you have to do is delete the `regtest` folder and restart the Bitcoind.
## What's Next? ## What's Next?
After starting your bitcoind in the Regtest mode, you can now use Regtest-specific RPC commands to [generate/mine blocks in your private chain](15_3_Mining_with_Regtest.md). After starting your bitcoind in the Regtest mode, you can now use Regtest-specific RPC commands to [generate/mine blocks in your private chain](15_3_Mining_with_Regtest.md).