Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: SaxoBeat on July 24, 2018, 12:25:18 PM



Title: Prompt on start of the bitcoin client
Post by: SaxoBeat on July 24, 2018, 12:25:18 PM
Please tell me launch the bitcoin client, run the client command bitcoin.exe -txindex, writes start reindex, has launched renderserver, after trying again -txindex not work, again writes start -reindex

with bitcoind.exe is also the most


Title: Re: Prompt on start of the bitcoin client
Post by: bob123 on July 24, 2018, 12:43:59 PM
Please tell me launch the bitcoin client, run the client command bitcoin.exe -txindex, writes start reindex, has launched renderserver, after trying again -txindex not work, again writes start -reindex

with bitcoind.exe is also the most


I don't understand your question/problem  ???
-txindex is used to index all transactions which you then can query using RPC calls. You do only need this if you are a developer and want/need to access all transactions (e.g. creating a block explorer).

Did you set txindex=1 in the configuration file? Or did you start core with the -txindex flag? Both should work.

Mind explaining what exactly doesn't work ?



Title: Re: Prompt on start of the bitcoin client
Post by: SaxoBeat on July 24, 2018, 12:55:20 PM
prescribed in bitcoin.conf-txindex, I start the client writes
You need to rebuild the database using -reindex to change -txindex
prescribe in bitcoin.conf-reindex-chainstate all reindeered change-txindex and again writes will reindexer


Title: Re: Prompt on start of the bitcoin client
Post by: SaxoBeat on July 24, 2018, 01:13:25 PM
prescribed in bitcoin.conf txindex=1, started the client with the command bitcoin-qt.exe -reindex
wait it can work


Title: Re: Prompt on start of the bitcoin client
Post by: bob123 on July 24, 2018, 01:53:04 PM
Setting txindex=1 will indeed require to run the reindex command the first time.
Since txindex tells core to index all transactions and you don't have old transactions indexed yet, you will need to run reindex once.

Note that this does take quite some time and won't be done within a few minutes.


Title: Re: Prompt on start of the bitcoin client
Post by: SaxoBeat on July 24, 2018, 01:57:31 PM
that is, I did correctly by writing in bitcoin.conf txindex=1 and start the client with the command bitcoin-qt.exe -reindex
and after indexing you need to run without the option -reindex leaving in bitcoin.conf with txindex=1