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.

  • 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
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.

  • 1
    Don't forget to mark this as an answer... – Christopher Mar 22 '13 at 14:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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