You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Give HTLCHandlingFailed a reason of some kind #3541
With #2933 we're gonna expand substantially the cases where we generate an HTLCHandlingFailed. It would be nice to give the event a reason code for users to look at now.
If I understand it correctly, HTLCHandlingFailed was already generated (without reason code), but just not in all failure cases. What is the background of adding the reason code? Is it nice to have as you say, or does it also unlock use cases that weren't possible previously because HTLCHandlingFailed wasn't generated always?
Discussed on LDK dev meeting today, motivation is to add more programatic observability to LDK - useful for tracking HTLC stats more granularly, for example. Generally just nice to have.
Activity
joostjager commentedon Mar 17, 2025
If I understand it correctly,
HTLCHandlingFailedwas already generated (without reason code), but just not in all failure cases. What is the background of adding the reason code? Is it nice to have as you say, or does it also unlock use cases that weren't possible previously becauseHTLCHandlingFailedwasn't generated always?carlaKC commentedon Mar 17, 2025
Discussed on LDK dev meeting today, motivation is to add more programatic observability to LDK - useful for tracking HTLC stats more granularly, for example. Generally just nice to have.