<p>It stands for &quot;regression test&quot;. As you can see here:</p>
<blockquote>
<p><strong>Regtest</strong></p>
<p><strong>Regression test mode</strong></p>
<p>A local testing environment in which developers can almost instantly
generate blocks on demand for testing events, and can create private
satoshis with no real-world value.</p>
</blockquote>
<p><a href="https://developer.bitcoin.org/glossary.html?highlight=regression" rel="noreferrer">https://developer.bitcoin.org/glossary.html?highlight=regression</a></p>

CC BY-SA 4.0
2021-09-14T08:35:18.827Z
2021-09-14T08:35:18.827Z
Thorkil Værge
<p>Bitcoin &quot;regtest&quot; is for when you want to run a local version of Bitcoin where the state is only shared within a small community, whereas both &quot;mainnet&quot; and &quot;testnet&quot; are shared with the rest of the world.</p>
<p>I get why its called &quot;mainnet&quot; and &quot;testnet&quot;, but where does the word &quot;regtest&quot; come from?</p>

<terminology><regtest>
Why is "regtest" called "regtest"?
Thorkil Værge
# Why is "regtest" called "regtest"?

(Asked by: username_0 on 2021-09-14)

Bitcoin "regtest" is for when you want to run a local version of Bitcoin where the state is only shared within a small community, whereas both "mainnet" and "testnet" are shared with the rest of the world.

I get why its called "mainnet" and "testnet", but where does the word "regtest" come from?

**Tags:** terminology, regtest


---

## 1 answers

### Answer by username_0 on 2021-09-14. Score: 6 | Accepted answer

It stands for "regression test". As you can see here:

> **Regtest**
>
> **Regression test mode**
>
> A local testing environment in which developers can almost instantly
> generate blocks on demand for testing events, and can create private
> satoshis with no real-world value.

<https://developer.bitcoin.org/glossary.html?highlight=regression>


---

