Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: Jujutu on October 20, 2017, 05:18:24 PM



Title: How do I configure bitcoin-qt to see all transactions?
Post by: Jujutu on October 20, 2017, 05:18:24 PM
Hi all,

I have just joined and this is my first post. Please forgive me if this is a common question - I have checked the forum and not found anything meself.
I am doing the Nicosia cryptocurrency MOOC and have a full Bitcoin Core node running on my computer so that I can explore the blockchain to understand things more clearly using the console.
I have now run up against the ?non-wallet? transaction error message. I understand that I need to index all transactions in the blockchain to get round this. But I do not know how to achieve this.
I am running under Windows10, with the default configuration (I cannot find a bitcoin.conf file anywhere).
Can anybody give me pointers of what to do? Edit bitcoin.conf - but where should it go? Command line parameters for bitcoin-qt?

Any and all advice gratefully received,

Julian


Title: Re: How do I configure bitcoin-qt to see all transactions?
Post by: achow101 on October 20, 2017, 07:40:12 PM
In Bitcoin Core, go to Settings > Options and click the button "Open Configuration File". Add txindex=1 to the text file that is opened and save it. Then restart Bitcoin Core, it will say that a reindex is required, click OK. The blockchain will be reindexed and the transaction index will be built so that you can request any arbitrary transaction.