Importmulti cannot import bare private keys #9694

issue gmaxwell openend this issue on February 6, 2017
  1. gmaxwell commented at 2:56 am on February 6, 2017: contributor
    For some reason, unclear to me, importmulti requires a redeemscript when just importing a basic private key.
  2. sipa commented at 4:04 am on February 6, 2017: member

    #7551 (comment) ?

    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.

  3. fanquake added the label RPC/REST/ZMQ on Feb 6, 2017
  4. meshcollider commented at 5:30 am on November 12, 2018: contributor
    I’m not really sure this is an issue, should this remain open?
  5. 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.
  6. adamjonas closed this on Jan 22, 2021

  7. 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-11-17 15:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me