Skip to content
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

Fix self-payments with lnmux #34

Open
joostjager opened this issue Jul 22, 2022 · 1 comment
Open

Fix self-payments with lnmux #34

joostjager opened this issue Jul 22, 2022 · 1 comment
Assignees
Labels

Comments

@joostjager
Copy link
Contributor

Check what the behavior of lnd + multiplexer is for self-payments. There are three scenarios to be tested:

  • Single lnd node, no channels -> This is surely not going to work, because local htlcs aren't intercepted.
  • Single lnd, external channels -> Expected behavior is to loop out and in through external channels, followed by interception by lnmux,
  • Two lnds, internal channel -> Expected behavior is for the sending node to route through the other node, followed by interception by lnmux.
@joostjager
Copy link
Contributor Author

joostjager commented Aug 23, 2022

Looks like the expectation for two lnds w/ internal channel isn't correct. The route hints seems to take precedence and send lnd in an endless loop.

Issue: lightningnetwork/lnd#6169

Single lnd with ext. channel is likely not going to work either for the same reason.

@joostjager joostjager self-assigned this Aug 24, 2022
@joostjager joostjager changed the title Investigate self-payments with lnmux Fix self-payments with lnmux Oct 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant