3

I am still attempting to complete the receipt of a payment in BitCoin-QT. The initial synchronization is beginning to be a hassle so I thought I might get my key and transfer my wallet to Blockchain.info.

I followed the directions in How do I export my private keys from my Bitcoin-QT? to get my private key. All I get back for dumpprivkey[] is:

Invalid Bitcoin address (code -5).

I thought maybe I had the wrong address so I entered listreceivedbyaddress 0 true.

There are only a couple of addresses since I have a new wallet. All of the addresses returned the same "Invalid Bitcoin address" message. What is going on? I know one of these addresses was used to give to an exchange for my new BC. Is it simply because my blockchain is incomplete and the transaction is incomplete?

5
  • Are you unlocking your wallet before you attempt to use 'dumpprivkey'?
    – Claris
    Sep 20, 2015 at 2:44
  • Yes. I unlocked it. Sep 20, 2015 at 5:14
  • Do the addresses you are trying to dump start with a "1"? Not being synchronised will not stop you from doing these actions.
    – Claris
    Sep 20, 2015 at 5:28
  • No. I made the mistake of literally applying the instructions from How do I export private keys.... I was using the [ ] when entering the call dumpprivkey. I took those out and everything is fine. Thx. Sep 20, 2015 at 13:51
  • You can post your own answer to this question stating your solution, and click the check mark to accept it. Otherwise, the site will continue to show the question as "unanswered". Sep 20, 2015 at 14:27

1 Answer 1

4

My solution to the question for an encrypted wallet:

walletpassphrase "......." 600 dumpprivkey ......

I made the mistake of including the brackets [ ] when entering the public key after the call dumpprivkey.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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