<p>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.</p>
<p>You can run multiple nodes on your regtest network, using the <code>-connect</code> startup option to specify the nodes to connect to.  Bitcoin Core has a built in miner specifically for regtest, using the <code>generate</code> command.  Check <a href="https://developer.bitcoin.org/examples/testing.html" rel="nofollow noreferrer">this developer site</a> for details.</p>

CC BY-SA 4.0
2018-02-03T20:54:42.327Z
2024-12-04T18:27:17.637Z
2024-12-04T18:27:17.637Z
Ava Chow
<p>I'm not sure what is the difference between regtest and testnet. They seem to be different things, but I can't find the difference between them.</p>
<p>Does one have more stuff than the other?</p>
<p>On the regtest, peers are seemingly to not to be found.</p>

<testnet><regtest>
Difference between regtest and testnet
zhiyan114
# Difference between regtest and testnet

(Asked by: username_0 on 2018-02-03)

I'm not sure what is the difference between regtest and testnet. They seem to be different things, but I can't find the difference between them.

Does one have more stuff than the other?

On the regtest, peers are seemingly to not to be found.

**Tags:** testnet, regtest


---

## 1 answers

### Answer by username_1 on 2018-02-03. Score: 13 | Accepted answer

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.

You can run multiple nodes on your regtest network, using the `-connect` startup option to specify the nodes to connect to. Bitcoin Core has a built in miner specifically for regtest, using the `generate` command. Check [this developer site](https://developer.bitcoin.org/examples/testing.html) for details.


---

