Dumpprivkey or dumpwallet won't show my private key for the address in my wallet

3

Haven't opened my wallet in a while so it's not in sync with the network. 5400 blocks remaining as I write. The wallet is not encrypted.

Received some bitcoins to my address in this wallet. Now I want to get the private key of the address and import it to my wallet on blockchain.info

The output of pywallet's dumpwallet command shows a lot of address/private key pairs but none of them are the address I see on my address book which I received the bitcoins to.

Launched BitcoinQT's debug window, tried the dumpprivkey command. Result: Private key for address is not known (code -4)

Thank you.

Emre Kenci

Posted 2013-02-19T15:30:01.407

Reputation: 3 008

1There are at least two versions of pywallet. If I remember correctly Joric's works with compressed public keys, JackJack's does not.Stephen Gornick 2013-02-19T20:10:53.687

Answers

2

The problem was not a technical problem. More like stupidity.

The address I received the bitcoins to is not one of the addresses in the address book. The address book is like your contacts on your phone. Your actual addresses are under the receive coins tab.

So I saved someone else's address to my address book for whatever reason. Then I was trying to extract the private key of that address from my wallet which of course I could not.

Emre Kenci

Posted 2013-02-19T15:30:01.407

Reputation: 3 008

1Don't forget to mark this as an answer...goodguys_activate 2013-03-22T14:36:38.047