How to setup bitcoin network using regtest?

3

2

My question might seem really basic , but I am looking for help as to how can I setup bitcoin network using regtest?

Nikhil Jain

Posted 2016-06-14T04:15:45.917

Reputation: 151

you can try the instructions at https://blog.starapps.io/setup-private-bitcoin-regtest-using-docker-a406127192df

zaphod100.10 2016-12-23T14:45:06.793

I created a simple docker setup which allows you to run a private 3 node network here https://github.com/FreekPaans/bitcoin-multi-node-regtest

Freek 2018-04-13T06:34:16.480

Answers

2

2 ways.

  1. bitcoind --regtest --printtoconsole

  2. Configure bitcoin.conf and include a line regtest=1.

Second way is better so usage of bitcoin-cli is less verbose.

renlord

Posted 2016-06-14T04:15:45.917

Reputation: 2 167

nice- looks good!smatthewenglish 2017-04-19T13:03:04.477