Bitcoin Forum
May 10, 2024, 07:29:53 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin Core Wallet Crashed - How to Recover?  (Read 611 times)
OverEasy (OP)
Sr. Member
****
Offline Offline

Activity: 301
Merit: 251


View Profile
March 08, 2017, 10:35:23 PM
 #1

Ok last week I lost my HD and had to rebuild the BTC chain. After 24 hours a days and 7 DAYS LATER (YES 7 F&^%$ING DAYS) of solid downloading 8 years of this thing from scratch I got to 36 hours left and the damn PC shut down.

No way am I doing another 7 days !!!

Gotta be a way to recover?

I got some error message about something and the core wouldnt load at all.
I executed the --reindex command and realized this was a restart.

All my blocks and chain are there from the last 7 days.

Oh and if your wondering, 8 core cpu, dedicated 30 mb Comcast connection, AV off, Indexing off, Onedrive off, everything off.
Tons of space on 1 TB drive and plenty of free RAM.

Please someone give me some ideas so I dont have to go 7 days again of no PC. I cant use it while this thing is downloading so I don't risk a crash (funny huh, it crashed anyways)

Thanks

1715369393
Hero Member
*
Offline Offline

Posts: 1715369393

View Profile Personal Message (Offline)

Ignore
1715369393
Reply with quote  #2

1715369393
Report to moderator
1715369393
Hero Member
*
Offline Offline

Posts: 1715369393

View Profile Personal Message (Offline)

Ignore
1715369393
Reply with quote  #2

1715369393
Report to moderator
1715369393
Hero Member
*
Offline Offline

Posts: 1715369393

View Profile Personal Message (Offline)

Ignore
1715369393
Reply with quote  #2

1715369393
Report to moderator
The forum was founded in 2009 by Satoshi and Sirius. It replaced a SourceForge forum.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715369393
Hero Member
*
Offline Offline

Posts: 1715369393

View Profile Personal Message (Offline)

Ignore
1715369393
Reply with quote  #2

1715369393
Report to moderator
1715369393
Hero Member
*
Offline Offline

Posts: 1715369393

View Profile Personal Message (Offline)

Ignore
1715369393
Reply with quote  #2

1715369393
Report to moderator
1715369393
Hero Member
*
Offline Offline

Posts: 1715369393

View Profile Personal Message (Offline)

Ignore
1715369393
Reply with quote  #2

1715369393
Report to moderator
AngryDwarf
Sr. Member
****
Offline Offline

Activity: 476
Merit: 501


View Profile
March 08, 2017, 10:41:55 PM
 #2

Sounds like your index got corrupted during the unexpected shutdown. The reindex is not downloading all the blocks again, it is just reindexing them. After experiencing this issue a few times on a mechanical hard drive, it may will have been faster just to download again rather than reindex!

Looking at the download times, it sounds like you have a mechanical hard disk, and that is your bottleneck. It really is that bad.

Consider getting an SSD to store the blockchain on. Then you will be CPU bound, probably will be done in around 24 hours.

Scaling and transaction rate: https://bitcointalk.org/index.php?topic=532.msg6306#msg6306
Do not allow demand to exceed capacity. Do not allow mempools to forget transactions. Relay all transactions. Eventually confirm all transactions.
OverEasy (OP)
Sr. Member
****
Offline Offline

Activity: 301
Merit: 251


View Profile
March 08, 2017, 10:44:58 PM
 #3

I have a 120gb SSD I suppose I could empty. Guess i will try. You are correct the 1 TB HD is a WD mechanical
AngryDwarf
Sr. Member
****
Offline Offline

Activity: 476
Merit: 501


View Profile
March 08, 2017, 10:51:31 PM
 #4

I have a 120gb SSD I suppose I could empty. Guess i will try. You are correct the 1 TB HD is a WD mechanical

Blockchain is about that size, so not an option I suppose. Unfortunately bitcoin database resilience is not the best. Could always use it to get a head start, close bitcoin cleanly, then copy the blockchain over to the mechanical HD and finish the job.

Scaling and transaction rate: https://bitcointalk.org/index.php?topic=532.msg6306#msg6306
Do not allow demand to exceed capacity. Do not allow mempools to forget transactions. Relay all transactions. Eventually confirm all transactions.
OverEasy (OP)
Sr. Member
****
Offline Offline

Activity: 301
Merit: 251


View Profile
March 08, 2017, 10:56:47 PM
 #5

How do I tell the core what path to use if I move over the files?

To get it on SSD I will need to start fresh and tell it /appdata/blah blah blah

But if I move the files to c:/users/appdata how do I tell the core that?
AngryDwarf
Sr. Member
****
Offline Offline

Activity: 476
Merit: 501


View Profile
March 08, 2017, 11:04:14 PM
 #6

How do I tell the core what path to use if I move over the files?

To get it on SSD I will need to start fresh and tell it /appdata/blah blah blah

But if I move the files to c:/users/appdata how do I tell the core that?

Use -datadir command line option. e.g. bitcoin-qt -datadir=D:\Blockchain\BTC - or there is a registry setting you can change, but I'm not using windows right now to look for you.

NOTE: The -datadir command line option overrides the registry setting. You could run regedit and look for it. Something like HKEY_USERS_SOFTWARE/BitcoinCore or something like that. Look for a string which relates to the data directory.

Scaling and transaction rate: https://bitcointalk.org/index.php?topic=532.msg6306#msg6306
Do not allow demand to exceed capacity. Do not allow mempools to forget transactions. Relay all transactions. Eventually confirm all transactions.
OverEasy (OP)
Sr. Member
****
Offline Offline

Activity: 301
Merit: 251


View Profile
March 08, 2017, 11:06:18 PM
 #7

Thanks! You have been a great help!

I'll figure that command out.

Downloading chain now, AGAIN, onto SSD....sigh
AngryDwarf
Sr. Member
****
Offline Offline

Activity: 476
Merit: 501


View Profile
March 08, 2017, 11:12:48 PM
 #8

Also what version of bitcoin are you using? 0.12 and above seems a lot more robust. (or I've been lucky not to have had such problems since).

Scaling and transaction rate: https://bitcointalk.org/index.php?topic=532.msg6306#msg6306
Do not allow demand to exceed capacity. Do not allow mempools to forget transactions. Relay all transactions. Eventually confirm all transactions.
OverEasy (OP)
Sr. Member
****
Offline Offline

Activity: 301
Merit: 251


View Profile
March 08, 2017, 11:13:41 PM
 #9

Oh and I am ordering myself a nice big SSD to put this on later.
Newegg running a good deal on this -

https://www.newegg.com/Product/Product.aspx?Item=N82E16820156151
OverEasy (OP)
Sr. Member
****
Offline Offline

Activity: 301
Merit: 251


View Profile
March 08, 2017, 11:14:11 PM
 #10

Running 13.2
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!