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