HomePhabricator

[RPC] Adding ::minRelayTxFee amount to getmempoolinfo and updating help

Description

[RPC] Adding ::minRelayTxFee amount to getmempoolinfo and updating help

Summary:

These are RPC document changes from #11475 which is now merged. Took
into consideration comments from #11475 and #6941 for this PR.

Biggest change here is when calling getmempoolinfo, will now show the
minrelaytxfee in the JSON reponse (see below):

$ bitcoin-cli getmempoolinfo
{
  "size": 50,
  "bytes": 13102,
  "usage": 70480,
  "maxmempool": 300000000,
  "mempoolminfee": 0.00001000,
  "minrelaytxfee": 0.00001000
}

Fixes #8953

Backport of core PR12001
https://github.com/bitcoin/bitcoin/pull/12001/files

Depends on D3431

Test Plan:

./test/functional/test_runner.py mempool_limit
bitcoin-cli help getmempoolinfo

Reviewers: #bitcoin_abc, deadalnix, jasonbcox

Reviewed By: #bitcoin_abc, jasonbcox

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

Details

Provenance
Jeff Rade <jeffrade@gmail.com>Authored on Dec 24 2017, 00:42
FabienCommitted on Jun 27 2019, 20:12
FabienPushed on Jun 27 2019, 20:12
Reviewer
Restricted Project
Differential Revision
D3432: [RPC] Adding ::minRelayTxFee amount to getmempoolinfo and updating help
Parents
rABC7838b8995b29: Fix currency/fee-rate unit string in the help text
Branches
Unknown
Tags
Unknown