Heuristics in isLSP
#10360
Replies: 2 comments
-
Beta Was this translation helpful? Give feedback.
0 replies
-
|
cc: @hieblmi for analysis The solution can also include the one described in #9994
The Can target a solution with release v0.21 or a minor release if pr is reviewed and merged in time. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When estimating route fees through probing, the isLSP function is called to decided if the destination node is being serviced by a Lightning Service Provider. In such case, the probe is performed to the LSP.
The documentation of such function reads,
Muun Wallet invoices currently show 2 route hints with different node ids. Lightspark seems to have had a similar issue as reported in a comment. Evidently, several LSP use multiple public nodes to route payments to their users. Thus, the requirement that the last node id of each route hint is the same is too demanding. I strongly suggest not returning False in this case.
(since this was the intended behaviour of this function, I'm opening this as a discussion and not a bug report)
Beta Was this translation helpful? Give feedback.
All reactions