4

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

Nikhil Jain
  • 171
  • 6
  • you can try the instructions at https://blog.starapps.io/setup-private-bitcoin-regtest-using-docker-a406127192df – zaphod100.10 Dec 23 '16 at 14:45
  • 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 Apr 13 '18 at 06:34

1 Answers1

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.

Murch
  • 75,206
  • 34
  • 186
  • 622
rny
  • 2,418
  • 1
  • 15
  • 26