[Trivial, Doc] Describe maxmempool and mempoolminfee in the getmempoolinfo RPC help. #7118

pull paveljanik wants to merge 1 commits into bitcoin:master from paveljanik:20151127_getmempoolinfo_fixes changing 1 files +5 −3
  1. paveljanik commented at 3:59 PM on November 27, 2015: contributor

    Add missing documentation to the getmempoolinfo RPC call.

    What about mexmempool -> max, mempoolminfee -> minfee?

  2. paveljanik cross-referenced this on Nov 27, 2015 from issue rpc: Add maxmempool and effective min fee to getmempoolinfo by laanwj
  3. jonasschnelli added the label RPC on Nov 28, 2015
  4. paveljanik renamed this:
    Describe maxmempool and mempoolminfee in the getmempoolinfo RPC help.
    [Trivial, Doc] Describe maxmempool and mempoolminfee in the getmempoolinfo RPC help.
    on Nov 28, 2015
  5. sipa commented at 12:01 PM on November 28, 2015: member

    utACK

  6. pstratem commented at 10:06 AM on November 29, 2015: contributor

    unACK

  7. Describe maxmempool and mempoolminfee in the getmempoolinfo RPC help. b212f94dd9
  8. in src/rpcblockchain.cpp:None in a0ff352046 outdated
     797 | @@ -798,6 +798,8 @@ UniValue getmempoolinfo(const UniValue& params, bool fHelp)
     798 |              "  \"size\": xxxxx                (numeric) Current tx count\n"
     799 |              "  \"bytes\": xxxxx               (numeric) Sum of all tx sizes\n"
     800 |              "  \"usage\": xxxxx               (numeric) Total memory usage for the mempool\n"
     801 | +            "  \"maxmempool\": xxxxx          (numeric) Maximum memory usage for the mempool\n"
    


    laanwj commented at 10:08 AM on December 1, 2015:

    Nit: all the other RPC helps have commas after all but the last field in an object, to make it look more like actual JSON:

    "  \"usage\": xxxxx,
    "  \"maxmempool\": xxxxx,
    "  \"mempoolminfee\": xxxxx
    

    Not that I care deeply about this (or at all, really), but you may preempt someone that wants to make that update later :)


    paveljanik commented at 10:16 AM on December 1, 2015:

    I can add the commas in the other lines as well (wanted to minimize changes).


    laanwj commented at 10:17 AM on December 1, 2015:

    Sure, let's do that. Better to do this (update the help for getmempoolinfo) in one go.

  9. paveljanik force-pushed on Dec 1, 2015
  10. fanquake commented at 8:13 AM on December 2, 2015: member

    utACK

  11. laanwj merged this on Dec 2, 2015
  12. laanwj closed this on Dec 2, 2015

  13. laanwj referenced this in commit 8e598dc4ea on Dec 2, 2015
  14. MarcoFalke cross-referenced this on Mar 13, 2016 from issue mempoolminfee returns incorrect data before the dynamic mempool limit has changed by gmaxwell
  15. dgenr8 cross-referenced this on Dec 4, 2018 from issue [rpc] Return tx-per-second in getmempoolinfo response by dgenr8
  16. bitcoin locked this on Sep 8, 2021

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:55 UTC