HomePhabricator

rpc: Validate maxfeerate with AmountFromValue

Description

rpc: Validate maxfeerate with AmountFromValue

Summary:

With this change maxfeerate can also be set as a string, accordingly to the help test:

maxfeerate (numeric or string,

Backport of Core PR15770

Test Plan: ninja all check-all

Reviewers: O1 Bitcoin ABC, #bitcoin_abc, deadalnix

Reviewed By: O1 Bitcoin ABC, #bitcoin_abc, deadalnix

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

Details

Provenance
João Barbosa <joao.paulo.barbosa@gmail.com>Authored on Apr 8 2019, 14:40
PiRKCommitted on Oct 6 2020, 07:29
PiRKPushed on Oct 6 2020, 07:29
Reviewer
Restricted Owners Package
Differential Revision
D7768: rpc: Validate maxfeerate with AmountFromValue
Parents
rABCff866e03efaa: doc: Clarify RPC versioning
Branches
Unknown
Tags
Unknown