Post
Topic
Board Bitcoin Technical Support
Re: Issue importing wallet from private key on bitcoin core version 25
by
FredCailloux
on 07/03/2024, 17:03:45 UTC
It's your wallet.dat. You can't use importprivkey on a descriptor wallet which is the default wallet type in v26.0.
OK. I need to clearly understand this.

Yesterday I did an experiment. I installed Bitcoin Core V22 fully synced. I was able to importprivkey and succesfully run rescanblockchain.
I could see my Sats. Then I updated to V26, just by updating the bin folder. I relaunched Bitcoin Core.
The wallet oppened and the amount of Sats were OK.

So, here is my comprehension, pls correct me if needed:
* Starting at V23, creating a wallet would not allow the importprivkey command.
* If a blank wallet is created with V22 and importprivkey, this wallet can, subsequently be opened with V23 and up.
* It is not the Bitcoin Core version that prevent importprivkey, but the type of wallet created from the appropriate version.

So then, if "it's in the wallet" Does that mean that if a wallet is importprivkey compatible, then a user could importprivkey in V26.
In other words: Is importprivkey functionality stricktly dependent on the kind of wallet and not the Bicoin Core version ?

Thanks