Bitcoin Forum
January 19, 2019, 03:39:58 AM *
News: Latest Bitcoin Core release: 0.17.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Can't dump private keys or wallet in core  (Read 94 times)
Bigpiggy01
Hero Member
*****
Offline Offline

Activity: 925
Merit: 502



View Profile
January 17, 2018, 02:25:00 PM
 #1


I find an old unencrypted (the wife's laptop) backup wallet 2011-2012 from the wife's laptop.

I install Core v0.15.0.1 and open it as normal. (The chain hasn't finished downloading yet)

I try to dump the wallet and keys from the console and get the following errors:

dumpwallet with the appropriate string etc:

Cannot open wallet dump file (code -8)

Exporting individual private keys produces:

Private key for address XYZ is not known (code -4)



Is this some kind of comparability issue where I need to use an older version of core/qt or?Huh

1547869198
Hero Member
*
Offline Offline

Posts: 1547869198

View Profile Personal Message (Offline)

Ignore
1547869198
Reply with quote  #2

1547869198
Report to moderator
1547869198
Hero Member
*
Offline Offline

Posts: 1547869198

View Profile Personal Message (Offline)

Ignore
1547869198
Reply with quote  #2

1547869198
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1547869198
Hero Member
*
Offline Offline

Posts: 1547869198

View Profile Personal Message (Offline)

Ignore
1547869198
Reply with quote  #2

1547869198
Report to moderator
HCP
Legendary
*
Offline Offline

Activity: 854
Merit: 1036

<insert witty quote here>


View Profile
January 17, 2018, 06:28:28 PM
 #2

The first error is probably a "pathing" error with Bitcoin Core... I've found that on Windows you need to specify the FULL path...

dumpwallet "E:\path\to\dumpfile.txt"

NOTE: the drive letter also seems to be case sensitive??!? I've had errors using "e:\path\to\dumpfile.txt"! Roll Eyes


Your second error would indicate that the address you are attempting to dump is a "watch-only" address and that the wallet file does not hold the private key for that address? Huh

Bigpiggy01
Hero Member
*****
Offline Offline

Activity: 925
Merit: 502



View Profile
January 18, 2018, 08:56:28 AM
 #3

The first error is probably a "pathing" error with Bitcoin Core... I've found that on Windows you need to specify the FULL path...

dumpwallet "E:\path\to\dumpfile.txt"

NOTE: the drive letter also seems to be case sensitive??!? I've had errors using "e:\path\to\dumpfile.txt"! Roll Eyes


Your second error would indicate that the address you are attempting to dump is a "watch-only" address and that the wallet file does not hold the private key for that address? Huh

I'm afraid not, the pathing is just fine as per your quote. I've done this multiple time before with 0 issues so this is a bit of a riddle to me.

I think core may be grabbing some of the transactions as addresses as I've checked them against old records from other wallets.

Also this wallet might be older than that as I remember using it to mine with the laptop itself using the builtin miner and finding a few blocks.

Could it be the newer DB structure of current core that is messing it up somehow?

HCP
Legendary
*
Offline Offline

Activity: 854
Merit: 1036

<insert witty quote here>


View Profile
January 18, 2018, 09:36:29 AM
 #4

Quite possibly... You could try the following:

1. Make a backup of your wallet file!... Wink
2. Put the COPY into the Bitcoin Core datadir
3. Start Bitcoin Core with commandline argument -upgradewallet

Hopefully, that will then allow you to dump the keys etc. If that doesn't work, then PyWallet might be able to dump the addresses/keys.

One last thought... Are you 100% sure this is a BITCOIN wallet? Any chance it could be a DOGE or LTC wallet or some other altcoin?

Bigpiggy01
Hero Member
*****
Offline Offline

Activity: 925
Merit: 502



View Profile
January 18, 2018, 10:04:42 AM
 #5

Quite possibly... You could try the following:

1. Make a backup of your wallet file!... Wink
2. Put the COPY into the Bitcoin Core datadir
3. Start Bitcoin Core with commandline argument -upgradewallet

Hopefully, that will then allow you to dump the keys etc. If that doesn't work, then PyWallet might be able to dump the addresses/keys.

One last thought... Are you 100% sure this is a BITCOIN wallet? Any chance it could be a DOGE or LTC wallet or some other altcoin?

Thanks HCP I'll give that a go.

It's not an alt wallet, it predates LTC and DOGE by a fair bit  Grin The laptop has been at the bottom of a moving box for ages. It's just an exercise in claiming dust on BCH and BTC chains before their tx fees grow.

Pages: [1]
  Print  
 
Jump to:  

Bitcointalk.org is not available or authorized for sale. Do not believe any fake listings.
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!