Page MenuHomePhabricator

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

Authored by Fabien on Jun 27 2019, 10:00.

Details

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

Diff Detail

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