From ae7f716a0ad8fe95d1e295f2c2209d3bf79c3d0c Mon Sep 17 00:00:00 2001 From: Bruno Volpato Date: Wed, 13 Dec 2017 14:21:44 -0800 Subject: [PATCH] Chapter 15 improvements --- 15_1_Building_the_Regtest.md | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/15_1_Building_the_Regtest.md b/15_1_Building_the_Regtest.md index f217a5c..648cf7b 100644 --- a/15_1_Building_the_Regtest.md +++ b/15_1_Building_the_Regtest.md @@ -7,15 +7,23 @@ Bitcoin Core’s regression test mode (regtest mode) lets you instantly create a ## Starting Bitcoind in Regtest Mode -To start your Bitcoind (Bitcoin Daemon) in Regtest mode and create a private Blockchain, you have to use the following command: +After [setting up your Bitcoin-Core VPS](02_0_Setting_Up_a_Bitcoin-Core_VPS.md), you are now able to use the Regtest mode. To start Bitcoind (Bitcoin Daemon) in Regtest mode and create a private Blockchain, you have to use the following command: ``` $ 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. +Regtest wallets and block chain state (chainstate) are saved in the regtest subdirectory of the Bitcoin configuration directory: +``` +user@mybtc:~/.bitcoin# ls +bitcoin.conf regtest testnet3 +``` + +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: +``` +$ rm -rf regtest +``` ## What's Next?