mirror of
https://github.com/ChristopherA/Learning-Bitcoin-from-the-Command-Line.git
synced 2025-06-10 01:16:17 +00:00
814 B
814 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).
Verifying balance
After mining blocks and getting the rewards, you can verify the balance on your wallet:
$ bitcoin-cli -regtest getbalance
Testing the Regtest
Now you should be able to use this balance for any kind of interaction with the private Blockchain, such as sending Bitcoin transactions according to Chapter 4 in this guide.
It is important to note that in order for your transactions to complete, you will have to generate/mine new blocks, so the transactions can be included into them.