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 HTLCsTimedOut closing reason #2887

Merged
merged 1 commit into from
Mar 20, 2024

Commits on Mar 19, 2024

  1. Add HTLCsTimedOut closing reason

    Before a force closure from timed out HTLCs was treated the same as when
    the user manually force closed the channel. This leads to various UX
    issues. This adds a new `ClosureReason` called `HTLCsTimedOut` that
    signifies that the closure was caused because the HTLCs timed out. To go
    along with this, previously we'd always send "Channel force-closed" when
    force closing the channel in the error message which was ambigous, now
    we send the force closure reason so the peer can know why the channel
    was closed.
    benthecarman committed Mar 19, 2024
    Configuration menu
    Copy the full SHA
    9b5ebc4 View commit details
    Browse the repository at this point in the history