@@ -175,7 +175,7 @@ message UnlockWalletRequest {
175
175
/**
176
176
recovery_window is an optional argument specifying the address lookahead
177
177
when restoring a wallet seed. The recovery window applies to each
178
- invdividual branch of the BIP44 derivation paths. Supplying a recovery
178
+ individual branch of the BIP44 derivation paths. Supplying a recovery
179
179
window of zero indicates that no addresses should be recovered, such after
180
180
the first initialization of the wallet.
181
181
*/
@@ -621,7 +621,7 @@ service Lightning {
621
621
/** lncli: `queryroutes`
622
622
QueryRoutes attempts to query the daemon's Channel Router for a possible
623
623
route to a target destination capable of carrying a specific amount of
624
- satoshis. The retuned route contains the full details required to craft and
624
+ satoshis. The returned route contains the full details required to craft and
625
625
send an HTLC, also including the necessary information that should be
626
626
present within the Sphinx packet encapsulated within the HTLC.
627
627
*/
@@ -896,13 +896,7 @@ message SendToRouteRequest {
896
896
/// An optional hex-encoded payment hash to be used for the HTLC.
897
897
string payment_hash_string = 2 ;
898
898
899
- /**
900
- Deprecated. The set of routes that should be used to attempt to complete the
901
- payment. The possibility to pass in multiple routes is deprecated and
902
- instead the single route field below should be used in combination with the
903
- streaming variant of SendToRoute.
904
- */
905
- repeated Route routes = 3 [deprecated = true ];
899
+ reserved 3 ;
906
900
907
901
/// Route that should be used to attempt to complete the payment.
908
902
Route route = 4 ;
@@ -1162,7 +1156,7 @@ message Channel {
1162
1156
/// True if we were the ones that created the channel.
1163
1157
bool initiator = 18 [json_name = "initiator" ];
1164
1158
1165
- /// A set of flags showing the current state of the cahnnel .
1159
+ /// A set of flags showing the current state of the channel .
1166
1160
string chan_status_flags = 19 [json_name = "chan_status_flags" ];
1167
1161
}
1168
1162
@@ -1335,6 +1329,9 @@ message GetInfoResponse {
1335
1329
1336
1330
/// A list of active chains the node is connected to
1337
1331
repeated Chain chains = 16 [json_name = "chains" ];
1332
+
1333
+ /// The color of the current node in hex code format
1334
+ string color = 17 [json_name = "color" ];
1338
1335
}
1339
1336
1340
1337
message Chain {
@@ -1523,7 +1520,7 @@ message PendingChannelsResponse {
1523
1520
/// The balance in satoshis encumbered in this pending channel
1524
1521
int64 limbo_balance = 3 [ json_name = "limbo_balance" ];
1525
1522
1526
- /// The height at which funds can be sweeped into the wallet
1523
+ /// The height at which funds can be swept into the wallet
1527
1524
uint32 maturity_height = 4 [ json_name = "maturity_height" ];
1528
1525
1529
1526
/*
@@ -1606,11 +1603,7 @@ message QueryRoutesRequest {
1606
1603
/// The amount to send expressed in satoshis
1607
1604
int64 amt = 2 ;
1608
1605
1609
- /**
1610
- Deprecated. The max number of routes to return. In the future, QueryRoutes
1611
- will only return a single route.
1612
- */
1613
- int32 num_routes = 3 [deprecated = true ];
1606
+ reserved 3 ;
1614
1607
1615
1608
/// An optional CLTV delta from the current height that should be used for the timelock of the final hop
1616
1609
int32 final_cltv_delta = 4 ;
@@ -1698,7 +1691,7 @@ message Route {
1698
1691
/**
1699
1692
The sum of the fees paid at each hop within the final route. In the case
1700
1693
of a one-hop payment, this value will be zero as we don't need to pay a fee
1701
- it ourself .
1694
+ to ourselves .
1702
1695
*/
1703
1696
int64 total_fees = 2 [json_name = "total_fees" , deprecated = true ];
1704
1697
@@ -1742,8 +1735,14 @@ message NodeInfo {
1742
1735
*/
1743
1736
LightningNode node = 1 [json_name = "node" ];
1744
1737
1738
+ /// The total number of channels for the node.
1745
1739
uint32 num_channels = 2 [json_name = "num_channels" ];
1740
+
1741
+ /// The sum of all channels capacity for the node, denominated in satoshis.
1746
1742
int64 total_capacity = 3 [json_name = "total_capacity" ];
1743
+
1744
+ /// A list of all public channels for the node.
1745
+ repeated ChannelEdge channels = 4 [json_name = "channels" ];
1747
1746
}
1748
1747
1749
1748
/**
@@ -1864,6 +1863,7 @@ message NodeUpdate {
1864
1863
string identity_key = 2 ;
1865
1864
bytes global_features = 3 ;
1866
1865
string alias = 4 ;
1866
+ string color = 5 ;
1867
1867
}
1868
1868
message ChannelEdgeUpdate {
1869
1869
/**
@@ -2152,6 +2152,9 @@ message Payment {
2152
2152
2153
2153
/// The value of the payment in milli-satoshis
2154
2154
int64 value_msat = 8 [json_name = "value_msat" ];
2155
+
2156
+ /// The optional payment request being fulfilled.
2157
+ string payment_request = 9 [json_name = "payment_request" ];
2155
2158
}
2156
2159
2157
2160
message ListPaymentsRequest {
@@ -2298,7 +2301,7 @@ message ForwardingHistoryResponse {
2298
2301
}
2299
2302
2300
2303
message ExportChannelBackupRequest {
2301
- /// The target chanenl point to obtain a back up for.
2304
+ /// The target channel point to obtain a back up for.
2302
2305
ChannelPoint chan_point = 1 ;
2303
2306
}
2304
2307
@@ -2310,7 +2313,7 @@ message ChannelBackup {
2310
2313
2311
2314
/**
2312
2315
Is an encrypted single-chan backup. this can be passed to
2313
- RestoreChannelBackups, or the WalletUnlocker Innit and Unlock methods in
2316
+ RestoreChannelBackups, or the WalletUnlocker Init and Unlock methods in
2314
2317
order to trigger the recovery protocol.
2315
2318
*/
2316
2319
bytes chan_backup = 2 [ json_name = "chan_backup" ];
0 commit comments