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

Add upper bound on fees paid during force-close #2668

Merged
merged 2 commits into from May 25, 2023

Conversation

t-bast
Copy link
Member

@t-bast t-bast commented May 23, 2023

The on-chain feerate can be arbitrarily high, but it wouldn't make sense to pay more fees than the amount we have at risk and need to claim on-chain.

We compute an upper bound on the fees we'll pay and make sure we don't exceed it, even when trying to RBF htlc transactions that get close to their deadline.

The on-chain feerate can be arbitrarily high, but it wouldn't make sense
to pay more fees than the amount we have at risk and need to claim
on-chain.

We compute an upper bound on the fees we'll pay and make sure we don't
exceed it, even when trying to RBF htlc transactions that get close to
their deadline.
@t-bast t-bast requested a review from pm47 May 23, 2023 09:29
@t-bast t-bast merged commit 835b33b into master May 25, 2023
1 check passed
@t-bast t-bast deleted the replaceable-tx-publisher-max-fee branch May 25, 2023 12:53
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.

None yet

2 participants