lnd
lnd copied to clipboard
route: Add onion blob to sendtoroute
This PR adds the ability to parse a custom onion blob to sendtoroute. The blob is limited to 1366 bytes for now.
Partly closes #6206:
- [x] Add a new
OnionBlobfield to theSendToRouteRPC call. If present, normal path to onion blob compilation can be skipped. - [ ] Add a similar field to
SendPaymentV2. In this case path finding should be skipped all together and the onion blob used in place. Note that since we can't decode the error retries as we handle them today aren't possible. Instead we may need some custom retry hooks, or just decide that this feature will be only added toSendToRoute. - [ ] Create provisions in the current APIs to allow for delegated error processing, if we wish to propagate any learnings from the path finding attempt into the internal mission control store.
@yyforyongyu: review reminder @bitromortac: review reminder
@bitromortac Thank for letting me know. I'll get back to you.
@erikek, remember to re-request review from reviewers when ready
This is up for grab, right now, if anyone wants to continue the work.
!lightninglabs-deploy mute
Disabling the bot until more work is added here.
@erikek, remember to re-request review from reviewers when ready
!lightninglabs-deploy mute 30d
Hi @ErikEk, The LSPSpec LSPS2 might require sending custom onions. Can you give me an update on the state of this PR?
Thanks Sev
This is up for grab, right now, if anyone wants to continue the work.
Hi, I did abandon this pr.
@SeverinAlexB feel free to take over the PR if you're interested. Going to close it, the state should be pretty clear from the title and the tags.