Timeline for Bitcoin Core private key import

Current License: CC BY-SA 4.0

8 events
when toggle format what by license comment
Aug 25 '20 at 12:34 comment added Antoine Poinsot Also, maybe better to come to #bitcoin on freenode (IRC) for this kind of support
Aug 25 '20 at 12:33 comment added Antoine Poinsot Arf, to check that your redeemScript was correct does decodescript output your initial address ? Checking again the documentation of importmulti, i don't think you need to specify the public keys. Finally, are you sure there are funds on the address ?
Aug 25 '20 at 12:29 comment added user738676 The rescan was already finished. I left the pubkeys in the same order as returned by decodescript. Do the private keys need to be in any particular order? Note that I only have M private keys, not all N of them.
Aug 25 '20 at 11:24 comment added Antoine Poinsot This looks correct, if the pubkeys are in the right order. Regarding the wallet balance: it's expected that's specifically the point of the rescan. Let's wait for it to finish and see if it got some utxos
Aug 25 '20 at 11:03 comment added user738676 I've executed importmulti and waited for the rescan to complete, but the wallet balance is still shown as zero. Also, bitcoin-cli dumpprivkey <addr> says 'address does not refer to a key'. I provided the following parameters to importmulti: scriptPubKey (obtained via bitcoin-cli getaddressinfo <addr>), timestamp, redeemscript, pubkeys (obtained via bitcoin-cli decodescript <redeemscript>, keys. Are there any other parameters that I should have provided, or where else could this have gone wrong? Didn't get an error message or warning.
Aug 24 '20 at 22:22 comment added Antoine Poinsot Yes, if you have the redeem script or already spent funds you are fine. You can use the decodescript RPC command to get pubkeys out of the redeemscript.
Aug 24 '20 at 21:58 comment added user738676 I have the required threshold number of private keys, but none of the public keys. However, as noted above, I do have a redeem script. Also, I have spent funds from the address previously. Is it possible to extract the public keys from the redeem script or a block explorer?
Aug 21 '20 at 10:45 history answered Antoine Poinsot CC BY-SA 4.0