Skip to content

[feature]: create new BuildBlindedRoute RPC for the router sub-server #9673

@Roasbeef

Description

@Roasbeef

Is your feature request related to a problem? Please describe.

Today it isn't possbile to give lnd a series of pubkeys, then have it create a blinded path blob, assuming that the first node is the introduction point for the route.

Describe the solution you'd like

Add a new BuildBlindedRoute RPC call which implements the above. The logic should automatically look up the various routing policies for each of the nodes to populate the routing policy information for a given routing.BlindedPayment.

A caller should then be able to take the response of the new call, and pass it into an AddInvoice call, which does additional verification, then utilizes the blinded hop information as is.

Describe alternatives you've considered

We could extend the existing BuildRoute for this purpose, but the return values are rather different.

Metadata

Metadata

Assignees

Labels

blinded pathsenhancementImprovements to existing features / behaviourinvoicesprivacyGeneral label for issues/PRs related to the privacy implications of using the softwarerouting
No fields configured for Feature.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions