@@ -814,6 +814,9 @@ message Transaction {
814814
815815 /// Addresses that received funds for this transaction
816816 repeated string dest_addresses = 8 [ json_name = "dest_addresses" ];
817+
818+ /// The raw transaction hex.
819+ string raw_tx_hex = 9 [ json_name = "raw_tx_hex" ];
817820}
818821message GetTransactionsRequest {
819822}
@@ -1158,6 +1161,14 @@ message Channel {
11581161
11591162 /// A set of flags showing the current state of the channel.
11601163 string chan_status_flags = 19 [json_name = "chan_status_flags" ];
1164+
1165+ /// The minimum satoshis this node is required to reserve in its balance.
1166+ int64 local_chan_reserve_sat = 20 [json_name = "local_chan_reserve_sat" ];
1167+
1168+ /**
1169+ The minimum satoshis the other node is required to reserve in its balance.
1170+ */
1171+ int64 remote_chan_reserve_sat = 21 [json_name = "remote_chan_reserve_sat" ];
11611172}
11621173
11631174
@@ -1465,6 +1476,15 @@ message PendingChannelsResponse {
14651476
14661477 int64 local_balance = 4 [ json_name = "local_balance" ];
14671478 int64 remote_balance = 5 [ json_name = "remote_balance" ];
1479+
1480+ /// The minimum satoshis this node is required to reserve in its balance.
1481+ int64 local_chan_reserve_sat = 6 [json_name = "local_chan_reserve_sat" ];
1482+
1483+ /**
1484+ The minimum satoshis the other node is required to reserve in its
1485+ balance.
1486+ */
1487+ int64 remote_chan_reserve_sat = 7 [json_name = "remote_chan_reserve_sat" ];
14681488 }
14691489
14701490 message PendingOpenChannel {
@@ -1631,6 +1651,12 @@ message QueryRoutesRequest {
16311651 self is assumed.
16321652 */
16331653 string source_pub_key = 8 ;
1654+
1655+ /**
1656+ If set to true, edge probabilities from mission control will be used to get
1657+ the optimal route.
1658+ */
1659+ bool use_mission_control = 9 ;
16341660}
16351661
16361662message EdgeLocator {
@@ -1723,6 +1749,9 @@ message Route {
17231749message NodeInfoRequest {
17241750 /// The 33-byte hex-encoded compressed public of the target node
17251751 string pub_key = 1 ;
1752+
1753+ /// If true, will include all known channels associated with the node.
1754+ bool include_channels = 2 ;
17261755}
17271756
17281757message NodeInfo {
@@ -1771,6 +1800,7 @@ message RoutingPolicy {
17711800 int64 fee_rate_milli_msat = 4 [json_name = "fee_rate_milli_msat" ];
17721801 bool disabled = 5 [json_name = "disabled" ];
17731802 uint64 max_htlc_msat = 6 [json_name = "max_htlc_msat" ];
1803+ uint32 last_update = 7 [json_name = "last_update" ];
17741804}
17751805
17761806/**
@@ -1790,7 +1820,7 @@ message ChannelEdge {
17901820 uint64 channel_id = 1 [json_name = "channel_id" ];
17911821 string chan_point = 2 [json_name = "chan_point" ];
17921822
1793- uint32 last_update = 3 [json_name = "last_update" ];
1823+ uint32 last_update = 3 [json_name = "last_update" , deprecated = true ];
17941824
17951825 string node1_pub = 4 [json_name = "node1_pub" ];
17961826 string node2_pub = 5 [json_name = "node2_pub" ];
@@ -1845,6 +1875,9 @@ message NetworkInfo {
18451875 int64 max_channel_size = 9 [json_name = "max_channel_size" ];
18461876 int64 median_channel_size_sat = 10 [json_name = "median_channel_size_sat" ];
18471877
1878+ // The number of edges marked as zombies.
1879+ uint64 num_zombie_chans = 11 [json_name = "num_zombie_chans" ];
1880+
18481881 // TODO(roasbeef): fee rate info, expiry
18491882 // * also additional RPC for tracking fee info once in
18501883}
@@ -2141,8 +2174,8 @@ message Payment {
21412174 /// The path this payment took
21422175 repeated string path = 4 [ json_name = "path" ];
21432176
2144- /// The fee paid for this payment in satoshis
2145- int64 fee = 5 [json_name = "fee" ];
2177+ /// Deprecated, use fee_sat or fee_msat.
2178+ int64 fee = 5 [json_name = "fee" , deprecated = true ];
21462179
21472180 /// The payment preimage
21482181 string payment_preimage = 6 [json_name = "payment_preimage" ];
@@ -2155,9 +2188,31 @@ message Payment {
21552188
21562189 /// The optional payment request being fulfilled.
21572190 string payment_request = 9 [json_name = "payment_request" ];
2191+
2192+ enum PaymentStatus {
2193+ UNKNOWN = 0 ;
2194+ IN_FLIGHT = 1 ;
2195+ SUCCEEDED = 2 ;
2196+ FAILED = 3 ;
2197+ }
2198+
2199+ // The status of the payment.
2200+ PaymentStatus status = 10 [json_name = "status" ];
2201+
2202+ /// The fee paid for this payment in satoshis
2203+ int64 fee_sat = 11 [json_name = "fee_sat" ];
2204+
2205+ /// The fee paid for this payment in milli-satoshis
2206+ int64 fee_msat = 12 [json_name = "fee_msat" ];
21582207}
21592208
21602209message ListPaymentsRequest {
2210+ /**
2211+ If true, then return payments that have not yet fully completed. This means
2212+ that pending payments, as well as failed payments will show up if this
2213+ field is set to True.
2214+ */
2215+ bool include_incomplete = 1 ;
21612216}
21622217
21632218message ListPaymentsResponse {
0 commit comments