1

I did not find much information about the regtest option for monerod. What does it actually do? What are the differences between testnet and regtest?

1 Answer 1

1

What does it actually do?

It runs in a "regression testing mode", which allows you to create a fake blockchain (i.e. it is not validated by other nodes), useful only for development and testing.

What are the differences between testnet and regtest?

Testnet is a public p2p blockchain, other nodes on the testnet network validate transactions and blocks.

4
  • aah I see it. I got confused because I saw a tutorial about creating a private testnet and I thought that was the way to go if I wanted to create a fake blockchain. Thank you!
    – sadtroll
    Jun 21 at 18:16
  • Really depends what you're trying to test. A private testnet still has use.
    – jtgrassie
    Jun 22 at 1:49
  • When should I use a private testnet or regtest?
    – sadtroll
    Jun 22 at 23:47
  • Regtest is most useful for automation/integration testing. A private testnet for more thorough, real-world testing.
    – jtgrassie
    Jun 24 at 5:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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