Learning-Bitcoin-from-the-C.../15_2_Testing_with_Regtest.md
2017-12-12 12:21:56 -08:00

742 B

15.2: Testing with Regtest

NOTE: This is a draft in progress, so that I can get some feedback from early reviewers. It is not yet ready for learning.

This document explains how to test a Regtest (Regression Test).

Testing with Regtest

After starting Bitcoind using Regtest mode you can use any bitcoin-cli command or interact with the blockchain using the RPC (Remote Procedure Call) service.

You can try to create transactions referring to Chapter 4 - Sending Bitcoin Transactions in this guide. In order to get balance in your Regtest Wallet, you are able to mine blocks with minimal proof-of-work and get the rewards.