Skip to content

(3/3) Add Failure Reason to HTLCHandlingFailed#3700

Merged
valentinewallace merged 6 commits intolightningdevkit:mainfrom
carlaKC:3541-api-changes
Apr 29, 2025
Merged

(3/3) Add Failure Reason to HTLCHandlingFailed#3700
valentinewallace merged 6 commits intolightningdevkit:mainfrom
carlaKC:3541-api-changes

Conversation

@carlaKC
Copy link
Copy Markdown
Contributor

@carlaKC carlaKC commented Apr 2, 2025

This PR surfaces a failure reason in HTLCHandlingFailed events. Opening up early to add some context to the prefactor PR #3601.

The heart of the PR is in d35d35f, and it could probably be reduced to just this commit. I've made some quite opinionated renaming / deprecation decisions in the other commits which aren't required for this change, but I think make for a more readable API overall - happy to drop them if it ain't broke, don't fix it applies.

Fixes: #3561
Fixes: #3541

Loading
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.

Add a reason enum to HTLCDestination in some variants Give HTLCHandlingFailed a reason of some kind

4 participants