Skip to content

LSP onionessage send to offline client will fail #4112

@TheBlueMatt

Description

@TheBlueMatt

Imagine an LSP with a mobile client. The LSP wants to pay an offer that client issued. It generates an onion messages invreq and sends it. The OnionMessenger notices it's not connected and searches the network graph. It doesn't find the mobile client so doesn't create a direct connect event. The message gets dropped and the payment fails.

We should probably just generate the DC event irrespective of the network graph so the LSP can use LSPS5 to wake the client.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions