HomePhabricator

Improve handling of INVALID in IsMine

Description

Improve handling of INVALID in IsMine

Summary:

  • Do not expose invalidity from IsMine
  • Add additional unit tests for invalid IsMine combinations
  • Add P2WSH destination helper and use it instead of manual hashing

This is a backport of Core PR13491

Test Plan:

ninja all check-all

Reviewers: #bitcoin_abc, majcosta

Reviewed By: #bitcoin_abc, majcosta

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

Details

Provenance
Pieter Wuille <pieter.wuille@gmail.com>Authored on Jun 17 2018, 23:28
deadalnixCommitted on Jun 5 2020, 08:15
deadalnixPushed on Jun 5 2020, 08:16
Reviewer
Restricted Project
Differential Revision
D6381: Improve handling of INVALID in IsMine
Parents
rABCda311f5ed8fe: Fix UniValue .write() changes for C++98
Branches
Unknown
Tags
Unknown