Bitcoin Forum
November 14, 2024, 11:41:48 PM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Prompt on start of the bitcoin client  (Read 154 times)
SaxoBeat (OP)
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
July 24, 2018, 12:25:18 PM
 #1

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
bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



View Profile WWW
July 24, 2018, 12:43:59 PM
 #2

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  Huh
-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 ?


SaxoBeat (OP)
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
July 24, 2018, 12:55:20 PM
 #3

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
SaxoBeat (OP)
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
July 24, 2018, 01:13:25 PM
 #4

prescribed in bitcoin.conf txindex=1, started the client with the command bitcoin-qt.exe -reindex
wait it can work
bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



View Profile WWW
July 24, 2018, 01:53:04 PM
Merited by ABCbits (1)
 #5

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.

SaxoBeat (OP)
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
July 24, 2018, 01:57:31 PM
 #6

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
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!