Bitcoin Forum
November 23, 2017, 08:07:27 AM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Broken wallet.dat?  (Read 2431 times)
Kansattica
Member
**
Offline Offline

Activity: 112


Don't get eaten by wolves!


View Profile WWW
May 16, 2012, 09:48:41 PM
 #1

So, a while back (three months ago, I would guess), I kinda dropped out of Bitcoin due to an incident with a scammer I won't go into. Anyways, I recently tried to get back into the Bitcoin game. I tried to open up my old Bitcoin client, and, well, it wouldn't open. So, I updated my bitcoin client, and it always crashes as it loads the block chain with my old wallet.dat. When I try and load a fresh install, it works fine. But every time I try to load in my old wallet.dat, it crashes on me. This has happened on three separate computers now. I know the wallet.dat is intact, as I can get the private keys with pywallet and load them into blockchain.info, but I kinda want to use the client again. Is the newer version of Bitcoin not working with my Wallet.dat? Is there a way I can upconvert it?

Shocking, obligatory charity code:
1Gimmiec4KSrcKR3t6xoReJd4rNGt8zM58

Free BTC every hour:
http://mycryptcoin.com/?rid=1CccBJE7BCTJEvRN9Uxfgwbr11fSaUvjFe

And why not free Bitcoins?
https://bitcointalk.org/index.php?topic=83057

Great (read: best) old computer games for BTC:
https://bitcointalk.org/index.php?topic=85347.0
1511424447
Hero Member
*
Offline Offline

Posts: 1511424447

View Profile Personal Message (Offline)

Ignore
1511424447
Reply with quote  #2

1511424447
Report to moderator
1511424447
Hero Member
*
Offline Offline

Posts: 1511424447

View Profile Personal Message (Offline)

Ignore
1511424447
Reply with quote  #2

1511424447
Report to moderator
Join ICO Now Coinlancer is Disrupting the Freelance marketplace!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1511424447
Hero Member
*
Offline Offline

Posts: 1511424447

View Profile Personal Message (Offline)

Ignore
1511424447
Reply with quote  #2

1511424447
Report to moderator
1511424447
Hero Member
*
Offline Offline

Posts: 1511424447

View Profile Personal Message (Offline)

Ignore
1511424447
Reply with quote  #2

1511424447
Report to moderator
1511424447
Hero Member
*
Offline Offline

Posts: 1511424447

View Profile Personal Message (Offline)

Ignore
1511424447
Reply with quote  #2

1511424447
Report to moderator
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218


Gerald Davis


View Profile
May 16, 2012, 09:54:27 PM
 #2

The wallet.dat may be corrupt even if the private keys are recoverable.

How many private keys are we talking about.  A dozen? Or a couple thousands?

Assumming it is a small number you have two options

a) you could export the keys and create tx sending the funds from old key to a new address (in your new empty wallet).
b) you could import the private keys into your new wallet using the command line using the importprivkey API call.
bulanula
Hero Member
*****
Offline Offline

Activity: 518



View Profile
May 16, 2012, 09:57:04 PM
 #3

Where is the loss Huh

More value for my BTC !

Grin

If you fail to read that newer versions may corrupt your wallet so you should backup it then good on ya !
Kansattica
Member
**
Offline Offline

Activity: 112


Don't get eaten by wolves!


View Profile WWW
May 16, 2012, 09:57:20 PM
 #4

The wallet.dat may be corrupt even if the private keys are recoverable.

How many private keys are we talking about.  A dozen? Or a couple thousands?

Assumming it is a small number you have two options

a) you could export the keys and create tx sending the funds from old key to a new address (in your new empty wallet).
b) you could import the private keys into your new wallet using the command line using the importprivkey API call.

I'd say I have about a 30 or so private keys in there. I've copy-pasted a number of them into blockchain.info, but that's a long, boring process. Which of those would you recommend,  and how would I pull that off?

Shocking, obligatory charity code:
1Gimmiec4KSrcKR3t6xoReJd4rNGt8zM58

