Unable to importprivkey #15736

issue 0x23212f opened this issue on April 3, 2019
  1. 0x23212f commented at 9:51 PM on April 3, 2019: none

    Have been trying to import some recovered private keys into bitcoin core for the past 2 days. After syncing the entire bitcoin blockchain, I've verified the same using bitcoin-cli getnetworkinfo.

    Then, I've tried to run bitcoin-cli importprivkey the_key "" true to enable a rescan after import (since I wanted to do one at a time, to verify spend-ability of balances).

    However, while looking at the debug.log, I notice that the rescan is complete, yet the balances are not updated across my wallets.

    Since I am unable to determine why the balances are not updating, I am trying to import the address into bitcoin core first before importing the private key.

    Note, that the private key I tried to import starts with a K and has 52 characters. The beginning part of the recovered path is: m/44'/0'/0'/0/427.

    I expect to be able to import these balances and make them spendable. However, I'm not even able to see the balances when running bitcoin-cli getwalletinfo.

  2. gwillen commented at 11:12 PM on April 3, 2019: contributor

    You may wish to consider deleting this issue for the sake of your privacy, and finding a more private route to get assistance. (Regrettably, it's hard for me to recommend a specific one; the developers are generally available on Freenode IRC, but it's important not to trust anybody whose bonafides you can't verify, and -- you probably already know this, but to be sure -- in general do not trust anybody with private keys, or any bitcoin output you aren't completely sure does not contain or reveal private keys. The actual developers will be scrupulously careful to avoid asking you for anything that would reveal them.)

  3. 0x23212f commented at 11:57 PM on April 3, 2019: none

    Thank you for the suggestions gwillen. I'm already on #bitcoin on Freenode. I got this far through the inputs of users there. Have redacted the amount, and deleted the version of the post that contains it. I hope that redacts it. Want to leave this question here in hopes of getting the attention of any developers that can help.

  4. gwillen commented at 10:14 PM on April 8, 2019: contributor

    Did you solve your problem?

  5. 0x23212f commented at 8:13 AM on April 9, 2019: none

    Hey gwillen, no unfortunately not :( It turns out that the private key doesn't correspond to that address, nor any other address on the list.

  6. MarcoFalke commented at 1:42 PM on April 9, 2019: member

    On the wallet that has the private key, can you run listunspent(addresses=["add1", ...]) to see if there are any unspents and then verify that dumpprivkey "add1" is indeed the private key that you are importing?

    Also, be reminded that support requests are best directed to the Bitcoin StackExchange.

  7. MarcoFalke added the label Questions and Help on Apr 9, 2019
  8. MarcoFalke added the label Wallet on Apr 9, 2019
  9. gwillen commented at 7:25 PM on April 9, 2019: contributor

    @MarcoFalke note that there was already some IRC discussion on this -- I can point you to logs if desired.

  10. MarcoFalke commented at 3:51 PM on April 26, 2020: member

    Is this still an issue with a recent version of Bitcoin Core? If yes, what are the steps to reproduce?

  11. MarcoFalke closed this on Apr 26, 2020

  12. MarcoFalke locked this on Feb 15, 2022

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-21 15:14 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me