HomePhabricator

Use a struct for output eligibility

Description

Use a struct for output eligibility

Summary:
Instead of specifying 3 parameters, use a struct for those parameters
in order to reduce the number of arguments to SelectCoinsMinConf.

This is a partial backport of Core PR10637 : https://github.com/bitcoin/bitcoin/pull/10637/commits/7d77eb1a5b980a7d56acbf0b3861434c5e195c54

Depends on D3245

Test Plan:

mae check

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
Andrew Chow <achow101-github@achow101.com>Authored on Mar 10 2018, 04:11
deadalnixCommitted on Jun 12 2019, 15:18
deadalnixPushed on Jun 12 2019, 15:18
Reviewer
Restricted Project
Differential Revision
D3246: Use a struct for output eligibility
Parents
rABC721d2df22e50: Store effective value, fee, and long term fee in CInputCoin
Branches
Unknown
Tags
Unknown