<pre><code>bitcoin-qt -regtest -port=11111 -datadir=.\data -rpcport=11112
</code></pre>

CC BY-SA 4.0
2021-03-31T13:16:05.517Z
When I ran this command, it says that I am ''10 years 8 weeks behind". Is that means qt ignored -regtest and I am at the main net?
s k
CC BY-SA 4.0
2021-04-01T04:16:22.883Z
Regtest is a private test network that you create and control. All it has is a genesis block that was created 10 years ago, so what you see is that Bitcoin Core (both bitcoind and bitcoin-qt) only knows about that genesis block and thus believes it to be out of sync. This can be resolved by simply mining a block.
Ava Chow
CC BY-SA 4.0
2021-03-31T13:06:54.340Z
2021-03-31T13:06:54.340Z
Gox
<p>Currently I am starting a private node using:</p>
<pre><code>bitcoind -regtest -port=11111 -datadir=.\data -rpcport=11112
</code></pre>
<p>I can't find the <code>-regtest</code> option in qt.</p>

CC BY-SA 4.0
2021-03-31T12:55:36.537Z
Pass it when you run qt
MCCCS
CC BY-SA 4.0
2021-03-31T12:57:23.240Z
Sorry I don't understand what you mean by Pass it. QT doesn't like ``-regtest`` if I pass it in.
s k
<bitcoin-qt-setup>
Can I start a Bitcoin Private Node using bitcoin-qt?
s k
# Can I start a Bitcoin Private Node using bitcoin-qt?

(Asked by: username_0 on 2021-03-31)

Currently I am starting a private node using:

```
bitcoind -regtest -port=11111 -datadir=.\data -rpcport=11112

```

I can't find the `-regtest` option in qt.

**Tags:** bitcoin-qt-setup

> **Comments:**
> **username_1**: Pass it when you run qt  
> **username_0**: Sorry I don't understand what you mean by Pass it. QT doesn't like ``-regtest`` if I pass it in.  

---

## 1 answers

### Answer by username_2 on 2021-03-31. Score: 1

```
bitcoin-qt -regtest -port=11111 -datadir=.\data -rpcport=11112

```

> **Comments:**
> **username_0**: When I ran this command, it says that I am ''10 years 8 weeks behind". Is that means qt ignored -regtest and I am at the main net?  
> **username_3**: Regtest is a private test network that you create and control. All it has is a genesis block that was created 10 years ago, so what you see is that Bitcoin Core (both bitcoind and bitcoin-qt) only knows about that genesis block and thus believes it to be out of sync. This can be resolved by simply mining a block.  

---

