Bitcoin Forum
June 14, 2024, 03:08:59 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin-Qt Wallet Corrupted can't sync - Loosing BTC HELP!!  (Read 1246 times)
Ace5high (OP)
Member
**
Offline Offline

Activity: 67
Merit: 10



View Profile
March 06, 2014, 06:05:18 AM
 #1

Have a wallet I installed Bitcoin-QT about year ago dana few updates since that never saw much use on my Mac OSX. Worked fine. Tried to transfer some BTC there recently and it had Lots of catching up to do with the sync...started at 70%

It ran for few hours and would just randomly crash/shut down. Id restart and may work for 5 hours or 5 seconds before crashing again. For over a week over constantly been restarting it and now its like 97% updated, but closer it gets the more frequent the crashes are... Now it will not even open anymore...

Says "System Error: Database corrupted"  and quits now.  Confirmations complete and my BTC is lost until I can sync this wallet address!!


Is there some way to reinstall a new client/wallet and save/transfer  just the wallet address so I don't loose my BTC into the cloud??? Please any help!!  thanks!!
donsanto
Newbie
*
Offline Offline

Activity: 22
Merit: 0



View Profile WWW
March 09, 2014, 03:32:34 AM
 #2

The bitcoin-qt client has a command called dumpprivkey that can export your private keys.

Quote
launch your bitcoin client as usual and wait for it to load the blockchain and start up
click on 'help' in the menu bar (top right)
click on 'debug window'
select the 'console' tab
type: walletpassphrase "your walletpassphrase here" 600
type: dumpprivkey [your public key here]
this will return the private key, you can copy it now; ensure you clear your clipboard/history afterwards
type: walletlock

walletpassphrase and walletlock is only needed if your wallet is encrypted.

If you are unable to start bitcoin-qt you can dump the private keys with pywallet to back them up.

The issue your having looks like the blockchain may be corrupted. You can try starting the client with -reindex but this will force the client to redownload the block chain. This will take a long long time. atleaste it did for me.
Ace5high (OP)
Member
**
Offline Offline

Activity: 67
Merit: 10



View Profile
March 19, 2014, 04:06:01 PM
 #3

THANK YOU!  BUT.....

Im having trouble locating my walletphrase, isn't it auto generated during install? I know I would have saved it but don't know where or what to search for?  its on OSX 10.9.2 btw...

Is there a filename I can search that contains the info?
BookLover
Hero Member
*****
Offline Offline

Activity: 533
Merit: 500


^Bitcoin Library of Congress.


View Profile
March 20, 2014, 01:14:04 AM
 #4

If you never created a passphrase you can just ignore the "type: walletpassphrase "your walletpassphrase" 600" and go strait to exporting your private keys using the dumpprivkey command.

Dare
Hero Member
*****
Offline Offline

Activity: 508
Merit: 500


Techwolf on #bitcoin and Reddit


View Profile WWW
March 20, 2014, 01:20:33 AM
 #5

Starting bitcoin-qt with the -rescan switch should help fix the database and probably the crashes, but it may take several hours to reindex before the client opens so make sure you don't need to use it for anything else during that time.

BTC: 1M8oUcBnkRDEhWWgV8ZXLTB6p1mgnejVbX
How Forum Activity Works
Bitcointalk Forum Rules
|
|
|
Firstbits (lucky vanitygen): 1WoLfRUGDx1
How Forum Trust Works
Bitcoin Source Code
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!