HomePhabricator

[wallet] Add change type to CCoinControl

Description

[wallet] Add change type to CCoinControl

Summary:
This is extracted from Core PR12194 . The rest of the PR is not interesting for us at this stage, but this part will avoid merge conflicts.

https://github.com/bitcoin/bitcoin/pull/12194/commits/31dbd5af4863d73c3215355ec5cf85bde2ddc5d8

Depends on D3661

Test Plan:

make check

Reviewers: #bitcoin_abc, jasonbcox

Reviewed By: #bitcoin_abc, jasonbcox

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

Details

Provenance
João Barbosa <joao.paulo.barbosa@gmail.com>Authored on Jan 15 2018, 16:10
deadalnixCommitted on Jul 15 2019, 19:24
deadalnixPushed on Jul 15 2019, 19:24
Reviewer
Restricted Project
Differential Revision
D3662: [wallet] Add change type to CCoinControl
Parents
rABC79fdaf1e1e25: [wallet] use P2WPKH change output if any destination is P2WPKH or P2WSH
Branches
Unknown
Tags
Unknown