HomePhabricator

Add address_types test

Description

Add address_types test

Summary:
Improvements and cleanups by John Newbery

This is from PR11403 : https://github.com/bitcoin/bitcoin/pull/11403/commits/b224a47a1a5feac380506abff63fae91d7a93b39

We initially decided not to backport it because we don't have this feature, but it turns out it exercice various parts of the code and is useful. In addition, it makes backport easier.

Also include a trick similar to PR17124 to significantly speedup the test.

Test Plan:

ninja all check-all

Reviewers: #bitcoin_abc, majcosta

Reviewed By: #bitcoin_abc, majcosta

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

Details

Provenance
Pieter Wuille <pieter.wuille@gmail.com>Authored on Dec 2 2017, 21:03
deadalnixCommitted on May 19 2020, 00:06
deadalnixPushed on May 19 2020, 00:07
Reviewer
Restricted Project
Differential Revision
D6131: Add address_types test
Parents
rABC09a1fe4bbe53: Add tests for InferDescriptor and Descriptor::IsSolvable
Branches
Unknown
Tags
Unknown

Event Timeline