I am in the regtest mode via the GUI of bitcoincore. How can I add here an extra node so I am able to send him a fresh mined block and check if he receives it?
Any help here to solve this issue ?
I have a working setup of 3 Bitcoin-qt (
GUI) Regtest in the same machine, I start them separately using these command line options:
Node1:
bitcoin-qt --regtest --port=8330 --datadir="E:\AppData\Bitcoin-altdir1
Node2:
bitcoin-qt --regtest --connect=127.0.0.1:8330 --datadir="E:\AppData\Bitcoin-altdir2
Node3:
bitcoin-qt --regtest --connect=127.0.0.1:8330 --datadir="E:\AppData\Bitcoin-altdir3
Basically, the three regtest nodes should have different data directories (
existing directory) and using the same port.
Second, third and additional nodes have to be set to connect to localhost.