This PR does two things:
-
It prevents redundant writes to the
fee_estimates.dat
file when there is no usable data available. For example, during IBD, blocks are still being connected, but unnecessary flushes still occur every hour. -
It updates the flushing log to use debug-level logging under the
estimatefee
category. It also ensures the log consistently includes only the file name, not the full path.