Free BTC every hour:
http://mycryptcoin.com/?rid=1CccBJE7BCTJEvRN9Uxfgwbr11fSaUvjFe

And why not free Bitcoins?
https://bitcointalk.org/index.php?topic=83057

Great (read: best) old computer games for BTC:
https://bitcointalk.org/index.php?topic=85347.0
Kitemike
Member
**
Offline Offline

Activity: 108



View Profile WWW
May 16, 2012, 10:02:17 PM
 #5

Something similar happened to me a couple of days ago. I exited completely from my client, then I had to go to "%appdata%/bitcoin" in my windows explorer and delete everything except the wallet.dat

Started up the client again and all was good (after it re-downloaded the chain).


Kansattica
Member
**
Offline Offline

Activity: 112


Don't get eaten by wolves!


View Profile WWW
May 16, 2012, 10:03:24 PM
 #6

Something similar happened to me a couple of days ago. I exited completely from my client, then I had to go to "%appdata%/bitcoin" in my windows explorer and delete everything except the wallet.dat

Started up the client again and all was good (after it re-downloaded the chain).



Was that a new installation?

Shocking, obligatory charity code:
1Gimmiec4KSrcKR3t6xoReJd4rNGt8zM58

Free BTC every hour:
http://mycryptcoin.com/?rid=1CccBJE7BCTJEvRN9Uxfgwbr11fSaUvjFe

And why not free Bitcoins?
https://bitcointalk.org/index.php?topic=83057

Great (read: best) old computer games for BTC:
https://bitcointalk.org/index.php?topic=85347.0
Pieter Wuille
Legendary
*
Offline Offline

Activity: 1050


View Profile WWW
May 16, 2012, 10:03:49 PM
 #7

What error does it die with? "Wallet corrupted" ? If so, recent versions introduced a more strict verification of the keys in the wallet, and cause an error rather than continuing and failing when trying to send a transaction.

For 0.7.0, I intend to add a 'recovery mode', that warns instead of fails; hopefully enough to send your funds elsewhere.

aka sipa, core dev team

Tips and donations: 1KwDYMJMS4xq3ZEWYfdBRwYG2fHwhZsipa
Kitemike
Member
**
Offline Offline

Activity: 108



View Profile WWW
May 16, 2012, 10:07:06 PM
 #8

No, it was originally version 6.0  and I tried installing 6.2 to fix the issue but that did not work.  I found the delete everything instructions while googleing.

Kansattica
Member
**
Offline Offline

Activity: 112


Don't get eaten by wolves!


View Profile WWW
May 16, 2012, 10:07:23 PM
 #9

What error does it die with? "Wallet corrupted" ? If so, recent versions introduced a more strict verification of the keys in the wallet, and cause an error rather than continuing and failing when trying to send a transaction.

For 0.7.0, I intend to add a 'recovery mode', that warns instead of fails; hopefully enough to send your funds elsewhere.

http://imgur.com/HEHVW

There's the error it always comes  back with.

Shocking, obligatory charity code:
1Gimmiec4KSrcKR3t6xoReJd4rNGt8zM58

Free BTC every hour:
http://mycryptcoin.com/?rid=1CccBJE7BCTJEvRN9Uxfgwbr11fSaUvjFe

And why not free Bitcoins?
https://bitcointalk.org/index.php?topic=83057

Great (read: best) old computer games for BTC:
https://bitcointalk.org/index.php?topic=85347.0
Kansattica
Member
**
Offline Offline

Activity: 112


Don't get eaten by wolves!


View Profile WWW
May 16, 2012, 10:08:58 PM
 #10

No, it was originally version 6.0  and I tried installing 6.2 to fix the issue but that did not work.  I found the delete everything instructions while googleing.

I'll have to try that, then. Not like it could hurt anything.

Shocking, obligatory charity code:
1Gimmiec4KSrcKR3t6xoReJd4rNGt8zM58

Free BTC every hour:
http://mycryptcoin.com/?rid=1CccBJE7BCTJEvRN9Uxfgwbr11fSaUvjFe

