4
I'm not sure what is the difference between regtest and testnet, they seem are different things but i cant find the different between them.
Does one have more stuff than others?
On the regtest, peer are seem to not being found.
4
I'm not sure what is the difference between regtest and testnet, they seem are different things but i cant find the different between them.
Does one have more stuff than others?
On the regtest, peer are seem to not being found.
4
Regtest is a network designed solely to be private and for testing only. You can create a private regtest network and do testing and experimentation with it. It is not a public network and has no peers for you to connect to.
So can i make another peer and connect directly to it? – zhiyan114 – 2018-02-03T21:03:01.277
Yes. You can use the
addnodecommand and option to have nodes connect to each other. You can use the-connectstartup option to make a node only connect to another node. – Andrew Chow – 2018-02-03T21:07:53.390It keep showing connecting to peer or is that normal? After i made a connection – zhiyan114 – 2018-02-03T21:38:52.847
Does it say that there is a connection? – Andrew Chow – 2018-02-03T21:41:45.093
yes, by the way, how do i add coin to it since i cant mine on it? – zhiyan114 – 2018-02-03T22:10:23.403
1You can mine on it. Bitcoin Core has a built in miner specifically for regtest. Use the
generatecommand. – Andrew Chow – 2018-02-03T22:18:48.047