For some reason, unclear to me, importmulti requires a redeemscript when just importing a basic private key.
Importmulti cannot import bare private keys #9694
issue gmaxwell opened this issue on February 6, 2017-
gmaxwell commented at 2:56 AM on February 6, 2017: contributor
-
sipa commented at 4:04 AM on February 6, 2017: member
This is a bit redundant and less convenient (it always requires specifying a script or address, and either keys), but I think it allows for very accurate error messages whenever the behaviour wouldn't match the user's expectations. It also makes it obvious where the current codebase's restrictions are (you can't make a non-standard scriptPubKey non-internal, only individual keys can be assigned a birth time, ...), which can be loosened in future iterations if those restrictions are solved.
- fanquake added the label RPC/REST/ZMQ on Feb 6, 2017
-
meshcollider commented at 5:30 AM on November 12, 2018: contributor
I'm not really sure this is an issue, should this remain open?
-
adamjonas commented at 11:18 PM on January 22, 2021: member
Closing for lack of activity. We can reopen if there is more conversation to be had around importmulti requiring a redeemscript and not importing bare private keys.
- adamjonas closed this on Jan 22, 2021
- DrahtBot locked this on Aug 18, 2022
Contributors
Labels