Hey there,
I was following the raspibolt guide, got my blockchain synced and electrs running. But I'm running into an issue where the node keeps trying to sync but it’s failing. The logs mention: fee estimation disabled. Any ideas on how to fix this?
Thanks!
fee estimation not working
5 replies 170 views
gr3g.0rbitHero Member
Posts: 1025 · Reputation: 2646
#2Apr 24, 2023, 10:17 PM
Blockchain is synced but the node fails to sync?
Anyways, based from the error, Bitcoin Core may be having trouble providing fee estimates which could be an issue in Electrs.
What are the config set in your bitcoin.conf file? (do not include private lines, of course)
Or at least tell if it has any settings that'll lead it to skip receiving mempool transaction like blocksonly=1.
HI,
yes the value of blocksonly is 1, should I set it to 0?
thanks
hi.
Yes, you should set it to 0 and restart Bitcoin Core process. It's needed in order to get unconfirmed transaction which needed to perform fee estimation. Take note it may take a while before your node receive most unconfirmed transaction which needed for better/more accurate fee estimation.
hi, ok thanks now it works.
curiosity. why is the value set to 1 in the raspibolt guide if I don't like it?
Thank you
HI
gr3g.0rbitHero Member
Posts: 1025 · Reputation: 2646
#6Apr 27, 2023, 03:34 PM
That's for optimization purposes, it's way faster to sync that way.
Also, if you're talking about their "bitcoin-client.md" guide from Github, here: github.com/raspibolt/raspibolt/blob/master/guide/bitcoin/bitcoin-client.md
It's noted to comment-out the config after it fully synced the blockchain since the node shouldn't be needing those optimizations later.