Closely track mempool byte total. Add "getmempoolinfo" RPC. #4638

pull jgarzik wants to merge 1 commits into bitcoin:master from jgarzik:2014_mempool_stats changing 5 files +41 −0
  1. jgarzik commented at 6:34 PM on August 5, 2014: contributor

    Goals:

    • Gain live insight into the mempool.
    • Groundwork for future work that caps mempool size.
  2. in src/rpcblockchain.cpp:None in 0fe42136ec outdated
     538 | +        throw runtime_error(
     539 | +            "getmempoolinfo\n"
     540 | +            "\nReturns details on the active state of the TX memory pool.\n"
     541 | +            "\nResult:\n"
     542 | +            "{\n"
     543 | +            "  \"size\": xxxxx                (numeric) Current tx countl\n"
    


    sipa commented at 7:36 PM on August 5, 2014:

    count1

  3. laanwj added the label Improvement on Aug 6, 2014
  4. BitcoinPullTester commented at 4:11 AM on August 7, 2014: none

    Automatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/p4638_0a09a649d35d53342ed777c5619705f276f92df2/ for binaries and test log. This test script verifies pulls every time they are updated. It, however, dies sometimes and fails to test properly. If you are waiting on a test, please check timestamps to verify that the test.log is moving at http://jenkins.bluematt.me/pull-tester/current/ Contact BlueMatt on freenode if something looks broken.

  5. jgarzik commented at 4:24 AM on August 7, 2014: contributor

    Updated to fix typo @sipa noticed.

  6. jgarzik added the label Priority High on Aug 8, 2014
  7. jgarzik removed the label Priority High on Aug 8, 2014
  8. jgarzik added the label Priority Medium on Aug 8, 2014
  9. dgenr8 commented at 7:56 PM on August 9, 2014: contributor

    ACK, tested on my regtest setup. I didn't test ::check.

  10. laanwj commented at 3:59 PM on August 14, 2014: member

    Untested ACK, needs rebase

  11. Closely track mempool byte total. Add "getmempoolinfo" RPC.
    Goal:  Gain live insight into the mempool.  Groundwork for future work
    that caps mempool size.
    6f2c26a457
  12. laanwj merged this on Aug 15, 2014
  13. laanwj closed this on Aug 15, 2014

  14. laanwj referenced this in commit 984ff68c67 on Aug 15, 2014
  15. jgarzik deleted the branch on Aug 24, 2014
  16. MarcoFalke 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-04-20 00:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me