From e10c8cabd5b4e4fdadef435529b4356103382f93 Mon Sep 17 00:00:00 2001 From: Bruno Volpato Date: Tue, 12 Dec 2017 13:50:02 -0800 Subject: [PATCH] Resetting the Regtest Blockchain --- 15_1_Building_the_Regtest.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/15_1_Building_the_Regtest.md b/15_1_Building_the_Regtest.md index e82305a..f217a5c 100644 --- a/15_1_Building_the_Regtest.md +++ b/15_1_Building_the_Regtest.md @@ -12,6 +12,11 @@ To start your Bitcoind (Bitcoin Daemon) in Regtest mode and create a private Blo $ 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? 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).