HomePhabricator

wallet: always do avoid partial spends if fees are within a specified range

Description

wallet: always do avoid partial spends if fees are within a specified range

Summary:

  • wallet: try -avoidpartialspends mode and use its result if fees are below threshold

The threshold is defined by a new max avoid partial spends fee flag, which defaults to 0 (i.e. if fees are unchanged, use the grouped option).

  • test: test the implicit avoid partial spends functionality

Co-authored-by: Fabian Jahr <fjahr@protonmail.com>

This is a backport of Core PR14582

Test Plan:

ninja all check-all

Reviewers: #bitcoin_abc, majcosta

Reviewed By: #bitcoin_abc, majcosta

Subscribers: majcosta

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

Details

Provenance
Karl-Johan Alm <karljohan-alm@garage.co.jp>Authored on Oct 26 2018, 00:36
deadalnixCommitted on Oct 8 2020, 12:07
deadalnixPushed on Oct 8 2020, 12:07
Reviewer
Restricted Project
Differential Revision
D7807: wallet: always do avoid partial spends if fees are within a specified range
Parents
rABC8ef33956015c: gui: Enable console line edit on setClientModel
Branches
Unknown
Tags
Unknown