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.
Is your feature request related to a problem? Please describe.
Today it isn't possbile to give
lnda 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
BuildBlindedRouteRPC 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 givenrouting.BlindedPayment.A caller should then be able to take the response of the new call, and pass it into an
AddInvoicecall, which does additional verification, then utilizes the blinded hop information as is.Describe alternatives you've considered
We could extend the existing
BuildRoutefor this purpose, but the return values are rather different.