HomePhabricator

refactor: remove redundant fOnlySafe argument

Description

refactor: remove redundant fOnlySafe argument

Summary:
The fOnlySafe argument to AvailableCoins is now redundant, since #21359
added a similar field inside the CCoinControl struct.

Not all code paths set a CCoinControl instance, but when it's missing we
can default to using only safe inputs which is backwards-compatible.

This is a backport of core#21910

Depends on D14403

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
t-bast <bastuc@hotmail.fr>Authored on May 11 2021, 07:58
PiRKCommitted on Aug 24 2023, 15:53
PiRKPushed on Aug 24 2023, 15:53
Reviewer
Restricted Project
Differential Revision
D14405: refactor: remove redundant fOnlySafe argument
Parents
rABC95c9e10a1da4: rpc: include_unsafe option for fundrawtransaction
Branches
Unknown
Tags
Unknown