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

Update anchor outputs feerate tolerance #1980

Merged
merged 4 commits into from
Oct 4, 2021

Conversation

t-bast
Copy link
Member

@t-bast t-bast commented Oct 1, 2021

Allow any feerate when we're fundee and are using anchor outputs: this will completely prevent unwanted channel closure.

However this can be unsafe in a high fee environment if the commit tx is below the propagation threshold.
It could be argued that when we discover it it's too late anyway, so our only option is to wait for package relay to save the day.
But I feel a bit uneasy with a completely unbounded restriction on the lower bound...
Shall we keep the check on the lower bound until package relay lands or is it useless?

@t-bast t-bast requested a review from pm47 October 1, 2021 09:21
This will prevent unwanted channel closure.

This can be unsafe in a high fee environment if the commit tx is below
the propagation threshold. However, even when we discover it it's too late
anyway, so our only option is to wait for package relay to save the day.
@t-bast t-bast force-pushed the anchor-outputs-feerate-tolerance branch from 0fb1909 to 4f9fbb8 Compare October 4, 2021 09:46
We lift the limit configured by the node operator when it is below the
network propagation threshold.
@t-bast t-bast force-pushed the anchor-outputs-feerate-tolerance branch from 4f9fbb8 to a346e24 Compare October 4, 2021 10:23
@t-bast t-bast merged commit d6b46ae into master Oct 4, 2021
@t-bast t-bast deleted the anchor-outputs-feerate-tolerance branch October 4, 2021 15:28
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

Successfully merging this pull request may close these issues.

2 participants