Bitcoin Forum
May 11, 2024, 10:23:41 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: 1 2 [All]
  Print  
Author Topic: Reindexing blocks (5 years...)  (Read 1605 times)
Antena (OP)
Newbie
*
Offline Offline

Activity: 20
Merit: 1


View Profile
February 29, 2016, 03:05:39 PM
 #1

Hi,

After update my Bictoin Core to 0.12.0 whe restarted, got the message which the blocks are corrupted and must be reindexed, but the wait time is upper than 5 years here.
Anyone now hoe to solve it?
The grue lurks in the darkest places of the earth. Its favorite diet is adventurers, but its insatiable appetite is tempered by its fear of light. No grue has ever been seen by the light of day, and few have survived its fearsome jaws to tell the tale.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715466221
Hero Member
*
Offline Offline

Posts: 1715466221

View Profile Personal Message (Offline)

Ignore
1715466221
Reply with quote  #2

1715466221
Report to moderator
1715466221
Hero Member
*
Offline Offline

Posts: 1715466221

View Profile Personal Message (Offline)

Ignore
1715466221
Reply with quote  #2

1715466221
Report to moderator
Lutpin
Copper Member
Legendary
*
Offline Offline

Activity: 1876
Merit: 1874


Goodbye, Z.


View Profile WWW
February 29, 2016, 03:07:43 PM
 #2

After update my Bictoin Core to 0.12.0 whe restarted, got the message which the blocks are corrupted and must be reindexed, but the wait time is upper than 5 years here.
Anyone now hoe to solve it?
It means your client is more than 5 years behind with the blocks it is reindexing, that's no estimate on how long you have to wait, but on how far down the chain the process is.
It will go down from those >5 years slowly up until it catches up with the current blocks.

▄▄█████████▄▄
▄█████████████████▄
▄████▀▀▀▀█████▀▀▀▀████▄
████▀██████▀█▀██████▀████
██████████████████████████
▐█████▄███████████████▄█████▌
▐███████▄▄█████████▄▄███████▌
▐██████▀█████████████▀██████▌
▐███████████████████████████▌
▀██████████████████████▀
▀████▄████▄▀▀▄████▄████▀
▀███████▀███▀███████▀
▀▀█████████████▀▀
  ▀▀▀▀▀▀▀▀▀
   ███████
██████████
██████████
██████████
██████████
██████████
██████████
██████████
██████████
██████████
██████████
██████████
███████



             ▄████████████████████████████████████████████████████████████▄
            ██                          ▄▄▄▄▄▄                           ██
           ██  ██████                ▄██████████▄     ████████████████████▀
          ██  ████████             ▄████▀   ▀████▄    ████▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
         ██  ████  ████           ████▀       ▀██▀    ████
        ██  ████    ████        ▄███▀                 ████

       ██  ████      ████       ███▀                  ████▄▄▄▄▄▄▄▄▄▄
      ██  ████        ████      ███                   ██████████████
     ██  ████          ████     ███▄                  ████▀▀▀▀▀▀▀▀▀▀

    ██  ████████████████████    ▀████                 ████
   ██  ██████████████████████    ▀████▄        ▄██▄   ████

  ██  ████                ████     ▀████▄   ▄████▀    ████▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
 ██  ████                  ████      ▀██████████▀     ████████████████████▄
  ██                                    ▀▀▀▀▀▀                           ██
   ▀█████████████████████████████████████████████████████████████████████▀
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3388
Merit: 6635


Just writing some code


View Profile WWW
February 29, 2016, 03:09:14 PM
 #3

No, you do not have to wait 5 years. That just means the latest block that it had indexed is from 5 years ago. The reindexing should only take a few hours to a day or so.

Antena (OP)
Newbie
*
Offline Offline

Activity: 20
Merit: 1


View Profile
February 29, 2016, 03:19:26 PM
 #4

After update my Bictoin Core to 0.12.0 whe restarted, got the message which the blocks are corrupted and must be reindexed, but the wait time is upper than 5 years here.
Anyone now hoe to solve it?
It means your client is more than 5 years behind with the blocks it is reindexing, that's no estimate on how long you have to wait, but on how far down the chain the process is.
It will go down from those >5 years slowly up until it catches up with the current blocks.

Thank you. I will wait. Now rest 4 years and 21 weeks.
teddy5145
Hero Member
*****
Offline Offline

Activity: 714
Merit: 528


View Profile
February 29, 2016, 04:19:50 PM
 #5

How much Internet speed you have ? because downloading the whole block can take a few gigs
If you don't really want to download the whole block that can take gigs, you can use wallet like electrum where you don't need any block indexing and ready to go Wink
Though, you will need to import your old private key from Bitcoin core to Electrum, shouldn't be a problem for you right ?
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3388
Merit: 6635


Just writing some code


View Profile WWW
February 29, 2016, 04:30:27 PM
 #6

How much Internet speed you have ? because downloading the whole block can take a few gigs
If you don't really want to download the whole block that can take gigs, you can use wallet like electrum where you don't need any block indexing and ready to go Wink
Though, you will need to import your old private key from Bitcoin core to Electrum, shouldn't be a problem for you right ?

Since he is reindexing, internet speed doesn't matter, hard drive and CPU do. The blockchain is not being redownloaded here.

cluit
Legendary
*
Offline Offline

Activity: 1176
Merit: 1016



View Profile
February 29, 2016, 06:39:21 PM
 #7

A friend of mine also have the exact same problem. His mac is a 2.3GHz Intel Corei5 with 8GB ram.
So... not exactly a tree sloth of a computer, and it has taken a few days.. and now it is sitting at around 70% at not appearing to make any further progress.. he cant see any any errors being thrown, but..maybe is happens sometimes. Most of the time Bitcoin core have no problem at all.
Antena (OP)
Newbie
*
Offline Offline

Activity: 20
Merit: 1


View Profile
February 29, 2016, 07:03:09 PM
 #8

Anyone know if there's any way to accelerate this reindex?
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3388
Merit: 6635


Just writing some code


View Profile WWW
February 29, 2016, 07:29:26 PM
 #9

Anyone know if there's any way to accelerate this reindex?
Get better hardware. Tongue

I think the setting the -dbcache=<n> where N is the size in megabytes of the cache to a larger size might make it faster.

whizz94
Full Member
***
Offline Offline

Activity: 149
Merit: 100


Solar Bitcoin Specialist


View Profile WWW
February 29, 2016, 07:42:35 PM
 #10

I think that a full reindex is slower and less reliable than anyone likes to admit to.
0.12.0 has changed some stuff which might index the chain differently enough to want reindexing.
In linux at a terminal,
after [file][quit] to stop bitcoin if it had autostarted at login,
bitcoin-qt -reindex -datadir=/home/username/.bitcoin &

I'd expect that to run for three days straight on an average 3GHz quadcore such as an i5 with plenty (>=3GB) of RAM
If that runs for a random length of time between an hour and a day before crashes, try moving (?deleting) /.bitcoin/database/ and /.bitcoin/peers.dat and then
bitcoin-qt -reindex -datadir=/home/username/.bitcoin &

Once a reindex has completed, you can start BTC as normal at login or from its icon, and it remembers the location of your /.bitcoin/

As for how to speed things up, it is indexing every BTC transaction ever.  Perhaps could someone comment on pruned nodes ?
shorena
Copper Member
Legendary
*
Offline Offline

Activity: 1498
Merit: 1520


No I dont escrow anymore.


View Profile WWW
March 01, 2016, 09:09:20 AM
 #11

I think that a full reindex is slower and less reliable than anyone likes to admit to.

Its needed to fix certain errors, not sure what time frame you consider "slower than like to admit".

0.12.0 has changed some stuff which might index the chain differently enough to want reindexing.
In linux at a terminal,
after [file][quit] to stop bitcoin if it had autostarted at login,
bitcoin-qt -reindex -datadir=/home/username/.bitcoin &

You dont have to pass the default datadir.

I'd expect that to run for three days straight on an average 3GHz quadcore such as an i5 with plenty (>=3GB) of RAM

Id expect <24 hours with 0.12.

If that runs for a random length of time between an hour and a day before crashes, try moving (?deleting) /.bitcoin/database/ and /.bitcoin/peers.dat and then
bitcoin-qt -reindex -datadir=/home/username/.bitcoin &

Why delete the peers.dat? Also there is no /.bitcoin/database folder, are you refering to chainstate maybe?

Once a reindex has completed, you can start BTC as normal at login or from its icon, and it remembers the location of your /.bitcoin/

As for how to speed things up, it is indexing every BTC transaction ever.  Perhaps could someone comment on pruned nodes ?

Pruned nodes dont store the entire blockchain, but only a part of it. What exactly is your question?



Anyone know if there's any way to accelerate this reindex?
Get better hardware. Tongue

I think the setting the -dbcache=<n> where N is the size in megabytes of the cache to a larger size might make it faster.

dbcache=4096 is a speedup, but it will result in core using ~5.5 GB of memory.

I recently did a full sync in 8.5 hours[1] with 2/4 i5 cores on a mechanical disk. It significantly slows shutdown time though, so I wouldnt use that as a normal setting.

[1] https://bitcointalk.org/index.php?topic=1357766.msg14008753#msg14008753

Im not really here, its just your imagination.
Antena (OP)
Newbie
*
Offline Offline

Activity: 20
Merit: 1


