user2075: Is it possible to specify txindex=1 option in bitcoin.conf or elsewhere?
It doesn't seem to work. Whenever I run bitcoind -daemon, it stops. 
If I remove txindex=1 from the conf file, it works. 
I am using regtest mode.
Here is the conf file:
rpcuser=abc
rpcpassword=secret
regtest=1
rpcport=8332
txindex=1 


user3697: If bitcoind stops, them you should have a look in your debug.log file.
Enabling -txindex with an already initialised blockchain (not your first regtest start) requires a reindex.
Either you start with -reindex-chainstate or you delete your <bitcoin-data-dir>/regtest folder

2075: <p>Is it possible to specify <code>txindex=1</code> option in bitcoin.conf or elsewhere?
It doesn't seem to work. Whenever I run <code>bitcoind -daemon</code>, it stops. </p>

<p>If I remove <code>txindex=1</code> from the conf file, it works. </p>

<p>I am using regtest mode.</p>

<p>Here is the conf file:</p>

<pre><code>rpcuser=abc
rpcpassword=secret
regtest=1
rpcport=8332
txindex=1 
</code></pre>
 3697: <p>If bitcoind stops, them you should have a look in your <code>debug.log</code> file.
Enabling <code>-txindex</code> with an already initialised blockchain (not your first regtest start) requires a reindex.</p>

<p>Either you start with <code>-reindex-chainstate</code> or you delete your <code>&lt;bitcoin-data-dir&gt;/regtest folder</code></p>
