-
Notifications
You must be signed in to change notification settings - Fork 43
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
feat(lnd): SendPaymentV2 #1971
feat(lnd): SendPaymentV2 #1971
Conversation
3ecffe0
to
2926b63
Compare
Simulation tests are passing now so this is ready for review/further testing. I'm working on a simulation test case for a multi path payments but unless I get it working soon it'd make sense to leave for a future PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- old logic works fine
- we still need the solution for route finding when user has multi path
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, but needs a rebase.
I'll fix the conflict and merge, it'll need another quick approval afterwards. |
This migrates the call we use to send payments with lnd from the deprecated `SendPaymentSync` to `SendPaymentV2` which allows for multi path payments, among other improvements. As part of this change, the lnd proto files have been updated to their v0.11.x versions and the version of lnd used in simulation tests has been updated to v0.11.1 as well. Closes #1590.
2926b63
to
51c60dc
Compare
Rebased to fix the conflict. Just needs an approval then we can merge this. |
This migrates the call we use to send payments with lnd from the deprecated
SendPaymentSync
toSendPaymentV2
which allows for multi path payments, among other improvements. As part of this change, the lnd proto files have been updated to their v0.11.x versions and the version of lnd used in simulation tests has been updated to v0.11.1 as well.Closes #1590.
I'll open a related PR to our lnd config in xud-docker to enable MPP.
Simulation tests aren't running on my machine with these changes, so I'm opening this as a draft to see if there's any difference running them on GitHub Actions. I'll mark it as ready once I get simulation tests pasing.