Bitcoin Forum
May 02, 2024, 08:40:27 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin-qt always reindexes blocks on startup [SOLVED]  (Read 611 times)
99Percent (OP)
Full Member
***
Offline Offline

Activity: 402
Merit: 100


🦜| Save Smart & Win 🦜


View Profile WWW
September 20, 2016, 08:58:52 PM
Last edit: September 21, 2016, 05:53:26 PM by 99Percent
 #1

I have upgraded to Bitcoin Core version v0.13.0.0-ga402396 (64-bit) on Ubuntu 15.10

Everytime I start it, it will do a Reindexing of blocks on disk from the start. It takes about a day to do so and consumes a lot of CPU.

I patiently wait for it to finish before closing it down. But the next time I start it, it will again do the reindexing from start.

What could be the issue here?

TIA.

1714682427
Hero Member
*
Offline Offline

Posts: 1714682427

View Profile Personal Message (Offline)

Ignore
1714682427
Reply with quote  #2

1714682427
Report to moderator
"In a nutshell, the network works like a distributed timestamp server, stamping the first transaction to spend a coin. It takes advantage of the nature of information being easy to spread but hard to stifle." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714682427
Hero Member
*
Offline Offline

Posts: 1714682427

View Profile Personal Message (Offline)

Ignore
1714682427
Reply with quote  #2

1714682427
Report to moderator
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3388
Merit: 6577


Just writing some code


View Profile WWW
September 20, 2016, 09:01:23 PM
 #2

Is it promoting you to reindex or does it just happen? If the latter, check whatever your are using to start bitcoin core that it doesn't have the -reindex option set.

99Percent (OP)
Full Member
***
Offline Offline

Activity: 402
Merit: 100


🦜| Save Smart & Win 🦜


View Profile WWW
September 21, 2016, 04:50:44 AM
 #3

Is it promoting you to reindex or does it just happen? If the latter, check whatever your are using to start bitcoin core that it doesn't have the -reindex option set.

It just happens. I launch bitcoin-qt from the start menu in Xfce4. The .desktop is as follows:
Code:
[Desktop Entry]
Encoding=UTF-8
Name=Bitcoin
Comment=Bitcoin P2P Cryptocurrency
Comment[fr]=Bitcoin, monnaie virtuelle cryptographique pair à pair
Comment[tr]=Bitcoin, eşten eşe kriptografik sanal para birimi
Exec=bitcoin-qt %u
Terminal=false
Type=Application
Icon=bitcoin128
MimeType=x-scheme-handler/bitcoin;
Categories=Office;Finance;

achow101
Moderator
Legendary
*
Offline Offline

Activity: 3388
Merit: 6577


Just writing some code


View Profile WWW
September 21, 2016, 04:56:31 AM
 #4

Interesting. Find the bitcoin.conf file if it exists. It should be in ~/.bitcoin if you didn't change the defaults. Make sure that there isn't something like
Code:
reindex=1
in there.

99Percent (OP)
Full Member
***
Offline Offline

Activity: 402
Merit: 100


🦜| Save Smart & Win 🦜


View Profile WWW
September 21, 2016, 05:53:07 PM
 #5

Yeah, that was it. I edited the file commenting out the line.

I wonder what changed the bitcoin.conf that way though since I certainly didn't.

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!