<p>There's no particular issues with running both the daemon and the QT using the same data directory, you're also protected against running them both at once due to locking. Most versions, especially within a single major release, are compatible so there's no burning concern about keeping them exactly in sync with one another.</p>

CC BY-SA 4.0
2020-11-30T06:24:02.177Z
OK, wonderful! So the steps I've outlined above seem fine to achieve that?
lollercoaster
CC BY-SA 4.0
2020-11-30T06:21:59.630Z
2020-11-30T06:21:59.630Z
Claris
<p>I've been toying around with bitcoin &amp; lightning nodes.</p>
<p>I like having the Bitcoin Core Qt GUI around for things, but also like being able to change specific configuration / startup flags (maybe eventually contributing) with the source + <code>bitcoind</code>.</p>
<p>My proposed solution is to download Qt GUI (current version 0.20.1) and then get the same version from github and share the same bitcoin chain database.</p>
<p>To do this, I want to have the same version. Is this as easy as:</p>
<pre><code># I downloaded 0.20.1 .dmg file from Bitcoin Core and installed it, thus I need that tag from Github
git clone https://github.com/bitcoin/bitcoin.git
git checkout tags/0.20.1
# ... do build here
</code></pre>
<p>Then, depending on what I'm doing I run either 1) Qt, or 2) bitcoind, but never at same time.</p>
<p>Any additional steps I need to do to check the versions are the same? Is there an easier way to achieve this? Maybe it's just safer to build Qt stuff myself...</p>

<bitcoin-core><bitcoind><bitcoin-qt-setup>
Running both bitcoind and bitcoin-qt for use with lightning
lollercoaster
# Running both bitcoind and bitcoin-qt for use with lightning

(Asked by: username_0 on 2020-11-30)

I've been toying around with bitcoin & lightning nodes.

I like having the Bitcoin Core Qt GUI around for things, but also like being able to change specific configuration / startup flags (maybe eventually contributing) with the source + `bitcoind`.

My proposed solution is to download Qt GUI (current version 0.20.1) and then get the same version from github and share the same bitcoin chain database.

To do this, I want to have the same version. Is this as easy as:

```
# I downloaded 0.20.1 .dmg file from Bitcoin Core and installed it, thus I need that tag from Github
git clone https://github.com/bitcoin/bitcoin.git
git checkout tags/0.20.1
# ... do build here

```

Then, depending on what I'm doing I run either 1) Qt, or 2) bitcoind, but never at same time.

Any additional steps I need to do to check the versions are the same? Is there an easier way to achieve this? Maybe it's just safer to build Qt stuff myself...

**Tags:** bitcoin-core, bitcoind, bitcoin-qt-setup


---

## 1 answers

### Answer by username_1 on 2020-11-30. Score: 1

There's no particular issues with running both the daemon and the QT using the same data directory, you're also protected against running them both at once due to locking. Most versions, especially within a single major release, are compatible so there's no burning concern about keeping them exactly in sync with one another.

> **Comments:**
> **username_0**: OK, wonderful! So the steps I've outlined above seem fine to achieve that?  

---

