Bitcoin Forum
April 19, 2024, 08:13:54 PM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Need help restoring wallet! $ reward if ur post solves my problem  (Read 1567 times)
Skriem (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
January 17, 2012, 07:31:17 PM
Last edit: January 17, 2012, 08:39:02 PM by Skriem
 #1

hi,

ive been mining coins for a while on 8x 6970 in 2 PCs

my wallet.dat file went corrupt :S and i need help restoring...

this is the error im getting (last lines from debug.log)

------------------------------------------------------------
Loading wallet...

************************
EXCEPTION: NSt8ios_base7failureE      
CDataStream::read() : end of data      
A:\Program Files (x86)\Bitcoin\bitcoin-qt.exe in Runaway exception      
--------------------------------------------------------------

wallet.dat = 160KB

i did try to remove all but the wallet.dat file and restarted the bitcoin client.
no success..

tried to import the wallet.dat on another computer with a fresh win7+bitcoin install.
no success

tried to recover previous versions of the wallet.dat with recover software, found a few. none work Sad

also tried all bitcoin clients from 0.3.21 - 0.5.1


then i found the following:

https://bitcointalk.org/index.php?topic=11331.0

problem is .. i have 0 linux/python knowledge..

i dont know how to run the .py files.

first step should be dbdump.py
but how to run the command on my wallet ?

ive downloaded python 2.7
ive placed the bitcointools in the same folder as the wallet.dat,
did several attempts in both python command line and IDLE (python gui)
but to be honest .. i have no idea what im doing.. >_<

i need to know exactly which commands i need to run in python..

wallet contains about 300 coins >_<
help me out.. and ill throw some coins your way...

thx !





1713557634
Hero Member
*
Offline Offline

Posts: 1713557634

View Profile Personal Message (Offline)

Ignore
1713557634
Reply with quote  #2

1713557634
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.
1713557634
Hero Member
*
Offline Offline

Posts: 1713557634

View Profile Personal Message (Offline)

Ignore
1713557634
Reply with quote  #2

1713557634
Report to moderator
1713557634
Hero Member
*
Offline Offline

Posts: 1713557634

View Profile Personal Message (Offline)

Ignore
1713557634
Reply with quote  #2

1713557634
Report to moderator
1713557634
Hero Member
*
Offline Offline

Posts: 1713557634

View Profile Personal Message (Offline)

Ignore
1713557634
Reply with quote  #2

1713557634
Report to moderator
Anillos
Sr. Member
****
Offline Offline

Activity: 462
Merit: 250


View Profile
January 17, 2012, 08:21:35 PM
 #2

Try to uninstall the program, and reinstalling it with your latest wallet.dat file.

Aquí puedes conseguir pequeños ahorros sin mucho esfuerzo: http://www.bitvisitor.com/?ref=1PWNAGEZ3fSM8QevUavdd2iZ9F5jkp1QHZ
Consigue algo más viendo vídeos o haciendo pequeñas tareas en Bitcoinget.com: https://bitcointalk.org/index.php?topic=178692.msg2509190#msg2509190
¿necesitas un dibujo vectorial, un esquema, un diagrama...? https://bitcointalk.org/index.php?topic=183268.0
Skriem (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
January 17, 2012, 08:36:12 PM
 #3

thx for the reply,
but as stated in my post.. i already tried that (on 3 different pc's)
codymanix
Full Member
***
Offline Offline

Activity: 203
Merit: 121

Gir: I'm gonna sing the Doom Song now..


View Profile
January 17, 2012, 09:07:24 PM
 #4

The important thing from the wallet.dat are the private keys belonging to each receiving address.
The private keys from a receiving address "contains" all the coins which you received with that address.
You can import these keys in a new wallet.dat which may bring these coins back, although there is no guarantee.

Maybe this is helping you: https://bitcointalk.org/index.php?topic=25091.0

Programming tutorials, Tools, Games & Humor http://deutronium.de.vu
My Vircurex referral code for persistant 0.05% trade discount: 750-33267 or use
https://vircurex.com/welcome/index?referral_id=750-33267
Skriem (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
January 18, 2012, 12:46:03 AM
 #5

missed that 1..
will give it a try tomorrow..

thx
Skriem (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
January 18, 2012, 07:28:58 PM
 #6

tried to run fixwallet.py

Traceback (most recent call last):
  File "C:\Users\SkRiEm\AppData\Roaming\Bitcoin\fixwallet.py", line 61, in <module>
    main()
  File "C:\Users\SkRiEm\AppData\Roaming\Bitcoin\fixwallet.py", line 56, in main
    rewrite_wallet(db_env, options.outfile)
  File "C:\Users\SkRiEm\AppData\Roaming\Bitcoin\wallet.py", line 310, in rewrite_wallet
    parse_wallet(db, item_callback)
  File "C:\Users\SkRiEm\AppData\Roaming\Bitcoin\wallet.py", line 34, in parse_wallet
    for (key, value) in db.items():
DBPageNotFoundError: (-30986, 'DB_PAGE_NOTFOUND: Requested page not found')



any thoughts ?
Maged
Legendary
*
Offline Offline

Activity: 1204
Merit: 1015


View Profile
January 18, 2012, 08:36:47 PM
 #7

Try pywallet:
https://bitcointalk.org/index.php?topic=34028.0

Was your wallet encrypted?

scintill
Sr. Member
****
Offline Offline

Activity: 448
Merit: 252


View Profile WWW
January 18, 2012, 08:43:53 PM
 #8

Do you have a backup?  If not, make one now, as the coins may still be recoverable but could be lost if something happens to what you have left of the wallet.  Also, using the computer the wallet was on increases the likelihood that any remnants of the wallet will be lost.  Although, since you have tried recovery software maybe that doesn't matter as much.

The "DB_PAGE_NOTFOUND: Requested page not found" error sounds like another symptom of the wallet being corrupted. Here's some advice on extracting keys with a hex editor.  You can also try contacting the author of the post, Casascius, for help, as he is a trusted community member and has successfully helped people with this in the past, both with advice and with doing it for them, for a fee.

1SCiN5kqkAbxxwesKMsH9GvyWnWP5YK2W | donations
Skriem (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
January 19, 2012, 04:08:09 AM
 #9

thx for the replies Smiley
offcourse i made backups to different locations already 
was talking with casascius already Smiley
getting some hope back here Cheesy
casascius
Mike Caldwell
VIP
Legendary
*
Offline Offline

Activity: 1386
Merit: 1136


The Casascius 1oz 10BTC Silver Round (w/ Gold B)


View Profile WWW
January 19, 2012, 05:35:42 PM
 #10

Outcome: SUCCESSFUL RECOVERY.

I had him send me his wallet.dat, and performed my normal recovery steps on them: searching for "04 20" and using any groups of 32 bytes that follow this sequence as a potential private key.

I was able to recover over 100 BTC.

OP wrote me and said he believes wallet should have contained about 200 BTC (and his original post says 300 BTC).  I advised him to publish the wallet and the recovery transaction (I sent him the link) so that third parties could confirm the accuracy of the recovery.  It is possible that the original problem with the file - the fact that it was corrupted - could have obliterated some of the private keys, and that my recovery salvaged only what remained undamaged.  If nothing else, others should be able to confirm that if I were unscrupulous and "misdirected" some coins out of his wallet, somebody with a copy of the wallet would be able to confirm that, or rule that out.  I am also assuming that this wallet has no encryption, etc... nor should it contain any private keys that don't have "04 20" before them (someone please correct me if there's reason to believe I'm wrong on this).

The sha256 hash of the wallet I received was b1658b421ac148847e78f9f9d5996e93fa4476ec04432dfca09a8727672b3389.

Companies claiming they got hacked and lost your coins sounds like fraud so perfect it could be called fashionable.  I never believe them.  If I ever experience the misfortune of a real intrusion, I declare I have been honest about the way I have managed the keys in Casascius Coins.  I maintain no ability to recover or reproduce the keys, not even under limitless duress or total intrusion.  Remember that trusting strangers with your coins without any recourse is, as a matter of principle, not a best practice.  Don't keep coins online. Use paper or hardware wallets instead.
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!