Fee estimation disabled #29737

issue ray2cycle opened this issue on March 26, 2024
  1. ray2cycle commented at 3:14 PM on March 26, 2024: none

    Is there an existing issue for this?

    • I have searched the existing issues

    Current behaviour

    rpc call and bitcoin-cli estimatesmartfee 6 command return error:

    error code: -32603
    error message:
    Fee estimation disabled
    

    bitcoin.conf:

    fallbackfee=0.00001
    paytxfee=0.0002
    maxapsfee=0.0001
    

    Expected behaviour

    estimatesmartfee success.

    Steps to reproduce

    bitcoin-cli estimatesmartfee 6

    Relevant log output

    No response

    How did you obtain Bitcoin Core

    Package manager

    What version of Bitcoin Core are you using?

    Bitcoin Core version v25.0.0

    Operating system and version

    Ubuntu 22.04.3 LTS

    Machine specifications

    No response

  2. ismaelsadeeq commented at 3:52 PM on March 26, 2024: member

    Hi @ray2cycle which options did you start bitcoind with?

    Fee estimation is disabled when you start up with -blocksonly

    It is likely the reason why you are getting this error.

  3. ray2cycle commented at 3:57 PM on March 26, 2024: none

    Hi @ray2cycle which options did you start bitcoind with?

    Fee estimation is disabled when you start up with -blocksonly

    It is likely the reason why you are getting this error.

    Hi, thanks for your replay, my start cmd just : ./bitcoind -conf=./bitcoind.conf , without -blocksonly

    I'm not sure if additional configuration is needed to support estimated fees.

  4. ray2cycle commented at 4:08 PM on March 26, 2024: none

    I changed the startup command to: bitcoind -blocksonly=false and the new error was:

    {
      "errors": [
        "Insufficient data or no feerate found"
      ],
      "blocks": 0
    }
    
  5. sipa commented at 4:10 PM on March 26, 2024: member

    In order to get fee estimation for a target of N blocks, you need to have been running for around 2N blocks to gather data.

  6. ray2cycle commented at 4:12 PM on March 26, 2024: none

    In order to get fee estimation for a target of N blocks, you need to have been running for around 2N blocks to gather data.

    Got it, thank you very much

  7. ismaelsadeeq commented at 4:13 PM on March 26, 2024: member

    Built v25.0 to try to recreate this

    Fee estimation is working as expected on mainnet.

    I think this can be closed cc @willcl-ark

  8. fanquake closed this on Mar 26, 2024

  9. bitcoin locked this on Mar 26, 2025

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

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