-
Notifications
You must be signed in to change notification settings - Fork 2.2k
[Feature]: Make number of hop hints when creating an invoice more configurable. #9641
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
Comments
LND currently will only add as much hop hints as needed. Meaning that a 0 amount basically means all route hints because we don't know how much value will receive for this invoice. However if you include an invoice with an amount of 1000 sats. LND will only add one route hint which is sufficient enough to receive this value. Could you specify why you would need all 3 route hints ? |
@ziggie1984 if one of the channels is not operating correctly it's nice for the payer to have another option to try / some redundancy. Maybe what I am suggesting is not the root issue, but there is something definitely wrong here. For reference: When the node invoice has 3 route hints, it has no issue receiving payments from different wallets. When it only has one route hint no wallet seems to be able to pay to it (due to an onion error) It seems not the best solution to just to ask impacted users to close their ACINQ channel? |
Do you run LITD on umbrel ? Can you updated it to the latest version ? |
@ziggie1984 they run 0.14.1-alpha version of the Lightning Terminal app on Umbrel. It is up to date. |
could you provide the logs for their case, so we can fix the problem, I cannot explain there behaviour with the current information. |
Background
User has all private channels, and when they create an invoice (
lncli addinvoice --amt 1000 --private
) it only has one route hint. When specifying no amount it has 3 hints.Your environment
lnd
0.18.5 betaSteps to reproduce
I believe the user used to have public channels and then closed them all and only opened private ones.
When we create a 0-amount invoice (lncli addinvoice --private) the invoice is payable and has 3 route hints
When we create an invoice with an amount (lncli addinvoice --amt 1000 --private) we get only one route hint:
Expected behaviour
Multiple route hints should be in the invoice
Actual behaviour
Only one route hint is in the invoice
The text was updated successfully, but these errors were encountered: