Skip to content

Make process_onion_failure always blame an SCID for non-payment-failed #1598

Closed as not planned
@TheBlueMatt

Description

@TheBlueMatt

We should try hard to make process_onion_failure always return a blamed SCID if we aren't considering the payment as retryable. If my reading is correct, the only case that needs to be covered to accomplish that is the case where we do not manage to read a valid failure packet at any hop. Its not clear to me what the right answer is in that case, though - can we determine who screwed up the crypto in some way?

Once we do that, as a followup, we should make Event::ProbeFailed::short_channel_id an non-Optional field, which will need to happen in the same release as its original inclusion, making this a blocker for 0.0.110. See #1567 (comment)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions