Importmulti cannot import bare private keys #9694
issue gmaxwell openend this issue on February 6, 2017-
gmaxwell commented at 2:56 am on February 6, 2017: contributorFor some reason, unclear to me, importmulti requires a redeemscript when just importing a basic private key.
-
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: contributorI’m not really sure this is an issue, should this remain open?
-
adamjonas commented at 11:18 pm on January 22, 2021: memberClosing 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
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: 2024-12-18 18:12 UTC
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: 2024-12-18 18:12 UTC
This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me
More mirrored repositories can be found on mirror.b10c.me