mempoolminfee returns incorrect data before the dynamic mempool limit has changed #6941

issue gmaxwell opened this issue on November 4, 2015
  1. gmaxwell commented at 7:48 PM on November 4, 2015: contributor

    "mempoolminfee": 0.00000000

    When the minrelaytxfee is > 0.

  2. TheBlueMatt commented at 7:52 PM on November 4, 2015: member

    This is expected (the mempool's min fee is 0), though maybe we could change it to just minfee and use max of the two...

    On November 4, 2015 11:48:46 AM PST, Gregory Maxwell notifications@github.com wrote:

    "mempoolminfee": 0.00000000

    When the minrelaytxfee is > 0.


    Reply to this email directly or view it on GitHub: #6941

  3. gmaxwell commented at 9:37 PM on November 4, 2015: contributor

    This is confusing, since the effective min feerate is not zero, it's the minrelayfee. perhaps if there were just another field to show the other data.

  4. sipa commented at 11:06 PM on November 4, 2015: member

    The fact there there is a "mempool minrelay fee" different from the conceptual minimum relay fee is an implementation detail; no need to expose it through RPC.

  5. TheBlueMatt commented at 5:00 AM on November 5, 2015: member

    @sipa ACK, it should be one unified field, not two.

    On November 4, 2015 3:07:08 PM PST, Pieter Wuille notifications@github.com wrote:

    The fact there there is a "mempool minrelay fee" different from the conceptual minimum relay fee is an implementation detail; no need to expose it through RPC.


    Reply to this email directly or view it on GitHub: #6941 (comment)

  6. MarcoFalke commented at 6:57 PM on November 5, 2015: member

    no need to expose it through RPC

    At least mention it in help getmempoolinfo... ... Another reason to clean up the rpc "hard coded white space mess".

  7. morcos commented at 11:36 PM on November 10, 2015: member

    @sipa for now they are different in whether or not priority (free) txs are allowed.

  8. laanwj added the label RPC on Feb 16, 2016
  9. MarcoFalke commented at 11:42 PM on March 13, 2016: member

    An attempt to document this was done in #7118.

    Anything left to do here?

  10. laanwj commented at 11:53 AM on March 16, 2016: member

    #7118 adds the following documentation;

    "mempoolminfee": xxxxx (numeric) Minimum fee for tx to be accepted\n"

    I don't think that's particularly helpful in distinguishing mempool versus relaying minimum.

    The fact there there is a "mempool minrelay fee" different from the conceptual minimum relay fee is an implementation detail; no need to expose it through RPC.

    Not sure about this - getmempoolinfo returns info about the mempool. Relaying is an another concern - we split off the different RPC info calls for good reason. Not sure whether they should be muddled together, unless we logically make minrelaytxfee part of the mempool logic.

  11. morcos commented at 6:25 PM on March 16, 2016: member

    @laanwj the relay and mempool logic are completely intertwined and both numbers affect both. I actually don't think we should change anything right now (other than potentially better documentation)

    I think its useful to be aware of both numbers. The minrelaytxfee is a fixed number, but txs can get in below that subject to free rate limiting. The mempoolminfee is a floating number below which txs can not get in period. Even if we eliminate free transactions entirely, it could be useful to know the minrelaytxfee separately from the current mempoolminfee.

  12. laanwj commented at 12:01 PM on March 17, 2016: member

    Yes, makes sense to add minrelaytxfee to the same RPC then, then put that explanation in the RPC help.

  13. jonathancross commented at 7:45 PM on December 3, 2016: contributor

    Has there been any progress in adding minrelaytxfee to getmempoolinfo RPC?

  14. MarcoFalke commented at 1:36 PM on December 4, 2016: member

    @jonathancross Not yet. Pull request welcome :)

  15. MarcoFalke added the label Docs and Output on Dec 4, 2016
  16. MarcoFalke added the label Easy to implement on Dec 4, 2016
  17. jeffrade commented at 1:45 AM on December 19, 2017: contributor

    Any reason to keep this issue open only for the doc changes when calling help getmempoolinfo? I'd be happy to make the doc changes in another PR (once #11475 is merged), but can they be simply be made in #11475?

  18. laanwj closed this on Dec 23, 2017

  19. laanwj referenced this in commit 9bad8d6472 on Dec 23, 2017
  20. laanwj referenced this in commit a9a49e6e7e on Jan 4, 2018
  21. PastaPastaPasta referenced this in commit a3d6179f99 on Jan 17, 2020
  22. PastaPastaPasta referenced this in commit 3b2be135e8 on Jan 22, 2020
  23. PastaPastaPasta referenced this in commit d7e6d2889f on Jan 22, 2020
  24. PastaPastaPasta referenced this in commit 1a1807463c on Jan 29, 2020
  25. PastaPastaPasta referenced this in commit 1bb00b2f43 on Jan 29, 2020
  26. PastaPastaPasta referenced this in commit 33e89864b5 on Jan 29, 2020
  27. PastaPastaPasta referenced this in commit b8c5d5d7ea on Jan 31, 2020
  28. PastaPastaPasta referenced this in commit a0abbd47a4 on Feb 13, 2020
  29. PastaPastaPasta referenced this in commit a2c8d92ee2 on Feb 27, 2020
  30. PastaPastaPasta referenced this in commit 4e6cd82529 on Feb 27, 2020
  31. PastaPastaPasta referenced this in commit 67cf9591c4 on Feb 27, 2020
  32. ckti referenced this in commit 50b8a7d1ad on Mar 28, 2021
  33. ckti referenced this in commit 41fa99cb01 on Mar 28, 2021
  34. MarcoFalke locked this on Sep 8, 2021
  35. gades referenced this in commit be65e028a8 on Feb 21, 2022

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-13 15:15 UTC

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