Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

LSPS2: Add ability to signal channel open failure #136

Closed

Conversation

johncantrell97
Copy link
Contributor

Closes lightningdevkit/rust-lightning#3479

There are a number of reasons a channel open might fail or be abandoned by the LSP. This adds a way for the LSP to signal back to the library that this has happened.

All pending payments are failed backwards and the channel state is reset to PendingInitialPayment as per the spec. This allows the payer to try again.

@johncantrell97 johncantrell97 changed the title Add ability to signal channel open failure LSPS2: Add ability to signal channel open failure May 17, 2024
@johncantrell97 johncantrell97 deleted the signal-channel-failure branch May 17, 2024 14:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

LSPS2: Fail intercepted htlcs if lsp open channel fails for whatever reason
2 participants