Skip to content
This repository was archived by the owner on Feb 23, 2021. It is now read-only.

Commit 473a408

Browse files
committed
Upgrade lnd to 10910318a2cdb7f7d0954cfc0de2eea96abf00cf
1 parent 1cc945e commit 473a408

File tree

2 files changed

+36
-3
lines changed

2 files changed

+36
-3
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ matrix:
1313

1414
env:
1515
global:
16-
- LND_TAG=cfb5e249b9d6dae9e44dcf56c29c3eda531290fe
16+
- LND_TAG=10910318a2cdb7f7d0954cfc0de2eea96abf00cf
1717
- BTCD_TAG=306aecffea325e97f513b3ff0cf7895a5310651d
1818
- GO_TAG=1.11.5
1919
- GOROOT=$HOME/go

assets/rpc.proto

Lines changed: 35 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1467,8 +1467,11 @@ message QueryRoutesRequest {
14671467
/// The amount to send expressed in satoshis
14681468
int64 amt = 2;
14691469

1470-
/// The max number of routes to return.
1471-
int32 num_routes = 3;
1470+
/**
1471+
Deprecated. The max number of routes to return. In the future, QueryRoutes
1472+
will only return a single route.
1473+
*/
1474+
int32 num_routes = 3 [deprecated = true];
14721475

14731476
/// An optional CLTV delta from the current height that should be used for the timelock of the final hop
14741477
int32 final_cltv_delta = 4;
@@ -1480,7 +1483,37 @@ message QueryRoutesRequest {
14801483
send the payment.
14811484
*/
14821485
FeeLimit fee_limit = 5;
1486+
1487+
/**
1488+
A list of nodes to ignore during path finding.
1489+
*/
1490+
repeated bytes ignored_nodes = 6;
1491+
1492+
/**
1493+
A list of edges to ignore during path finding.
1494+
*/
1495+
repeated EdgeLocator ignored_edges = 7;
1496+
1497+
/**
1498+
The source node where the request route should originated from. If empty,
1499+
self is assumed.
1500+
*/
1501+
string source_pub_key = 8;
1502+
}
1503+
1504+
message EdgeLocator {
1505+
/// The short channel id of this edge.
1506+
uint64 channel_id = 1;
1507+
1508+
/**
1509+
The direction of this edge. If direction_reverse is false, the direction
1510+
of this edge is from the channel endpoint with the lexicographically smaller
1511+
pub key to the endpoint with the larger pub key. If direction_reverse is
1512+
is true, the edge goes the other way.
1513+
*/
1514+
bool direction_reverse = 2;
14831515
}
1516+
14841517
message QueryRoutesResponse {
14851518
repeated Route routes = 1 [json_name = "routes"];
14861519
}

0 commit comments

Comments
 (0)