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.

1 Answer 1


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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.