routing+lnrpc: extend BuildRoute to accept raw payAddr
In this commit, we extend the `BuildRoute` method and RPC on the router sub-server to accept a raw payment address which will be included as part of an MPP payload for the finla hop. This change actually also allows users to craft their own MPP paths using BuildRoute+SendToRoute. Our primary goal however, was to fix some broken itests since we now require the payAddr to be present for ALL payments other than key send payments.
This commit is contained in:
7 files changed
+272
-201
No files matched your search
@@ -394,6 +394,9 @@ message BuildRouteRequest {
|
||||
pubkey.
|
||||
*/
|
||||
repeated bytes hop_pubkeys = 4;
|
||||
|
||||
// An optional payment addr to be included within the last hop of the route.
|
||||
bytes payment_addr = 5;
|
||||
}
|
||||
|
||||
message BuildRouteResponse {
|
||||
|
||||
Reference in new issue
Block a user