Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

track: Fine-tune the feerates for a variety of operations #490

Open
cdecker opened this issue Jul 31, 2024 · 2 comments
Open

track: Fine-tune the feerates for a variety of operations #490

cdecker opened this issue Jul 31, 2024 · 2 comments

Comments

@cdecker
Copy link
Collaborator

cdecker commented Jul 31, 2024

We have received several reports, and have analysed a number of nodes, that had channels with pending sweeps. The sweeps however have a rather low feerate (sometimes bumping into the lower bound of 253sat / kvB), and they therefore remain unconfirmed for prolonged periods.

This issue collects instances, and is used to discuss how we should tune the feerates.

@cdecker
Copy link
Collaborator Author

cdecker commented Aug 5, 2024

I have a PR open on CLN (ElementsProject/lightning#7528) that'll set up a finite deadline, rather than the Scrooge McDuck approach of always waiting for another 300 blocks, no matter how long we already waited.

The logic in that one is the following:

  • Generally aim to confirm in less than 2 weeks
  • If we are further away than 300 blocks from the deadline, use 300 blocks as a very low priority feerate
  • If we are closer than 2h or even past the deadline of 2 week, use an urgent but not critical feerate estimate of 2h in the future (so we don't panic and go overboard with fees).

We are testing and will be deploying this on GL in the coming days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant