Closed patricklodder closed 3 months ago
I'll rebase this after #3389 is merged.
Nice! I got into habit seeing red flags whenever m-word (manual) is encountered 🤣
I got into habit seeing red flags whenever m-word (manual) is encountered
It's worth fixing imho, yes. Just gotta fix it ugly for this round, but with minimal impact to operations.
rebased on top of fc128f3a4
Code makes sense to me. I'll work on testing.
This PR addresses the caveat of having to manually remove
fee_estimates.dat
from the datadir to fully benefit from the improved estimator parametrization (#3389) for most deployments.The only deployments that will still need to manually remove the file are:
that didn't re-use the file created with an earlier version1140700
Note: using the client version number for file format versioning is suboptimal - this causes the above exceptions to automated detection. Upstream knows this too but chose to not change it when they did something similar to what we're doing now. I had addressed this in my planned follow-up to #3389 that makes parametrization user-configurable, but I feel that doing it now is too risky due to time constraints, so let's do a proper fix for this when we need it, i.e. when we fix configurability of these parameters in a next version, because that would require many more checks to decide whether to re-use historical estimates anyway.
To test:
fee_estimates.dat
debug.log
:fee_estimates.dat
debug.log
: