HomePhabricator

Extend validateaddress information for P2SH-embedded witness

Description

Extend validateaddress information for P2SH-embedded witness

Summary:
This adds new fields 'pubkeys' and 'embedded' to the RPC's output, and improves the
documentation for previously added 'witness_version' and 'witness_program' fields.

This is a partial backport of Core PR11403 : https://github.com/bitcoin/bitcoin/pull/11403/commits/3eaa003c888f80207e8ff132f78417ff373ddfa3

Test Plan:

make check
./test/functional/test_runner.py

Reviewers: #bitcoin_abc, markblundeberg

Reviewed By: #bitcoin_abc, markblundeberg

Subscribers: markblundeberg

Differential Revision: https://reviews.bitcoinabc.org/D3129

Details

Provenance
Pieter Wuille <pieter.wuille@gmail.com>Authored on Dec 1 2017, 00:48
deadalnixCommitted on May 28 2019, 11:25
deadalnixPushed on May 28 2019, 11:47
Reviewer
Restricted Project
Differential Revision
D3129: Extend validateaddress information for P2SH-embedded witness
Parents
rSTAGINGf00d8bc7e0e5: Allow wallet files in multiple directories
Branches
Unknown
Tags
Unknown