user90348: This might be a dumb question: I started the Bitcoin daemon for an initial blockchain download. It immediately started downloading, I edited the Bitcoin.conf file with txindex=1. Stopped and restarted the daemon. How can I be sure the blockchain has txindex=1 correctly set? Should I reminded with the command line Bitcoind -reindex
How can I understand “looking” at a blockchain (day I downloaded from a torrent) that has txindex=1? Thanks

user60443: You can check the debug logs (might require -debug flag) and see if it is indexing transactions:
$ tail -f ~/.bitcoin/debug.log

You can also try to get a transaction by txid, and if it returns transaction data, then the blockchain has been indexed for transactions (might have to wait for sync to complete):
$ bitcoin-cli getrawtransaction {txid}


90348: <p>This might be a dumb question: I started the Bitcoin daemon for an initial blockchain download. It immediately started downloading, I edited the Bitcoin.conf file with txindex=1. Stopped and restarted the daemon. How can I be sure the blockchain has txindex=1 correctly set? Should I reminded with the command line Bitcoind -reindex</p>

<p>How can I understand “looking” at a blockchain (day I downloaded from a torrent) that has txindex=1? Thanks</p>
 60443: <p>You can check the debug logs (might require <code>-debug</code> flag) and see if it is indexing transactions:</p>

<pre><code>$ tail -f ~/.bitcoin/debug.log
</code></pre>

<p>You can also try to get a transaction by txid, and if it returns transaction data, then the blockchain has been indexed for transactions (might have to wait for sync to complete):</p>

<pre><code>$ bitcoin-cli getrawtransaction {txid}
</code></pre>
