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

contractcourt: use the sweeper for HTLC offered remote timeout resolu… #9062

Merged
merged 2 commits into from
Sep 19, 2024

Commits on Sep 13, 2024

  1. contractcourt: use t.Run in TestHtlcTimeoutResolver

    Along the way we refactor the test to eliminate some unnecessary line
    length.
    Roasbeef committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    c898b68 View commit details
    Browse the repository at this point in the history
  2. contractcourt: use the sweeper for HTLC offered remote timeout resolu…

    …tion
    
    In this commit, we bring the timeout resolver more in line with the
    success resolver by using the sweeper to handle the HTLC offered remote
    timeout outputs. These are outputs that we can sweep directly from the
    remote party's commitment transaction when they broadcast their version
    of the commitment transaction.
    
    With this change, we slim down the scope slightly by only doing this for
    anchor channels. Non-anchor channels will continue to use the
    utxonursery for this output type for now.
    Roasbeef committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    903c8fc View commit details
    Browse the repository at this point in the history