10

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.

1 Answer 1

11

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.

6
  • 2
    So can i make another peer and connect directly to it?
    – zhiyan114
    Feb 3, 2018 at 21:03
  • Yes. You can use the addnode command and option to have nodes connect to each other. You can use the -connect startup option to make a node only connect to another node.
    – Andrew Chow
    Feb 3, 2018 at 21:07
  • It keep showing connecting to peer or is that normal? After i made a connection
    – zhiyan114
    Feb 3, 2018 at 21:38
  • Does it say that there is a connection?
    – Andrew Chow
    Feb 3, 2018 at 21:41
  • 2
    You can mine on it. Bitcoin Core has a built in miner specifically for regtest. Use the generate command.
    – Andrew Chow
    Feb 3, 2018 at 22:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.