Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
AdamSEY opened this issue Feb 27, 2018 · 1 comment
Closed

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

AdamSEY opened this issue Feb 27, 2018 · 1 comment

Comments

@AdamSEY
Copy link

AdamSEY commented Feb 27, 2018

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"
  }
]
@promag
Copy link
Member

promag commented Jul 27, 2018

Related to #12253.

@AdamSEY AdamSEY closed this as completed Jul 28, 2018
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants