estimatesmartfee returns 50 sat/vB on an empty mempool for inclusion in 1008 blocks #26304

issue antonilol opened this issue on October 13, 2022
  1. antonilol commented at 2:54 PM on October 13, 2022: none

    <!-- This issue tracker is only for technical issues related to Bitcoin Core. General bitcoin questions and/or support requests are best directed to the Bitcoin StackExchange at https://bitcoin.stackexchange.com. For reporting security issues, please read instructions at https://bitcoincore.org/en/contact/. If the node is "stuck" during sync or giving "block checksum mismatch" errors, please ensure your hardware is stable by running memtest and observe CPU temperature with a load-test tool such as linpack before creating an issue! -->

    <!-- Describe the issue -->

    Expected behavior

    <!--- What behavior did you expect? -->

    when the mempool is empty, i expect something really low, at least smaller than 3 sat/vB, but not 50 sat/vB

    Actual behavior

    <!--- What was the actual behavior (provide screenshots if the issue is GUI-related)? -->

    $ bitcoin-cli -testnet estimatesmartfee 1
    {
      "feerate": 0.00050106,
      "blocks": 2
    }
    
    $ bitcoin-cli -testnet estimatesmartfee 1008
    {
      "feerate": 0.00050106,
      "blocks": 111
    }
    

    To reproduce

    <!--- How reliably can you reproduce the issue, what are the steps to do so? -->

    run bitcoin-cli -testnet estimatesmartfee on the testnet when the difficulty drops to 1 (happens every few months or so i dont know why)

    System information

    <!-- What version of Bitcoin Core are you using, where did you get it (website, self-compiled, etc)? -->

    bitcoincore.org download v23

    <!-- What type of machine are you observing the error on (OS/CPU and disk type)? -->

    <!-- GUI-related issue? What is your operating system and its version? If Linux, what is your desktop environment and graphical shell? -->

    Any extra information that might be useful in the debugging process.

    blocks were flowing in like every few seconds a block got mined

    <!--- This is normally the contents of a `debug.log` or `config.log` file. Raw text or a link to a pastebin type site are preferred. -->

  2. antonilol added the label Bug on Oct 13, 2022
  3. aureleoules commented at 3:03 PM on October 13, 2022: member

    when the difficulty drops to 1 (happens every few months or so i dont know why)

    See the fresh new #26303.

  4. maflcko removed the label Bug on Oct 17, 2022
  5. maflcko added the label Tests on Oct 17, 2022
  6. maflcko commented at 4:39 PM on October 17, 2022: member

    I don't think anything can be done here. Seems overkill to adjust estimatesmartfee to accommodate a broken test network. Have you tried signet?

  7. maflcko added the label Questions and Help on Oct 17, 2022
  8. antonilol commented at 7:24 PM on October 18, 2022: none

    Have you tried signet?

    it works fine on the signet, empty mempool there and it almost always stays close to 1 sat/vB, just like the testnet when block speed is normal it just feels really counter-intuitive to get a high fee estimation when blocks are mined really fast and the mempool is empty

  9. adamjonas commented at 9:06 PM on March 3, 2023: member

    I don't think anything can be done here

    This appears to be something that isn't going to be picked up in the near future.

  10. adamjonas closed this on Mar 3, 2023

  11. bitcoin locked this on Mar 2, 2024

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

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