<p>If you installed Bitcoin Core on linux, the config file is most likely found in ~/.bitcoin/bitcoin.conf</p>

<p>Edit bitcoin.conf file and just add <code>txindex=1</code> anywhere you like on a new line, just make sure it's not commented out. </p>

CC BY-SA 4.0
2018-09-13T11:14:15.213Z
2018-09-13T11:14:15.213Z
mango
<p>How do I set 'txindex = 1' in bitcoincore?</p>

<p>I installed it on linux ubuntu.
I can not find the /home/bitcoin/bitcoin.conf file.</p>

<p>Path to '/home/bitcoin/share/examples/bitcoin.conf'The bitcoin.
conf file is found, but there is no place to set txindex = 1 inside.</p>

<bitcoin-core><bitcoin.conf>
How do I set 'txindex = 1' in bitcoincore?
Younha Jo
# How do I set 'txindex = 1' in bitcoincore?

(Asked by: username_0 on 2018-09-13)

How do I set 'txindex = 1' in bitcoincore?

I installed it on linux ubuntu.
I can not find the /home/bitcoin/bitcoin.conf file.

Path to '/home/bitcoin/share/examples/bitcoin.conf'The bitcoin.
conf file is found, but there is no place to set txindex = 1 inside.

**Tags:** bitcoin-core, bitcoin.conf


---

## 1 answers

### Answer by username_1 on 2018-09-13. Score: 4 | Accepted answer

If you installed Bitcoin Core on linux, the config file is most likely found in ~/.bitcoin/bitcoin.conf

Edit bitcoin.conf file and just add `txindex=1` anywhere you like on a new line, just make sure it's not commented out.


---

