Page MenuHomePhabricator

rpc: Use the default maxfeerate value as BCH/kB
ClosedPublic

Authored by deadalnix on Oct 21 2020, 15:03.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC04e6d1809aab: rpc: Use the default maxfeerate value as BCH/kB
Summary
  • wallet/rpc: Use the default maxfeerate value as BTC/kB
  • test: Add test for default maxfeerate in sendrawtransaction

This patch adds test for the following case

  • maxfeerate is omitted, and the actual fee rate is higher than the default value(0.1 BTC/kB)

This is a backport of Core PR16521

Test Plan
ninja all check-all

Diff Detail

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

Event Timeline

Fabien requested changes to this revision.Oct 21 2020, 15:42
Fabien added a subscriber: Fabien.
Fabien added inline comments.
test/functional/rpc_rawtransaction.py
551 ↗(On Diff #24898)
587 ↗(On Diff #24898)

Nit: BTC => BCH

This revision now requires changes to proceed.Oct 21 2020, 15:42
This revision is now accepted and ready to land.Oct 22 2020, 06:27