<p>You can either run <code>bitcoin-qt</code> or <code>bitcoind</code>, not both at the same time (the Qt part is not just a frontend on top of the RPC code, it uses the core directly).</p>

<p>You can however run Bitcoin-Qt with the <code>-server</code> command-line switch, in which case it will also expose an RPC service (essentially functioning like <code>bitcoind</code> in addition to the GUI interface). The RPC console inside the GUI has the exact same functionality as the <code>bitcoind</code> RPC client.</p>

<p>PS: <code>bitcoind</code> is both an RPC server (when started without RPC command on the command-line) and an RPC client (when started with RPC command on the command-line), while Bitcoin-Qt only optionally runs an RPC server (when started with <code>-server</code>).</p>

<p>Update: In version 0.9, <code>bitcoin-cli</code> was added with just the RPC client functionality from <code>bitcoind</code>. In version 0.10, this functionality will be removed from <code>bitcoind</code>. This means that the following ways of interacting will be possible:</p>

<ul>
<li><code>bitcoin-cli</code> or an external RPC client talking to <code>bitcoind</code>.</li>
<li><code>bitcoin-cli</code> or an external RPC client talking to <code>bitcoin-qt -server</code>.</li>
<li>Using the RPC console in <code>bitcoin-qt</code>.</li>
</ul>

CC BY-SA 3.0
2017-02-05T21:45:14.433Z
at least on windows qt gives me another number of blocks downloaded than bitcoind. Is bitcoind downloading to another location as bitcoin-qt? I changed the folder during the installation
tobi
CC BY-SA 3.0
2017-02-05T23:37:20.757Z
No, they should give you the same number.
Pieter Wuille
CC BY-SA 3.0
2013-09-17T19:10:05.060Z
2014-07-06T22:36:09.057Z
2014-07-06T22:36:09.057Z
Pieter Wuille
<p>This is a multi-part question, mainly do to contradictory information from different articles. It's got me all confused.</p>

<p>From my understanding, bitcoin-qt is just a GUI version of bitcoind - which was the original 'client' or 'node'. Is it true that bitcoind is actually built within bitcoin-qt, and runs in the background as a daemon (when the app is open)?</p>

<p>When I first started bitcoin-qt, it started downloading the block-chain. After that, I was curious about setting up a pool server, so I sought out information about that. I ended up going through a tutorial on installing Eloipool - they informed me that I had to have bitcoind setup and running as a daemon. That was interesting, because I thought that it was already running through bitcoin-qt? </p>

<p>This is where my confusion started. I even tried using the bitcoin-qt debug console; but it didn't have the same commands as bitcoind - specifically the rpc ones.</p>

<p>Where does this leave me? Am I doing something wrong? If I shutdown bitcoin-qt and start bitcoind -daemon, then it starts downloading another block-chain.</p>

<p>Do I really need both of these to make this work, or does the bitcoin-qt have access (somehow) to all the bitcoind commands?</p>

<p>Does bitcoin-qt use bitcoin.conf, the same as bitcoind? The reason I ask this, is for setting up the rpcuser and rpcpassword, amongst other things.</p>

<p><strong>* UPDATE *</strong></p>

<p>I did some more reading, and found out that most people just use bitcoind for more serious stuff. Is there not a way to configure bitcoin-qt to use a currently running instance of bitcoind, instead of spawning it's own daemon (when GUI is open).</p>

CC BY-SA 3.0
2015-04-25T00:41:14.137Z
' did some more reading, and found out that most people just use bitcoind for more serious stuff' could you just explain which one?
archer
CC BY-SA 3.0
2015-04-25T16:54:00.967Z
Explain what exactly? Bitcoind is essentially a daemon that runs in the background, and can be used as a command line interface, or for remote commands (from other apps). Bitcoin-qt is just a program that gives you a pretty interface; but in the background, it uses the core of bitcoind (not sure if it spawns its own version of bitcoind or not, or if it just uses core libraries from it), to do all the heavy lifting. I hope that explains it for you.
xil3
<bitcoin-core><bitcoind><bitcoincore-gui>
What's the difference between bitcoind and bitcoin-qt? Different commands?
xil3
# What's the difference between bitcoind and bitcoin-qt? Different commands?

(Asked by: username_0 on 2013-09-17)

This is a multi-part question, mainly do to contradictory information from different articles. It's got me all confused.

From my understanding, bitcoin-qt is just a GUI version of bitcoind - which was the original 'client' or 'node'. Is it true that bitcoind is actually built within bitcoin-qt, and runs in the background as a daemon (when the app is open)?

When I first started bitcoin-qt, it started downloading the block-chain. After that, I was curious about setting up a pool server, so I sought out information about that. I ended up going through a tutorial on installing Eloipool - they informed me that I had to have bitcoind setup and running as a daemon. That was interesting, because I thought that it was already running through bitcoin-qt?

This is where my confusion started. I even tried using the bitcoin-qt debug console; but it didn't have the same commands as bitcoind - specifically the rpc ones.

Where does this leave me? Am I doing something wrong? If I shutdown bitcoin-qt and start bitcoind -daemon, then it starts downloading another block-chain.

Do I really need both of these to make this work, or does the bitcoin-qt have access (somehow) to all the bitcoind commands?

Does bitcoin-qt use bitcoin.conf, the same as bitcoind? The reason I ask this, is for setting up the rpcuser and rpcpassword, amongst other things.

**\* UPDATE \***

I did some more reading, and found out that most people just use bitcoind for more serious stuff. Is there not a way to configure bitcoin-qt to use a currently running instance of bitcoind, instead of spawning it's own daemon (when GUI is open).

**Tags:** bitcoin-core, bitcoind, bitcoincore-gui

> **Comments:**
> **username_1**: ' did some more reading, and found out that most people just use bitcoind for more serious stuff' could you just explain which one?  
> **username_0**: Explain what exactly? Bitcoind is essentially a daemon that runs in the background, and can be used as a command line interface, or for remote commands (from other apps). Bitcoin-qt is just a program that gives you a pretty interface; but in the background, it uses the core of bitcoind (not sure if it spawns its own version of bitcoind or not, or if it just uses core libraries from it), to do all the heavy lifting. I hope that explains it for you.  

---

## 1 answers

### Answer by username_2 on 2013-09-17. Score: 24 | Accepted answer

You can either run `bitcoin-qt` or `bitcoind`, not both at the same time (the Qt part is not just a frontend on top of the RPC code, it uses the core directly).

You can however run Bitcoin-Qt with the `-server` command-line switch, in which case it will also expose an RPC service (essentially functioning like `bitcoind` in addition to the GUI interface). The RPC console inside the GUI has the exact same functionality as the `bitcoind` RPC client.

PS: `bitcoind` is both an RPC server (when started without RPC command on the command-line) and an RPC client (when started with RPC command on the command-line), while Bitcoin-Qt only optionally runs an RPC server (when started with `-server`).

Update: In version 0.9, `bitcoin-cli` was added with just the RPC client functionality from `bitcoind`. In version 0.10, this functionality will be removed from `bitcoind`. This means that the following ways of interacting will be possible:

* `bitcoin-cli` or an external RPC client talking to `bitcoind`.
* `bitcoin-cli` or an external RPC client talking to `bitcoin-qt -server`.
* Using the RPC console in `bitcoin-qt`.

> **Comments:**
> **username_3**: at least on windows qt gives me another number of blocks downloaded than bitcoind. Is bitcoind downloading to another location as bitcoin-qt? I changed the folder during the installation  
> **username_2**: No, they should give you the same number.  

---

