Page MenuHomePhabricator

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

Authored by deadalnix on Oct 7 2020, 19:16.

Details

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

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

[Bot Message]
One or more PR numbers were detected in the summary.
Links to those PRs have been inserted into the summary for reference.

majcosta requested changes to this revision.Oct 7 2020, 19:59
majcosta added a subscriber: majcosta.
majcosta added inline comments.
test/functional/wallet_groups.py
21 ↗(On Diff #24358)

this is unrelated to the PR unless you want to squash PR18345 into it

This revision now requires changes to proceed.Oct 7 2020, 19:59
This revision is now accepted and ready to land.Oct 8 2020, 00:13