Fee estimation reliably failing #23709

issue jamesob opened this issue on December 8, 2021
  1. jamesob commented at 4:24 PM on December 8, 2021: member

    walletcreatefundedpsbt is consistently failing due to fee estimation, despite being synced to tip.

    2021-12-08 11:19:43,292 [main] DEBUG - [http://james:***@localhost:8332/wallet/coldcard-XXXXXXXX] calling walletcreatefundedpsbt([], [{'bc1XXXXXXXXX': '0.1'}], 0, {'includeWatching': True}, True)
    2021-12-08 11:19:43,296 [main] DEBUG - [http://james:***@localhost:8332/wallet/coldcard-XXXXXXXX] -> {'result': None, 'error': {'code': -4, 'message': 'Fee estimation failed. Fallbackfee is disabled. Wait a few blocks or enable -fallbackfee.'}, 'id': 1}
    
  2. jamesob added the label Bug on Dec 8, 2021
  3. sipa commented at 4:26 PM on December 8, 2021: member

    How long as Bitcoin Core been running?

  4. jamesob commented at 4:28 PM on December 8, 2021: member

    Not long, a few minutes.

  5. sipa commented at 4:29 PM on December 8, 2021: member

    That explains. Bitcoin Core needs generally to be runnig for ~2x as long as the time frame you're aiming to estimate for. In a few minutes time there is no way for it to observe at what feerates observed transactions get confirmed.

  6. jamesob commented at 4:29 PM on December 8, 2021: member

    Gotcha. I'll PR an improvement to the error message.

  7. jamesob closed this on Dec 8, 2021

  8. fanquake removed the label Bug on Dec 10, 2021
  9. DrahtBot locked this on Dec 10, 2022
Contributors

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-27 21:14 UTC

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