-
Notifications
You must be signed in to change notification settings - Fork 359
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
Rename PaymentFailed event #1081
Comments
@jkczyz think we should rename to |
If we go with the HTLC terminology, we could rename That said, HTLCs are an implementation detail that probably don't need to be exposed, especially given future payments may not use HTLCs. So perhaps the payment path terminology is more appropriate. |
HTLC does seem a little low-level for an event name, though other lightning impls have "htlc" in their public API, I'm not a huge fan but don't feel too strongly. Happy to assign myself this issue if there's consensus on |
Sure, would you mind adding both events each including the path? Based on discussions in #1077, I'll keep the failing channel separate from the path. |
Oops |
@jkczyz For context, is scoring for successful paths going to be in V1? I thought we were starting with just avoiding previously failed routes |
Yeah, I suppose it could wait until V2. |
We really need to rename the PaymentFailed event to indicate that sometimes its just a payment part or htlc that failed, not the full payment. see #1053 (comment)
The text was updated successfully, but these errors were encountered: