Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Roasbeef started this conversation in Ideas
Discussion options

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.

You must be logged in to vote

Replies: 2 comments

Comment options

With #9127 it is now possible to specify a list of incoming channel ids in the BlindedPathConfig in AddInvoice, which constrains the blinded route construction to that chain of hops, so this covers some requirements from this issue. One current caveat here is that one can only add a single route instead of multiple ones and adding a BuildBlindedRoute could be more flexible.

You must be logged in to vote
0 replies
Comment options

Moving this to a discussion thread. Can revisit if development is required.

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
enhancement Improvements to existing features / behaviour routing privacy General label for issues/PRs related to the privacy implications of using the software invoices blinded paths
Converted from issue

This discussion was converted from issue #9673 on September 04, 2025 14:18.

AltStyle によって変換されたページ (->オリジナル) /