And why not free Bitcoins?
https://bitcointalk.org/index.php?topic=83057

Great (read: best) old computer games for BTC:
https://bitcointalk.org/index.php?topic=85347.0
Kitemike
Member
**
Offline Offline

Activity: 108



View Profile WWW
May 16, 2012, 10:15:10 PM
 #11

What error does it die with? "Wallet corrupted" ? If so, recent versions introduced a more strict verification of the keys in the wallet, and cause an error rather than continuing and failing when trying to send a transaction.

For 0.7.0, I intend to add a 'recovery mode', that warns instead of fails; hopefully enough to send your funds elsewhere.

http://imgur.com/HEHVW

There's the error it always comes  back with.

That was the same error screen I was dealing with.  Let me know if you it works for you and I'll let you know my obligatory charity address LOL

Pieter Wuille
Legendary
*
Offline Offline

Activity: 1050


View Profile WWW
May 17, 2012, 10:01:51 AM
 #12

Ok, this should definitely not happen. Can you paste the contents of your debug.log file somewhere please?

aka sipa, core dev team

Tips and donations: 1KwDYMJMS4xq3ZEWYfdBRwYG2fHwhZsipa
Kansattica
Member
**
Offline Offline

Activity: 112


Don't get eaten by wolves!


View Profile WWW
May 18, 2012, 12:54:34 AM
 #13

Ok, this should definitely not happen. Can you paste the contents of your debug.log file somewhere please?

The debug.log file is right here: http://pastebin.com/xxnZYV2R

Shocking, obligatory charity code:
1Gimmiec4KSrcKR3t6xoReJd4rNGt8zM58

Free BTC every hour:
http://mycryptcoin.com/?rid=1CccBJE7BCTJEvRN9Uxfgwbr11fSaUvjFe

And why not free Bitcoins?
https://bitcointalk.org/index.php?topic=83057

Great (read: best) old computer games for BTC:
https://bitcointalk.org/index.php?topic=85347.0
Kansattica
Member
**
Offline Offline

Activity: 112


Don't get eaten by wolves!


View Profile WWW
May 24, 2012, 06:52:26 PM
 #14

Bumping this because the problem persists.

Shocking, obligatory charity code:
1Gimmiec4KSrcKR3t6xoReJd4rNGt8zM58

Free BTC every hour:
http://mycryptcoin.com/?rid=1CccBJE7BCTJEvRN9Uxfgwbr11fSaUvjFe

And why not free Bitcoins?
https://bitcointalk.org/index.php?topic=83057

Great (read: best) old computer games for BTC:
https://bitcointalk.org/index.php?topic=85347.0
Kitemike
Member
**
Offline Offline

Activity: 108



View Profile WWW
May 24, 2012, 09:01:23 PM
 #15

Can I assume that deleting everything except for your Wallet.dat file in the bitcoin data directory did not work?

Kansattica
Member
**
Offline Offline

Activity: 112


Don't get eaten by wolves!


View Profile WWW
May 25, 2012, 01:28:29 AM
 #16

Can I assume that deleting everything except for your Wallet.dat file in the bitcoin data directory did not work?

Unfortunately not, but I might as well try that again.

Shocking, obligatory charity code:
1Gimmiec4KSrcKR3t6xoReJd4rNGt8zM58

Free BTC every hour:
http://mycryptcoin.com/?rid=1CccBJE7BCTJEvRN9Uxfgwbr11fSaUvjFe

And why not free Bitcoins?
https://bitcointalk.org/index.php?topic=83057

Great (read: best) old computer games for BTC:
https://bitcointalk.org/index.php?topic=85347.0
drakahn
Hero Member
*****
Offline Offline

Activity: 504



View Profile
May 25, 2012, 06:21:30 AM
 #17

just do the long boring process of importing private keys, then make a new wallet and send them all there, it may be a pain but at least its not a loss

14ga8dJ6NGpiwQkNTXg7KzwozasfaXNfEU
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!