1
I am creating a blank wallet with the intention of adding keys to the keypool but get an error keys can only be imported to the keypool when private keys are disabled
Why? It would be beneficial for users to be able to import their own private keys and get full functionality of the wallet with those keys. Is there any PR for this?
right, but obviously it would be useful to import private keys with an xprv, it seems there is no way to add private keys to the keypool other then importing individual keys. why can't we import an xprv just like we can import an xpub? – Fontaine – 2019-11-18T03:47:14.720
Ah, I see. Looks like you can currently just import private keys in WIF. According to Pieter Wuille's comment in https://bitcoin.stackexchange.com/questions/87610/how-do-you-import-an-xprv-using-descriptors-and-importmulti it might in 0.19.0 , but I have not tested it yet.
– TheCharlatan – 2019-11-18T15:39:32.033yea this is also helpful, testing now https://bitcoin.stackexchange.com/questions/88463/when-i-use-importmulti-with-an-xprv-it-never-imports-the-private-keys-what-am-i/88466?noredirect=1#comment105060_88466
– Fontaine – 2019-11-19T00:40:45.713