Creating an app that utilizes estimatesmartfee, and it works in production, but I use regtest for automated testing and can't get it to return a value.

Looking at bitcoind tests it is splitting UTXOs in a loop etc.

What is the bare minimum I need to do as far as dummy transactions and mining blocks in order to get estimatesmartfee to work like it does on mainnet.


  • what is the error message that you get? Or are you getting a constant recommendation at 1 sat/B? I am guessing you need more than 1 vMB of pending transactions – Pedro Dec 17 '19 at 15:34
  • Question related to my unanswered question: bitcoin.stackexchange.com/questions/84983/… – Pedro Dec 17 '19 at 15:40

You need to fill up the mempool of your regtest nodes and mine blocks.

For reference here is how it's done to test estimatesmartfee.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.