@@ -175,7 +175,7 @@ message UnlockWalletRequest {
175175 /**
176176 recovery_window is an optional argument specifying the address lookahead
177177 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
179179 window of zero indicates that no addresses should be recovered, such after
180180 the first initialization of the wallet.
181181 */
@@ -621,7 +621,7 @@ service Lightning {
621621 /** lncli: `queryroutes`
622622 QueryRoutes attempts to query the daemon's Channel Router for a possible
623623 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
625625 send an HTLC, also including the necessary information that should be
626626 present within the Sphinx packet encapsulated within the HTLC.
627627 */
@@ -896,13 +896,7 @@ message SendToRouteRequest {
896896 /// An optional hex-encoded payment hash to be used for the HTLC.
897897 string payment_hash_string = 2 ;
898898
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 ;
906900
907901 /// Route that should be used to attempt to complete the payment.
908902 Route route = 4 ;
@@ -1162,7 +1156,7 @@ message Channel {
11621156 /// True if we were the ones that created the channel.
11631157 bool initiator = 18 [json_name = "initiator" ];
11641158
1165- /// A set of flags showing the current state of the cahnnel .
1159+ /// A set of flags showing the current state of the channel .
11661160 string chan_status_flags = 19 [json_name = "chan_status_flags" ];
11671161}
11681162
@@ -1335,6 +1329,9 @@ message GetInfoResponse {
13351329
13361330 /// A list of active chains the node is connected to
13371331 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" ];
13381335}
13391336
13401337message Chain {
@@ -1523,7 +1520,7 @@ message PendingChannelsResponse {
15231520 /// The balance in satoshis encumbered in this pending channel
15241521 int64 limbo_balance = 3 [ json_name = "limbo_balance" ];
15251522
1526- /// The height at which funds can be sweeped into the wallet
1523+ /// The height at which funds can be swept into the wallet
15271524 uint32 maturity_height = 4 [ json_name = "maturity_height" ];
15281525
15291526 /*
@@ -1606,11 +1603,7 @@ message QueryRoutesRequest {
16061603 /// The amount to send expressed in satoshis
16071604 int64 amt = 2 ;
16081605
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 ;
16141607
16151608 /// An optional CLTV delta from the current height that should be used for the timelock of the final hop
16161609 int32 final_cltv_delta = 4 ;
@@ -1698,7 +1691,7 @@ message Route {
16981691 /**
16991692 The sum of the fees paid at each hop within the final route. In the case
17001693 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 .
17021695 */
17031696 int64 total_fees = 2 [json_name = "total_fees" , deprecated = true ];
17041697
@@ -1742,8 +1735,14 @@ message NodeInfo {
17421735 */
17431736 LightningNode node = 1 [json_name = "node" ];
17441737
1738+ /// The total number of channels for the node.
17451739 uint32 num_channels = 2 [json_name = "num_channels" ];
1740+
1741+ /// The sum of all channels capacity for the node, denominated in satoshis.
17461742 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" ];
17471746}
17481747
17491748/**
@@ -1864,6 +1863,7 @@ message NodeUpdate {
18641863 string identity_key = 2 ;
18651864 bytes global_features = 3 ;
18661865 string alias = 4 ;
1866+ string color = 5 ;
18671867}
18681868message ChannelEdgeUpdate {
18691869 /**
@@ -2152,6 +2152,9 @@ message Payment {
21522152
21532153 /// The value of the payment in milli-satoshis
21542154 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" ];
21552158}
21562159
21572160message ListPaymentsRequest {
@@ -2298,7 +2301,7 @@ message ForwardingHistoryResponse {
22982301}
22992302
23002303message ExportChannelBackupRequest {
2301- /// The target chanenl point to obtain a back up for.
2304+ /// The target channel point to obtain a back up for.
23022305 ChannelPoint chan_point = 1 ;
23032306}
23042307
@@ -2310,7 +2313,7 @@ message ChannelBackup {
23102313
23112314 /**
23122315 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
23142317 order to trigger the recovery protocol.
23152318 */
23162319 bytes chan_backup = 2 [ json_name = "chan_backup" ];
0 commit comments