Take the 2-minute tour ×
Bitcoin Stack Exchange is a question and answer site for Bitcoin crypto-currency enthusiasts. It's 100% free, no registration required.

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.

share|improve this question
1  
There are at least two versions of pywallet. If I remember correctly Joric's works with compressed public keys, JackJack's does not. –  Stephen Gornick Feb 19 '13 at 20:10
add comment

1 Answer

up vote 2 down vote accepted

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.

share|improve this answer
1  
Don't forget to mark this as an answer... –  makerofthings7 Mar 22 '13 at 14:36
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.