Page MenuHomePhabricator

[backport#16521 1/2] wallet/rpc: Use the default maxfeerate value as BTC/kB
AbandonedPublic

Authored by PiRK on Oct 22 2020, 09:28.

Details

Reviewers
Fabien
Group Reviewers
Restricted Owners Package(Owns No Changed Paths)
Restricted Project
Summary

From issue 16382

When the "maxfeerate" option is not passed, the default fee rate is interpreted as an absolute amount. However, when it is passed, it is interpreted as a fee rate.

This makes the interpretation of the default value consistent with a provided value.

This is a backport of Core PR16521 - part 1 of 2
Commit: https://github.com/bitcoin/bitcoin/pull/16521/commits/261843e4bef96ab296a9775819a99bfa60cad743

Test Plan

ninja && ninja check && test/functional/test_runner.py mempool_accept.py wallet_basic.py

Event Timeline

Owners added a reviewer: Restricted Owners Package.Oct 22 2020, 09:28
PiRK requested review of this revision.Oct 22 2020, 09:28
This revision now requires changes to proceed.Oct 22 2020, 09:33

Already backported. I will abandon also PR16078 which i only backported to make this one easier.