View Profile
March 03, 2016, 02:44:49 PM
Last edit: March 03, 2016, 02:57:02 PM by Antena
 #12

Anyone can tell me an online secure wallet to avoid these problems?

Already past 4 days and i the counter show me 1 year and six weeks yet...

ZonedOutSpace
Sr. Member
****
Offline Offline

Activity: 280
Merit: 250

From Russia with love


View Profile
March 03, 2016, 02:53:42 PM
 #13

Anyone can tell me one online secure wallet to avoid these problems?

Already past 4 days and i the counter show me 1 year and six weeks yet...



Maybe try https://www.electrum.org/ it's a desktop client that you don't need to sync
Antena (OP)
Newbie
*
Offline Offline

Activity: 20
Merit: 1


View Profile
March 05, 2016, 03:49:13 PM
 #14

Anyone can tell me one online secure wallet to avoid these problems?

Already past 4 days and i the counter show me 1 year and six weeks yet...



Maybe try https://www.electrum.org/ it's a desktop client that you don't need to sync

Thank you i will try it.


The reindexing now rest 43 weeks. Frustrating experience with this Bictoin Core to 0.12.0.
ZonedOutSpace
Sr. Member
****
Offline Offline

Activity: 280
Merit: 250

From Russia with love


View Profile
March 07, 2016, 07:03:58 PM
 #15

Anyone can tell me one online secure wallet to avoid these problems?

Already past 4 days and i the counter show me 1 year and six weeks yet...



Maybe try https://www.electrum.org/ it's a desktop client that you don't need to sync

Thank you i will try it.


The reindexing now rest 43 weeks. Frustrating experience with this Bictoin Core to 0.12.0.

How did it work for you?
Antena (OP)
Newbie
*
Offline Offline

Activity: 20
Merit: 1


View Profile
March 07, 2016, 07:09:15 PM
 #16

Quote

How did it work for you?

Worked so simple which i have fear about his securance.
It's really secure?

ZonedOutSpace
Sr. Member
****
Offline Offline

Activity: 280
Merit: 250

From Russia with love


View Profile
March 08, 2016, 06:23:53 PM
 #17

Quote

How did it work for you?

Worked so simple which i have fear about his securance.
It's really secure?



Yes just keep your seed safe
You could generate a new seed with 2FA for added security!  Wink
Antena (OP)
Newbie
*
Offline Offline

Activity: 20
Merit: 1


View Profile
March 08, 2016, 07:05:01 PM
 #18

Quote

How did it work for you?

Worked so simple which i have fear about his securance.
It's really secure?



Yes just keep your seed safe
You could generate a new seed with 2FA for added security!  Wink

I don't know nothing about it. Can you explain, please?
ZonedOutSpace
Sr. Member
****
Offline Offline

Activity: 280
Merit: 250

From Russia with love


View Profile
March 08, 2016, 09:31:35 PM
 #19

Quote

How did it work for you?

Worked so simple which i have fear about his securance.
It's really secure?



Yes just keep your seed safe
You could generate a new seed with 2FA for added security!  Wink

I don't know nothing about it. Can you explain, please?

You can read more about Electrum 2FA here http://docs.electrum.org/en/latest/2fa.html
Antena (OP)
Newbie
*
Offline Offline

Activity: 20
Merit: 1


View Profile
March 08, 2016, 10:22:16 PM
 #20

Quote

How did it work for you?

Worked so simple which i have fear about his securance.
It's really secure?



Yes just keep your seed safe
You could generate a new seed with 2FA for added security!  Wink

I don't know nothing about it. Can you explain, please?

You can read more about Electrum 2FA here http://docs.electrum.org/en/latest/2fa.html

Thank you. Tryed this one but not work's on windows as they say in donwload page

"Note: The QR code scanner is not supported in Windows binaries"
ZonedOutSpace
Sr. Member
****
Offline Offline

Activity: 280
Merit: 250

From Russia with love


View Profile
March 08, 2016, 10:26:55 PM
 #21

Quote

How did it work for you?

Worked so simple which i have fear about his securance.
It's really secure?



Yes just keep your seed safe
You could generate a new seed with 2FA for added security!  Wink

I don't know nothing about it. Can you explain, please?

You can read more about Electrum 2FA here http://docs.electrum.org/en/latest/2fa.html

Thank you. Tryed this one but not work's on windows as they say in donwload page

"Note: The QR code scanner is not supported in Windows binaries"

I'm using linux, sorry didn't see that :p
defined
Hero Member
*****
Offline Offline

Activity: 574
Merit: 500


View Profile
March 08, 2016, 10:47:11 PM
 #22

Anyone can tell me an online secure wallet to avoid these problems?
Choose your Bitcoin wallet
Pages: 1 2 [All]
  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!