Bitcoin Forum
November 10, 2024, 07:35:12 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Trouble with pywallet (recovered and partially recovered wallets)  (Read 852 times)
bret (OP)
Member
**
Offline Offline

Activity: 99
Merit: 10


View Profile
November 28, 2013, 06:07:45 PM
 #1

Hello,

I am unable to post or reply in an area likely to be seen by jackjack but I am having some trouble with a recovered wallet and partially recovered wallet from a crashed HDD.

My recovered wallet is showing a balance of 0.00BTC and my partially recovered wallet appears to be useless.  I am really unclear on how I use either of these files.

I copied the recovered_wallet.dat to my Bitcoin folder and renamed it wallet.dat, did a BitcoinQT --rescan and it shows no balance.

I am unable to get the partially recovered wallet to do much of anything.

Also in my recovered wallet folder I have the following files

drwxr-xr-x   272B Nov 20 05:53 .bitcoin
-rw-r--r--   2.1K Oct 31 02:18 README
-rw-r-----   10M Nov 19 20:13 log.0000000001
-rwxr--r--   337K Oct 31 02:18 pywallet.py
-rw-r--r--   4.7K Nov 19 20:13 pywallet_partial_recovery_1384920810.dat
-rw-r-----   16K Nov 19 20:13 recovered_wallet_1384920812.dat

contents of .bitcoin
-rw-r-----  24K Nov 20 05:53 __db.001
-rw-r-----  200K Nov 20 05:53 __db.002
-rw-r-----  264K Nov 20 05:53 __db.003
-rw-r-----  96K Nov 20 05:53 __db.004
-rw-r-----  736K Nov 20 05:53 __db.005
-rw-r-----  56K Nov 20 05:53 __db.006


What do I do with the files __db files in .bitcoin? Can I dump or some how salvage the files in partially recovered wallet? If not, what is the purpose of this file? How do I dump the keys from my recovered_wallet_1384920812.dat and is there any way to determine the approximate age of the keys in that file?  Should I be able to locate some of my send/recv addresses in either of those files?

Thanks!

Can someone please point jackjack to this thread, I would greatly appreciate it.
jackjack
Legendary
*
Offline Offline

Activity: 1176
Merit: 1280


May Bitcoin be touched by his Noodly Appendage


View Profile
November 29, 2013, 09:41:47 PM
 #2

Hi!

pywallet_partial_recovery_XXX.dat is just a file that records the places where pywallet found some data. It avoids having to rescan the whole disk (which is kinda long) if something crashes.
The __db files is something that is due to my too light understanding of the bsddb library (which is the format of bitcoin-qt wallets)


I copied the recovered_wallet.dat to my Bitcoin folder and renamed it wallet.dat, did a BitcoinQT --rescan and it shows no balance.
How many keys did it manage to recover?

How do I dump the keys from my recovered_wallet_1384920812.dat and is there any way to determine the approximate age of the keys in that file? 
The regular way, recovered_wallet_1384920812.dat is really a wallet.dat (pywallet.py --dumpwallet --wallet recovered_wallet_1384920812.dat or something like that)

Should I be able to locate some of my send/recv addresses in either of those files?
They should be in the recovered_wallet_1384920812.dat, try looking at the dump

Own address: 19QkqAza7BHFTuoz9N8UQkryP4E9jHo4N3 - Pywallet support: 1AQDfx22pKGgXnUZFL1e4UKos3QqvRzNh5 - Bitcointalk++ script support: 1Pxeccscj1ygseTdSV1qUqQCanp2B2NMM2
Pywallet: instructions. Encrypted wallet support, export/import keys/addresses, backup wallets, export/import CSV data from/into wallet, merge wallets, delete/import addresses and transactions, recover altcoins sent to bitcoin addresses, sign/verify messages and files with Bitcoin addresses, recover deleted wallets, etc.
bret (OP)
Member
**
Offline Offline

Activity: 99
Merit: 10


View Profile
December 10, 2013, 12:13:49 AM
 #3


Should I be able to locate some of my send/recv addresses in either of those files?
They should be in the recovered_wallet_1384920812.dat, try looking at the dump


I tried to run the dump and I get this

./pywallet.py --dumpwallet --wallet recovered_wallet_1384920812.dat
ERROR:root:Couldn't open wallet.dat/main. Try quitting Bitcoin and running this again.
Sormerense
Newbie
*
Offline Offline

Activity: 30
Merit: 0


View Profile
December 10, 2013, 01:50:58 AM
 #4

Just broke my Zetacoin wallet while encrypting. So scare.
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!