HomePhabricator

Reduce the use of ClearArg and only guarantee that we clear forced args.

Description

Reduce the use of ClearArg and only guarantee that we clear forced args.

Summary: This feature doesn't exist in Core, so reducing its surface make sense. It is not strictly limited to forced args at the moment, but the name provide intent and we'll get there after backporting Core PR15934 .

Test Plan:

make check

Updated test to reflect the new behavior.

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
deadalnixAuthored on Apr 27 2020, 00:04
deadalnixPushed on Apr 27 2020, 12:53
Reviewer
Restricted Project
Differential Revision
D5850: Reduce the use of ClearArg and only guarantee that we clear forced args.
Parents
rSTAGING154faf31ba11: [backport#15288] Remove uses of fPruneMode in wallet code
Branches
Unknown
Tags
Unknown