rpc: Return incrementalrelayfee in getmempoolinfo #25439

pull MarcoFalke wants to merge 1 commits into bitcoin:master from MarcoFalke:2206-rpc-policy-🥙 changing 2 files +5 −2
  1. MarcoFalke commented at 4:08 PM on June 21, 2022: member

    Seems odd to return other policy info, but not the incremental relay fee

  2. rpc: Return incrementalrelayfee in getmempoolinfo fafee78188
  3. fanquake added the label RPC/REST/ZMQ on Jun 21, 2022
  4. unknown approved
  5. w0xlt approved
  6. w0xlt commented at 4:59 PM on June 21, 2022: contributor
  7. DrahtBot commented at 5:22 PM on June 21, 2022: contributor

    <!--e57a25ab6845829454e8d69fc972939a-->

    The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

    <!--174a7506f384e20aa4161008e828411d-->

    Conflicts

    Reviewers, this pull request conflicts with the following ones:

    • #25353 (Add a -mempoolfullrbf node setting by ariard)

    If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

  8. DrahtBot cross-referenced this on Jun 21, 2022 from issue Add a `-mempoolfullrbf` node setting by ariard
  9. brunoerg commented at 11:50 PM on June 21, 2022: contributor

    Concept ACK

  10. jarolrod commented at 3:45 AM on June 27, 2022: member

    tACK fafee78188c3de5f6245ec769429822ca4b98c63

    {
      "loaded": true,
      "size": 1,
      "bytes": 141,
      "usage": 1168,
      "total_fee": 0.00000141,
      "maxmempool": 300000000,
      "mempoolminfee": 0.00001000,
      "minrelaytxfee": 0.00001000,
      "incrementalrelayfee": 0.00001000,
      "unbroadcastcount": 0
    }
    
  11. MarcoFalke merged this on Jun 27, 2022
  12. MarcoFalke closed this on Jun 27, 2022

  13. MarcoFalke deleted the branch on Jun 27, 2022
  14. in src/rpc/mempool.cpp:685 in fafee78188
     681 | @@ -681,7 +682,8 @@ static RPCHelpMan getmempoolinfo()
     682 |                  {RPCResult::Type::NUM, "maxmempool", "Maximum memory usage for the mempool"},
     683 |                  {RPCResult::Type::STR_AMOUNT, "mempoolminfee", "Minimum fee rate in " + CURRENCY_UNIT + "/kvB for tx to be accepted. Is the maximum of minrelaytxfee and minimum mempool fee"},
     684 |                  {RPCResult::Type::STR_AMOUNT, "minrelaytxfee", "Current minimum relay fee for transactions"},
     685 | -                {RPCResult::Type::NUM, "unbroadcastcount", "Current number of transactions that haven't passed initial broadcast yet"}
     686 | +                {RPCResult::Type::NUM, "incrementalrelayfee", "minimum fee rate increment for mempool limiting or BIP 125 replacement in " + CURRENCY_UNIT + "/kvB"},
    


    jonatack commented at 10:49 AM on June 27, 2022:
    • s/minimum/Minimum/ (like the other lines in the getmempoolinfo help)
    • could add the unit to minrelaytxfee help

    jonatack commented at 10:50 AM on June 27, 2022:

    (Would be possibly nice for these to be expressed in sats, though I suppose that would require a new RPC.)


    MarcoFalke commented at 11:01 AM on June 27, 2022:

    s/minimum/Minimum/ (like the other lines in the getmempoolinfo help)

    I copied this from the getnetworkinfo RPC.

    could add the unit to minrelaytxfee help

    Sure, but seems unrelated.

    (Would be possibly nice for these to be expressed in sats, though I suppose that would require a new RPC.)

    Good point, given that the wallet is moving toward sat/vB. Not sure how to fix this, though.

  15. sidhujag referenced this in commit 4e4d256937 on Jun 27, 2022
  16. bitcoin locked this on Jun 27, 2023

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-05-20 06:53 UTC