Bitcoin core 0.16.0rc3 importmulti works with Bech32 segwit! #12554

issue AdamSEY opened this issue on February 27, 2018
  1. AdamSEY commented at 6:56 AM on February 27, 2018: none

    As that answer in here

    As noted in the Bitcoin Core 0.16 release notes, importmulti does not support SegWit addresses yet. This will be fixed in an upcoming release.

    I've tried to import watch-only segwit bech32 address using importmulti and it did work! Sounds great to me But, if not fixed yet how did it work?

    I've tried to import addresses as follows:

    ./src/bitcoin-cli  importmulti     [
        {
            "scriptPubKey" : { "address": "tb1qh2sdesazn9ac34xk3qt4d2jn0vhd993hjrkk9h" },
            "timestamp" : "now",
            "watchonly" : "true"
        }
      ] ,  { "rescan": false }
    
    

    Response: {"success":true}

    ./src/bitcoin-cli listtransactions "" 10 0 true

    [
      {
        "involvesWatchonly": true,
        "account": "",
        "address": "tb1qh2sdesazn9ac34xk3qt4d2jn0vhd993hjrkk9h",
        "category": "receive",
        "amount": 0.10000000,
        "label": "",
        "vout": 0,
        "confirmations": 0,
        "trusted": false,
        "txid": "48089a814ac571944feb7162cc0145eea4e72742aa51f6f23d470debd838eeb3",
        "walletconflicts": [
        ],
        "time": 1519713147,
        "timereceived": 1519713147,
        "bip125-replaceable": "yes"
      }
    ]
    
  2. fanquake added the label RPC/REST/ZMQ on Mar 6, 2018
  3. promag commented at 9:31 PM on July 27, 2018: member

    Related to #12253.

  4. AdamSEY closed this on Jul 28, 2018

  5. DrahtBot locked this on Sep 8, 2021
Contributors

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: 2026-04-13 15:15 UTC

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