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

Avoid unusable channels after a large splice #2761

Merged
merged 1 commit into from
Nov 3, 2023

Commits on Oct 17, 2023

  1. Avoid unusable channels after a large splice

    Splicing (and dual funding as well) introduce a new scenario that could
    not happen before, where the channel initiator (who pays the fees for the
    commit tx) can end up below the channel reserve, or right above it.
    
    In that case it means that most of the channels funds are on the non
    initiator side, so we should allow HTLCs from the non-initiator to the
    initiator to move funds towards the initiator. We allow slightly dipping
    into the channel reserve in that case, for at most 5 pending HTLCs.
    t-bast committed Oct 17, 2023
    Configuration menu
    Copy the full SHA
    3201d61 View commit details
    Browse the repository at this point in the history