From 5b0bb5135997432c097ec2c70a8919610fbd85c9 Mon Sep 17 00:00:00 2001 From: rootzoll Date: Wed, 22 Jan 2020 21:47:02 +0100 Subject: [PATCH] #824 update of python protobuff libs for lnd 0.9.0 --- home.admin/config.scripts/lndlibs/README.md | 12 + home.admin/config.scripts/lndlibs/rpc.proto | 609 ++++- home.admin/config.scripts/lndlibs/rpc_pb2.py | 2206 +++++++++++++---- .../config.scripts/lndlibs/rpc_pb2_grpc.py | 58 +- 4 files changed, 2384 insertions(+), 501 deletions(-) diff --git a/home.admin/config.scripts/lndlibs/README.md b/home.admin/config.scripts/lndlibs/README.md index 423aaeee4..81e4dea64 100644 --- a/home.admin/config.scripts/lndlibs/README.md +++ b/home.admin/config.scripts/lndlibs/README.md @@ -14,5 +14,17 @@ python -m grpc_tools.protoc --proto_path=googleapis:. --python_out=. --grpc_pyth *NOTE: If LND master branch is already a version ahead .. use the rpc.proto from the version tagged branch.* +Make sure the first 3 lines of the rpc_pb2_grpc.py look like the following for python3 compatibility: +``` +from __future__ import absolute_import +import grpc + +from . import rpc_pb2 as rpc__pb2 +``` + Now copy the generated RPC libs per SCP over to your Laptop and add them to the `/home/admin/config.scripts/lndlibs`. +scp admin@192.168.X.X:/home/admin/rpc_pb2_grpc.py ./ +scp admin@192.168.X.X:/home/admin/rpc.proto ./ +scp admin@192.168.X.X:/home/admin/rpc_pb2.py ./ + diff --git a/home.admin/config.scripts/lndlibs/rpc.proto b/home.admin/config.scripts/lndlibs/rpc.proto index c1347e692..bc63c4148 100644 --- a/home.admin/config.scripts/lndlibs/rpc.proto +++ b/home.admin/config.scripts/lndlibs/rpc.proto @@ -94,13 +94,15 @@ service WalletUnlocker { message GenSeedRequest { /** aezeed_passphrase is an optional user provided passphrase that will be used - to encrypt the generated aezeed cipher seed. + to encrypt the generated aezeed cipher seed. When using REST, this field + must be encoded as base64. */ bytes aezeed_passphrase = 1; /** seed_entropy is an optional 16-bytes generated via CSPRNG. If not specified, then a fresh set of randomness will be used to create the seed. + When using REST, this field must be encoded as base64. */ bytes seed_entropy = 2; } @@ -125,7 +127,8 @@ message InitWalletRequest { /** wallet_password is the passphrase that should be used to encrypt the wallet. This MUST be at least 8 chars in length. After creation, this - password is required to unlock the daemon. + password is required to unlock the daemon. When using REST, this field + must be encoded as base64. */ bytes wallet_password = 1; @@ -138,7 +141,8 @@ message InitWalletRequest { /** aezeed_passphrase is an optional user provided passphrase that will be used - to encrypt the generated aezeed cipher seed. + to encrypt the generated aezeed cipher seed. When using REST, this field + must be encoded as base64. */ bytes aezeed_passphrase = 3; @@ -168,7 +172,7 @@ message UnlockWalletRequest { /** wallet_password should be the current valid passphrase for the daemon. This will be required to decrypt on-disk material that the daemon requires to - function properly. + function properly. When using REST, this field must be encoded as base64. */ bytes wallet_password = 1; @@ -196,13 +200,13 @@ message UnlockWalletResponse {} message ChangePasswordRequest { /** current_password should be the current valid passphrase used to unlock the - daemon. + daemon. When using REST, this field must be encoded as base64. */ bytes current_password = 1; /** new_password should be the new passphrase that will be needed to unlock the - daemon. + daemon. When using REST, this field must be encoded as base64. */ bytes new_password = 2; } @@ -355,6 +359,13 @@ service Lightning { }; } + /** + SubscribePeerEvents creates a uni-directional stream from the server to + the client in which any events relevant to the state of peers are sent + over. Events include peers going online and offline. + */ + rpc SubscribePeerEvents (PeerEventSubscription) returns (stream PeerEvent); + /** lncli: `getinfo` GetInfo returns general information concerning the lightning node including it's identity pubkey, alias, the chains it is connected to, and information @@ -426,10 +437,25 @@ service Lightning { request to a remote peer. Users are able to specify a target number of blocks that the funding transaction should be confirmed in, or a manual fee rate to us for the funding transaction. If neither are specified, then a - lax block confirmation target is used. + lax block confirmation target is used. Each OpenStatusUpdate will return + the pending channel ID of the in-progress channel. Depending on the + arguments specified in the OpenChannelRequest, this pending channel ID can + then be used to manually progress the channel funding flow. */ rpc OpenChannel (OpenChannelRequest) returns (stream OpenStatusUpdate); + /** + FundingStateStep is an advanced funding related call that allows the caller + to either execute some preparatory steps for a funding workflow, or + manually progress a funding workflow. The primary way a funding flow is + identified is via its pending channel ID. As an example, this method can be + used to specify that we're expecting a funding flow for a particular + pending channel ID, for which we need to use specific parameters. + Alternatively, this can be used to interactively drive PSBT signing for + funding for partially complete funding transactions. + */ + rpc FundingStateStep(FundingTransitionMsg) returns (FundingStateStepResp); + /** ChannelAcceptor dispatches a bi-directional streaming RPC in which OpenChannel requests are sent to the client and the client responds with @@ -550,9 +576,9 @@ service Lightning { notifying the client of newly added/settled invoices. The caller can optionally specify the add_index and/or the settle_index. If the add_index is specified, then we'll first start by sending add invoice events for all - invoices with an add_index greater than the specified value. If the + invoices with an add_index greater than the specified value. If the settle_index is specified, the next, we'll send out all settle events for - invoices with a settle_index greater than the specified value. One or both + invoices with a settle_index greater than the specified value. One or both of these fields can be set. If no fields are set, then we'll only send out the latest add/settle events. */ @@ -595,7 +621,7 @@ service Lightning { DescribeGraph returns a description of the latest graph state from the point of view of the node. The graph information is partitioned into two components: all the nodes/vertexes, and all the edges that connect the - vertexes themselves. As this is a directed graph, the edges also contain + vertexes themselves. As this is a directed graph, the edges also contain the node directional specific routing policy which includes: the time lock delta, fee information, etc. */ @@ -703,7 +729,7 @@ service Lightning { A list of forwarding events are returned. The size of each forwarding event is 40 bytes, and the max message size able to be returned in gRPC is 4 MiB. - As a result each message can only contain 50k entries. Each response has + As a result each message can only contain 50k entries. Each response has the index offset of the last entry. The index offset can be provided to the request to allow the caller to skip a series of records. */ @@ -848,32 +874,66 @@ message TransactionDetails { message FeeLimit { oneof limit { - /// The fee limit expressed as a fixed amount of satoshis. + /** + The fee limit expressed as a fixed amount of satoshis. + + The fields fixed and fixed_msat are mutually exclusive. + */ int64 fixed = 1; + /** + The fee limit expressed as a fixed amount of millisatoshis. + + The fields fixed and fixed_msat are mutually exclusive. + */ + int64 fixed_msat = 3; + /// The fee limit expressed as a percentage of the payment amount. int64 percent = 2; } } message SendRequest { - /// The identity pubkey of the payment recipient + /** + The identity pubkey of the payment recipient. When using REST, this field + must be encoded as base64. + */ bytes dest = 1; - /// The hex-encoded identity pubkey of the payment recipient - string dest_string = 2; - - /// Number of satoshis to send. - int64 amt = 3; - - /// The hash to use within the payment's HTLC - bytes payment_hash = 4; - - /// The hex-encoded hash to use within the payment's HTLC - string payment_hash_string = 5; + /** + The hex-encoded identity pubkey of the payment recipient. Deprecated now + that the REST gateway supports base64 encoding of bytes fields. + */ + string dest_string = 2 [deprecated = true]; /** - A bare-bones invoice for a payment within the Lightning Network. With the + The amount to send expressed in satoshis. + + The fields amt and amt_msat are mutually exclusive. + */ + int64 amt = 3; + + /** + The amount to send expressed in millisatoshis. + + The fields amt and amt_msat are mutually exclusive. + */ + int64 amt_msat = 12; + + /** + The hash to use within the payment's HTLC. When using REST, this field + must be encoded as base64. + */ + bytes payment_hash = 4; + + /** + The hex-encoded hash to use within the payment's HTLC. Deprecated now + that the REST gateway supports base64 encoding of bytes fields. + */ + string payment_hash_string = 5 [deprecated = true]; + + /** + A bare-bones invoice for a payment within the Lightning Network. With the details of the invoice, the sender has all the data necessary to send a payment to the recipient. */ @@ -899,6 +959,11 @@ message SendRequest { */ uint64 outgoing_chan_id = 9 [jstype = JS_STRING]; + /** + The pubkey of the last hop of the route. If empty, any hop may be used. + */ + bytes last_hop_pubkey = 13; + /** An optional maximum total time lock for the route. This should not exceed lnd's `--max-cltv-expiry` setting. If zero, then the value of @@ -909,9 +974,23 @@ message SendRequest { /** An optional field that can be used to pass an arbitrary set of TLV records to a peer which understands the new records. This can be used to pass - application specific data during the payment attempt. + application specific data during the payment attempt. Record types are + required to be in the custom range >= 65536. When using REST, the values + must be encoded as base64. */ - map dest_tlv = 11; + map dest_custom_records = 11; + + /// If set, circular payments to self are permitted. + bool allow_self_payment = 14; + + /** + Features assumed to be supported by the final node. All transitive feature + depdencies must also be set properly. For a given feature bit pair, either + optional or remote may be set, but not both. If this field is nil or empty, + the router will try to load destination features from the graph as a + fallback. + */ + repeated FeatureBit dest_features = 15; } message SendResponse { @@ -922,11 +1001,17 @@ message SendResponse { } message SendToRouteRequest { - /// The payment hash to use for the HTLC. + /** + The payment hash to use for the HTLC. When using REST, this field must be + encoded as base64. + */ bytes payment_hash = 1; - /// An optional hex-encoded payment hash to be used for the HTLC. - string payment_hash_string = 2; + /** + An optional hex-encoded payment hash to be used for the HTLC. Deprecated now + that the REST gateway supports base64 encoding of bytes fields. + */ + string payment_hash_string = 2 [deprecated = true]; reserved 3; @@ -988,10 +1073,16 @@ message ChannelAcceptResponse { message ChannelPoint { oneof funding_txid { - /// Txid of the funding transaction + /** + Txid of the funding transaction. When using REST, this field must be + encoded as base64. + */ bytes funding_txid_bytes = 1 [json_name = "funding_txid_bytes"]; - /// Hex-encoded string representing the funding transaction + /** + Hex-encoded string representing the byte-reversed hash of the funding + transaction. + */ string funding_txid_str = 2 [json_name = "funding_txid_str"]; } @@ -1109,7 +1200,10 @@ message NewAddressResponse { } message SignMessageRequest { - /// The message to be signed + /** + The message to be signed. When using REST, this field must be encoded as + base64. + */ bytes msg = 1 [ json_name = "msg" ]; } message SignMessageResponse { @@ -1118,7 +1212,10 @@ message SignMessageResponse { } message VerifyMessageRequest { - /// The message over which the signature is to be verified + /** + The message over which the signature is to be verified. When using REST, + this field must be encoded as base64. + */ bytes msg = 1 [ json_name = "msg" ]; /// The signature to be verified over the given message @@ -1137,7 +1234,7 @@ message ConnectPeerRequest { LightningAddress addr = 1; /** If set, the daemon will attempt to persistently connect to the target - * peer. Otherwise, the call will be synchronous. */ + * peer. Otherwise, the call will be synchronous. */ bool perm = 2; } message ConnectPeerResponse { @@ -1271,6 +1368,15 @@ message Channel { by the channel scoring system over the lifetime of the channel [EXPERIMENTAL]. */ int64 uptime = 24 [json_name = "uptime"]; + + /** + Close address is the address that we will enforce payout to on cooperative + close if the channel was opened utilizing option upfront shutdown. This + value can be set on channel open by setting close_address in an open channel + request. If this value is not set, you can still choose a payout address by + cooperatively closing with the delivery_address field set. + */ + string close_address = 25 [json_name ="close_address"]; } @@ -1383,6 +1489,9 @@ message Peer { // The type of sync we are currently performing with this peer. SyncType sync_type = 10 [json_name = "sync_type"]; + + /// Features advertised by the remote peer in their init message. + map features = 11 [json_name = "features"]; } message ListPeersRequest { @@ -1392,22 +1501,46 @@ message ListPeersResponse { repeated Peer peers = 1 [json_name = "peers"]; } +message PeerEventSubscription { +} + +message PeerEvent { + /// The identity pubkey of the peer. + string pub_key = 1 [json_name = "pub_key"]; + + enum EventType { + PEER_ONLINE = 0; + PEER_OFFLINE = 1; + } + + EventType type = 2 [ json_name = "type" ]; +} + message GetInfoRequest { } message GetInfoResponse { + /// The version of the LND software that the node is running. + string version = 14 [ json_name = "version" ]; + /// The identity pubkey of the current node. string identity_pubkey = 1 [json_name = "identity_pubkey"]; /// If applicable, the alias of the current node, e.g. "bob" string alias = 2 [json_name = "alias"]; + /// The color of the current node in hex code format + string color = 17 [json_name = "color"]; + /// Number of pending channels uint32 num_pending_channels = 3 [json_name = "num_pending_channels"]; /// Number of active channels uint32 num_active_channels = 4 [json_name = "num_active_channels"]; + /// Number of inactive channels + uint32 num_inactive_channels = 15 [json_name = "num_inactive_channels"]; + /// Number of peers uint32 num_peers = 5 [json_name = "num_peers"]; @@ -1417,9 +1550,15 @@ message GetInfoResponse { /// The node's current view of the hash of the best block string block_hash = 8 [json_name = "block_hash"]; + /// Timestamp of the block best known to the wallet + int64 best_header_timestamp = 13 [ json_name = "best_header_timestamp" ]; + /// Whether the wallet's view is synced to the main chain bool synced_to_chain = 9 [json_name = "synced_to_chain"]; + // Whether we consider ourselves synced with the public channel graph. + bool synced_to_graph = 18 [json_name = "synced_to_graph"]; + /** Whether the current node is connected to testnet. This field is deprecated and the network field should be used instead @@ -1428,26 +1567,17 @@ message GetInfoResponse { reserved 11; - /// The URIs of the current node. - repeated string uris = 12 [json_name = "uris"]; - - /// Timestamp of the block best known to the wallet - int64 best_header_timestamp = 13 [ json_name = "best_header_timestamp" ]; - - /// The version of the LND software that the node is running. - string version = 14 [ json_name = "version" ]; - - /// Number of inactive channels - uint32 num_inactive_channels = 15 [json_name = "num_inactive_channels"]; - /// A list of active chains the node is connected to repeated Chain chains = 16 [json_name = "chains"]; - /// The color of the current node in hex code format - string color = 17 [json_name = "color"]; + /// The URIs of the current node. + repeated string uris = 12 [json_name = "uris"]; - // Whether we consider ourselves synced with the public channel graph. - bool synced_to_graph = 18 [json_name = "synced_to_graph"]; + /* + Features that our node has advertised in our init message, node + announcements and invoices. + */ + map features = 19 [json_name = "features"]; } message Chain { @@ -1491,6 +1621,14 @@ message CloseChannelRequest { /// A manual fee rate set in sat/byte that should be used when crafting the closure transaction. int64 sat_per_byte = 4; + + /* + An optional address to send funds to in the case of a cooperative close. + If the channel was opened with an upfront shutdown script and this field + is set, the request to close will fail because the channel must pay out + to the upfront shutdown addresss. + */ + string delivery_address = 5 [json_name = "delivery_address"]; } message CloseStatusUpdate { @@ -1506,11 +1644,17 @@ message PendingUpdate { } message OpenChannelRequest { - /// The pubkey of the node to open a channel with + /** + The pubkey of the node to open a channel with. When using REST, this field + must be encoded as base64. + */ bytes node_pubkey = 2 [json_name = "node_pubkey"]; - /// The hex encoded pubkey of the node to open a channel with - string node_pubkey_string = 3 [json_name = "node_pubkey_string"]; + /** + The hex encoded pubkey of the node to open a channel with. Deprecated now + that the REST gateway supports base64 encoding of bytes fields. + */ + string node_pubkey_string = 3 [json_name = "node_pubkey_string", deprecated = true]; /// The number of satoshis the wallet should commit to the channel int64 local_funding_amount = 4 [json_name = "local_funding_amount"]; @@ -1538,14 +1682,114 @@ message OpenChannelRequest { /// Whether unconfirmed outputs should be used as inputs for the funding transaction. bool spend_unconfirmed = 12 [json_name = "spend_unconfirmed"]; + + /* + Close address is an optional address which specifies the address to which + funds should be paid out to upon cooperative close. This field may only be + set if the peer supports the option upfront feature bit (call listpeers + to check). The remote peer will only accept cooperative closes to this + address if it is set. + + Note: If this value is set on channel creation, you will *not* be able to + cooperatively close out to a different address. + */ + string close_address = 13 [json_name = "close_address"]; + + /** + Funding shims are an optional argument that allow the caller to intercept + certain funding functionality. For example, a shim can be provided to use a + particular key for the commitment key (ideally cold) rather than use one + that is generated by the wallet as normal, or signal that signing will be + carried out in an interactive manner (PSBT based). + */ + FundingShim funding_shim = 14 [json_name = "funding_shim"]; } message OpenStatusUpdate { oneof update { PendingUpdate chan_pending = 1 [json_name = "chan_pending"]; ChannelOpenUpdate chan_open = 3 [json_name = "chan_open"]; + } + + /** + The pending channel ID of the created channel. This value may be used to + further the funding flow manually via the FundingStateStep method. + */ + bytes pending_chan_id = 4 [json_name = "pending_chan_id"]; +} + +message KeyLocator { + /// The family of key being identified. + int32 key_family = 1; + + /// The precise index of the key being identified. + int32 key_index = 2; +} + +message KeyDescriptor { + /** + The raw bytes of the key being identified. + */ + bytes raw_key_bytes = 1; + + /** + The key locator that identifies which key to use for signing. + */ + KeyLocator key_loc = 2; +} + +message ChanPointShim { + /** + The size of the pre-crafted output to be used as the channel point for this + channel funding. + */ + int64 amt = 1; + + /// The target channel point to refrence in created commitment transactions. + ChannelPoint chan_point = 2; + + /// Our local key to use when creating the multi-sig output. + KeyDescriptor local_key = 3; + + /// The key of the remote party to use when creating the multi-sig output. + bytes remote_key = 4; + + /** + If non-zero, then this will be used as the pending channel ID on the wire + protocol to initate the funding request. This is an optional field, and + should only be set if the responder is already expecting a specific pending + channel ID. + */ + bytes pending_chan_id = 5; +} + +message FundingShim { + oneof shim { + ChanPointShim chan_point_shim = 1; } } +message FundingShimCancel { + /// The pending channel ID of the channel to cancel the funding shim for. + bytes pending_chan_id = 1; +} + +message FundingTransitionMsg { + oneof trigger { + /** + The funding shim to regsiter. This should be used before any + channel funding has began by the remote party, as it is intended as a + prepatory step for the full channel funding. + */ + FundingShim shim_register = 1; + + /// Used to cancel an existing registered funding shim. + FundingShimCancel shim_cancel = 2; + } +} + +message FundingStateStepResp { +} + message PendingHTLC { /// The direction within the channel that the htlc was sent @@ -1725,12 +1969,29 @@ message QueryRoutesRequest { /// The 33-byte hex-encoded public key for the payment destination string pub_key = 1; - /// The amount to send expressed in satoshis + /** + The amount to send expressed in satoshis. + + The fields amt and amt_msat are mutually exclusive. + */ int64 amt = 2; + /** + The amount to send expressed in millisatoshis. + + The fields amt and amt_msat are mutually exclusive. + */ + int64 amt_msat = 12; + reserved 3; - /// An optional CLTV delta from the current height that should be used for the timelock of the final hop + /** + An optional CLTV delta from the current height that should be used for the + timelock of the final hop. Note that unlike SendPayment, QueryRoutes does + not add any additional block padding on top of final_ctlv_delta. This + padding of a few blocks needs to be added manually or otherwise failures may + happen when a block comes in while the payment is in flight. + */ int32 final_cltv_delta = 4; /** @@ -1742,7 +2003,8 @@ message QueryRoutesRequest { FeeLimit fee_limit = 5; /** - A list of nodes to ignore during path finding. + A list of nodes to ignore during path finding. When using REST, these fields + must be encoded as base64. */ repeated bytes ignored_nodes = 6; @@ -1774,13 +2036,54 @@ message QueryRoutesRequest { zero, then the value of `--max-cltv-expiry` is used as the limit. */ uint32 cltv_limit = 11; + + /** + An optional field that can be used to pass an arbitrary set of TLV records + to a peer which understands the new records. This can be used to pass + application specific data during the payment attempt. If the destination + does not support the specified recrods, and error will be returned. + Record types are required to be in the custom range >= 65536. When using + REST, the values must be encoded as base64. + */ + map dest_custom_records = 13; + + /** + The channel id of the channel that must be taken to the first hop. If zero, + any channel may be used. + */ + uint64 outgoing_chan_id = 14 [jstype = JS_STRING]; + + /** + The pubkey of the last hop of the route. If empty, any hop may be used. + */ + bytes last_hop_pubkey = 15; + + /** + Optional route hints to reach the destination through private channels. + */ + repeated lnrpc.RouteHint route_hints = 16; + + /** + Features assumed to be supported by the final node. All transitive feature + depdencies must also be set properly. For a given feature bit pair, either + optional or remote may be set, but not both. If this field is nil or empty, + the router will try to load destination features from the graph as a + fallback. + */ + repeated lnrpc.FeatureBit dest_features = 17; } message NodePair { - /// The sending node of the pair. + /** + The sending node of the pair. When using REST, this field must be encoded as + base64. + */ bytes from = 1; - /// The receiving node of the pair. + /** + The receiving node of the pair. When using REST, this field must be encoded + as base64. + */ bytes to = 2; } @@ -1833,9 +2136,43 @@ message Hop { /** If set to true, then this hop will be encoded using the new variable length - TLV format. + TLV format. Note that if any custom tlv_records below are specified, then + this field MUST be set to true for them to be encoded properly. */ bool tlv_payload = 9 [json_name = "tlv_payload"]; + + /** + An optional TLV record tha singals the use of an MPP payment. If present, + the receiver will enforce that that the same mpp_record is included in the + final hop payload of all non-zero payments in the HTLC set. If empty, a + regular single-shot payment is or was attempted. + */ + MPPRecord mpp_record = 10 [json_name = "mpp_record"]; + + /** + An optional set of key-value TLV records. This is useful within the context + of the SendToRoute call as it allows callers to specify arbitrary K-V pairs + to drop off at each hop within the onion. + */ + map custom_records = 11 [json_name = "custom_records"]; +} + +message MPPRecord { + /** + A unique, random identifier used to authenticate the sender as the intended + payer of a multi-path payment. The payment_addr must be the same for all + subpayments, and match the payment_addr provided in the receiver's invoice. + The same payment_addr must be used on all subpayments. + */ + bytes payment_addr = 11 [json_name = "payment_addr"]; + + /** + The total amount in milli-satoshis being sent as part of a larger multi-path + payment. The caller is responsible for ensuring subpayments to the same node + and payment_hash sum exactly to total_amt_msat. The same + total_amt_msat must be used on all subpayments. + */ + int64 total_amt_msat = 10 [json_name = "total_amt_msat"]; } /** @@ -1848,7 +2185,7 @@ carry the initial payment amount after fees are accounted for. message Route { /** - The cumulative (final) time lock across the entire route. This is the CLTV + The cumulative (final) time lock across the entire route. This is the CLTV value that should be extended to the first hop in the route. All other hops will decrement the time-lock as advertised, leaving enough time for all hops to wait for or present the payment preimage to complete the payment. @@ -1856,7 +2193,7 @@ message Route { uint32 total_time_lock = 1 [json_name = "total_time_lock"]; /** - The sum of the fees paid at each hop within the final route. In the case + The sum of the fees paid at each hop within the final route. In the case of a one-hop payment, this value will be zero as we don't need to pay a fee to ourselves. */ @@ -1927,6 +2264,7 @@ message LightningNode { string alias = 3 [ json_name = "alias" ]; repeated NodeAddress addresses = 4 [ json_name = "addresses" ]; string color = 5 [ json_name = "color" ]; + map features = 6 [ json_name = "features" ]; } message NodeAddress { @@ -2105,23 +2443,35 @@ message Invoice { */ string memo = 1 [json_name = "memo"]; - /** Deprecated. An optional cryptographic receipt of payment which is not - implemented. - */ - bytes receipt = 2 [json_name = "receipt", deprecated = true]; + reserved 2; /** The hex-encoded preimage (32 byte) which will allow settling an incoming - HTLC payable to this preimage + HTLC payable to this preimage. When using REST, this field must be encoded + as base64. */ bytes r_preimage = 3 [json_name = "r_preimage"]; - /// The hash of the preimage + /** + The hash of the preimage. When using REST, this field must be encoded as + base64. + */ bytes r_hash = 4 [json_name = "r_hash"]; - /// The value of this invoice in satoshis + /** + The value of this invoice in satoshis + + The fields value and value_msat are mutually exclusive. + */ int64 value = 5 [json_name = "value"]; + /** + The value of this invoice in millisatoshis + + The fields value and value_msat are mutually exclusive. + */ + int64 value_msat = 23 [json_name = "value_msat"]; + /// Whether this invoice has been fulfilled bool settled = 6 [json_name = "settled", deprecated = true]; @@ -2132,7 +2482,7 @@ message Invoice { int64 settle_date = 8 [json_name = "settle_date"]; /** - A bare-bones invoice for a payment within the Lightning Network. With the + A bare-bones invoice for a payment within the Lightning Network. With the details of the invoice, the sender has all the data necessary to send a payment to the recipient. */ @@ -2141,7 +2491,8 @@ message Invoice { /** Hash (SHA-256) of a description of the payment. Used if the description of payment (memo) is too long to naturally fit within the description field - of an encoded payment request. + of an encoded payment request. When using REST, this field must be encoded + as base64. */ bytes description_hash = 10 [json_name = "description_hash"]; @@ -2216,6 +2567,15 @@ message Invoice { /// List of HTLCs paying to this invoice [EXPERIMENTAL]. repeated InvoiceHTLC htlcs = 22 [json_name = "htlcs"]; + + /// List of features advertised on the invoice. + map features = 24 [json_name = "features"]; + + /** + Indicates if this invoice was a spontaneous payment that arrived via keysend + [EXPERIMENTAL]. + */ + bool is_keysend = 25 [json_name = "is_keysend"]; } enum InvoiceHTLCState { @@ -2249,13 +2609,19 @@ message InvoiceHTLC { /// Current state the htlc is in. InvoiceHTLCState state = 8 [json_name = "state"]; + + /// Custom tlv records. + map custom_records = 9 [json_name = "custom_records"]; + + /// The total amount of the mpp payment in msat. + uint64 mpp_total_amt_msat = 10 [json_name = "mpp_total_amt_msat"]; } message AddInvoiceResponse { bytes r_hash = 1 [json_name = "r_hash"]; /** - A bare-bones invoice for a payment within the Lightning Network. With the + A bare-bones invoice for a payment within the Lightning Network. With the details of the invoice, the sender has all the data necessary to send a payment to the recipient. */ @@ -2273,15 +2639,23 @@ message PaymentHash { /** The hex-encoded payment hash of the invoice to be looked up. The passed payment hash must be exactly 32 bytes, otherwise an error is returned. + Deprecated now that the REST gateway supports base64 encoding of bytes + fields. */ - string r_hash_str = 1 [json_name = "r_hash_str"]; + string r_hash_str = 1 [json_name = "r_hash_str", deprecated = true]; - /// The payment hash of the invoice to be looked up. + /** + The payment hash of the invoice to be looked up. When using REST, this field + must be encoded as base64. + */ bytes r_hash = 2 [json_name = "r_hash"]; } message ListInvoiceRequest { - /// If set, only unsettled invoices will be returned in the response. + /** + If set, only invoices that are not settled and not canceled will be returned + in the response. + */ bool pending_only = 1 [json_name = "pending_only"]; /** @@ -2345,11 +2719,11 @@ message Payment { /// Deprecated, use value_sat or value_msat. int64 value = 2 [json_name = "value", deprecated = true]; - /// The date of this payment - int64 creation_date = 3 [json_name = "creation_date"]; + /// Deprecated, use creation_time_ns + int64 creation_date = 3 [json_name = "creation_date", deprecated = true]; - /// The path this payment took - repeated string path = 4 [ json_name = "path" ]; + /// The path this payment took. + repeated string path = 4 [json_name = "path", deprecated = true]; /// Deprecated, use fee_sat or fee_msat. int64 fee = 5 [json_name = "fee", deprecated = true]; @@ -2381,6 +2755,35 @@ message Payment { /// The fee paid for this payment in milli-satoshis int64 fee_msat = 12 [json_name = "fee_msat"]; + + /// The time in UNIX nanoseconds at which the payment was created. + int64 creation_time_ns = 13 [json_name = "creation_time_ns"]; + + /// The HTLCs made in attempt to settle the payment [EXPERIMENTAL]. + repeated HTLCAttempt htlcs = 14 [json_name = "htlcs"]; +} + +message HTLCAttempt { + enum HTLCStatus { + IN_FLIGHT = 0; + SUCCEEDED = 1; + FAILED = 2; + } + + /// The status of the HTLC. + HTLCStatus status = 1 [json_name = "status"]; + + /// The route taken by this HTLC. + Route route = 2 [json_name = "route"]; + + /// The time in UNIX nanoseconds at which this HTLC was sent. + int64 attempt_time_ns = 3 [json_name = "attempt_time_ns"]; + + /** + The time in UNIX nanoseconds at which this HTLC was settled or failed. + This value will not be set if the HTLC is still IN_FLIGHT. + */ + int64 resolve_time_ns = 4 [json_name = "resolve_time_ns"]; } message ListPaymentsRequest { @@ -2434,6 +2837,35 @@ message PayReq { string fallback_addr = 8 [json_name = "fallback_addr"]; int64 cltv_expiry = 9 [json_name = "cltv_expiry"]; repeated RouteHint route_hints = 10 [json_name = "route_hints"]; + bytes payment_addr = 11 [json_name = "payment_addr"]; + int64 num_msat = 12 [json_name = "num_msat"]; + map features = 13 [json_name = "features"]; +} + +enum FeatureBit { + DATALOSS_PROTECT_REQ = 0; + DATALOSS_PROTECT_OPT = 1; + INITIAL_ROUING_SYNC = 3; + UPFRONT_SHUTDOWN_SCRIPT_REQ = 4; + UPFRONT_SHUTDOWN_SCRIPT_OPT = 5; + GOSSIP_QUERIES_REQ = 6; + GOSSIP_QUERIES_OPT = 7; + TLV_ONION_REQ = 8; + TLV_ONION_OPT = 9; + EXT_GOSSIP_QUERIES_REQ = 10; + EXT_GOSSIP_QUERIES_OPT = 11; + STATIC_REMOTE_KEY_REQ = 12; + STATIC_REMOTE_KEY_OPT = 13; + PAYMENT_ADDR_REQ = 14; + PAYMENT_ADDR_OPT = 15; + MPP_REQ = 16; + MPP_OPT = 17; +} + +message Feature { + string name = 2 [json_name = "name"]; + bool is_required = 3 [json_name = "is_required"]; + bool is_known = 4 [json_name = "is_known"]; } message FeeReportRequest {} @@ -2484,6 +2916,12 @@ message PolicyUpdateRequest { /// If set, the maximum HTLC size in milli-satoshis. If unset, the maximum HTLC will be unchanged. uint64 max_htlc_msat = 6 [json_name = "max_htlc_msat"]; + + /// The minimum HTLC size in milli-satoshis. Only applied if min_htlc_msat_specified is true. + uint64 min_htlc_msat = 7 [json_name = "min_htlc_msat"]; + + /// If true, min_htlc_msat is applied. + bool min_htlc_msat_specified = 8 [json_name = "set_min_htlc_msat"]; } message PolicyUpdateResponse { } @@ -2556,7 +2994,8 @@ message ChannelBackup { /** Is an encrypted single-chan backup. this can be passed to RestoreChannelBackups, or the WalletUnlocker Init and Unlock methods in - order to trigger the recovery protocol. + order to trigger the recovery protocol. When using REST, this field must be + encoded as base64. */ bytes chan_backup = 2 [ json_name = "chan_backup" ]; } @@ -2570,7 +3009,8 @@ message MultiChanBackup { /** A single encrypted blob containing all the static channel backups of the channel listed above. This can be stored as a single file or blob, and - safely be replaced with any prior/future versions. + safely be replaced with any prior/future versions. When using REST, this + field must be encoded as base64. */ bytes multi_chan_backup = 2 [ json_name = "multi_chan_backup" ]; } @@ -2599,8 +3039,15 @@ message ChannelBackups { message RestoreChanBackupRequest { oneof backup { + /** + The channels to restore as a list of channel/backup pairs. + */ ChannelBackups chan_backups = 1 [ json_name = "chan_backups" ]; + /** + The channels to restore in the packed multi backup format. When using + REST, this field must be encoded as base64. + */ bytes multi_chan_backup = 2 [ json_name = "multi_chan_backup" ]; } } diff --git a/home.admin/config.scripts/lndlibs/rpc_pb2.py b/home.admin/config.scripts/lndlibs/rpc_pb2.py index 911862eb9..5ddba9ebf 100644 --- a/home.admin/config.scripts/lndlibs/rpc_pb2.py +++ b/home.admin/config.scripts/lndlibs/rpc_pb2.py @@ -22,7 +22,7 @@ DESCRIPTOR = _descriptor.FileDescriptor( package='lnrpc', syntax='proto3', serialized_options=_b('Z%github.com/lightningnetwork/lnd/lnrpc'), - serialized_pb=_b('\n\trpc.proto\x12\x05lnrpc\x1a\x1cgoogle/api/annotations.proto\"A\n\x0eGenSeedRequest\x12\x19\n\x11\x61\x65zeed_passphrase\x18\x01 \x01(\x0c\x12\x14\n\x0cseed_entropy\x18\x02 \x01(\x0c\"H\n\x0fGenSeedResponse\x12\x1c\n\x14\x63ipher_seed_mnemonic\x18\x01 \x03(\t\x12\x17\n\x0f\x65nciphered_seed\x18\x02 \x01(\x0c\"\xb2\x01\n\x11InitWalletRequest\x12\x17\n\x0fwallet_password\x18\x01 \x01(\x0c\x12\x1c\n\x14\x63ipher_seed_mnemonic\x18\x02 \x03(\t\x12\x19\n\x11\x61\x65zeed_passphrase\x18\x03 \x01(\x0c\x12\x17\n\x0frecovery_window\x18\x04 \x01(\x05\x12\x32\n\x0f\x63hannel_backups\x18\x05 \x01(\x0b\x32\x19.lnrpc.ChanBackupSnapshot\"\x14\n\x12InitWalletResponse\"{\n\x13UnlockWalletRequest\x12\x17\n\x0fwallet_password\x18\x01 \x01(\x0c\x12\x17\n\x0frecovery_window\x18\x02 \x01(\x05\x12\x32\n\x0f\x63hannel_backups\x18\x03 \x01(\x0b\x32\x19.lnrpc.ChanBackupSnapshot\"\x16\n\x14UnlockWalletResponse\"G\n\x15\x43hangePasswordRequest\x12\x18\n\x10\x63urrent_password\x18\x01 \x01(\x0c\x12\x14\n\x0cnew_password\x18\x02 \x01(\x0c\"\x18\n\x16\x43hangePasswordResponse\"\xe1\x01\n\x04Utxo\x12.\n\x04type\x18\x01 \x01(\x0e\x32\x12.lnrpc.AddressTypeR\x0c\x61\x64\x64ress_type\x12\x18\n\x07\x61\x64\x64ress\x18\x02 \x01(\tR\x07\x61\x64\x64ress\x12\x1e\n\namount_sat\x18\x03 \x01(\x03R\namount_sat\x12\x1c\n\tpk_script\x18\x04 \x01(\tR\tpk_script\x12+\n\x08outpoint\x18\x05 \x01(\x0b\x32\x0f.lnrpc.OutPointR\x08outpoint\x12$\n\rconfirmations\x18\x06 \x01(\x03R\rconfirmations\"\xb9\x02\n\x0bTransaction\x12\x18\n\x07tx_hash\x18\x01 \x01(\tR\x07tx_hash\x12\x16\n\x06\x61mount\x18\x02 \x01(\x03R\x06\x61mount\x12,\n\x11num_confirmations\x18\x03 \x01(\x05R\x11num_confirmations\x12\x1e\n\nblock_hash\x18\x04 \x01(\tR\nblock_hash\x12\"\n\x0c\x62lock_height\x18\x05 \x01(\x05R\x0c\x62lock_height\x12\x1e\n\ntime_stamp\x18\x06 \x01(\x03R\ntime_stamp\x12\x1e\n\ntotal_fees\x18\x07 \x01(\x03R\ntotal_fees\x12&\n\x0e\x64\x65st_addresses\x18\x08 \x03(\tR\x0e\x64\x65st_addresses\x12\x1e\n\nraw_tx_hex\x18\t \x01(\tR\nraw_tx_hex\"\x18\n\x16GetTransactionsRequest\"L\n\x12TransactionDetails\x12\x36\n\x0ctransactions\x18\x01 \x03(\x0b\x32\x12.lnrpc.TransactionR\x0ctransactions\"7\n\x08\x46\x65\x65Limit\x12\x0f\n\x05\x66ixed\x18\x01 \x01(\x03H\x00\x12\x11\n\x07percent\x18\x02 \x01(\x03H\x00\x42\x07\n\x05limit\"\xdc\x02\n\x0bSendRequest\x12\x0c\n\x04\x64\x65st\x18\x01 \x01(\x0c\x12\x13\n\x0b\x64\x65st_string\x18\x02 \x01(\t\x12\x0b\n\x03\x61mt\x18\x03 \x01(\x03\x12\x14\n\x0cpayment_hash\x18\x04 \x01(\x0c\x12\x1b\n\x13payment_hash_string\x18\x05 \x01(\t\x12\x17\n\x0fpayment_request\x18\x06 \x01(\t\x12\x18\n\x10\x66inal_cltv_delta\x18\x07 \x01(\x05\x12\"\n\tfee_limit\x18\x08 \x01(\x0b\x32\x0f.lnrpc.FeeLimit\x12\x1c\n\x10outgoing_chan_id\x18\t \x01(\x04\x42\x02\x30\x01\x12\x12\n\ncltv_limit\x18\n \x01(\r\x12\x31\n\x08\x64\x65st_tlv\x18\x0b \x03(\x0b\x32\x1f.lnrpc.SendRequest.DestTlvEntry\x1a.\n\x0c\x44\x65stTlvEntry\x12\x0b\n\x03key\x18\x01 \x01(\x04\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\"\xb8\x01\n\x0cSendResponse\x12$\n\rpayment_error\x18\x01 \x01(\tR\rpayment_error\x12*\n\x10payment_preimage\x18\x02 \x01(\x0cR\x10payment_preimage\x12\x32\n\rpayment_route\x18\x03 \x01(\x0b\x32\x0c.lnrpc.RouteR\rpayment_route\x12\"\n\x0cpayment_hash\x18\x04 \x01(\x0cR\x0cpayment_hash\"j\n\x12SendToRouteRequest\x12\x14\n\x0cpayment_hash\x18\x01 \x01(\x0c\x12\x1b\n\x13payment_hash_string\x18\x02 \x01(\t\x12\x1b\n\x05route\x18\x04 \x01(\x0b\x32\x0c.lnrpc.RouteJ\x04\x08\x03\x10\x04\"\xb5\x02\n\x14\x43hannelAcceptRequest\x12\x13\n\x0bnode_pubkey\x18\x01 \x01(\x0c\x12\x12\n\nchain_hash\x18\x02 \x01(\x0c\x12\x17\n\x0fpending_chan_id\x18\x03 \x01(\x0c\x12\x13\n\x0b\x66unding_amt\x18\x04 \x01(\x04\x12\x10\n\x08push_amt\x18\x05 \x01(\x04\x12\x12\n\ndust_limit\x18\x06 \x01(\x04\x12\x1b\n\x13max_value_in_flight\x18\x07 \x01(\x04\x12\x17\n\x0f\x63hannel_reserve\x18\x08 \x01(\x04\x12\x10\n\x08min_htlc\x18\t \x01(\x04\x12\x12\n\nfee_per_kw\x18\n \x01(\x04\x12\x11\n\tcsv_delay\x18\x0b \x01(\r\x12\x1a\n\x12max_accepted_htlcs\x18\x0c \x01(\r\x12\x15\n\rchannel_flags\x18\r \x01(\r\"@\n\x15\x43hannelAcceptResponse\x12\x0e\n\x06\x61\x63\x63\x65pt\x18\x01 \x01(\x08\x12\x17\n\x0fpending_chan_id\x18\x02 \x01(\x0c\"\xa2\x01\n\x0c\x43hannelPoint\x12\x30\n\x12\x66unding_txid_bytes\x18\x01 \x01(\x0cH\x00R\x12\x66unding_txid_bytes\x12,\n\x10\x66unding_txid_str\x18\x02 \x01(\tH\x00R\x10\x66unding_txid_str\x12\"\n\x0coutput_index\x18\x03 \x01(\rR\x0coutput_indexB\x0e\n\x0c\x66unding_txid\"j\n\x08OutPoint\x12\x1e\n\ntxid_bytes\x18\x01 \x01(\x0cR\ntxid_bytes\x12\x1a\n\x08txid_str\x18\x02 \x01(\tR\x08txid_str\x12\"\n\x0coutput_index\x18\x03 \x01(\rR\x0coutput_index\">\n\x10LightningAddress\x12\x16\n\x06pubkey\x18\x01 \x01(\tR\x06pubkey\x12\x12\n\x04host\x18\x02 \x01(\tR\x04host\"\xa1\x01\n\x12\x45stimateFeeRequest\x12\x41\n\x0c\x41\x64\x64rToAmount\x18\x01 \x03(\x0b\x32+.lnrpc.EstimateFeeRequest.AddrToAmountEntry\x12\x13\n\x0btarget_conf\x18\x02 \x01(\x05\x1a\x33\n\x11\x41\x64\x64rToAmountEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x03:\x02\x38\x01\"c\n\x13\x45stimateFeeResponse\x12\x18\n\x07\x66\x65\x65_sat\x18\x01 \x01(\x03R\x07\x66\x65\x65_sat\x12\x32\n\x14\x66\x65\x65rate_sat_per_byte\x18\x02 \x01(\x03R\x14\x66\x65\x65rate_sat_per_byte\"\xb1\x01\n\x0fSendManyRequest\x12>\n\x0c\x41\x64\x64rToAmount\x18\x01 \x03(\x0b\x32(.lnrpc.SendManyRequest.AddrToAmountEntry\x12\x13\n\x0btarget_conf\x18\x03 \x01(\x05\x12\x14\n\x0csat_per_byte\x18\x05 \x01(\x03\x1a\x33\n\x11\x41\x64\x64rToAmountEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x03:\x02\x38\x01\"&\n\x10SendManyResponse\x12\x12\n\x04txid\x18\x01 \x01(\tR\x04txid\"m\n\x10SendCoinsRequest\x12\x0c\n\x04\x61\x64\x64r\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\x03\x12\x13\n\x0btarget_conf\x18\x03 \x01(\x05\x12\x14\n\x0csat_per_byte\x18\x05 \x01(\x03\x12\x10\n\x08send_all\x18\x06 \x01(\x08\"\'\n\x11SendCoinsResponse\x12\x12\n\x04txid\x18\x01 \x01(\tR\x04txid\":\n\x12ListUnspentRequest\x12\x11\n\tmin_confs\x18\x01 \x01(\x05\x12\x11\n\tmax_confs\x18\x02 \x01(\x05\"8\n\x13ListUnspentResponse\x12!\n\x05utxos\x18\x01 \x03(\x0b\x32\x0b.lnrpc.UtxoR\x05utxos\"5\n\x11NewAddressRequest\x12 \n\x04type\x18\x01 \x01(\x0e\x32\x12.lnrpc.AddressType\".\n\x12NewAddressResponse\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\"&\n\x12SignMessageRequest\x12\x10\n\x03msg\x18\x01 \x01(\x0cR\x03msg\"3\n\x13SignMessageResponse\x12\x1c\n\tsignature\x18\x01 \x01(\tR\tsignature\"F\n\x14VerifyMessageRequest\x12\x10\n\x03msg\x18\x01 \x01(\x0cR\x03msg\x12\x1c\n\tsignature\x18\x02 \x01(\tR\tsignature\"E\n\x15VerifyMessageResponse\x12\x14\n\x05valid\x18\x01 \x01(\x08R\x05valid\x12\x16\n\x06pubkey\x18\x02 \x01(\tR\x06pubkey\"I\n\x12\x43onnectPeerRequest\x12%\n\x04\x61\x64\x64r\x18\x01 \x01(\x0b\x32\x17.lnrpc.LightningAddress\x12\x0c\n\x04perm\x18\x02 \x01(\x08\"\x15\n\x13\x43onnectPeerResponse\"1\n\x15\x44isconnectPeerRequest\x12\x18\n\x07pub_key\x18\x01 \x01(\tR\x07pub_key\"\x18\n\x16\x44isconnectPeerResponse\"\x86\x01\n\x04HTLC\x12\x1a\n\x08incoming\x18\x01 \x01(\x08R\x08incoming\x12\x16\n\x06\x61mount\x18\x02 \x01(\x03R\x06\x61mount\x12\x1c\n\thash_lock\x18\x03 \x01(\x0cR\thash_lock\x12,\n\x11\x65xpiration_height\x18\x04 \x01(\rR\x11\x65xpiration_height\"\xa2\x07\n\x07\x43hannel\x12\x16\n\x06\x61\x63tive\x18\x01 \x01(\x08R\x06\x61\x63tive\x12$\n\rremote_pubkey\x18\x02 \x01(\tR\rremote_pubkey\x12$\n\rchannel_point\x18\x03 \x01(\tR\rchannel_point\x12\x1c\n\x07\x63han_id\x18\x04 \x01(\x04\x42\x02\x30\x01R\x07\x63han_id\x12\x1a\n\x08\x63\x61pacity\x18\x05 \x01(\x03R\x08\x63\x61pacity\x12$\n\rlocal_balance\x18\x06 \x01(\x03R\rlocal_balance\x12&\n\x0eremote_balance\x18\x07 \x01(\x03R\x0eremote_balance\x12\x1e\n\ncommit_fee\x18\x08 \x01(\x03R\ncommit_fee\x12$\n\rcommit_weight\x18\t \x01(\x03R\rcommit_weight\x12\x1e\n\nfee_per_kw\x18\n \x01(\x03R\nfee_per_kw\x12,\n\x11unsettled_balance\x18\x0b \x01(\x03R\x11unsettled_balance\x12\x30\n\x13total_satoshis_sent\x18\x0c \x01(\x03R\x13total_satoshis_sent\x12\x38\n\x17total_satoshis_received\x18\r \x01(\x03R\x17total_satoshis_received\x12 \n\x0bnum_updates\x18\x0e \x01(\x04R\x0bnum_updates\x12\x31\n\rpending_htlcs\x18\x0f \x03(\x0b\x32\x0b.lnrpc.HTLCR\rpending_htlcs\x12\x1c\n\tcsv_delay\x18\x10 \x01(\rR\tcsv_delay\x12\x18\n\x07private\x18\x11 \x01(\x08R\x07private\x12\x1c\n\tinitiator\x18\x12 \x01(\x08R\tinitiator\x12,\n\x11\x63han_status_flags\x18\x13 \x01(\tR\x11\x63han_status_flags\x12\x36\n\x16local_chan_reserve_sat\x18\x14 \x01(\x03R\x16local_chan_reserve_sat\x12\x38\n\x17remote_chan_reserve_sat\x18\x15 \x01(\x03R\x17remote_chan_reserve_sat\x12,\n\x11static_remote_key\x18\x16 \x01(\x08R\x11static_remote_key\x12\x1a\n\x08lifetime\x18\x17 \x01(\x03R\x08lifetime\x12\x16\n\x06uptime\x18\x18 \x01(\x03R\x06uptime\"l\n\x13ListChannelsRequest\x12\x13\n\x0b\x61\x63tive_only\x18\x01 \x01(\x08\x12\x15\n\rinactive_only\x18\x02 \x01(\x08\x12\x13\n\x0bpublic_only\x18\x03 \x01(\x08\x12\x14\n\x0cprivate_only\x18\x04 \x01(\x08\"B\n\x14ListChannelsResponse\x12*\n\x08\x63hannels\x18\x0b \x03(\x0b\x32\x0e.lnrpc.ChannelR\x08\x63hannels\"\xba\x04\n\x13\x43hannelCloseSummary\x12$\n\rchannel_point\x18\x01 \x01(\tR\rchannel_point\x12\x1c\n\x07\x63han_id\x18\x02 \x01(\x04\x42\x02\x30\x01R\x07\x63han_id\x12\x1e\n\nchain_hash\x18\x03 \x01(\tR\nchain_hash\x12(\n\x0f\x63losing_tx_hash\x18\x04 \x01(\tR\x0f\x63losing_tx_hash\x12$\n\rremote_pubkey\x18\x05 \x01(\tR\rremote_pubkey\x12\x1a\n\x08\x63\x61pacity\x18\x06 \x01(\x03R\x08\x63\x61pacity\x12\"\n\x0c\x63lose_height\x18\x07 \x01(\rR\x0c\x63lose_height\x12(\n\x0fsettled_balance\x18\x08 \x01(\x03R\x0fsettled_balance\x12\x30\n\x13time_locked_balance\x18\t \x01(\x03R\x13time_locked_balance\x12\x46\n\nclose_type\x18\n \x01(\x0e\x32&.lnrpc.ChannelCloseSummary.ClosureTypeR\nclose_type\"\x8a\x01\n\x0b\x43losureType\x12\x15\n\x11\x43OOPERATIVE_CLOSE\x10\x00\x12\x15\n\x11LOCAL_FORCE_CLOSE\x10\x01\x12\x16\n\x12REMOTE_FORCE_CLOSE\x10\x02\x12\x10\n\x0c\x42REACH_CLOSE\x10\x03\x12\x14\n\x10\x46UNDING_CANCELED\x10\x04\x12\r\n\tABANDONED\x10\x05\"\x94\x01\n\x15\x43losedChannelsRequest\x12\x13\n\x0b\x63ooperative\x18\x01 \x01(\x08\x12\x13\n\x0blocal_force\x18\x02 \x01(\x08\x12\x14\n\x0cremote_force\x18\x03 \x01(\x08\x12\x0e\n\x06\x62reach\x18\x04 \x01(\x08\x12\x18\n\x10\x66unding_canceled\x18\x05 \x01(\x08\x12\x11\n\tabandoned\x18\x06 \x01(\x08\"P\n\x16\x43losedChannelsResponse\x12\x36\n\x08\x63hannels\x18\x01 \x03(\x0b\x32\x1a.lnrpc.ChannelCloseSummaryR\x08\x63hannels\"\xdf\x02\n\x04Peer\x12\x18\n\x07pub_key\x18\x01 \x01(\tR\x07pub_key\x12\x18\n\x07\x61\x64\x64ress\x18\x03 \x01(\tR\x07\x61\x64\x64ress\x12\x1e\n\nbytes_sent\x18\x04 \x01(\x04R\nbytes_sent\x12\x1e\n\nbytes_recv\x18\x05 \x01(\x04R\nbytes_recv\x12\x1a\n\x08sat_sent\x18\x06 \x01(\x03R\x08sat_sent\x12\x1a\n\x08sat_recv\x18\x07 \x01(\x03R\x08sat_recv\x12\x18\n\x07inbound\x18\x08 \x01(\x08R\x07inbound\x12\x1c\n\tping_time\x18\t \x01(\x03R\tping_time\x12\x32\n\tsync_type\x18\n \x01(\x0e\x32\x14.lnrpc.Peer.SyncTypeR\tsync_type\"?\n\x08SyncType\x12\x10\n\x0cUNKNOWN_SYNC\x10\x00\x12\x0f\n\x0b\x41\x43TIVE_SYNC\x10\x01\x12\x10\n\x0cPASSIVE_SYNC\x10\x02\"\x12\n\x10ListPeersRequest\"6\n\x11ListPeersResponse\x12!\n\x05peers\x18\x01 \x03(\x0b\x32\x0b.lnrpc.PeerR\x05peers\"\x10\n\x0eGetInfoRequest\"\xe7\x04\n\x0fGetInfoResponse\x12(\n\x0fidentity_pubkey\x18\x01 \x01(\tR\x0fidentity_pubkey\x12\x14\n\x05\x61lias\x18\x02 \x01(\tR\x05\x61lias\x12\x32\n\x14num_pending_channels\x18\x03 \x01(\rR\x14num_pending_channels\x12\x30\n\x13num_active_channels\x18\x04 \x01(\rR\x13num_active_channels\x12\x1c\n\tnum_peers\x18\x05 \x01(\rR\tnum_peers\x12\"\n\x0c\x62lock_height\x18\x06 \x01(\rR\x0c\x62lock_height\x12\x1e\n\nblock_hash\x18\x08 \x01(\tR\nblock_hash\x12(\n\x0fsynced_to_chain\x18\t \x01(\x08R\x0fsynced_to_chain\x12\x1c\n\x07testnet\x18\n \x01(\x08\x42\x02\x18\x01R\x07testnet\x12\x12\n\x04uris\x18\x0c \x03(\tR\x04uris\x12\x34\n\x15\x62\x65st_header_timestamp\x18\r \x01(\x03R\x15\x62\x65st_header_timestamp\x12\x18\n\x07version\x18\x0e \x01(\tR\x07version\x12\x34\n\x15num_inactive_channels\x18\x0f \x01(\rR\x15num_inactive_channels\x12$\n\x06\x63hains\x18\x10 \x03(\x0b\x32\x0c.lnrpc.ChainR\x06\x63hains\x12\x14\n\x05\x63olor\x18\x11 \x01(\tR\x05\x63olor\x12(\n\x0fsynced_to_graph\x18\x12 \x01(\x08R\x0fsynced_to_graphJ\x04\x08\x0b\x10\x0c\"7\n\x05\x43hain\x12\x14\n\x05\x63hain\x18\x01 \x01(\tR\x05\x63hain\x12\x18\n\x07network\x18\x02 \x01(\tR\x07network\"U\n\x12\x43onfirmationUpdate\x12\x11\n\tblock_sha\x18\x01 \x01(\x0c\x12\x14\n\x0c\x62lock_height\x18\x02 \x01(\x05\x12\x16\n\x0enum_confs_left\x18\x03 \x01(\r\"N\n\x11\x43hannelOpenUpdate\x12\x39\n\rchannel_point\x18\x01 \x01(\x0b\x32\x13.lnrpc.ChannelPointR\rchannel_point\"R\n\x12\x43hannelCloseUpdate\x12\"\n\x0c\x63losing_txid\x18\x01 \x01(\x0cR\x0c\x63losing_txid\x12\x18\n\x07success\x18\x02 \x01(\x08R\x07success\"{\n\x13\x43loseChannelRequest\x12*\n\rchannel_point\x18\x01 \x01(\x0b\x32\x13.lnrpc.ChannelPoint\x12\r\n\x05\x66orce\x18\x02 \x01(\x08\x12\x13\n\x0btarget_conf\x18\x03 \x01(\x05\x12\x14\n\x0csat_per_byte\x18\x04 \x01(\x03\"\x98\x01\n\x11\x43loseStatusUpdate\x12<\n\rclose_pending\x18\x01 \x01(\x0b\x32\x14.lnrpc.PendingUpdateH\x00R\rclose_pending\x12;\n\nchan_close\x18\x03 \x01(\x0b\x32\x19.lnrpc.ChannelCloseUpdateH\x00R\nchan_closeB\x08\n\x06update\"G\n\rPendingUpdate\x12\x12\n\x04txid\x18\x01 \x01(\x0cR\x04txid\x12\"\n\x0coutput_index\x18\x02 \x01(\rR\x0coutput_index\"\x99\x03\n\x12OpenChannelRequest\x12 \n\x0bnode_pubkey\x18\x02 \x01(\x0cR\x0bnode_pubkey\x12.\n\x12node_pubkey_string\x18\x03 \x01(\tR\x12node_pubkey_string\x12\x32\n\x14local_funding_amount\x18\x04 \x01(\x03R\x14local_funding_amount\x12\x1a\n\x08push_sat\x18\x05 \x01(\x03R\x08push_sat\x12\x13\n\x0btarget_conf\x18\x06 \x01(\x05\x12\x14\n\x0csat_per_byte\x18\x07 \x01(\x03\x12\x18\n\x07private\x18\x08 \x01(\x08R\x07private\x12$\n\rmin_htlc_msat\x18\t \x01(\x03R\rmin_htlc_msat\x12*\n\x10remote_csv_delay\x18\n \x01(\rR\x10remote_csv_delay\x12\x1c\n\tmin_confs\x18\x0b \x01(\x05R\tmin_confs\x12,\n\x11spend_unconfirmed\x18\x0c \x01(\x08R\x11spend_unconfirmed\"\x92\x01\n\x10OpenStatusUpdate\x12:\n\x0c\x63han_pending\x18\x01 \x01(\x0b\x32\x14.lnrpc.PendingUpdateH\x00R\x0c\x63han_pending\x12\x38\n\tchan_open\x18\x03 \x01(\x0b\x32\x18.lnrpc.ChannelOpenUpdateH\x00R\tchan_openB\x08\n\x06update\"\xcf\x01\n\x0bPendingHTLC\x12\x1a\n\x08incoming\x18\x01 \x01(\x08R\x08incoming\x12\x16\n\x06\x61mount\x18\x02 \x01(\x03R\x06\x61mount\x12\x1a\n\x08outpoint\x18\x03 \x01(\tR\x08outpoint\x12(\n\x0fmaturity_height\x18\x04 \x01(\rR\x0fmaturity_height\x12\x30\n\x13\x62locks_til_maturity\x18\x05 \x01(\x05R\x13\x62locks_til_maturity\x12\x14\n\x05stage\x18\x06 \x01(\rR\x05stage\"\x18\n\x16PendingChannelsRequest\"\x9c\r\n\x17PendingChannelsResponse\x12\x30\n\x13total_limbo_balance\x18\x01 \x01(\x03R\x13total_limbo_balance\x12g\n\x15pending_open_channels\x18\x02 \x03(\x0b\x32\x31.lnrpc.PendingChannelsResponse.PendingOpenChannelR\x15pending_open_channels\x12h\n\x18pending_closing_channels\x18\x03 \x03(\x0b\x32,.lnrpc.PendingChannelsResponse.ClosedChannelR\x18pending_closing_channels\x12y\n\x1epending_force_closing_channels\x18\x04 \x03(\x0b\x32\x31.lnrpc.PendingChannelsResponse.ForceClosedChannelR\x1epending_force_closing_channels\x12j\n\x16waiting_close_channels\x18\x05 \x03(\x0b\x32\x32.lnrpc.PendingChannelsResponse.WaitingCloseChannelR\x16waiting_close_channels\x1a\xbc\x02\n\x0ePendingChannel\x12(\n\x0fremote_node_pub\x18\x01 \x01(\tR\x0fremote_node_pub\x12$\n\rchannel_point\x18\x02 \x01(\tR\rchannel_point\x12\x1a\n\x08\x63\x61pacity\x18\x03 \x01(\x03R\x08\x63\x61pacity\x12$\n\rlocal_balance\x18\x04 \x01(\x03R\rlocal_balance\x12&\n\x0eremote_balance\x18\x05 \x01(\x03R\x0eremote_balance\x12\x36\n\x16local_chan_reserve_sat\x18\x06 \x01(\x03R\x16local_chan_reserve_sat\x12\x38\n\x17remote_chan_reserve_sat\x18\x07 \x01(\x03R\x17remote_chan_reserve_sat\x1a\xf5\x01\n\x12PendingOpenChannel\x12G\n\x07\x63hannel\x18\x01 \x01(\x0b\x32-.lnrpc.PendingChannelsResponse.PendingChannelR\x07\x63hannel\x12\x30\n\x13\x63onfirmation_height\x18\x02 \x01(\rR\x13\x63onfirmation_height\x12\x1e\n\ncommit_fee\x18\x04 \x01(\x03R\ncommit_fee\x12$\n\rcommit_weight\x18\x05 \x01(\x03R\rcommit_weight\x12\x1e\n\nfee_per_kw\x18\x06 \x01(\x03R\nfee_per_kw\x1a{\n\x13WaitingCloseChannel\x12>\n\x07\x63hannel\x18\x01 \x01(\x0b\x32-.lnrpc.PendingChannelsResponse.PendingChannel\x12$\n\rlimbo_balance\x18\x02 \x01(\x03R\rlimbo_balance\x1as\n\rClosedChannel\x12>\n\x07\x63hannel\x18\x01 \x01(\x0b\x32-.lnrpc.PendingChannelsResponse.PendingChannel\x12\"\n\x0c\x63losing_txid\x18\x02 \x01(\tR\x0c\x63losing_txid\x1a\xeb\x02\n\x12\x46orceClosedChannel\x12G\n\x07\x63hannel\x18\x01 \x01(\x0b\x32-.lnrpc.PendingChannelsResponse.PendingChannelR\x07\x63hannel\x12\"\n\x0c\x63losing_txid\x18\x02 \x01(\tR\x0c\x63losing_txid\x12$\n\rlimbo_balance\x18\x03 \x01(\x03R\rlimbo_balance\x12(\n\x0fmaturity_height\x18\x04 \x01(\rR\x0fmaturity_height\x12\x30\n\x13\x62locks_til_maturity\x18\x05 \x01(\x05R\x13\x62locks_til_maturity\x12,\n\x11recovered_balance\x18\x06 \x01(\x03R\x11recovered_balance\x12\x38\n\rpending_htlcs\x18\x08 \x03(\x0b\x32\x12.lnrpc.PendingHTLCR\rpending_htlcs\"\x1a\n\x18\x43hannelEventSubscription\"\xb5\x03\n\x12\x43hannelEventUpdate\x12\x34\n\x0copen_channel\x18\x01 \x01(\x0b\x32\x0e.lnrpc.ChannelH\x00R\x0copen_channel\x12\x44\n\x0e\x63losed_channel\x18\x02 \x01(\x0b\x32\x1a.lnrpc.ChannelCloseSummaryH\x00R\x0e\x63losed_channel\x12=\n\x0e\x61\x63tive_channel\x18\x03 \x01(\x0b\x32\x13.lnrpc.ChannelPointH\x00R\x0e\x61\x63tive_channel\x12\x41\n\x10inactive_channel\x18\x04 \x01(\x0b\x32\x13.lnrpc.ChannelPointH\x00R\x10inactive_channel\x12\x38\n\x04type\x18\x05 \x01(\x0e\x32$.lnrpc.ChannelEventUpdate.UpdateTypeR\x04type\"\\\n\nUpdateType\x12\x10\n\x0cOPEN_CHANNEL\x10\x00\x12\x12\n\x0e\x43LOSED_CHANNEL\x10\x01\x12\x12\n\x0e\x41\x43TIVE_CHANNEL\x10\x02\x12\x14\n\x10INACTIVE_CHANNEL\x10\x03\x42\t\n\x07\x63hannel\"\x16\n\x14WalletBalanceRequest\"\x9d\x01\n\x15WalletBalanceResponse\x12$\n\rtotal_balance\x18\x01 \x01(\x03R\rtotal_balance\x12,\n\x11\x63onfirmed_balance\x18\x02 \x01(\x03R\x11\x63onfirmed_balance\x12\x30\n\x13unconfirmed_balance\x18\x03 \x01(\x03R\x13unconfirmed_balance\"\x17\n\x15\x43hannelBalanceRequest\"f\n\x16\x43hannelBalanceResponse\x12\x18\n\x07\x62\x61lance\x18\x01 \x01(\x03R\x07\x62\x61lance\x12\x32\n\x14pending_open_balance\x18\x02 \x01(\x03R\x14pending_open_balance\"\xad\x02\n\x12QueryRoutesRequest\x12\x0f\n\x07pub_key\x18\x01 \x01(\t\x12\x0b\n\x03\x61mt\x18\x02 \x01(\x03\x12\x18\n\x10\x66inal_cltv_delta\x18\x04 \x01(\x05\x12\"\n\tfee_limit\x18\x05 \x01(\x0b\x32\x0f.lnrpc.FeeLimit\x12\x15\n\rignored_nodes\x18\x06 \x03(\x0c\x12-\n\rignored_edges\x18\x07 \x03(\x0b\x32\x12.lnrpc.EdgeLocatorB\x02\x18\x01\x12\x16\n\x0esource_pub_key\x18\x08 \x01(\t\x12\x1b\n\x13use_mission_control\x18\t \x01(\x08\x12&\n\rignored_pairs\x18\n \x03(\x0b\x32\x0f.lnrpc.NodePair\x12\x12\n\ncltv_limit\x18\x0b \x01(\rJ\x04\x08\x03\x10\x04\"$\n\x08NodePair\x12\x0c\n\x04\x66rom\x18\x01 \x01(\x0c\x12\n\n\x02to\x18\x02 \x01(\x0c\"@\n\x0b\x45\x64geLocator\x12\x16\n\nchannel_id\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x19\n\x11\x64irection_reverse\x18\x02 \x01(\x08\"_\n\x13QueryRoutesResponse\x12$\n\x06routes\x18\x01 \x03(\x0b\x32\x0c.lnrpc.RouteR\x06routes\x12\"\n\x0csuccess_prob\x18\x02 \x01(\x01R\x0csuccess_prob\"\xad\x02\n\x03Hop\x12\x1c\n\x07\x63han_id\x18\x01 \x01(\x04\x42\x02\x30\x01R\x07\x63han_id\x12$\n\rchan_capacity\x18\x02 \x01(\x03R\rchan_capacity\x12*\n\x0e\x61mt_to_forward\x18\x03 \x01(\x03\x42\x02\x18\x01R\x0e\x61mt_to_forward\x12\x14\n\x03\x66\x65\x65\x18\x04 \x01(\x03\x42\x02\x18\x01R\x03\x66\x65\x65\x12\x16\n\x06\x65xpiry\x18\x05 \x01(\rR\x06\x65xpiry\x12\x30\n\x13\x61mt_to_forward_msat\x18\x06 \x01(\x03R\x13\x61mt_to_forward_msat\x12\x1a\n\x08\x66\x65\x65_msat\x18\x07 \x01(\x03R\x08\x66\x65\x65_msat\x12\x18\n\x07pub_key\x18\x08 \x01(\tR\x07pub_key\x12 \n\x0btlv_payload\x18\t \x01(\x08R\x0btlv_payload\"\xe9\x01\n\x05Route\x12(\n\x0ftotal_time_lock\x18\x01 \x01(\rR\x0ftotal_time_lock\x12\"\n\ntotal_fees\x18\x02 \x01(\x03\x42\x02\x18\x01R\ntotal_fees\x12 \n\ttotal_amt\x18\x03 \x01(\x03\x42\x02\x18\x01R\ttotal_amt\x12\x1e\n\x04hops\x18\x04 \x03(\x0b\x32\n.lnrpc.HopR\x04hops\x12(\n\x0ftotal_fees_msat\x18\x05 \x01(\x03R\x0ftotal_fees_msat\x12&\n\x0etotal_amt_msat\x18\x06 \x01(\x03R\x0etotal_amt_msat\"<\n\x0fNodeInfoRequest\x12\x0f\n\x07pub_key\x18\x01 \x01(\t\x12\x18\n\x10include_channels\x18\x02 \x01(\x08\"\xb0\x01\n\x08NodeInfo\x12(\n\x04node\x18\x01 \x01(\x0b\x32\x14.lnrpc.LightningNodeR\x04node\x12\"\n\x0cnum_channels\x18\x02 \x01(\rR\x0cnum_channels\x12&\n\x0etotal_capacity\x18\x03 \x01(\x03R\x0etotal_capacity\x12.\n\x08\x63hannels\x18\x04 \x03(\x0b\x32\x12.lnrpc.ChannelEdgeR\x08\x63hannels\"\xa9\x01\n\rLightningNode\x12 \n\x0blast_update\x18\x01 \x01(\rR\x0blast_update\x12\x18\n\x07pub_key\x18\x02 \x01(\tR\x07pub_key\x12\x14\n\x05\x61lias\x18\x03 \x01(\tR\x05\x61lias\x12\x30\n\taddresses\x18\x04 \x03(\x0b\x32\x12.lnrpc.NodeAddressR\taddresses\x12\x14\n\x05\x63olor\x18\x05 \x01(\tR\x05\x63olor\";\n\x0bNodeAddress\x12\x18\n\x07network\x18\x01 \x01(\tR\x07network\x12\x12\n\x04\x61\x64\x64r\x18\x02 \x01(\tR\x04\x61\x64\x64r\"\x91\x02\n\rRoutingPolicy\x12(\n\x0ftime_lock_delta\x18\x01 \x01(\rR\x0ftime_lock_delta\x12\x1a\n\x08min_htlc\x18\x02 \x01(\x03R\x08min_htlc\x12$\n\rfee_base_msat\x18\x03 \x01(\x03R\rfee_base_msat\x12\x30\n\x13\x66\x65\x65_rate_milli_msat\x18\x04 \x01(\x03R\x13\x66\x65\x65_rate_milli_msat\x12\x1a\n\x08\x64isabled\x18\x05 \x01(\x08R\x08\x64isabled\x12$\n\rmax_htlc_msat\x18\x06 \x01(\x04R\rmax_htlc_msat\x12 \n\x0blast_update\x18\x07 \x01(\rR\x0blast_update\"\xc3\x02\n\x0b\x43hannelEdge\x12\"\n\nchannel_id\x18\x01 \x01(\x04\x42\x02\x30\x01R\nchannel_id\x12\x1e\n\nchan_point\x18\x02 \x01(\tR\nchan_point\x12$\n\x0blast_update\x18\x03 \x01(\rB\x02\x18\x01R\x0blast_update\x12\x1c\n\tnode1_pub\x18\x04 \x01(\tR\tnode1_pub\x12\x1c\n\tnode2_pub\x18\x05 \x01(\tR\tnode2_pub\x12\x1a\n\x08\x63\x61pacity\x18\x06 \x01(\x03R\x08\x63\x61pacity\x12\x38\n\x0cnode1_policy\x18\x07 \x01(\x0b\x32\x14.lnrpc.RoutingPolicyR\x0cnode1_policy\x12\x38\n\x0cnode2_policy\x18\x08 \x01(\x0b\x32\x14.lnrpc.RoutingPolicyR\x0cnode2_policy\"G\n\x13\x43hannelGraphRequest\x12\x30\n\x13include_unannounced\x18\x01 \x01(\x08R\x13include_unannounced\"d\n\x0c\x43hannelGraph\x12*\n\x05nodes\x18\x01 \x03(\x0b\x32\x14.lnrpc.LightningNodeR\x05nodes\x12(\n\x05\x65\x64ges\x18\x02 \x03(\x0b\x32\x12.lnrpc.ChannelEdgeR\x05\x65\x64ges\"&\n\x0f\x43hanInfoRequest\x12\x13\n\x07\x63han_id\x18\x01 \x01(\x04\x42\x02\x30\x01\"\x14\n\x12NetworkInfoRequest\"\xe9\x03\n\x0bNetworkInfo\x12&\n\x0egraph_diameter\x18\x01 \x01(\rR\x0egraph_diameter\x12&\n\x0e\x61vg_out_degree\x18\x02 \x01(\x01R\x0e\x61vg_out_degree\x12&\n\x0emax_out_degree\x18\x03 \x01(\rR\x0emax_out_degree\x12\x1c\n\tnum_nodes\x18\x04 \x01(\rR\tnum_nodes\x12\"\n\x0cnum_channels\x18\x05 \x01(\rR\x0cnum_channels\x12\x36\n\x16total_network_capacity\x18\x06 \x01(\x03R\x16total_network_capacity\x12*\n\x10\x61vg_channel_size\x18\x07 \x01(\x01R\x10\x61vg_channel_size\x12*\n\x10min_channel_size\x18\x08 \x01(\x03R\x10min_channel_size\x12*\n\x10max_channel_size\x18\t \x01(\x03R\x10max_channel_size\x12\x38\n\x17median_channel_size_sat\x18\n \x01(\x03R\x17median_channel_size_sat\x12*\n\x10num_zombie_chans\x18\x0b \x01(\x04R\x10num_zombie_chans\"\r\n\x0bStopRequest\"\x0e\n\x0cStopResponse\"\x1b\n\x19GraphTopologySubscription\"\xa3\x01\n\x13GraphTopologyUpdate\x12\'\n\x0cnode_updates\x18\x01 \x03(\x0b\x32\x11.lnrpc.NodeUpdate\x12\x31\n\x0f\x63hannel_updates\x18\x02 \x03(\x0b\x32\x18.lnrpc.ChannelEdgeUpdate\x12\x30\n\x0c\x63losed_chans\x18\x03 \x03(\x0b\x32\x1a.lnrpc.ClosedChannelUpdate\"l\n\nNodeUpdate\x12\x11\n\taddresses\x18\x01 \x03(\t\x12\x14\n\x0cidentity_key\x18\x02 \x01(\t\x12\x17\n\x0fglobal_features\x18\x03 \x01(\x0c\x12\r\n\x05\x61lias\x18\x04 \x01(\t\x12\r\n\x05\x63olor\x18\x05 \x01(\t\"\xc4\x01\n\x11\x43hannelEdgeUpdate\x12\x13\n\x07\x63han_id\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\'\n\nchan_point\x18\x02 \x01(\x0b\x32\x13.lnrpc.ChannelPoint\x12\x10\n\x08\x63\x61pacity\x18\x03 \x01(\x03\x12,\n\x0erouting_policy\x18\x04 \x01(\x0b\x32\x14.lnrpc.RoutingPolicy\x12\x18\n\x10\x61\x64vertising_node\x18\x05 \x01(\t\x12\x17\n\x0f\x63onnecting_node\x18\x06 \x01(\t\"|\n\x13\x43losedChannelUpdate\x12\x13\n\x07\x63han_id\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x10\n\x08\x63\x61pacity\x18\x02 \x01(\x03\x12\x15\n\rclosed_height\x18\x03 \x01(\r\x12\'\n\nchan_point\x18\x04 \x01(\x0b\x32\x13.lnrpc.ChannelPoint\"\xd7\x01\n\x07HopHint\x12\x18\n\x07node_id\x18\x01 \x01(\tR\x07node_id\x12\x1c\n\x07\x63han_id\x18\x02 \x01(\x04\x42\x02\x30\x01R\x07\x63han_id\x12$\n\rfee_base_msat\x18\x03 \x01(\rR\rfee_base_msat\x12@\n\x1b\x66\x65\x65_proportional_millionths\x18\x04 \x01(\rR\x1b\x66\x65\x65_proportional_millionths\x12,\n\x11\x63ltv_expiry_delta\x18\x05 \x01(\rR\x11\x63ltv_expiry_delta\"9\n\tRouteHint\x12,\n\thop_hints\x18\x01 \x03(\x0b\x32\x0e.lnrpc.HopHintR\thop_hints\"\xbf\x06\n\x07Invoice\x12\x12\n\x04memo\x18\x01 \x01(\tR\x04memo\x12\x1c\n\x07receipt\x18\x02 \x01(\x0c\x42\x02\x18\x01R\x07receipt\x12\x1e\n\nr_preimage\x18\x03 \x01(\x0cR\nr_preimage\x12\x16\n\x06r_hash\x18\x04 \x01(\x0cR\x06r_hash\x12\x14\n\x05value\x18\x05 \x01(\x03R\x05value\x12\x1c\n\x07settled\x18\x06 \x01(\x08\x42\x02\x18\x01R\x07settled\x12$\n\rcreation_date\x18\x07 \x01(\x03R\rcreation_date\x12 \n\x0bsettle_date\x18\x08 \x01(\x03R\x0bsettle_date\x12(\n\x0fpayment_request\x18\t \x01(\tR\x0fpayment_request\x12*\n\x10\x64\x65scription_hash\x18\n \x01(\x0cR\x10\x64\x65scription_hash\x12\x16\n\x06\x65xpiry\x18\x0b \x01(\x03R\x06\x65xpiry\x12$\n\rfallback_addr\x18\x0c \x01(\tR\rfallback_addr\x12 \n\x0b\x63ltv_expiry\x18\r \x01(\x04R\x0b\x63ltv_expiry\x12\x32\n\x0broute_hints\x18\x0e \x03(\x0b\x32\x10.lnrpc.RouteHintR\x0broute_hints\x12\x18\n\x07private\x18\x0f \x01(\x08R\x07private\x12\x1c\n\tadd_index\x18\x10 \x01(\x04R\tadd_index\x12\"\n\x0csettle_index\x18\x11 \x01(\x04R\x0csettle_index\x12\x1e\n\x08\x61mt_paid\x18\x12 \x01(\x03\x42\x02\x18\x01R\x08\x61mt_paid\x12\"\n\x0c\x61mt_paid_sat\x18\x13 \x01(\x03R\x0c\x61mt_paid_sat\x12$\n\ramt_paid_msat\x18\x14 \x01(\x03R\ramt_paid_msat\x12\x31\n\x05state\x18\x15 \x01(\x0e\x32\x1b.lnrpc.Invoice.InvoiceStateR\x05state\x12(\n\x05htlcs\x18\x16 \x03(\x0b\x32\x12.lnrpc.InvoiceHTLCR\x05htlcs\"A\n\x0cInvoiceState\x12\x08\n\x04OPEN\x10\x00\x12\x0b\n\x07SETTLED\x10\x01\x12\x0c\n\x08\x43\x41NCELED\x10\x02\x12\x0c\n\x08\x41\x43\x43\x45PTED\x10\x03\"\xa8\x02\n\x0bInvoiceHTLC\x12\x1c\n\x07\x63han_id\x18\x01 \x01(\x04\x42\x02\x30\x01R\x07\x63han_id\x12\x1e\n\nhtlc_index\x18\x02 \x01(\x04R\nhtlc_index\x12\x1a\n\x08\x61mt_msat\x18\x03 \x01(\x04R\x08\x61mt_msat\x12$\n\raccept_height\x18\x04 \x01(\x05R\raccept_height\x12 \n\x0b\x61\x63\x63\x65pt_time\x18\x05 \x01(\x03R\x0b\x61\x63\x63\x65pt_time\x12\"\n\x0cresolve_time\x18\x06 \x01(\x03R\x0cresolve_time\x12$\n\rexpiry_height\x18\x07 \x01(\x05R\rexpiry_height\x12-\n\x05state\x18\x08 \x01(\x0e\x32\x17.lnrpc.InvoiceHTLCStateR\x05state\"t\n\x12\x41\x64\x64InvoiceResponse\x12\x16\n\x06r_hash\x18\x01 \x01(\x0cR\x06r_hash\x12(\n\x0fpayment_request\x18\x02 \x01(\tR\x0fpayment_request\x12\x1c\n\tadd_index\x18\x10 \x01(\x04R\tadd_index\"E\n\x0bPaymentHash\x12\x1e\n\nr_hash_str\x18\x01 \x01(\tR\nr_hash_str\x12\x16\n\x06r_hash\x18\x02 \x01(\x0cR\x06r_hash\"\xa4\x01\n\x12ListInvoiceRequest\x12\"\n\x0cpending_only\x18\x01 \x01(\x08R\x0cpending_only\x12\"\n\x0cindex_offset\x18\x04 \x01(\x04R\x0cindex_offset\x12*\n\x10num_max_invoices\x18\x05 \x01(\x04R\x10num_max_invoices\x12\x1a\n\x08reversed\x18\x06 \x01(\x08R\x08reversed\"\x9f\x01\n\x13ListInvoiceResponse\x12*\n\x08invoices\x18\x01 \x03(\x0b\x32\x0e.lnrpc.InvoiceR\x08invoices\x12,\n\x11last_index_offset\x18\x02 \x01(\x04R\x11last_index_offset\x12.\n\x12\x66irst_index_offset\x18\x03 \x01(\x04R\x12\x66irst_index_offset\"W\n\x13InvoiceSubscription\x12\x1c\n\tadd_index\x18\x01 \x01(\x04R\tadd_index\x12\"\n\x0csettle_index\x18\x02 \x01(\x04R\x0csettle_index\"\xdf\x03\n\x07Payment\x12\"\n\x0cpayment_hash\x18\x01 \x01(\tR\x0cpayment_hash\x12\x18\n\x05value\x18\x02 \x01(\x03\x42\x02\x18\x01R\x05value\x12$\n\rcreation_date\x18\x03 \x01(\x03R\rcreation_date\x12\x12\n\x04path\x18\x04 \x03(\tR\x04path\x12\x14\n\x03\x66\x65\x65\x18\x05 \x01(\x03\x42\x02\x18\x01R\x03\x66\x65\x65\x12*\n\x10payment_preimage\x18\x06 \x01(\tR\x10payment_preimage\x12\x1c\n\tvalue_sat\x18\x07 \x01(\x03R\tvalue_sat\x12\x1e\n\nvalue_msat\x18\x08 \x01(\x03R\nvalue_msat\x12(\n\x0fpayment_request\x18\t \x01(\tR\x0fpayment_request\x12\x34\n\x06status\x18\n \x01(\x0e\x32\x1c.lnrpc.Payment.PaymentStatusR\x06status\x12\x18\n\x07\x66\x65\x65_sat\x18\x0b \x01(\x03R\x07\x66\x65\x65_sat\x12\x1a\n\x08\x66\x65\x65_msat\x18\x0c \x01(\x03R\x08\x66\x65\x65_msat\"F\n\rPaymentStatus\x12\x0b\n\x07UNKNOWN\x10\x00\x12\r\n\tIN_FLIGHT\x10\x01\x12\r\n\tSUCCEEDED\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\"1\n\x13ListPaymentsRequest\x12\x1a\n\x12include_incomplete\x18\x01 \x01(\x08\"B\n\x14ListPaymentsResponse\x12*\n\x08payments\x18\x01 \x03(\x0b\x32\x0e.lnrpc.PaymentR\x08payments\"\x1a\n\x18\x44\x65leteAllPaymentsRequest\"\x1b\n\x19\x44\x65leteAllPaymentsResponse\"C\n\x15\x41\x62\x61ndonChannelRequest\x12*\n\rchannel_point\x18\x01 \x01(\x0b\x32\x13.lnrpc.ChannelPoint\"\x18\n\x16\x41\x62\x61ndonChannelResponse\"5\n\x11\x44\x65\x62ugLevelRequest\x12\x0c\n\x04show\x18\x01 \x01(\x08\x12\x12\n\nlevel_spec\x18\x02 \x01(\t\"6\n\x12\x44\x65\x62ugLevelResponse\x12 \n\x0bsub_systems\x18\x01 \x01(\tR\x0bsub_systems\"\x1f\n\x0cPayReqString\x12\x0f\n\x07pay_req\x18\x01 \x01(\t\"\xf2\x02\n\x06PayReq\x12 \n\x0b\x64\x65stination\x18\x01 \x01(\tR\x0b\x64\x65stination\x12\"\n\x0cpayment_hash\x18\x02 \x01(\tR\x0cpayment_hash\x12\"\n\x0cnum_satoshis\x18\x03 \x01(\x03R\x0cnum_satoshis\x12\x1c\n\ttimestamp\x18\x04 \x01(\x03R\ttimestamp\x12\x16\n\x06\x65xpiry\x18\x05 \x01(\x03R\x06\x65xpiry\x12 \n\x0b\x64\x65scription\x18\x06 \x01(\tR\x0b\x64\x65scription\x12*\n\x10\x64\x65scription_hash\x18\x07 \x01(\tR\x10\x64\x65scription_hash\x12$\n\rfallback_addr\x18\x08 \x01(\tR\rfallback_addr\x12 \n\x0b\x63ltv_expiry\x18\t \x01(\x03R\x0b\x63ltv_expiry\x12\x32\n\x0broute_hints\x18\n \x03(\x0b\x32\x10.lnrpc.RouteHintR\x0broute_hints\"\x12\n\x10\x46\x65\x65ReportRequest\"\x99\x01\n\x10\x43hannelFeeReport\x12!\n\nchan_point\x18\x01 \x01(\tR\rchannel_point\x12$\n\rbase_fee_msat\x18\x02 \x01(\x03R\rbase_fee_msat\x12 \n\x0b\x66\x65\x65_per_mil\x18\x03 \x01(\x03R\x0b\x66\x65\x65_per_mil\x12\x1a\n\x08\x66\x65\x65_rate\x18\x04 \x01(\x01R\x08\x66\x65\x65_rate\"\xbc\x01\n\x11\x46\x65\x65ReportResponse\x12;\n\x0c\x63hannel_fees\x18\x01 \x03(\x0b\x32\x17.lnrpc.ChannelFeeReportR\x0c\x63hannel_fees\x12 \n\x0b\x64\x61y_fee_sum\x18\x02 \x01(\x04R\x0b\x64\x61y_fee_sum\x12\"\n\x0cweek_fee_sum\x18\x03 \x01(\x04R\x0cweek_fee_sum\x12$\n\rmonth_fee_sum\x18\x04 \x01(\x04R\rmonth_fee_sum\"\x81\x02\n\x13PolicyUpdateRequest\x12\x18\n\x06global\x18\x01 \x01(\x08H\x00R\x06global\x12\x35\n\nchan_point\x18\x02 \x01(\x0b\x32\x13.lnrpc.ChannelPointH\x00R\nchan_point\x12$\n\rbase_fee_msat\x18\x03 \x01(\x03R\rbase_fee_msat\x12\x1a\n\x08\x66\x65\x65_rate\x18\x04 \x01(\x01R\x08\x66\x65\x65_rate\x12(\n\x0ftime_lock_delta\x18\x05 \x01(\rR\x0ftime_lock_delta\x12$\n\rmax_htlc_msat\x18\x06 \x01(\x04R\rmax_htlc_msatB\x07\n\x05scope\"\x16\n\x14PolicyUpdateResponse\"\xa2\x01\n\x18\x46orwardingHistoryRequest\x12\x1e\n\nstart_time\x18\x01 \x01(\x04R\nstart_time\x12\x1a\n\x08\x65nd_time\x18\x02 \x01(\x04R\x08\x65nd_time\x12\"\n\x0cindex_offset\x18\x03 \x01(\rR\x0cindex_offset\x12&\n\x0enum_max_events\x18\x04 \x01(\rR\x0enum_max_events\"\x9f\x02\n\x0f\x46orwardingEvent\x12\x1c\n\ttimestamp\x18\x01 \x01(\x04R\ttimestamp\x12\"\n\nchan_id_in\x18\x02 \x01(\x04\x42\x02\x30\x01R\nchan_id_in\x12$\n\x0b\x63han_id_out\x18\x04 \x01(\x04\x42\x02\x30\x01R\x0b\x63han_id_out\x12\x16\n\x06\x61mt_in\x18\x05 \x01(\x04R\x06\x61mt_in\x12\x18\n\x07\x61mt_out\x18\x06 \x01(\x04R\x07\x61mt_out\x12\x10\n\x03\x66\x65\x65\x18\x07 \x01(\x04R\x03\x66\x65\x65\x12\x1a\n\x08\x66\x65\x65_msat\x18\x08 \x01(\x04R\x08\x66\x65\x65_msat\x12 \n\x0b\x61mt_in_msat\x18\t \x01(\x04R\x0b\x61mt_in_msat\x12\"\n\x0c\x61mt_out_msat\x18\n \x01(\x04R\x0c\x61mt_out_msat\"\x8f\x01\n\x19\x46orwardingHistoryResponse\x12\x44\n\x11\x66orwarding_events\x18\x01 \x03(\x0b\x32\x16.lnrpc.ForwardingEventR\x11\x66orwarding_events\x12,\n\x11last_offset_index\x18\x02 \x01(\rR\x11last_offset_index\"E\n\x1a\x45xportChannelBackupRequest\x12\'\n\nchan_point\x18\x01 \x01(\x0b\x32\x13.lnrpc.ChannelPoint\"f\n\rChannelBackup\x12\x33\n\nchan_point\x18\x01 \x01(\x0b\x32\x13.lnrpc.ChannelPointR\nchan_point\x12 \n\x0b\x63han_backup\x18\x02 \x01(\x0cR\x0b\x63han_backup\"v\n\x0fMultiChanBackup\x12\x35\n\x0b\x63han_points\x18\x01 \x03(\x0b\x32\x13.lnrpc.ChannelPointR\x0b\x63han_points\x12,\n\x11multi_chan_backup\x18\x02 \x01(\x0cR\x11multi_chan_backup\"\x19\n\x17\x43hanBackupExportRequest\"\xa3\x01\n\x12\x43hanBackupSnapshot\x12G\n\x13single_chan_backups\x18\x01 \x01(\x0b\x32\x15.lnrpc.ChannelBackupsR\x13single_chan_backups\x12\x44\n\x11multi_chan_backup\x18\x02 \x01(\x0b\x32\x16.lnrpc.MultiChanBackupR\x11multi_chan_backup\"J\n\x0e\x43hannelBackups\x12\x38\n\x0c\x63han_backups\x18\x01 \x03(\x0b\x32\x14.lnrpc.ChannelBackupR\x0c\x63han_backups\"\x91\x01\n\x18RestoreChanBackupRequest\x12;\n\x0c\x63han_backups\x18\x01 \x01(\x0b\x32\x15.lnrpc.ChannelBackupsH\x00R\x0c\x63han_backups\x12.\n\x11multi_chan_backup\x18\x02 \x01(\x0cH\x00R\x11multi_chan_backupB\x08\n\x06\x62\x61\x63kup\"\x17\n\x15RestoreBackupResponse\"\x1b\n\x19\x43hannelBackupSubscription\"\x1a\n\x18VerifyChanBackupResponse\"D\n\x12MacaroonPermission\x12\x16\n\x06\x65ntity\x18\x01 \x01(\tR\x06\x65ntity\x12\x16\n\x06\x61\x63tion\x18\x02 \x01(\tR\x06\x61\x63tion\"R\n\x13\x42\x61keMacaroonRequest\x12;\n\x0bpermissions\x18\x01 \x03(\x0b\x32\x19.lnrpc.MacaroonPermissionR\x0bpermissions\"2\n\x14\x42\x61keMacaroonResponse\x12\x1a\n\x08macaroon\x18\x01 \x01(\tR\x08macaroon*}\n\x0b\x41\x64\x64ressType\x12\x17\n\x13WITNESS_PUBKEY_HASH\x10\x00\x12\x16\n\x12NESTED_PUBKEY_HASH\x10\x01\x12\x1e\n\x1aUNUSED_WITNESS_PUBKEY_HASH\x10\x02\x12\x1d\n\x19UNUSED_NESTED_PUBKEY_HASH\x10\x03*;\n\x10InvoiceHTLCState\x12\x0c\n\x08\x41\x43\x43\x45PTED\x10\x00\x12\x0b\n\x07SETTLED\x10\x01\x12\x0c\n\x08\x43\x41NCELED\x10\x02\x32\x91\x03\n\x0eWalletUnlocker\x12M\n\x07GenSeed\x12\x15.lnrpc.GenSeedRequest\x1a\x16.lnrpc.GenSeedResponse\"\x13\x82\xd3\xe4\x93\x02\r\x12\x0b/v1/genseed\x12\\\n\nInitWallet\x12\x18.lnrpc.InitWalletRequest\x1a\x19.lnrpc.InitWalletResponse\"\x19\x82\xd3\xe4\x93\x02\x13\"\x0e/v1/initwallet:\x01*\x12\x64\n\x0cUnlockWallet\x12\x1a.lnrpc.UnlockWalletRequest\x1a\x1b.lnrpc.UnlockWalletResponse\"\x1b\x82\xd3\xe4\x93\x02\x15\"\x10/v1/unlockwallet:\x01*\x12l\n\x0e\x43hangePassword\x12\x1c.lnrpc.ChangePasswordRequest\x1a\x1d.lnrpc.ChangePasswordResponse\"\x1d\x82\xd3\xe4\x93\x02\x17\"\x12/v1/changepassword:\x01*2\xca\'\n\tLightning\x12j\n\rWalletBalance\x12\x1b.lnrpc.WalletBalanceRequest\x1a\x1c.lnrpc.WalletBalanceResponse\"\x1e\x82\xd3\xe4\x93\x02\x18\x12\x16/v1/balance/blockchain\x12k\n\x0e\x43hannelBalance\x12\x1c.lnrpc.ChannelBalanceRequest\x1a\x1d.lnrpc.ChannelBalanceResponse\"\x1c\x82\xd3\xe4\x93\x02\x16\x12\x14/v1/balance/channels\x12\x65\n\x0fGetTransactions\x12\x1d.lnrpc.GetTransactionsRequest\x1a\x19.lnrpc.TransactionDetails\"\x18\x82\xd3\xe4\x93\x02\x12\x12\x10/v1/transactions\x12\x62\n\x0b\x45stimateFee\x12\x19.lnrpc.EstimateFeeRequest\x1a\x1a.lnrpc.EstimateFeeResponse\"\x1c\x82\xd3\xe4\x93\x02\x16\x12\x14/v1/transactions/fee\x12[\n\tSendCoins\x12\x17.lnrpc.SendCoinsRequest\x1a\x18.lnrpc.SendCoinsResponse\"\x1b\x82\xd3\xe4\x93\x02\x15\"\x10/v1/transactions:\x01*\x12W\n\x0bListUnspent\x12\x19.lnrpc.ListUnspentRequest\x1a\x1a.lnrpc.ListUnspentResponse\"\x11\x82\xd3\xe4\x93\x02\x0b\x12\t/v1/utxos\x12L\n\x15SubscribeTransactions\x12\x1d.lnrpc.GetTransactionsRequest\x1a\x12.lnrpc.Transaction0\x01\x12;\n\x08SendMany\x12\x16.lnrpc.SendManyRequest\x1a\x17.lnrpc.SendManyResponse\x12Y\n\nNewAddress\x12\x18.lnrpc.NewAddressRequest\x1a\x19.lnrpc.NewAddressResponse\"\x16\x82\xd3\xe4\x93\x02\x10\x12\x0e/v1/newaddress\x12`\n\x0bSignMessage\x12\x19.lnrpc.SignMessageRequest\x1a\x1a.lnrpc.SignMessageResponse\"\x1a\x82\xd3\xe4\x93\x02\x14\"\x0f/v1/signmessage:\x01*\x12h\n\rVerifyMessage\x12\x1b.lnrpc.VerifyMessageRequest\x1a\x1c.lnrpc.VerifyMessageResponse\"\x1c\x82\xd3\xe4\x93\x02\x16\"\x11/v1/verifymessage:\x01*\x12Z\n\x0b\x43onnectPeer\x12\x19.lnrpc.ConnectPeerRequest\x1a\x1a.lnrpc.ConnectPeerResponse\"\x14\x82\xd3\xe4\x93\x02\x0e\"\t/v1/peers:\x01*\x12j\n\x0e\x44isconnectPeer\x12\x1c.lnrpc.DisconnectPeerRequest\x1a\x1d.lnrpc.DisconnectPeerResponse\"\x1b\x82\xd3\xe4\x93\x02\x15*\x13/v1/peers/{pub_key}\x12Q\n\tListPeers\x12\x17.lnrpc.ListPeersRequest\x1a\x18.lnrpc.ListPeersResponse\"\x11\x82\xd3\xe4\x93\x02\x0b\x12\t/v1/peers\x12M\n\x07GetInfo\x12\x15.lnrpc.GetInfoRequest\x1a\x16.lnrpc.GetInfoResponse\"\x13\x82\xd3\xe4\x93\x02\r\x12\x0b/v1/getinfo\x12n\n\x0fPendingChannels\x12\x1d.lnrpc.PendingChannelsRequest\x1a\x1e.lnrpc.PendingChannelsResponse\"\x1c\x82\xd3\xe4\x93\x02\x16\x12\x14/v1/channels/pending\x12]\n\x0cListChannels\x12\x1a.lnrpc.ListChannelsRequest\x1a\x1b.lnrpc.ListChannelsResponse\"\x14\x82\xd3\xe4\x93\x02\x0e\x12\x0c/v1/channels\x12V\n\x16SubscribeChannelEvents\x12\x1f.lnrpc.ChannelEventSubscription\x1a\x19.lnrpc.ChannelEventUpdate0\x01\x12j\n\x0e\x43losedChannels\x12\x1c.lnrpc.ClosedChannelsRequest\x1a\x1d.lnrpc.ClosedChannelsResponse\"\x1b\x82\xd3\xe4\x93\x02\x15\x12\x13/v1/channels/closed\x12Z\n\x0fOpenChannelSync\x12\x19.lnrpc.OpenChannelRequest\x1a\x13.lnrpc.ChannelPoint\"\x17\x82\xd3\xe4\x93\x02\x11\"\x0c/v1/channels:\x01*\x12\x43\n\x0bOpenChannel\x12\x19.lnrpc.OpenChannelRequest\x1a\x17.lnrpc.OpenStatusUpdate0\x01\x12P\n\x0f\x43hannelAcceptor\x12\x1c.lnrpc.ChannelAcceptResponse\x1a\x1b.lnrpc.ChannelAcceptRequest(\x01\x30\x01\x12\x9a\x01\n\x0c\x43loseChannel\x12\x1a.lnrpc.CloseChannelRequest\x1a\x18.lnrpc.CloseStatusUpdate\"R\x82\xd3\xe4\x93\x02L*J/v1/channels/{channel_point.funding_txid_str}/{channel_point.output_index}0\x01\x12\xa9\x01\n\x0e\x41\x62\x61ndonChannel\x12\x1c.lnrpc.AbandonChannelRequest\x1a\x1d.lnrpc.AbandonChannelResponse\"Z\x82\xd3\xe4\x93\x02T*R/v1/channels/abandon/{channel_point.funding_txid_str}/{channel_point.output_index}\x12:\n\x0bSendPayment\x12\x12.lnrpc.SendRequest\x1a\x13.lnrpc.SendResponse(\x01\x30\x01\x12`\n\x0fSendPaymentSync\x12\x12.lnrpc.SendRequest\x1a\x13.lnrpc.SendResponse\"$\x82\xd3\xe4\x93\x02\x1e\"\x19/v1/channels/transactions:\x01*\x12\x41\n\x0bSendToRoute\x12\x19.lnrpc.SendToRouteRequest\x1a\x13.lnrpc.SendResponse(\x01\x30\x01\x12m\n\x0fSendToRouteSync\x12\x19.lnrpc.SendToRouteRequest\x1a\x13.lnrpc.SendResponse\"*\x82\xd3\xe4\x93\x02$\"\x1f/v1/channels/transactions/route:\x01*\x12P\n\nAddInvoice\x12\x0e.lnrpc.Invoice\x1a\x19.lnrpc.AddInvoiceResponse\"\x17\x82\xd3\xe4\x93\x02\x11\"\x0c/v1/invoices:\x01*\x12[\n\x0cListInvoices\x12\x19.lnrpc.ListInvoiceRequest\x1a\x1a.lnrpc.ListInvoiceResponse\"\x14\x82\xd3\xe4\x93\x02\x0e\x12\x0c/v1/invoices\x12U\n\rLookupInvoice\x12\x12.lnrpc.PaymentHash\x1a\x0e.lnrpc.Invoice\" \x82\xd3\xe4\x93\x02\x1a\x12\x18/v1/invoice/{r_hash_str}\x12\x61\n\x11SubscribeInvoices\x12\x1a.lnrpc.InvoiceSubscription\x1a\x0e.lnrpc.Invoice\"\x1e\x82\xd3\xe4\x93\x02\x18\x12\x16/v1/invoices/subscribe0\x01\x12P\n\x0c\x44\x65\x63odePayReq\x12\x13.lnrpc.PayReqString\x1a\r.lnrpc.PayReq\"\x1c\x82\xd3\xe4\x93\x02\x16\x12\x14/v1/payreq/{pay_req}\x12]\n\x0cListPayments\x12\x1a.lnrpc.ListPaymentsRequest\x1a\x1b.lnrpc.ListPaymentsResponse\"\x14\x82\xd3\xe4\x93\x02\x0e\x12\x0c/v1/payments\x12l\n\x11\x44\x65leteAllPayments\x12\x1f.lnrpc.DeleteAllPaymentsRequest\x1a .lnrpc.DeleteAllPaymentsResponse\"\x14\x82\xd3\xe4\x93\x02\x0e*\x0c/v1/payments\x12S\n\rDescribeGraph\x12\x1a.lnrpc.ChannelGraphRequest\x1a\x13.lnrpc.ChannelGraph\"\x11\x82\xd3\xe4\x93\x02\x0b\x12\t/v1/graph\x12[\n\x0bGetChanInfo\x12\x16.lnrpc.ChanInfoRequest\x1a\x12.lnrpc.ChannelEdge\" \x82\xd3\xe4\x93\x02\x1a\x12\x18/v1/graph/edge/{chan_id}\x12X\n\x0bGetNodeInfo\x12\x16.lnrpc.NodeInfoRequest\x1a\x0f.lnrpc.NodeInfo\" \x82\xd3\xe4\x93\x02\x1a\x12\x18/v1/graph/node/{pub_key}\x12n\n\x0bQueryRoutes\x12\x19.lnrpc.QueryRoutesRequest\x1a\x1a.lnrpc.QueryRoutesResponse\"(\x82\xd3\xe4\x93\x02\"\x12 /v1/graph/routes/{pub_key}/{amt}\x12W\n\x0eGetNetworkInfo\x12\x19.lnrpc.NetworkInfoRequest\x1a\x12.lnrpc.NetworkInfo\"\x16\x82\xd3\xe4\x93\x02\x10\x12\x0e/v1/graph/info\x12\x35\n\nStopDaemon\x12\x12.lnrpc.StopRequest\x1a\x13.lnrpc.StopResponse\x12W\n\x15SubscribeChannelGraph\x12 .lnrpc.GraphTopologySubscription\x1a\x1a.lnrpc.GraphTopologyUpdate0\x01\x12\x41\n\nDebugLevel\x12\x18.lnrpc.DebugLevelRequest\x1a\x19.lnrpc.DebugLevelResponse\x12P\n\tFeeReport\x12\x17.lnrpc.FeeReportRequest\x1a\x18.lnrpc.FeeReportResponse\"\x10\x82\xd3\xe4\x93\x02\n\x12\x08/v1/fees\x12i\n\x13UpdateChannelPolicy\x12\x1a.lnrpc.PolicyUpdateRequest\x1a\x1b.lnrpc.PolicyUpdateResponse\"\x19\x82\xd3\xe4\x93\x02\x13\"\x0e/v1/chanpolicy:\x01*\x12m\n\x11\x46orwardingHistory\x12\x1f.lnrpc.ForwardingHistoryRequest\x1a .lnrpc.ForwardingHistoryResponse\"\x15\x82\xd3\xe4\x93\x02\x0f\"\n/v1/switch:\x01*\x12\xa3\x01\n\x13\x45xportChannelBackup\x12!.lnrpc.ExportChannelBackupRequest\x1a\x14.lnrpc.ChannelBackup\"S\x82\xd3\xe4\x93\x02M\x12K/v1/channels/backup/{chan_point.funding_txid_str}/{chan_point.output_index}\x12q\n\x17\x45xportAllChannelBackups\x12\x1e.lnrpc.ChanBackupExportRequest\x1a\x19.lnrpc.ChanBackupSnapshot\"\x1b\x82\xd3\xe4\x93\x02\x15\x12\x13/v1/channels/backup\x12u\n\x10VerifyChanBackup\x12\x19.lnrpc.ChanBackupSnapshot\x1a\x1f.lnrpc.VerifyChanBackupResponse\"%\x82\xd3\xe4\x93\x02\x1f\"\x1a/v1/channels/backup/verify:\x01*\x12~\n\x15RestoreChannelBackups\x12\x1f.lnrpc.RestoreChanBackupRequest\x1a\x1c.lnrpc.RestoreBackupResponse\"&\x82\xd3\xe4\x93\x02 \"\x1b/v1/channels/backup/restore:\x01*\x12Z\n\x17SubscribeChannelBackups\x12 .lnrpc.ChannelBackupSubscription\x1a\x19.lnrpc.ChanBackupSnapshot\"\x00\x30\x01\x12`\n\x0c\x42\x61keMacaroon\x12\x1a.lnrpc.BakeMacaroonRequest\x1a\x1b.lnrpc.BakeMacaroonResponse\"\x17\x82\xd3\xe4\x93\x02\x11\"\x0c/v1/macaroon:\x01*B\'Z%github.com/lightningnetwork/lnd/lnrpcb\x06proto3') + serialized_pb=_b('\n\trpc.proto\x12\x05lnrpc\x1a\x1cgoogle/api/annotations.proto\"A\n\x0eGenSeedRequest\x12\x19\n\x11\x61\x65zeed_passphrase\x18\x01 \x01(\x0c\x12\x14\n\x0cseed_entropy\x18\x02 \x01(\x0c\"H\n\x0fGenSeedResponse\x12\x1c\n\x14\x63ipher_seed_mnemonic\x18\x01 \x03(\t\x12\x17\n\x0f\x65nciphered_seed\x18\x02 \x01(\x0c\"\xb2\x01\n\x11InitWalletRequest\x12\x17\n\x0fwallet_password\x18\x01 \x01(\x0c\x12\x1c\n\x14\x63ipher_seed_mnemonic\x18\x02 \x03(\t\x12\x19\n\x11\x61\x65zeed_passphrase\x18\x03 \x01(\x0c\x12\x17\n\x0frecovery_window\x18\x04 \x01(\x05\x12\x32\n\x0f\x63hannel_backups\x18\x05 \x01(\x0b\x32\x19.lnrpc.ChanBackupSnapshot\"\x14\n\x12InitWalletResponse\"{\n\x13UnlockWalletRequest\x12\x17\n\x0fwallet_password\x18\x01 \x01(\x0c\x12\x17\n\x0frecovery_window\x18\x02 \x01(\x05\x12\x32\n\x0f\x63hannel_backups\x18\x03 \x01(\x0b\x32\x19.lnrpc.ChanBackupSnapshot\"\x16\n\x14UnlockWalletResponse\"G\n\x15\x43hangePasswordRequest\x12\x18\n\x10\x63urrent_password\x18\x01 \x01(\x0c\x12\x14\n\x0cnew_password\x18\x02 \x01(\x0c\"\x18\n\x16\x43hangePasswordResponse\"\xe1\x01\n\x04Utxo\x12.\n\x04type\x18\x01 \x01(\x0e\x32\x12.lnrpc.AddressTypeR\x0c\x61\x64\x64ress_type\x12\x18\n\x07\x61\x64\x64ress\x18\x02 \x01(\tR\x07\x61\x64\x64ress\x12\x1e\n\namount_sat\x18\x03 \x01(\x03R\namount_sat\x12\x1c\n\tpk_script\x18\x04 \x01(\tR\tpk_script\x12+\n\x08outpoint\x18\x05 \x01(\x0b\x32\x0f.lnrpc.OutPointR\x08outpoint\x12$\n\rconfirmations\x18\x06 \x01(\x03R\rconfirmations\"\xb9\x02\n\x0bTransaction\x12\x18\n\x07tx_hash\x18\x01 \x01(\tR\x07tx_hash\x12\x16\n\x06\x61mount\x18\x02 \x01(\x03R\x06\x61mount\x12,\n\x11num_confirmations\x18\x03 \x01(\x05R\x11num_confirmations\x12\x1e\n\nblock_hash\x18\x04 \x01(\tR\nblock_hash\x12\"\n\x0c\x62lock_height\x18\x05 \x01(\x05R\x0c\x62lock_height\x12\x1e\n\ntime_stamp\x18\x06 \x01(\x03R\ntime_stamp\x12\x1e\n\ntotal_fees\x18\x07 \x01(\x03R\ntotal_fees\x12&\n\x0e\x64\x65st_addresses\x18\x08 \x03(\tR\x0e\x64\x65st_addresses\x12\x1e\n\nraw_tx_hex\x18\t \x01(\tR\nraw_tx_hex\"\x18\n\x16GetTransactionsRequest\"L\n\x12TransactionDetails\x12\x36\n\x0ctransactions\x18\x01 \x03(\x0b\x32\x12.lnrpc.TransactionR\x0ctransactions\"M\n\x08\x46\x65\x65Limit\x12\x0f\n\x05\x66ixed\x18\x01 \x01(\x03H\x00\x12\x14\n\nfixed_msat\x18\x03 \x01(\x03H\x00\x12\x11\n\x07percent\x18\x02 \x01(\x03H\x00\x42\x07\n\x05limit\"\xf4\x03\n\x0bSendRequest\x12\x0c\n\x04\x64\x65st\x18\x01 \x01(\x0c\x12\x17\n\x0b\x64\x65st_string\x18\x02 \x01(\tB\x02\x18\x01\x12\x0b\n\x03\x61mt\x18\x03 \x01(\x03\x12\x10\n\x08\x61mt_msat\x18\x0c \x01(\x03\x12\x14\n\x0cpayment_hash\x18\x04 \x01(\x0c\x12\x1f\n\x13payment_hash_string\x18\x05 \x01(\tB\x02\x18\x01\x12\x17\n\x0fpayment_request\x18\x06 \x01(\t\x12\x18\n\x10\x66inal_cltv_delta\x18\x07 \x01(\x05\x12\"\n\tfee_limit\x18\x08 \x01(\x0b\x32\x0f.lnrpc.FeeLimit\x12\x1c\n\x10outgoing_chan_id\x18\t \x01(\x04\x42\x02\x30\x01\x12\x17\n\x0flast_hop_pubkey\x18\r \x01(\x0c\x12\x12\n\ncltv_limit\x18\n \x01(\r\x12\x46\n\x13\x64\x65st_custom_records\x18\x0b \x03(\x0b\x32).lnrpc.SendRequest.DestCustomRecordsEntry\x12\x1a\n\x12\x61llow_self_payment\x18\x0e \x01(\x08\x12(\n\rdest_features\x18\x0f \x03(\x0e\x32\x11.lnrpc.FeatureBit\x1a\x38\n\x16\x44\x65stCustomRecordsEntry\x12\x0b\n\x03key\x18\x01 \x01(\x04\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\"\xb8\x01\n\x0cSendResponse\x12$\n\rpayment_error\x18\x01 \x01(\tR\rpayment_error\x12*\n\x10payment_preimage\x18\x02 \x01(\x0cR\x10payment_preimage\x12\x32\n\rpayment_route\x18\x03 \x01(\x0b\x32\x0c.lnrpc.RouteR\rpayment_route\x12\"\n\x0cpayment_hash\x18\x04 \x01(\x0cR\x0cpayment_hash\"n\n\x12SendToRouteRequest\x12\x14\n\x0cpayment_hash\x18\x01 \x01(\x0c\x12\x1f\n\x13payment_hash_string\x18\x02 \x01(\tB\x02\x18\x01\x12\x1b\n\x05route\x18\x04 \x01(\x0b\x32\x0c.lnrpc.RouteJ\x04\x08\x03\x10\x04\"\xb5\x02\n\x14\x43hannelAcceptRequest\x12\x13\n\x0bnode_pubkey\x18\x01 \x01(\x0c\x12\x12\n\nchain_hash\x18\x02 \x01(\x0c\x12\x17\n\x0fpending_chan_id\x18\x03 \x01(\x0c\x12\x13\n\x0b\x66unding_amt\x18\x04 \x01(\x04\x12\x10\n\x08push_amt\x18\x05 \x01(\x04\x12\x12\n\ndust_limit\x18\x06 \x01(\x04\x12\x1b\n\x13max_value_in_flight\x18\x07 \x01(\x04\x12\x17\n\x0f\x63hannel_reserve\x18\x08 \x01(\x04\x12\x10\n\x08min_htlc\x18\t \x01(\x04\x12\x12\n\nfee_per_kw\x18\n \x01(\x04\x12\x11\n\tcsv_delay\x18\x0b \x01(\r\x12\x1a\n\x12max_accepted_htlcs\x18\x0c \x01(\r\x12\x15\n\rchannel_flags\x18\r \x01(\r\"@\n\x15\x43hannelAcceptResponse\x12\x0e\n\x06\x61\x63\x63\x65pt\x18\x01 \x01(\x08\x12\x17\n\x0fpending_chan_id\x18\x02 \x01(\x0c\"\xa2\x01\n\x0c\x43hannelPoint\x12\x30\n\x12\x66unding_txid_bytes\x18\x01 \x01(\x0cH\x00R\x12\x66unding_txid_bytes\x12,\n\x10\x66unding_txid_str\x18\x02 \x01(\tH\x00R\x10\x66unding_txid_str\x12\"\n\x0coutput_index\x18\x03 \x01(\rR\x0coutput_indexB\x0e\n\x0c\x66unding_txid\"j\n\x08OutPoint\x12\x1e\n\ntxid_bytes\x18\x01 \x01(\x0cR\ntxid_bytes\x12\x1a\n\x08txid_str\x18\x02 \x01(\tR\x08txid_str\x12\"\n\x0coutput_index\x18\x03 \x01(\rR\x0coutput_index\">\n\x10LightningAddress\x12\x16\n\x06pubkey\x18\x01 \x01(\tR\x06pubkey\x12\x12\n\x04host\x18\x02 \x01(\tR\x04host\"\xa1\x01\n\x12\x45stimateFeeRequest\x12\x41\n\x0c\x41\x64\x64rToAmount\x18\x01 \x03(\x0b\x32+.lnrpc.EstimateFeeRequest.AddrToAmountEntry\x12\x13\n\x0btarget_conf\x18\x02 \x01(\x05\x1a\x33\n\x11\x41\x64\x64rToAmountEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x03:\x02\x38\x01\"c\n\x13\x45stimateFeeResponse\x12\x18\n\x07\x66\x65\x65_sat\x18\x01 \x01(\x03R\x07\x66\x65\x65_sat\x12\x32\n\x14\x66\x65\x65rate_sat_per_byte\x18\x02 \x01(\x03R\x14\x66\x65\x65rate_sat_per_byte\"\xb1\x01\n\x0fSendManyRequest\x12>\n\x0c\x41\x64\x64rToAmount\x18\x01 \x03(\x0b\x32(.lnrpc.SendManyRequest.AddrToAmountEntry\x12\x13\n\x0btarget_conf\x18\x03 \x01(\x05\x12\x14\n\x0csat_per_byte\x18\x05 \x01(\x03\x1a\x33\n\x11\x41\x64\x64rToAmountEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x03:\x02\x38\x01\"&\n\x10SendManyResponse\x12\x12\n\x04txid\x18\x01 \x01(\tR\x04txid\"m\n\x10SendCoinsRequest\x12\x0c\n\x04\x61\x64\x64r\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\x03\x12\x13\n\x0btarget_conf\x18\x03 \x01(\x05\x12\x14\n\x0csat_per_byte\x18\x05 \x01(\x03\x12\x10\n\x08send_all\x18\x06 \x01(\x08\"\'\n\x11SendCoinsResponse\x12\x12\n\x04txid\x18\x01 \x01(\tR\x04txid\":\n\x12ListUnspentRequest\x12\x11\n\tmin_confs\x18\x01 \x01(\x05\x12\x11\n\tmax_confs\x18\x02 \x01(\x05\"8\n\x13ListUnspentResponse\x12!\n\x05utxos\x18\x01 \x03(\x0b\x32\x0b.lnrpc.UtxoR\x05utxos\"5\n\x11NewAddressRequest\x12 \n\x04type\x18\x01 \x01(\x0e\x32\x12.lnrpc.AddressType\".\n\x12NewAddressResponse\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\"&\n\x12SignMessageRequest\x12\x10\n\x03msg\x18\x01 \x01(\x0cR\x03msg\"3\n\x13SignMessageResponse\x12\x1c\n\tsignature\x18\x01 \x01(\tR\tsignature\"F\n\x14VerifyMessageRequest\x12\x10\n\x03msg\x18\x01 \x01(\x0cR\x03msg\x12\x1c\n\tsignature\x18\x02 \x01(\tR\tsignature\"E\n\x15VerifyMessageResponse\x12\x14\n\x05valid\x18\x01 \x01(\x08R\x05valid\x12\x16\n\x06pubkey\x18\x02 \x01(\tR\x06pubkey\"I\n\x12\x43onnectPeerRequest\x12%\n\x04\x61\x64\x64r\x18\x01 \x01(\x0b\x32\x17.lnrpc.LightningAddress\x12\x0c\n\x04perm\x18\x02 \x01(\x08\"\x15\n\x13\x43onnectPeerResponse\"1\n\x15\x44isconnectPeerRequest\x12\x18\n\x07pub_key\x18\x01 \x01(\tR\x07pub_key\"\x18\n\x16\x44isconnectPeerResponse\"\x86\x01\n\x04HTLC\x12\x1a\n\x08incoming\x18\x01 \x01(\x08R\x08incoming\x12\x16\n\x06\x61mount\x18\x02 \x01(\x03R\x06\x61mount\x12\x1c\n\thash_lock\x18\x03 \x01(\x0cR\thash_lock\x12,\n\x11\x65xpiration_height\x18\x04 \x01(\rR\x11\x65xpiration_height\"\xc8\x07\n\x07\x43hannel\x12\x16\n\x06\x61\x63tive\x18\x01 \x01(\x08R\x06\x61\x63tive\x12$\n\rremote_pubkey\x18\x02 \x01(\tR\rremote_pubkey\x12$\n\rchannel_point\x18\x03 \x01(\tR\rchannel_point\x12\x1c\n\x07\x63han_id\x18\x04 \x01(\x04\x42\x02\x30\x01R\x07\x63han_id\x12\x1a\n\x08\x63\x61pacity\x18\x05 \x01(\x03R\x08\x63\x61pacity\x12$\n\rlocal_balance\x18\x06 \x01(\x03R\rlocal_balance\x12&\n\x0eremote_balance\x18\x07 \x01(\x03R\x0eremote_balance\x12\x1e\n\ncommit_fee\x18\x08 \x01(\x03R\ncommit_fee\x12$\n\rcommit_weight\x18\t \x01(\x03R\rcommit_weight\x12\x1e\n\nfee_per_kw\x18\n \x01(\x03R\nfee_per_kw\x12,\n\x11unsettled_balance\x18\x0b \x01(\x03R\x11unsettled_balance\x12\x30\n\x13total_satoshis_sent\x18\x0c \x01(\x03R\x13total_satoshis_sent\x12\x38\n\x17total_satoshis_received\x18\r \x01(\x03R\x17total_satoshis_received\x12 \n\x0bnum_updates\x18\x0e \x01(\x04R\x0bnum_updates\x12\x31\n\rpending_htlcs\x18\x0f \x03(\x0b\x32\x0b.lnrpc.HTLCR\rpending_htlcs\x12\x1c\n\tcsv_delay\x18\x10 \x01(\rR\tcsv_delay\x12\x18\n\x07private\x18\x11 \x01(\x08R\x07private\x12\x1c\n\tinitiator\x18\x12 \x01(\x08R\tinitiator\x12,\n\x11\x63han_status_flags\x18\x13 \x01(\tR\x11\x63han_status_flags\x12\x36\n\x16local_chan_reserve_sat\x18\x14 \x01(\x03R\x16local_chan_reserve_sat\x12\x38\n\x17remote_chan_reserve_sat\x18\x15 \x01(\x03R\x17remote_chan_reserve_sat\x12,\n\x11static_remote_key\x18\x16 \x01(\x08R\x11static_remote_key\x12\x1a\n\x08lifetime\x18\x17 \x01(\x03R\x08lifetime\x12\x16\n\x06uptime\x18\x18 \x01(\x03R\x06uptime\x12$\n\rclose_address\x18\x19 \x01(\tR\rclose_address\"l\n\x13ListChannelsRequest\x12\x13\n\x0b\x61\x63tive_only\x18\x01 \x01(\x08\x12\x15\n\rinactive_only\x18\x02 \x01(\x08\x12\x13\n\x0bpublic_only\x18\x03 \x01(\x08\x12\x14\n\x0cprivate_only\x18\x04 \x01(\x08\"B\n\x14ListChannelsResponse\x12*\n\x08\x63hannels\x18\x0b \x03(\x0b\x32\x0e.lnrpc.ChannelR\x08\x63hannels\"\xba\x04\n\x13\x43hannelCloseSummary\x12$\n\rchannel_point\x18\x01 \x01(\tR\rchannel_point\x12\x1c\n\x07\x63han_id\x18\x02 \x01(\x04\x42\x02\x30\x01R\x07\x63han_id\x12\x1e\n\nchain_hash\x18\x03 \x01(\tR\nchain_hash\x12(\n\x0f\x63losing_tx_hash\x18\x04 \x01(\tR\x0f\x63losing_tx_hash\x12$\n\rremote_pubkey\x18\x05 \x01(\tR\rremote_pubkey\x12\x1a\n\x08\x63\x61pacity\x18\x06 \x01(\x03R\x08\x63\x61pacity\x12\"\n\x0c\x63lose_height\x18\x07 \x01(\rR\x0c\x63lose_height\x12(\n\x0fsettled_balance\x18\x08 \x01(\x03R\x0fsettled_balance\x12\x30\n\x13time_locked_balance\x18\t \x01(\x03R\x13time_locked_balance\x12\x46\n\nclose_type\x18\n \x01(\x0e\x32&.lnrpc.ChannelCloseSummary.ClosureTypeR\nclose_type\"\x8a\x01\n\x0b\x43losureType\x12\x15\n\x11\x43OOPERATIVE_CLOSE\x10\x00\x12\x15\n\x11LOCAL_FORCE_CLOSE\x10\x01\x12\x16\n\x12REMOTE_FORCE_CLOSE\x10\x02\x12\x10\n\x0c\x42REACH_CLOSE\x10\x03\x12\x14\n\x10\x46UNDING_CANCELED\x10\x04\x12\r\n\tABANDONED\x10\x05\"\x94\x01\n\x15\x43losedChannelsRequest\x12\x13\n\x0b\x63ooperative\x18\x01 \x01(\x08\x12\x13\n\x0blocal_force\x18\x02 \x01(\x08\x12\x14\n\x0cremote_force\x18\x03 \x01(\x08\x12\x0e\n\x06\x62reach\x18\x04 \x01(\x08\x12\x18\n\x10\x66unding_canceled\x18\x05 \x01(\x08\x12\x11\n\tabandoned\x18\x06 \x01(\x08\"P\n\x16\x43losedChannelsResponse\x12\x36\n\x08\x63hannels\x18\x01 \x03(\x0b\x32\x1a.lnrpc.ChannelCloseSummaryR\x08\x63hannels\"\xd7\x03\n\x04Peer\x12\x18\n\x07pub_key\x18\x01 \x01(\tR\x07pub_key\x12\x18\n\x07\x61\x64\x64ress\x18\x03 \x01(\tR\x07\x61\x64\x64ress\x12\x1e\n\nbytes_sent\x18\x04 \x01(\x04R\nbytes_sent\x12\x1e\n\nbytes_recv\x18\x05 \x01(\x04R\nbytes_recv\x12\x1a\n\x08sat_sent\x18\x06 \x01(\x03R\x08sat_sent\x12\x1a\n\x08sat_recv\x18\x07 \x01(\x03R\x08sat_recv\x12\x18\n\x07inbound\x18\x08 \x01(\x08R\x07inbound\x12\x1c\n\tping_time\x18\t \x01(\x03R\tping_time\x12\x32\n\tsync_type\x18\n \x01(\x0e\x32\x14.lnrpc.Peer.SyncTypeR\tsync_type\x12\x35\n\x08\x66\x65\x61tures\x18\x0b \x03(\x0b\x32\x19.lnrpc.Peer.FeaturesEntryR\x08\x66\x65\x61tures\x1a?\n\rFeaturesEntry\x12\x0b\n\x03key\x18\x01 \x01(\r\x12\x1d\n\x05value\x18\x02 \x01(\x0b\x32\x0e.lnrpc.Feature:\x02\x38\x01\"?\n\x08SyncType\x12\x10\n\x0cUNKNOWN_SYNC\x10\x00\x12\x0f\n\x0b\x41\x43TIVE_SYNC\x10\x01\x12\x10\n\x0cPASSIVE_SYNC\x10\x02\"\x12\n\x10ListPeersRequest\"6\n\x11ListPeersResponse\x12!\n\x05peers\x18\x01 \x03(\x0b\x32\x0b.lnrpc.PeerR\x05peers\"\x17\n\x15PeerEventSubscription\"\x85\x01\n\tPeerEvent\x12\x18\n\x07pub_key\x18\x01 \x01(\tR\x07pub_key\x12.\n\x04type\x18\x02 \x01(\x0e\x32\x1a.lnrpc.PeerEvent.EventTypeR\x04type\".\n\tEventType\x12\x0f\n\x0bPEER_ONLINE\x10\x00\x12\x10\n\x0cPEER_OFFLINE\x10\x01\"\x10\n\x0eGetInfoRequest\"\xea\x05\n\x0fGetInfoResponse\x12\x18\n\x07version\x18\x0e \x01(\tR\x07version\x12(\n\x0fidentity_pubkey\x18\x01 \x01(\tR\x0fidentity_pubkey\x12\x14\n\x05\x61lias\x18\x02 \x01(\tR\x05\x61lias\x12\x14\n\x05\x63olor\x18\x11 \x01(\tR\x05\x63olor\x12\x32\n\x14num_pending_channels\x18\x03 \x01(\rR\x14num_pending_channels\x12\x30\n\x13num_active_channels\x18\x04 \x01(\rR\x13num_active_channels\x12\x34\n\x15num_inactive_channels\x18\x0f \x01(\rR\x15num_inactive_channels\x12\x1c\n\tnum_peers\x18\x05 \x01(\rR\tnum_peers\x12\"\n\x0c\x62lock_height\x18\x06 \x01(\rR\x0c\x62lock_height\x12\x1e\n\nblock_hash\x18\x08 \x01(\tR\nblock_hash\x12\x34\n\x15\x62\x65st_header_timestamp\x18\r \x01(\x03R\x15\x62\x65st_header_timestamp\x12(\n\x0fsynced_to_chain\x18\t \x01(\x08R\x0fsynced_to_chain\x12(\n\x0fsynced_to_graph\x18\x12 \x01(\x08R\x0fsynced_to_graph\x12\x1c\n\x07testnet\x18\n \x01(\x08\x42\x02\x18\x01R\x07testnet\x12$\n\x06\x63hains\x18\x10 \x03(\x0b\x32\x0c.lnrpc.ChainR\x06\x63hains\x12\x12\n\x04uris\x18\x0c \x03(\tR\x04uris\x12@\n\x08\x66\x65\x61tures\x18\x13 \x03(\x0b\x32$.lnrpc.GetInfoResponse.FeaturesEntryR\x08\x66\x65\x61tures\x1a?\n\rFeaturesEntry\x12\x0b\n\x03key\x18\x01 \x01(\r\x12\x1d\n\x05value\x18\x02 \x01(\x0b\x32\x0e.lnrpc.Feature:\x02\x38\x01J\x04\x08\x0b\x10\x0c\"7\n\x05\x43hain\x12\x14\n\x05\x63hain\x18\x01 \x01(\tR\x05\x63hain\x12\x18\n\x07network\x18\x02 \x01(\tR\x07network\"U\n\x12\x43onfirmationUpdate\x12\x11\n\tblock_sha\x18\x01 \x01(\x0c\x12\x14\n\x0c\x62lock_height\x18\x02 \x01(\x05\x12\x16\n\x0enum_confs_left\x18\x03 \x01(\r\"N\n\x11\x43hannelOpenUpdate\x12\x39\n\rchannel_point\x18\x01 \x01(\x0b\x32\x13.lnrpc.ChannelPointR\rchannel_point\"R\n\x12\x43hannelCloseUpdate\x12\"\n\x0c\x63losing_txid\x18\x01 \x01(\x0cR\x0c\x63losing_txid\x12\x18\n\x07success\x18\x02 \x01(\x08R\x07success\"\xa7\x01\n\x13\x43loseChannelRequest\x12*\n\rchannel_point\x18\x01 \x01(\x0b\x32\x13.lnrpc.ChannelPoint\x12\r\n\x05\x66orce\x18\x02 \x01(\x08\x12\x13\n\x0btarget_conf\x18\x03 \x01(\x05\x12\x14\n\x0csat_per_byte\x18\x04 \x01(\x03\x12*\n\x10\x64\x65livery_address\x18\x05 \x01(\tR\x10\x64\x65livery_address\"\x98\x01\n\x11\x43loseStatusUpdate\x12<\n\rclose_pending\x18\x01 \x01(\x0b\x32\x14.lnrpc.PendingUpdateH\x00R\rclose_pending\x12;\n\nchan_close\x18\x03 \x01(\x0b\x32\x19.lnrpc.ChannelCloseUpdateH\x00R\nchan_closeB\x08\n\x06update\"G\n\rPendingUpdate\x12\x12\n\x04txid\x18\x01 \x01(\x0cR\x04txid\x12\"\n\x0coutput_index\x18\x02 \x01(\rR\x0coutput_index\"\xfb\x03\n\x12OpenChannelRequest\x12 \n\x0bnode_pubkey\x18\x02 \x01(\x0cR\x0bnode_pubkey\x12\x32\n\x12node_pubkey_string\x18\x03 \x01(\tB\x02\x18\x01R\x12node_pubkey_string\x12\x32\n\x14local_funding_amount\x18\x04 \x01(\x03R\x14local_funding_amount\x12\x1a\n\x08push_sat\x18\x05 \x01(\x03R\x08push_sat\x12\x13\n\x0btarget_conf\x18\x06 \x01(\x05\x12\x14\n\x0csat_per_byte\x18\x07 \x01(\x03\x12\x18\n\x07private\x18\x08 \x01(\x08R\x07private\x12$\n\rmin_htlc_msat\x18\t \x01(\x03R\rmin_htlc_msat\x12*\n\x10remote_csv_delay\x18\n \x01(\rR\x10remote_csv_delay\x12\x1c\n\tmin_confs\x18\x0b \x01(\x05R\tmin_confs\x12,\n\x11spend_unconfirmed\x18\x0c \x01(\x08R\x11spend_unconfirmed\x12$\n\rclose_address\x18\r \x01(\tR\rclose_address\x12\x36\n\x0c\x66unding_shim\x18\x0e \x01(\x0b\x32\x12.lnrpc.FundingShimR\x0c\x66unding_shim\"\xbc\x01\n\x10OpenStatusUpdate\x12:\n\x0c\x63han_pending\x18\x01 \x01(\x0b\x32\x14.lnrpc.PendingUpdateH\x00R\x0c\x63han_pending\x12\x38\n\tchan_open\x18\x03 \x01(\x0b\x32\x18.lnrpc.ChannelOpenUpdateH\x00R\tchan_open\x12(\n\x0fpending_chan_id\x18\x04 \x01(\x0cR\x0fpending_chan_idB\x08\n\x06update\"3\n\nKeyLocator\x12\x12\n\nkey_family\x18\x01 \x01(\x05\x12\x11\n\tkey_index\x18\x02 \x01(\x05\"J\n\rKeyDescriptor\x12\x15\n\rraw_key_bytes\x18\x01 \x01(\x0c\x12\"\n\x07key_loc\x18\x02 \x01(\x0b\x32\x11.lnrpc.KeyLocator\"\x9b\x01\n\rChanPointShim\x12\x0b\n\x03\x61mt\x18\x01 \x01(\x03\x12\'\n\nchan_point\x18\x02 \x01(\x0b\x32\x13.lnrpc.ChannelPoint\x12\'\n\tlocal_key\x18\x03 \x01(\x0b\x32\x14.lnrpc.KeyDescriptor\x12\x12\n\nremote_key\x18\x04 \x01(\x0c\x12\x17\n\x0fpending_chan_id\x18\x05 \x01(\x0c\"F\n\x0b\x46undingShim\x12/\n\x0f\x63han_point_shim\x18\x01 \x01(\x0b\x32\x14.lnrpc.ChanPointShimH\x00\x42\x06\n\x04shim\",\n\x11\x46undingShimCancel\x12\x17\n\x0fpending_chan_id\x18\x01 \x01(\x0c\"\x7f\n\x14\x46undingTransitionMsg\x12+\n\rshim_register\x18\x01 \x01(\x0b\x32\x12.lnrpc.FundingShimH\x00\x12/\n\x0bshim_cancel\x18\x02 \x01(\x0b\x32\x18.lnrpc.FundingShimCancelH\x00\x42\t\n\x07trigger\"\x16\n\x14\x46undingStateStepResp\"\xcf\x01\n\x0bPendingHTLC\x12\x1a\n\x08incoming\x18\x01 \x01(\x08R\x08incoming\x12\x16\n\x06\x61mount\x18\x02 \x01(\x03R\x06\x61mount\x12\x1a\n\x08outpoint\x18\x03 \x01(\tR\x08outpoint\x12(\n\x0fmaturity_height\x18\x04 \x01(\rR\x0fmaturity_height\x12\x30\n\x13\x62locks_til_maturity\x18\x05 \x01(\x05R\x13\x62locks_til_maturity\x12\x14\n\x05stage\x18\x06 \x01(\rR\x05stage\"\x18\n\x16PendingChannelsRequest\"\x9c\r\n\x17PendingChannelsResponse\x12\x30\n\x13total_limbo_balance\x18\x01 \x01(\x03R\x13total_limbo_balance\x12g\n\x15pending_open_channels\x18\x02 \x03(\x0b\x32\x31.lnrpc.PendingChannelsResponse.PendingOpenChannelR\x15pending_open_channels\x12h\n\x18pending_closing_channels\x18\x03 \x03(\x0b\x32,.lnrpc.PendingChannelsResponse.ClosedChannelR\x18pending_closing_channels\x12y\n\x1epending_force_closing_channels\x18\x04 \x03(\x0b\x32\x31.lnrpc.PendingChannelsResponse.ForceClosedChannelR\x1epending_force_closing_channels\x12j\n\x16waiting_close_channels\x18\x05 \x03(\x0b\x32\x32.lnrpc.PendingChannelsResponse.WaitingCloseChannelR\x16waiting_close_channels\x1a\xbc\x02\n\x0ePendingChannel\x12(\n\x0fremote_node_pub\x18\x01 \x01(\tR\x0fremote_node_pub\x12$\n\rchannel_point\x18\x02 \x01(\tR\rchannel_point\x12\x1a\n\x08\x63\x61pacity\x18\x03 \x01(\x03R\x08\x63\x61pacity\x12$\n\rlocal_balance\x18\x04 \x01(\x03R\rlocal_balance\x12&\n\x0eremote_balance\x18\x05 \x01(\x03R\x0eremote_balance\x12\x36\n\x16local_chan_reserve_sat\x18\x06 \x01(\x03R\x16local_chan_reserve_sat\x12\x38\n\x17remote_chan_reserve_sat\x18\x07 \x01(\x03R\x17remote_chan_reserve_sat\x1a\xf5\x01\n\x12PendingOpenChannel\x12G\n\x07\x63hannel\x18\x01 \x01(\x0b\x32-.lnrpc.PendingChannelsResponse.PendingChannelR\x07\x63hannel\x12\x30\n\x13\x63onfirmation_height\x18\x02 \x01(\rR\x13\x63onfirmation_height\x12\x1e\n\ncommit_fee\x18\x04 \x01(\x03R\ncommit_fee\x12$\n\rcommit_weight\x18\x05 \x01(\x03R\rcommit_weight\x12\x1e\n\nfee_per_kw\x18\x06 \x01(\x03R\nfee_per_kw\x1a{\n\x13WaitingCloseChannel\x12>\n\x07\x63hannel\x18\x01 \x01(\x0b\x32-.lnrpc.PendingChannelsResponse.PendingChannel\x12$\n\rlimbo_balance\x18\x02 \x01(\x03R\rlimbo_balance\x1as\n\rClosedChannel\x12>\n\x07\x63hannel\x18\x01 \x01(\x0b\x32-.lnrpc.PendingChannelsResponse.PendingChannel\x12\"\n\x0c\x63losing_txid\x18\x02 \x01(\tR\x0c\x63losing_txid\x1a\xeb\x02\n\x12\x46orceClosedChannel\x12G\n\x07\x63hannel\x18\x01 \x01(\x0b\x32-.lnrpc.PendingChannelsResponse.PendingChannelR\x07\x63hannel\x12\"\n\x0c\x63losing_txid\x18\x02 \x01(\tR\x0c\x63losing_txid\x12$\n\rlimbo_balance\x18\x03 \x01(\x03R\rlimbo_balance\x12(\n\x0fmaturity_height\x18\x04 \x01(\rR\x0fmaturity_height\x12\x30\n\x13\x62locks_til_maturity\x18\x05 \x01(\x05R\x13\x62locks_til_maturity\x12,\n\x11recovered_balance\x18\x06 \x01(\x03R\x11recovered_balance\x12\x38\n\rpending_htlcs\x18\x08 \x03(\x0b\x32\x12.lnrpc.PendingHTLCR\rpending_htlcs\"\x1a\n\x18\x43hannelEventSubscription\"\xb5\x03\n\x12\x43hannelEventUpdate\x12\x34\n\x0copen_channel\x18\x01 \x01(\x0b\x32\x0e.lnrpc.ChannelH\x00R\x0copen_channel\x12\x44\n\x0e\x63losed_channel\x18\x02 \x01(\x0b\x32\x1a.lnrpc.ChannelCloseSummaryH\x00R\x0e\x63losed_channel\x12=\n\x0e\x61\x63tive_channel\x18\x03 \x01(\x0b\x32\x13.lnrpc.ChannelPointH\x00R\x0e\x61\x63tive_channel\x12\x41\n\x10inactive_channel\x18\x04 \x01(\x0b\x32\x13.lnrpc.ChannelPointH\x00R\x10inactive_channel\x12\x38\n\x04type\x18\x05 \x01(\x0e\x32$.lnrpc.ChannelEventUpdate.UpdateTypeR\x04type\"\\\n\nUpdateType\x12\x10\n\x0cOPEN_CHANNEL\x10\x00\x12\x12\n\x0e\x43LOSED_CHANNEL\x10\x01\x12\x12\n\x0e\x41\x43TIVE_CHANNEL\x10\x02\x12\x14\n\x10INACTIVE_CHANNEL\x10\x03\x42\t\n\x07\x63hannel\"\x16\n\x14WalletBalanceRequest\"\x9d\x01\n\x15WalletBalanceResponse\x12$\n\rtotal_balance\x18\x01 \x01(\x03R\rtotal_balance\x12,\n\x11\x63onfirmed_balance\x18\x02 \x01(\x03R\x11\x63onfirmed_balance\x12\x30\n\x13unconfirmed_balance\x18\x03 \x01(\x03R\x13unconfirmed_balance\"\x17\n\x15\x43hannelBalanceRequest\"f\n\x16\x43hannelBalanceResponse\x12\x18\n\x07\x62\x61lance\x18\x01 \x01(\x03R\x07\x62\x61lance\x12\x32\n\x14pending_open_balance\x18\x02 \x01(\x03R\x14pending_open_balance\"\xd0\x04\n\x12QueryRoutesRequest\x12\x0f\n\x07pub_key\x18\x01 \x01(\t\x12\x0b\n\x03\x61mt\x18\x02 \x01(\x03\x12\x10\n\x08\x61mt_msat\x18\x0c \x01(\x03\x12\x18\n\x10\x66inal_cltv_delta\x18\x04 \x01(\x05\x12\"\n\tfee_limit\x18\x05 \x01(\x0b\x32\x0f.lnrpc.FeeLimit\x12\x15\n\rignored_nodes\x18\x06 \x03(\x0c\x12-\n\rignored_edges\x18\x07 \x03(\x0b\x32\x12.lnrpc.EdgeLocatorB\x02\x18\x01\x12\x16\n\x0esource_pub_key\x18\x08 \x01(\t\x12\x1b\n\x13use_mission_control\x18\t \x01(\x08\x12&\n\rignored_pairs\x18\n \x03(\x0b\x32\x0f.lnrpc.NodePair\x12\x12\n\ncltv_limit\x18\x0b \x01(\r\x12M\n\x13\x64\x65st_custom_records\x18\r \x03(\x0b\x32\x30.lnrpc.QueryRoutesRequest.DestCustomRecordsEntry\x12\x1c\n\x10outgoing_chan_id\x18\x0e \x01(\x04\x42\x02\x30\x01\x12\x17\n\x0flast_hop_pubkey\x18\x0f \x01(\x0c\x12%\n\x0broute_hints\x18\x10 \x03(\x0b\x32\x10.lnrpc.RouteHint\x12(\n\rdest_features\x18\x11 \x03(\x0e\x32\x11.lnrpc.FeatureBit\x1a\x38\n\x16\x44\x65stCustomRecordsEntry\x12\x0b\n\x03key\x18\x01 \x01(\x04\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01J\x04\x08\x03\x10\x04\"$\n\x08NodePair\x12\x0c\n\x04\x66rom\x18\x01 \x01(\x0c\x12\n\n\x02to\x18\x02 \x01(\x0c\"@\n\x0b\x45\x64geLocator\x12\x16\n\nchannel_id\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x19\n\x11\x64irection_reverse\x18\x02 \x01(\x08\"_\n\x13QueryRoutesResponse\x12$\n\x06routes\x18\x01 \x03(\x0b\x32\x0c.lnrpc.RouteR\x06routes\x12\"\n\x0csuccess_prob\x18\x02 \x01(\x01R\x0csuccess_prob\"\xdc\x03\n\x03Hop\x12\x1c\n\x07\x63han_id\x18\x01 \x01(\x04\x42\x02\x30\x01R\x07\x63han_id\x12$\n\rchan_capacity\x18\x02 \x01(\x03R\rchan_capacity\x12*\n\x0e\x61mt_to_forward\x18\x03 \x01(\x03\x42\x02\x18\x01R\x0e\x61mt_to_forward\x12\x14\n\x03\x66\x65\x65\x18\x04 \x01(\x03\x42\x02\x18\x01R\x03\x66\x65\x65\x12\x16\n\x06\x65xpiry\x18\x05 \x01(\rR\x06\x65xpiry\x12\x30\n\x13\x61mt_to_forward_msat\x18\x06 \x01(\x03R\x13\x61mt_to_forward_msat\x12\x1a\n\x08\x66\x65\x65_msat\x18\x07 \x01(\x03R\x08\x66\x65\x65_msat\x12\x18\n\x07pub_key\x18\x08 \x01(\tR\x07pub_key\x12 \n\x0btlv_payload\x18\t \x01(\x08R\x0btlv_payload\x12\x30\n\nmpp_record\x18\n \x01(\x0b\x32\x10.lnrpc.MPPRecordR\nmpp_record\x12\x45\n\x0e\x63ustom_records\x18\x0b \x03(\x0b\x32\x1d.lnrpc.Hop.CustomRecordsEntryR\x0e\x63ustom_records\x1a\x34\n\x12\x43ustomRecordsEntry\x12\x0b\n\x03key\x18\x01 \x01(\x04\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\"W\n\tMPPRecord\x12\"\n\x0cpayment_addr\x18\x0b \x01(\x0cR\x0cpayment_addr\x12&\n\x0etotal_amt_msat\x18\n \x01(\x03R\x0etotal_amt_msat\"\xe9\x01\n\x05Route\x12(\n\x0ftotal_time_lock\x18\x01 \x01(\rR\x0ftotal_time_lock\x12\"\n\ntotal_fees\x18\x02 \x01(\x03\x42\x02\x18\x01R\ntotal_fees\x12 \n\ttotal_amt\x18\x03 \x01(\x03\x42\x02\x18\x01R\ttotal_amt\x12\x1e\n\x04hops\x18\x04 \x03(\x0b\x32\n.lnrpc.HopR\x04hops\x12(\n\x0ftotal_fees_msat\x18\x05 \x01(\x03R\x0ftotal_fees_msat\x12&\n\x0etotal_amt_msat\x18\x06 \x01(\x03R\x0etotal_amt_msat\"<\n\x0fNodeInfoRequest\x12\x0f\n\x07pub_key\x18\x01 \x01(\t\x12\x18\n\x10include_channels\x18\x02 \x01(\x08\"\xb0\x01\n\x08NodeInfo\x12(\n\x04node\x18\x01 \x01(\x0b\x32\x14.lnrpc.LightningNodeR\x04node\x12\"\n\x0cnum_channels\x18\x02 \x01(\rR\x0cnum_channels\x12&\n\x0etotal_capacity\x18\x03 \x01(\x03R\x0etotal_capacity\x12.\n\x08\x63hannels\x18\x04 \x03(\x0b\x32\x12.lnrpc.ChannelEdgeR\x08\x63hannels\"\xaa\x02\n\rLightningNode\x12 \n\x0blast_update\x18\x01 \x01(\rR\x0blast_update\x12\x18\n\x07pub_key\x18\x02 \x01(\tR\x07pub_key\x12\x14\n\x05\x61lias\x18\x03 \x01(\tR\x05\x61lias\x12\x30\n\taddresses\x18\x04 \x03(\x0b\x32\x12.lnrpc.NodeAddressR\taddresses\x12\x14\n\x05\x63olor\x18\x05 \x01(\tR\x05\x63olor\x12>\n\x08\x66\x65\x61tures\x18\x06 \x03(\x0b\x32\".lnrpc.LightningNode.FeaturesEntryR\x08\x66\x65\x61tures\x1a?\n\rFeaturesEntry\x12\x0b\n\x03key\x18\x01 \x01(\r\x12\x1d\n\x05value\x18\x02 \x01(\x0b\x32\x0e.lnrpc.Feature:\x02\x38\x01\";\n\x0bNodeAddress\x12\x18\n\x07network\x18\x01 \x01(\tR\x07network\x12\x12\n\x04\x61\x64\x64r\x18\x02 \x01(\tR\x04\x61\x64\x64r\"\x91\x02\n\rRoutingPolicy\x12(\n\x0ftime_lock_delta\x18\x01 \x01(\rR\x0ftime_lock_delta\x12\x1a\n\x08min_htlc\x18\x02 \x01(\x03R\x08min_htlc\x12$\n\rfee_base_msat\x18\x03 \x01(\x03R\rfee_base_msat\x12\x30\n\x13\x66\x65\x65_rate_milli_msat\x18\x04 \x01(\x03R\x13\x66\x65\x65_rate_milli_msat\x12\x1a\n\x08\x64isabled\x18\x05 \x01(\x08R\x08\x64isabled\x12$\n\rmax_htlc_msat\x18\x06 \x01(\x04R\rmax_htlc_msat\x12 \n\x0blast_update\x18\x07 \x01(\rR\x0blast_update\"\xc3\x02\n\x0b\x43hannelEdge\x12\"\n\nchannel_id\x18\x01 \x01(\x04\x42\x02\x30\x01R\nchannel_id\x12\x1e\n\nchan_point\x18\x02 \x01(\tR\nchan_point\x12$\n\x0blast_update\x18\x03 \x01(\rB\x02\x18\x01R\x0blast_update\x12\x1c\n\tnode1_pub\x18\x04 \x01(\tR\tnode1_pub\x12\x1c\n\tnode2_pub\x18\x05 \x01(\tR\tnode2_pub\x12\x1a\n\x08\x63\x61pacity\x18\x06 \x01(\x03R\x08\x63\x61pacity\x12\x38\n\x0cnode1_policy\x18\x07 \x01(\x0b\x32\x14.lnrpc.RoutingPolicyR\x0cnode1_policy\x12\x38\n\x0cnode2_policy\x18\x08 \x01(\x0b\x32\x14.lnrpc.RoutingPolicyR\x0cnode2_policy\"G\n\x13\x43hannelGraphRequest\x12\x30\n\x13include_unannounced\x18\x01 \x01(\x08R\x13include_unannounced\"d\n\x0c\x43hannelGraph\x12*\n\x05nodes\x18\x01 \x03(\x0b\x32\x14.lnrpc.LightningNodeR\x05nodes\x12(\n\x05\x65\x64ges\x18\x02 \x03(\x0b\x32\x12.lnrpc.ChannelEdgeR\x05\x65\x64ges\"&\n\x0f\x43hanInfoRequest\x12\x13\n\x07\x63han_id\x18\x01 \x01(\x04\x42\x02\x30\x01\"\x14\n\x12NetworkInfoRequest\"\xe9\x03\n\x0bNetworkInfo\x12&\n\x0egraph_diameter\x18\x01 \x01(\rR\x0egraph_diameter\x12&\n\x0e\x61vg_out_degree\x18\x02 \x01(\x01R\x0e\x61vg_out_degree\x12&\n\x0emax_out_degree\x18\x03 \x01(\rR\x0emax_out_degree\x12\x1c\n\tnum_nodes\x18\x04 \x01(\rR\tnum_nodes\x12\"\n\x0cnum_channels\x18\x05 \x01(\rR\x0cnum_channels\x12\x36\n\x16total_network_capacity\x18\x06 \x01(\x03R\x16total_network_capacity\x12*\n\x10\x61vg_channel_size\x18\x07 \x01(\x01R\x10\x61vg_channel_size\x12*\n\x10min_channel_size\x18\x08 \x01(\x03R\x10min_channel_size\x12*\n\x10max_channel_size\x18\t \x01(\x03R\x10max_channel_size\x12\x38\n\x17median_channel_size_sat\x18\n \x01(\x03R\x17median_channel_size_sat\x12*\n\x10num_zombie_chans\x18\x0b \x01(\x04R\x10num_zombie_chans\"\r\n\x0bStopRequest\"\x0e\n\x0cStopResponse\"\x1b\n\x19GraphTopologySubscription\"\xa3\x01\n\x13GraphTopologyUpdate\x12\'\n\x0cnode_updates\x18\x01 \x03(\x0b\x32\x11.lnrpc.NodeUpdate\x12\x31\n\x0f\x63hannel_updates\x18\x02 \x03(\x0b\x32\x18.lnrpc.ChannelEdgeUpdate\x12\x30\n\x0c\x63losed_chans\x18\x03 \x03(\x0b\x32\x1a.lnrpc.ClosedChannelUpdate\"l\n\nNodeUpdate\x12\x11\n\taddresses\x18\x01 \x03(\t\x12\x14\n\x0cidentity_key\x18\x02 \x01(\t\x12\x17\n\x0fglobal_features\x18\x03 \x01(\x0c\x12\r\n\x05\x61lias\x18\x04 \x01(\t\x12\r\n\x05\x63olor\x18\x05 \x01(\t\"\xc4\x01\n\x11\x43hannelEdgeUpdate\x12\x13\n\x07\x63han_id\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\'\n\nchan_point\x18\x02 \x01(\x0b\x32\x13.lnrpc.ChannelPoint\x12\x10\n\x08\x63\x61pacity\x18\x03 \x01(\x03\x12,\n\x0erouting_policy\x18\x04 \x01(\x0b\x32\x14.lnrpc.RoutingPolicy\x12\x18\n\x10\x61\x64vertising_node\x18\x05 \x01(\t\x12\x17\n\x0f\x63onnecting_node\x18\x06 \x01(\t\"|\n\x13\x43losedChannelUpdate\x12\x13\n\x07\x63han_id\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x10\n\x08\x63\x61pacity\x18\x02 \x01(\x03\x12\x15\n\rclosed_height\x18\x03 \x01(\r\x12\'\n\nchan_point\x18\x04 \x01(\x0b\x32\x13.lnrpc.ChannelPoint\"\xd7\x01\n\x07HopHint\x12\x18\n\x07node_id\x18\x01 \x01(\tR\x07node_id\x12\x1c\n\x07\x63han_id\x18\x02 \x01(\x04\x42\x02\x30\x01R\x07\x63han_id\x12$\n\rfee_base_msat\x18\x03 \x01(\rR\rfee_base_msat\x12@\n\x1b\x66\x65\x65_proportional_millionths\x18\x04 \x01(\rR\x1b\x66\x65\x65_proportional_millionths\x12,\n\x11\x63ltv_expiry_delta\x18\x05 \x01(\rR\x11\x63ltv_expiry_delta\"9\n\tRouteHint\x12,\n\thop_hints\x18\x01 \x03(\x0b\x32\x0e.lnrpc.HopHintR\thop_hints\"\xe2\x07\n\x07Invoice\x12\x12\n\x04memo\x18\x01 \x01(\tR\x04memo\x12\x1e\n\nr_preimage\x18\x03 \x01(\x0cR\nr_preimage\x12\x16\n\x06r_hash\x18\x04 \x01(\x0cR\x06r_hash\x12\x14\n\x05value\x18\x05 \x01(\x03R\x05value\x12\x1e\n\nvalue_msat\x18\x17 \x01(\x03R\nvalue_msat\x12\x1c\n\x07settled\x18\x06 \x01(\x08\x42\x02\x18\x01R\x07settled\x12$\n\rcreation_date\x18\x07 \x01(\x03R\rcreation_date\x12 \n\x0bsettle_date\x18\x08 \x01(\x03R\x0bsettle_date\x12(\n\x0fpayment_request\x18\t \x01(\tR\x0fpayment_request\x12*\n\x10\x64\x65scription_hash\x18\n \x01(\x0cR\x10\x64\x65scription_hash\x12\x16\n\x06\x65xpiry\x18\x0b \x01(\x03R\x06\x65xpiry\x12$\n\rfallback_addr\x18\x0c \x01(\tR\rfallback_addr\x12 \n\x0b\x63ltv_expiry\x18\r \x01(\x04R\x0b\x63ltv_expiry\x12\x32\n\x0broute_hints\x18\x0e \x03(\x0b\x32\x10.lnrpc.RouteHintR\x0broute_hints\x12\x18\n\x07private\x18\x0f \x01(\x08R\x07private\x12\x1c\n\tadd_index\x18\x10 \x01(\x04R\tadd_index\x12\"\n\x0csettle_index\x18\x11 \x01(\x04R\x0csettle_index\x12\x1e\n\x08\x61mt_paid\x18\x12 \x01(\x03\x42\x02\x18\x01R\x08\x61mt_paid\x12\"\n\x0c\x61mt_paid_sat\x18\x13 \x01(\x03R\x0c\x61mt_paid_sat\x12$\n\ramt_paid_msat\x18\x14 \x01(\x03R\ramt_paid_msat\x12\x31\n\x05state\x18\x15 \x01(\x0e\x32\x1b.lnrpc.Invoice.InvoiceStateR\x05state\x12(\n\x05htlcs\x18\x16 \x03(\x0b\x32\x12.lnrpc.InvoiceHTLCR\x05htlcs\x12\x38\n\x08\x66\x65\x61tures\x18\x18 \x03(\x0b\x32\x1c.lnrpc.Invoice.FeaturesEntryR\x08\x66\x65\x61tures\x12\x1e\n\nis_keysend\x18\x19 \x01(\x08R\nis_keysend\x1a?\n\rFeaturesEntry\x12\x0b\n\x03key\x18\x01 \x01(\r\x12\x1d\n\x05value\x18\x02 \x01(\x0b\x32\x0e.lnrpc.Feature:\x02\x38\x01\"A\n\x0cInvoiceState\x12\x08\n\x04OPEN\x10\x00\x12\x0b\n\x07SETTLED\x10\x01\x12\x0c\n\x08\x43\x41NCELED\x10\x02\x12\x0c\n\x08\x41\x43\x43\x45PTED\x10\x03J\x04\x08\x02\x10\x03\"\xdd\x03\n\x0bInvoiceHTLC\x12\x1c\n\x07\x63han_id\x18\x01 \x01(\x04\x42\x02\x30\x01R\x07\x63han_id\x12\x1e\n\nhtlc_index\x18\x02 \x01(\x04R\nhtlc_index\x12\x1a\n\x08\x61mt_msat\x18\x03 \x01(\x04R\x08\x61mt_msat\x12$\n\raccept_height\x18\x04 \x01(\x05R\raccept_height\x12 \n\x0b\x61\x63\x63\x65pt_time\x18\x05 \x01(\x03R\x0b\x61\x63\x63\x65pt_time\x12\"\n\x0cresolve_time\x18\x06 \x01(\x03R\x0cresolve_time\x12$\n\rexpiry_height\x18\x07 \x01(\x05R\rexpiry_height\x12-\n\x05state\x18\x08 \x01(\x0e\x32\x17.lnrpc.InvoiceHTLCStateR\x05state\x12M\n\x0e\x63ustom_records\x18\t \x03(\x0b\x32%.lnrpc.InvoiceHTLC.CustomRecordsEntryR\x0e\x63ustom_records\x12.\n\x12mpp_total_amt_msat\x18\n \x01(\x04R\x12mpp_total_amt_msat\x1a\x34\n\x12\x43ustomRecordsEntry\x12\x0b\n\x03key\x18\x01 \x01(\x04\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\"t\n\x12\x41\x64\x64InvoiceResponse\x12\x16\n\x06r_hash\x18\x01 \x01(\x0cR\x06r_hash\x12(\n\x0fpayment_request\x18\x02 \x01(\tR\x0fpayment_request\x12\x1c\n\tadd_index\x18\x10 \x01(\x04R\tadd_index\"I\n\x0bPaymentHash\x12\"\n\nr_hash_str\x18\x01 \x01(\tB\x02\x18\x01R\nr_hash_str\x12\x16\n\x06r_hash\x18\x02 \x01(\x0cR\x06r_hash\"\xa4\x01\n\x12ListInvoiceRequest\x12\"\n\x0cpending_only\x18\x01 \x01(\x08R\x0cpending_only\x12\"\n\x0cindex_offset\x18\x04 \x01(\x04R\x0cindex_offset\x12*\n\x10num_max_invoices\x18\x05 \x01(\x04R\x10num_max_invoices\x12\x1a\n\x08reversed\x18\x06 \x01(\x08R\x08reversed\"\x9f\x01\n\x13ListInvoiceResponse\x12*\n\x08invoices\x18\x01 \x03(\x0b\x32\x0e.lnrpc.InvoiceR\x08invoices\x12,\n\x11last_index_offset\x18\x02 \x01(\x04R\x11last_index_offset\x12.\n\x12\x66irst_index_offset\x18\x03 \x01(\x04R\x12\x66irst_index_offset\"W\n\x13InvoiceSubscription\x12\x1c\n\tadd_index\x18\x01 \x01(\x04R\tadd_index\x12\"\n\x0csettle_index\x18\x02 \x01(\x04R\x0csettle_index\"\xbd\x04\n\x07Payment\x12\"\n\x0cpayment_hash\x18\x01 \x01(\tR\x0cpayment_hash\x12\x18\n\x05value\x18\x02 \x01(\x03\x42\x02\x18\x01R\x05value\x12(\n\rcreation_date\x18\x03 \x01(\x03\x42\x02\x18\x01R\rcreation_date\x12\x16\n\x04path\x18\x04 \x03(\tB\x02\x18\x01R\x04path\x12\x14\n\x03\x66\x65\x65\x18\x05 \x01(\x03\x42\x02\x18\x01R\x03\x66\x65\x65\x12*\n\x10payment_preimage\x18\x06 \x01(\tR\x10payment_preimage\x12\x1c\n\tvalue_sat\x18\x07 \x01(\x03R\tvalue_sat\x12\x1e\n\nvalue_msat\x18\x08 \x01(\x03R\nvalue_msat\x12(\n\x0fpayment_request\x18\t \x01(\tR\x0fpayment_request\x12\x34\n\x06status\x18\n \x01(\x0e\x32\x1c.lnrpc.Payment.PaymentStatusR\x06status\x12\x18\n\x07\x66\x65\x65_sat\x18\x0b \x01(\x03R\x07\x66\x65\x65_sat\x12\x1a\n\x08\x66\x65\x65_msat\x18\x0c \x01(\x03R\x08\x66\x65\x65_msat\x12*\n\x10\x63reation_time_ns\x18\r \x01(\x03R\x10\x63reation_time_ns\x12(\n\x05htlcs\x18\x0e \x03(\x0b\x32\x12.lnrpc.HTLCAttemptR\x05htlcs\"F\n\rPaymentStatus\x12\x0b\n\x07UNKNOWN\x10\x00\x12\r\n\tIN_FLIGHT\x10\x01\x12\r\n\tSUCCEEDED\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\"\xf4\x01\n\x0bHTLCAttempt\x12\x35\n\x06status\x18\x01 \x01(\x0e\x32\x1d.lnrpc.HTLCAttempt.HTLCStatusR\x06status\x12\"\n\x05route\x18\x02 \x01(\x0b\x32\x0c.lnrpc.RouteR\x05route\x12(\n\x0f\x61ttempt_time_ns\x18\x03 \x01(\x03R\x0f\x61ttempt_time_ns\x12(\n\x0fresolve_time_ns\x18\x04 \x01(\x03R\x0fresolve_time_ns\"6\n\nHTLCStatus\x12\r\n\tIN_FLIGHT\x10\x00\x12\r\n\tSUCCEEDED\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\"1\n\x13ListPaymentsRequest\x12\x1a\n\x12include_incomplete\x18\x01 \x01(\x08\"B\n\x14ListPaymentsResponse\x12*\n\x08payments\x18\x01 \x03(\x0b\x32\x0e.lnrpc.PaymentR\x08payments\"\x1a\n\x18\x44\x65leteAllPaymentsRequest\"\x1b\n\x19\x44\x65leteAllPaymentsResponse\"C\n\x15\x41\x62\x61ndonChannelRequest\x12*\n\rchannel_point\x18\x01 \x01(\x0b\x32\x13.lnrpc.ChannelPoint\"\x18\n\x16\x41\x62\x61ndonChannelResponse\"5\n\x11\x44\x65\x62ugLevelRequest\x12\x0c\n\x04show\x18\x01 \x01(\x08\x12\x12\n\nlevel_spec\x18\x02 \x01(\t\"6\n\x12\x44\x65\x62ugLevelResponse\x12 \n\x0bsub_systems\x18\x01 \x01(\tR\x0bsub_systems\"\x1f\n\x0cPayReqString\x12\x0f\n\x07pay_req\x18\x01 \x01(\t\"\xac\x04\n\x06PayReq\x12 \n\x0b\x64\x65stination\x18\x01 \x01(\tR\x0b\x64\x65stination\x12\"\n\x0cpayment_hash\x18\x02 \x01(\tR\x0cpayment_hash\x12\"\n\x0cnum_satoshis\x18\x03 \x01(\x03R\x0cnum_satoshis\x12\x1c\n\ttimestamp\x18\x04 \x01(\x03R\ttimestamp\x12\x16\n\x06\x65xpiry\x18\x05 \x01(\x03R\x06\x65xpiry\x12 \n\x0b\x64\x65scription\x18\x06 \x01(\tR\x0b\x64\x65scription\x12*\n\x10\x64\x65scription_hash\x18\x07 \x01(\tR\x10\x64\x65scription_hash\x12$\n\rfallback_addr\x18\x08 \x01(\tR\rfallback_addr\x12 \n\x0b\x63ltv_expiry\x18\t \x01(\x03R\x0b\x63ltv_expiry\x12\x32\n\x0broute_hints\x18\n \x03(\x0b\x32\x10.lnrpc.RouteHintR\x0broute_hints\x12\"\n\x0cpayment_addr\x18\x0b \x01(\x0cR\x0cpayment_addr\x12\x1a\n\x08num_msat\x18\x0c \x01(\x03R\x08num_msat\x12\x37\n\x08\x66\x65\x61tures\x18\r \x03(\x0b\x32\x1b.lnrpc.PayReq.FeaturesEntryR\x08\x66\x65\x61tures\x1a?\n\rFeaturesEntry\x12\x0b\n\x03key\x18\x01 \x01(\r\x12\x1d\n\x05value\x18\x02 \x01(\x0b\x32\x0e.lnrpc.Feature:\x02\x38\x01\"[\n\x07\x46\x65\x61ture\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0bis_required\x18\x03 \x01(\x08R\x0bis_required\x12\x1a\n\x08is_known\x18\x04 \x01(\x08R\x08is_known\"\x12\n\x10\x46\x65\x65ReportRequest\"\x99\x01\n\x10\x43hannelFeeReport\x12!\n\nchan_point\x18\x01 \x01(\tR\rchannel_point\x12$\n\rbase_fee_msat\x18\x02 \x01(\x03R\rbase_fee_msat\x12 \n\x0b\x66\x65\x65_per_mil\x18\x03 \x01(\x03R\x0b\x66\x65\x65_per_mil\x12\x1a\n\x08\x66\x65\x65_rate\x18\x04 \x01(\x01R\x08\x66\x65\x65_rate\"\xbc\x01\n\x11\x46\x65\x65ReportResponse\x12;\n\x0c\x63hannel_fees\x18\x01 \x03(\x0b\x32\x17.lnrpc.ChannelFeeReportR\x0c\x63hannel_fees\x12 \n\x0b\x64\x61y_fee_sum\x18\x02 \x01(\x04R\x0b\x64\x61y_fee_sum\x12\"\n\x0cweek_fee_sum\x18\x03 \x01(\x04R\x0cweek_fee_sum\x12$\n\rmonth_fee_sum\x18\x04 \x01(\x04R\rmonth_fee_sum\"\xdb\x02\n\x13PolicyUpdateRequest\x12\x18\n\x06global\x18\x01 \x01(\x08H\x00R\x06global\x12\x35\n\nchan_point\x18\x02 \x01(\x0b\x32\x13.lnrpc.ChannelPointH\x00R\nchan_point\x12$\n\rbase_fee_msat\x18\x03 \x01(\x03R\rbase_fee_msat\x12\x1a\n\x08\x66\x65\x65_rate\x18\x04 \x01(\x01R\x08\x66\x65\x65_rate\x12(\n\x0ftime_lock_delta\x18\x05 \x01(\rR\x0ftime_lock_delta\x12$\n\rmax_htlc_msat\x18\x06 \x01(\x04R\rmax_htlc_msat\x12$\n\rmin_htlc_msat\x18\x07 \x01(\x04R\rmin_htlc_msat\x12\x32\n\x17min_htlc_msat_specified\x18\x08 \x01(\x08R\x11set_min_htlc_msatB\x07\n\x05scope\"\x16\n\x14PolicyUpdateResponse\"\xa2\x01\n\x18\x46orwardingHistoryRequest\x12\x1e\n\nstart_time\x18\x01 \x01(\x04R\nstart_time\x12\x1a\n\x08\x65nd_time\x18\x02 \x01(\x04R\x08\x65nd_time\x12\"\n\x0cindex_offset\x18\x03 \x01(\rR\x0cindex_offset\x12&\n\x0enum_max_events\x18\x04 \x01(\rR\x0enum_max_events\"\x9f\x02\n\x0f\x46orwardingEvent\x12\x1c\n\ttimestamp\x18\x01 \x01(\x04R\ttimestamp\x12\"\n\nchan_id_in\x18\x02 \x01(\x04\x42\x02\x30\x01R\nchan_id_in\x12$\n\x0b\x63han_id_out\x18\x04 \x01(\x04\x42\x02\x30\x01R\x0b\x63han_id_out\x12\x16\n\x06\x61mt_in\x18\x05 \x01(\x04R\x06\x61mt_in\x12\x18\n\x07\x61mt_out\x18\x06 \x01(\x04R\x07\x61mt_out\x12\x10\n\x03\x66\x65\x65\x18\x07 \x01(\x04R\x03\x66\x65\x65\x12\x1a\n\x08\x66\x65\x65_msat\x18\x08 \x01(\x04R\x08\x66\x65\x65_msat\x12 \n\x0b\x61mt_in_msat\x18\t \x01(\x04R\x0b\x61mt_in_msat\x12\"\n\x0c\x61mt_out_msat\x18\n \x01(\x04R\x0c\x61mt_out_msat\"\x8f\x01\n\x19\x46orwardingHistoryResponse\x12\x44\n\x11\x66orwarding_events\x18\x01 \x03(\x0b\x32\x16.lnrpc.ForwardingEventR\x11\x66orwarding_events\x12,\n\x11last_offset_index\x18\x02 \x01(\rR\x11last_offset_index\"E\n\x1a\x45xportChannelBackupRequest\x12\'\n\nchan_point\x18\x01 \x01(\x0b\x32\x13.lnrpc.ChannelPoint\"f\n\rChannelBackup\x12\x33\n\nchan_point\x18\x01 \x01(\x0b\x32\x13.lnrpc.ChannelPointR\nchan_point\x12 \n\x0b\x63han_backup\x18\x02 \x01(\x0cR\x0b\x63han_backup\"v\n\x0fMultiChanBackup\x12\x35\n\x0b\x63han_points\x18\x01 \x03(\x0b\x32\x13.lnrpc.ChannelPointR\x0b\x63han_points\x12,\n\x11multi_chan_backup\x18\x02 \x01(\x0cR\x11multi_chan_backup\"\x19\n\x17\x43hanBackupExportRequest\"\xa3\x01\n\x12\x43hanBackupSnapshot\x12G\n\x13single_chan_backups\x18\x01 \x01(\x0b\x32\x15.lnrpc.ChannelBackupsR\x13single_chan_backups\x12\x44\n\x11multi_chan_backup\x18\x02 \x01(\x0b\x32\x16.lnrpc.MultiChanBackupR\x11multi_chan_backup\"J\n\x0e\x43hannelBackups\x12\x38\n\x0c\x63han_backups\x18\x01 \x03(\x0b\x32\x14.lnrpc.ChannelBackupR\x0c\x63han_backups\"\x91\x01\n\x18RestoreChanBackupRequest\x12;\n\x0c\x63han_backups\x18\x01 \x01(\x0b\x32\x15.lnrpc.ChannelBackupsH\x00R\x0c\x63han_backups\x12.\n\x11multi_chan_backup\x18\x02 \x01(\x0cH\x00R\x11multi_chan_backupB\x08\n\x06\x62\x61\x63kup\"\x17\n\x15RestoreBackupResponse\"\x1b\n\x19\x43hannelBackupSubscription\"\x1a\n\x18VerifyChanBackupResponse\"D\n\x12MacaroonPermission\x12\x16\n\x06\x65ntity\x18\x01 \x01(\tR\x06\x65ntity\x12\x16\n\x06\x61\x63tion\x18\x02 \x01(\tR\x06\x61\x63tion\"R\n\x13\x42\x61keMacaroonRequest\x12;\n\x0bpermissions\x18\x01 \x03(\x0b\x32\x19.lnrpc.MacaroonPermissionR\x0bpermissions\"2\n\x14\x42\x61keMacaroonResponse\x12\x1a\n\x08macaroon\x18\x01 \x01(\tR\x08macaroon*}\n\x0b\x41\x64\x64ressType\x12\x17\n\x13WITNESS_PUBKEY_HASH\x10\x00\x12\x16\n\x12NESTED_PUBKEY_HASH\x10\x01\x12\x1e\n\x1aUNUSED_WITNESS_PUBKEY_HASH\x10\x02\x12\x1d\n\x19UNUSED_NESTED_PUBKEY_HASH\x10\x03*;\n\x10InvoiceHTLCState\x12\x0c\n\x08\x41\x43\x43\x45PTED\x10\x00\x12\x0b\n\x07SETTLED\x10\x01\x12\x0c\n\x08\x43\x41NCELED\x10\x02*\xa5\x03\n\nFeatureBit\x12\x18\n\x14\x44\x41TALOSS_PROTECT_REQ\x10\x00\x12\x18\n\x14\x44\x41TALOSS_PROTECT_OPT\x10\x01\x12\x17\n\x13INITIAL_ROUING_SYNC\x10\x03\x12\x1f\n\x1bUPFRONT_SHUTDOWN_SCRIPT_REQ\x10\x04\x12\x1f\n\x1bUPFRONT_SHUTDOWN_SCRIPT_OPT\x10\x05\x12\x16\n\x12GOSSIP_QUERIES_REQ\x10\x06\x12\x16\n\x12GOSSIP_QUERIES_OPT\x10\x07\x12\x11\n\rTLV_ONION_REQ\x10\x08\x12\x11\n\rTLV_ONION_OPT\x10\t\x12\x1a\n\x16\x45XT_GOSSIP_QUERIES_REQ\x10\n\x12\x1a\n\x16\x45XT_GOSSIP_QUERIES_OPT\x10\x0b\x12\x19\n\x15STATIC_REMOTE_KEY_REQ\x10\x0c\x12\x19\n\x15STATIC_REMOTE_KEY_OPT\x10\r\x12\x14\n\x10PAYMENT_ADDR_REQ\x10\x0e\x12\x14\n\x10PAYMENT_ADDR_OPT\x10\x0f\x12\x0b\n\x07MPP_REQ\x10\x10\x12\x0b\n\x07MPP_OPT\x10\x11\x32\x91\x03\n\x0eWalletUnlocker\x12M\n\x07GenSeed\x12\x15.lnrpc.GenSeedRequest\x1a\x16.lnrpc.GenSeedResponse\"\x13\x82\xd3\xe4\x93\x02\r\x12\x0b/v1/genseed\x12\\\n\nInitWallet\x12\x18.lnrpc.InitWalletRequest\x1a\x19.lnrpc.InitWalletResponse\"\x19\x82\xd3\xe4\x93\x02\x13\"\x0e/v1/initwallet:\x01*\x12\x64\n\x0cUnlockWallet\x12\x1a.lnrpc.UnlockWalletRequest\x1a\x1b.lnrpc.UnlockWalletResponse\"\x1b\x82\xd3\xe4\x93\x02\x15\"\x10/v1/unlockwallet:\x01*\x12l\n\x0e\x43hangePassword\x12\x1c.lnrpc.ChangePasswordRequest\x1a\x1d.lnrpc.ChangePasswordResponse\"\x1d\x82\xd3\xe4\x93\x02\x17\"\x12/v1/changepassword:\x01*2\xe1(\n\tLightning\x12j\n\rWalletBalance\x12\x1b.lnrpc.WalletBalanceRequest\x1a\x1c.lnrpc.WalletBalanceResponse\"\x1e\x82\xd3\xe4\x93\x02\x18\x12\x16/v1/balance/blockchain\x12k\n\x0e\x43hannelBalance\x12\x1c.lnrpc.ChannelBalanceRequest\x1a\x1d.lnrpc.ChannelBalanceResponse\"\x1c\x82\xd3\xe4\x93\x02\x16\x12\x14/v1/balance/channels\x12\x65\n\x0fGetTransactions\x12\x1d.lnrpc.GetTransactionsRequest\x1a\x19.lnrpc.TransactionDetails\"\x18\x82\xd3\xe4\x93\x02\x12\x12\x10/v1/transactions\x12\x62\n\x0b\x45stimateFee\x12\x19.lnrpc.EstimateFeeRequest\x1a\x1a.lnrpc.EstimateFeeResponse\"\x1c\x82\xd3\xe4\x93\x02\x16\x12\x14/v1/transactions/fee\x12[\n\tSendCoins\x12\x17.lnrpc.SendCoinsRequest\x1a\x18.lnrpc.SendCoinsResponse\"\x1b\x82\xd3\xe4\x93\x02\x15\"\x10/v1/transactions:\x01*\x12W\n\x0bListUnspent\x12\x19.lnrpc.ListUnspentRequest\x1a\x1a.lnrpc.ListUnspentResponse\"\x11\x82\xd3\xe4\x93\x02\x0b\x12\t/v1/utxos\x12L\n\x15SubscribeTransactions\x12\x1d.lnrpc.GetTransactionsRequest\x1a\x12.lnrpc.Transaction0\x01\x12;\n\x08SendMany\x12\x16.lnrpc.SendManyRequest\x1a\x17.lnrpc.SendManyResponse\x12Y\n\nNewAddress\x12\x18.lnrpc.NewAddressRequest\x1a\x19.lnrpc.NewAddressResponse\"\x16\x82\xd3\xe4\x93\x02\x10\x12\x0e/v1/newaddress\x12`\n\x0bSignMessage\x12\x19.lnrpc.SignMessageRequest\x1a\x1a.lnrpc.SignMessageResponse\"\x1a\x82\xd3\xe4\x93\x02\x14\"\x0f/v1/signmessage:\x01*\x12h\n\rVerifyMessage\x12\x1b.lnrpc.VerifyMessageRequest\x1a\x1c.lnrpc.VerifyMessageResponse\"\x1c\x82\xd3\xe4\x93\x02\x16\"\x11/v1/verifymessage:\x01*\x12Z\n\x0b\x43onnectPeer\x12\x19.lnrpc.ConnectPeerRequest\x1a\x1a.lnrpc.ConnectPeerResponse\"\x14\x82\xd3\xe4\x93\x02\x0e\"\t/v1/peers:\x01*\x12j\n\x0e\x44isconnectPeer\x12\x1c.lnrpc.DisconnectPeerRequest\x1a\x1d.lnrpc.DisconnectPeerResponse\"\x1b\x82\xd3\xe4\x93\x02\x15*\x13/v1/peers/{pub_key}\x12Q\n\tListPeers\x12\x17.lnrpc.ListPeersRequest\x1a\x18.lnrpc.ListPeersResponse\"\x11\x82\xd3\xe4\x93\x02\x0b\x12\t/v1/peers\x12G\n\x13SubscribePeerEvents\x12\x1c.lnrpc.PeerEventSubscription\x1a\x10.lnrpc.PeerEvent0\x01\x12M\n\x07GetInfo\x12\x15.lnrpc.GetInfoRequest\x1a\x16.lnrpc.GetInfoResponse\"\x13\x82\xd3\xe4\x93\x02\r\x12\x0b/v1/getinfo\x12n\n\x0fPendingChannels\x12\x1d.lnrpc.PendingChannelsRequest\x1a\x1e.lnrpc.PendingChannelsResponse\"\x1c\x82\xd3\xe4\x93\x02\x16\x12\x14/v1/channels/pending\x12]\n\x0cListChannels\x12\x1a.lnrpc.ListChannelsRequest\x1a\x1b.lnrpc.ListChannelsResponse\"\x14\x82\xd3\xe4\x93\x02\x0e\x12\x0c/v1/channels\x12V\n\x16SubscribeChannelEvents\x12\x1f.lnrpc.ChannelEventSubscription\x1a\x19.lnrpc.ChannelEventUpdate0\x01\x12j\n\x0e\x43losedChannels\x12\x1c.lnrpc.ClosedChannelsRequest\x1a\x1d.lnrpc.ClosedChannelsResponse\"\x1b\x82\xd3\xe4\x93\x02\x15\x12\x13/v1/channels/closed\x12Z\n\x0fOpenChannelSync\x12\x19.lnrpc.OpenChannelRequest\x1a\x13.lnrpc.ChannelPoint\"\x17\x82\xd3\xe4\x93\x02\x11\"\x0c/v1/channels:\x01*\x12\x43\n\x0bOpenChannel\x12\x19.lnrpc.OpenChannelRequest\x1a\x17.lnrpc.OpenStatusUpdate0\x01\x12L\n\x10\x46undingStateStep\x12\x1b.lnrpc.FundingTransitionMsg\x1a\x1b.lnrpc.FundingStateStepResp\x12P\n\x0f\x43hannelAcceptor\x12\x1c.lnrpc.ChannelAcceptResponse\x1a\x1b.lnrpc.ChannelAcceptRequest(\x01\x30\x01\x12\x9a\x01\n\x0c\x43loseChannel\x12\x1a.lnrpc.CloseChannelRequest\x1a\x18.lnrpc.CloseStatusUpdate\"R\x82\xd3\xe4\x93\x02L*J/v1/channels/{channel_point.funding_txid_str}/{channel_point.output_index}0\x01\x12\xa9\x01\n\x0e\x41\x62\x61ndonChannel\x12\x1c.lnrpc.AbandonChannelRequest\x1a\x1d.lnrpc.AbandonChannelResponse\"Z\x82\xd3\xe4\x93\x02T*R/v1/channels/abandon/{channel_point.funding_txid_str}/{channel_point.output_index}\x12:\n\x0bSendPayment\x12\x12.lnrpc.SendRequest\x1a\x13.lnrpc.SendResponse(\x01\x30\x01\x12`\n\x0fSendPaymentSync\x12\x12.lnrpc.SendRequest\x1a\x13.lnrpc.SendResponse\"$\x82\xd3\xe4\x93\x02\x1e\"\x19/v1/channels/transactions:\x01*\x12\x41\n\x0bSendToRoute\x12\x19.lnrpc.SendToRouteRequest\x1a\x13.lnrpc.SendResponse(\x01\x30\x01\x12m\n\x0fSendToRouteSync\x12\x19.lnrpc.SendToRouteRequest\x1a\x13.lnrpc.SendResponse\"*\x82\xd3\xe4\x93\x02$\"\x1f/v1/channels/transactions/route:\x01*\x12P\n\nAddInvoice\x12\x0e.lnrpc.Invoice\x1a\x19.lnrpc.AddInvoiceResponse\"\x17\x82\xd3\xe4\x93\x02\x11\"\x0c/v1/invoices:\x01*\x12[\n\x0cListInvoices\x12\x19.lnrpc.ListInvoiceRequest\x1a\x1a.lnrpc.ListInvoiceResponse\"\x14\x82\xd3\xe4\x93\x02\x0e\x12\x0c/v1/invoices\x12U\n\rLookupInvoice\x12\x12.lnrpc.PaymentHash\x1a\x0e.lnrpc.Invoice\" \x82\xd3\xe4\x93\x02\x1a\x12\x18/v1/invoice/{r_hash_str}\x12\x61\n\x11SubscribeInvoices\x12\x1a.lnrpc.InvoiceSubscription\x1a\x0e.lnrpc.Invoice\"\x1e\x82\xd3\xe4\x93\x02\x18\x12\x16/v1/invoices/subscribe0\x01\x12P\n\x0c\x44\x65\x63odePayReq\x12\x13.lnrpc.PayReqString\x1a\r.lnrpc.PayReq\"\x1c\x82\xd3\xe4\x93\x02\x16\x12\x14/v1/payreq/{pay_req}\x12]\n\x0cListPayments\x12\x1a.lnrpc.ListPaymentsRequest\x1a\x1b.lnrpc.ListPaymentsResponse\"\x14\x82\xd3\xe4\x93\x02\x0e\x12\x0c/v1/payments\x12l\n\x11\x44\x65leteAllPayments\x12\x1f.lnrpc.DeleteAllPaymentsRequest\x1a .lnrpc.DeleteAllPaymentsResponse\"\x14\x82\xd3\xe4\x93\x02\x0e*\x0c/v1/payments\x12S\n\rDescribeGraph\x12\x1a.lnrpc.ChannelGraphRequest\x1a\x13.lnrpc.ChannelGraph\"\x11\x82\xd3\xe4\x93\x02\x0b\x12\t/v1/graph\x12[\n\x0bGetChanInfo\x12\x16.lnrpc.ChanInfoRequest\x1a\x12.lnrpc.ChannelEdge\" \x82\xd3\xe4\x93\x02\x1a\x12\x18/v1/graph/edge/{chan_id}\x12X\n\x0bGetNodeInfo\x12\x16.lnrpc.NodeInfoRequest\x1a\x0f.lnrpc.NodeInfo\" \x82\xd3\xe4\x93\x02\x1a\x12\x18/v1/graph/node/{pub_key}\x12n\n\x0bQueryRoutes\x12\x19.lnrpc.QueryRoutesRequest\x1a\x1a.lnrpc.QueryRoutesResponse\"(\x82\xd3\xe4\x93\x02\"\x12 /v1/graph/routes/{pub_key}/{amt}\x12W\n\x0eGetNetworkInfo\x12\x19.lnrpc.NetworkInfoRequest\x1a\x12.lnrpc.NetworkInfo\"\x16\x82\xd3\xe4\x93\x02\x10\x12\x0e/v1/graph/info\x12\x35\n\nStopDaemon\x12\x12.lnrpc.StopRequest\x1a\x13.lnrpc.StopResponse\x12W\n\x15SubscribeChannelGraph\x12 .lnrpc.GraphTopologySubscription\x1a\x1a.lnrpc.GraphTopologyUpdate0\x01\x12\x41\n\nDebugLevel\x12\x18.lnrpc.DebugLevelRequest\x1a\x19.lnrpc.DebugLevelResponse\x12P\n\tFeeReport\x12\x17.lnrpc.FeeReportRequest\x1a\x18.lnrpc.FeeReportResponse\"\x10\x82\xd3\xe4\x93\x02\n\x12\x08/v1/fees\x12i\n\x13UpdateChannelPolicy\x12\x1a.lnrpc.PolicyUpdateRequest\x1a\x1b.lnrpc.PolicyUpdateResponse\"\x19\x82\xd3\xe4\x93\x02\x13\"\x0e/v1/chanpolicy:\x01*\x12m\n\x11\x46orwardingHistory\x12\x1f.lnrpc.ForwardingHistoryRequest\x1a .lnrpc.ForwardingHistoryResponse\"\x15\x82\xd3\xe4\x93\x02\x0f\"\n/v1/switch:\x01*\x12\xa3\x01\n\x13\x45xportChannelBackup\x12!.lnrpc.ExportChannelBackupRequest\x1a\x14.lnrpc.ChannelBackup\"S\x82\xd3\xe4\x93\x02M\x12K/v1/channels/backup/{chan_point.funding_txid_str}/{chan_point.output_index}\x12q\n\x17\x45xportAllChannelBackups\x12\x1e.lnrpc.ChanBackupExportRequest\x1a\x19.lnrpc.ChanBackupSnapshot\"\x1b\x82\xd3\xe4\x93\x02\x15\x12\x13/v1/channels/backup\x12u\n\x10VerifyChanBackup\x12\x19.lnrpc.ChanBackupSnapshot\x1a\x1f.lnrpc.VerifyChanBackupResponse\"%\x82\xd3\xe4\x93\x02\x1f\"\x1a/v1/channels/backup/verify:\x01*\x12~\n\x15RestoreChannelBackups\x12\x1f.lnrpc.RestoreChanBackupRequest\x1a\x1c.lnrpc.RestoreBackupResponse\"&\x82\xd3\xe4\x93\x02 \"\x1b/v1/channels/backup/restore:\x01*\x12Z\n\x17SubscribeChannelBackups\x12 .lnrpc.ChannelBackupSubscription\x1a\x19.lnrpc.ChanBackupSnapshot\"\x00\x30\x01\x12`\n\x0c\x42\x61keMacaroon\x12\x1a.lnrpc.BakeMacaroonRequest\x1a\x1b.lnrpc.BakeMacaroonResponse\"\x17\x82\xd3\xe4\x93\x02\x11\"\x0c/v1/macaroon:\x01*B\'Z%github.com/lightningnetwork/lnd/lnrpcb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -51,8 +51,8 @@ _ADDRESSTYPE = _descriptor.EnumDescriptor( ], containing_type=None, serialized_options=None, - serialized_start=20081, - serialized_end=20206, + serialized_start=23194, + serialized_end=23319, ) _sym_db.RegisterEnumDescriptor(_ADDRESSTYPE) @@ -78,12 +78,95 @@ _INVOICEHTLCSTATE = _descriptor.EnumDescriptor( ], containing_type=None, serialized_options=None, - serialized_start=20208, - serialized_end=20267, + serialized_start=23321, + serialized_end=23380, ) _sym_db.RegisterEnumDescriptor(_INVOICEHTLCSTATE) InvoiceHTLCState = enum_type_wrapper.EnumTypeWrapper(_INVOICEHTLCSTATE) +_FEATUREBIT = _descriptor.EnumDescriptor( + name='FeatureBit', + full_name='lnrpc.FeatureBit', + filename=None, + file=DESCRIPTOR, + values=[ + _descriptor.EnumValueDescriptor( + name='DATALOSS_PROTECT_REQ', index=0, number=0, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='DATALOSS_PROTECT_OPT', index=1, number=1, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='INITIAL_ROUING_SYNC', index=2, number=3, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='UPFRONT_SHUTDOWN_SCRIPT_REQ', index=3, number=4, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='UPFRONT_SHUTDOWN_SCRIPT_OPT', index=4, number=5, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='GOSSIP_QUERIES_REQ', index=5, number=6, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='GOSSIP_QUERIES_OPT', index=6, number=7, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='TLV_ONION_REQ', index=7, number=8, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='TLV_ONION_OPT', index=8, number=9, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='EXT_GOSSIP_QUERIES_REQ', index=9, number=10, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='EXT_GOSSIP_QUERIES_OPT', index=10, number=11, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='STATIC_REMOTE_KEY_REQ', index=11, number=12, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='STATIC_REMOTE_KEY_OPT', index=12, number=13, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='PAYMENT_ADDR_REQ', index=13, number=14, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='PAYMENT_ADDR_OPT', index=14, number=15, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='MPP_REQ', index=15, number=16, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='MPP_OPT', index=16, number=17, + serialized_options=None, + type=None), + ], + containing_type=None, + serialized_options=None, + serialized_start=23383, + serialized_end=23804, +) +_sym_db.RegisterEnumDescriptor(_FEATUREBIT) + +FeatureBit = enum_type_wrapper.EnumTypeWrapper(_FEATUREBIT) WITNESS_PUBKEY_HASH = 0 NESTED_PUBKEY_HASH = 1 UNUSED_WITNESS_PUBKEY_HASH = 2 @@ -91,6 +174,23 @@ UNUSED_NESTED_PUBKEY_HASH = 3 ACCEPTED = 0 SETTLED = 1 CANCELED = 2 +DATALOSS_PROTECT_REQ = 0 +DATALOSS_PROTECT_OPT = 1 +INITIAL_ROUING_SYNC = 3 +UPFRONT_SHUTDOWN_SCRIPT_REQ = 4 +UPFRONT_SHUTDOWN_SCRIPT_OPT = 5 +GOSSIP_QUERIES_REQ = 6 +GOSSIP_QUERIES_OPT = 7 +TLV_ONION_REQ = 8 +TLV_ONION_OPT = 9 +EXT_GOSSIP_QUERIES_REQ = 10 +EXT_GOSSIP_QUERIES_OPT = 11 +STATIC_REMOTE_KEY_REQ = 12 +STATIC_REMOTE_KEY_OPT = 13 +PAYMENT_ADDR_REQ = 14 +PAYMENT_ADDR_OPT = 15 +MPP_REQ = 16 +MPP_OPT = 17 _CHANNELCLOSESUMMARY_CLOSURETYPE = _descriptor.EnumDescriptor( @@ -126,8 +226,8 @@ _CHANNELCLOSESUMMARY_CLOSURETYPE = _descriptor.EnumDescriptor( ], containing_type=None, serialized_options=None, - serialized_start=5658, - serialized_end=5796, + serialized_start=5874, + serialized_end=6012, ) _sym_db.RegisterEnumDescriptor(_CHANNELCLOSESUMMARY_CLOSURETYPE) @@ -152,11 +252,33 @@ _PEER_SYNCTYPE = _descriptor.EnumDescriptor( ], containing_type=None, serialized_options=None, - serialized_start=6320, - serialized_end=6383, + serialized_start=6656, + serialized_end=6719, ) _sym_db.RegisterEnumDescriptor(_PEER_SYNCTYPE) +_PEEREVENT_EVENTTYPE = _descriptor.EnumDescriptor( + name='EventType', + full_name='lnrpc.PeerEvent.EventType', + filename=None, + file=DESCRIPTOR, + values=[ + _descriptor.EnumValueDescriptor( + name='PEER_ONLINE', index=0, number=0, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='PEER_OFFLINE', index=1, number=1, + serialized_options=None, + type=None), + ], + containing_type=None, + serialized_options=None, + serialized_start=6910, + serialized_end=6956, +) +_sym_db.RegisterEnumDescriptor(_PEEREVENT_EVENTTYPE) + _CHANNELEVENTUPDATE_UPDATETYPE = _descriptor.EnumDescriptor( name='UpdateType', full_name='lnrpc.ChannelEventUpdate.UpdateType', @@ -182,8 +304,8 @@ _CHANNELEVENTUPDATE_UPDATETYPE = _descriptor.EnumDescriptor( ], containing_type=None, serialized_options=None, - serialized_start=10613, - serialized_end=10705, + serialized_start=11984, + serialized_end=12076, ) _sym_db.RegisterEnumDescriptor(_CHANNELEVENTUPDATE_UPDATETYPE) @@ -212,8 +334,8 @@ _INVOICE_INVOICESTATE = _descriptor.EnumDescriptor( ], containing_type=None, serialized_options=None, - serialized_start=15586, - serialized_end=15651, + serialized_start=17798, + serialized_end=17863, ) _sym_db.RegisterEnumDescriptor(_INVOICE_INVOICESTATE) @@ -242,11 +364,37 @@ _PAYMENT_PAYMENTSTATUS = _descriptor.EnumDescriptor( ], containing_type=None, serialized_options=None, - serialized_start=16969, - serialized_end=17039, + serialized_start=19466, + serialized_end=19536, ) _sym_db.RegisterEnumDescriptor(_PAYMENT_PAYMENTSTATUS) +_HTLCATTEMPT_HTLCSTATUS = _descriptor.EnumDescriptor( + name='HTLCStatus', + full_name='lnrpc.HTLCAttempt.HTLCStatus', + filename=None, + file=DESCRIPTOR, + values=[ + _descriptor.EnumValueDescriptor( + name='IN_FLIGHT', index=0, number=0, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='SUCCEEDED', index=1, number=1, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='FAILED', index=2, number=2, + serialized_options=None, + type=None), + ], + containing_type=None, + serialized_options=None, + serialized_start=19729, + serialized_end=19783, +) +_sym_db.RegisterEnumDescriptor(_HTLCATTEMPT_HTLCSTATUS) + _GENSEEDREQUEST = _descriptor.Descriptor( name='GenSeedRequest', @@ -761,7 +909,14 @@ _FEELIMIT = _descriptor.Descriptor( is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='percent', full_name='lnrpc.FeeLimit.percent', index=1, + name='fixed_msat', full_name='lnrpc.FeeLimit.fixed_msat', index=1, + number=3, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='percent', full_name='lnrpc.FeeLimit.percent', index=2, number=2, type=3, cpp_type=2, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, @@ -783,26 +938,26 @@ _FEELIMIT = _descriptor.Descriptor( index=0, containing_type=None, fields=[]), ], serialized_start=1290, - serialized_end=1345, + serialized_end=1367, ) -_SENDREQUEST_DESTTLVENTRY = _descriptor.Descriptor( - name='DestTlvEntry', - full_name='lnrpc.SendRequest.DestTlvEntry', +_SENDREQUEST_DESTCUSTOMRECORDSENTRY = _descriptor.Descriptor( + name='DestCustomRecordsEntry', + full_name='lnrpc.SendRequest.DestCustomRecordsEntry', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='key', full_name='lnrpc.SendRequest.DestTlvEntry.key', index=0, + name='key', full_name='lnrpc.SendRequest.DestCustomRecordsEntry.key', index=0, number=1, type=4, cpp_type=4, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='value', full_name='lnrpc.SendRequest.DestTlvEntry.value', index=1, + name='value', full_name='lnrpc.SendRequest.DestCustomRecordsEntry.value', index=1, number=2, type=12, cpp_type=9, label=1, has_default_value=False, default_value=_b(""), message_type=None, enum_type=None, containing_type=None, @@ -820,8 +975,8 @@ _SENDREQUEST_DESTTLVENTRY = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=1650, - serialized_end=1696, + serialized_start=1814, + serialized_end=1870, ) _SENDREQUEST = _descriptor.Descriptor( @@ -844,7 +999,7 @@ _SENDREQUEST = _descriptor.Descriptor( has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\030\001'), file=DESCRIPTOR), _descriptor.FieldDescriptor( name='amt', full_name='lnrpc.SendRequest.amt', index=2, number=3, type=3, cpp_type=2, label=1, @@ -853,65 +1008,93 @@ _SENDREQUEST = _descriptor.Descriptor( is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='payment_hash', full_name='lnrpc.SendRequest.payment_hash', index=3, + name='amt_msat', full_name='lnrpc.SendRequest.amt_msat', index=3, + number=12, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='payment_hash', full_name='lnrpc.SendRequest.payment_hash', index=4, number=4, type=12, cpp_type=9, label=1, has_default_value=False, default_value=_b(""), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='payment_hash_string', full_name='lnrpc.SendRequest.payment_hash_string', index=4, + name='payment_hash_string', full_name='lnrpc.SendRequest.payment_hash_string', index=5, number=5, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\030\001'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='payment_request', full_name='lnrpc.SendRequest.payment_request', index=5, + name='payment_request', full_name='lnrpc.SendRequest.payment_request', index=6, number=6, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='final_cltv_delta', full_name='lnrpc.SendRequest.final_cltv_delta', index=6, + name='final_cltv_delta', full_name='lnrpc.SendRequest.final_cltv_delta', index=7, number=7, type=5, cpp_type=1, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='fee_limit', full_name='lnrpc.SendRequest.fee_limit', index=7, + name='fee_limit', full_name='lnrpc.SendRequest.fee_limit', index=8, number=8, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='outgoing_chan_id', full_name='lnrpc.SendRequest.outgoing_chan_id', index=8, + name='outgoing_chan_id', full_name='lnrpc.SendRequest.outgoing_chan_id', index=9, number=9, type=4, cpp_type=4, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=_b('0\001'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='cltv_limit', full_name='lnrpc.SendRequest.cltv_limit', index=9, + name='last_hop_pubkey', full_name='lnrpc.SendRequest.last_hop_pubkey', index=10, + number=13, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=_b(""), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='cltv_limit', full_name='lnrpc.SendRequest.cltv_limit', index=11, number=10, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='dest_tlv', full_name='lnrpc.SendRequest.dest_tlv', index=10, + name='dest_custom_records', full_name='lnrpc.SendRequest.dest_custom_records', index=12, number=11, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='allow_self_payment', full_name='lnrpc.SendRequest.allow_self_payment', index=13, + number=14, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='dest_features', full_name='lnrpc.SendRequest.dest_features', index=14, + number=15, type=14, cpp_type=8, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), ], extensions=[ ], - nested_types=[_SENDREQUEST_DESTTLVENTRY, ], + nested_types=[_SENDREQUEST_DESTCUSTOMRECORDSENTRY, ], enum_types=[ ], serialized_options=None, @@ -920,8 +1103,8 @@ _SENDREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=1348, - serialized_end=1696, + serialized_start=1370, + serialized_end=1870, ) @@ -972,8 +1155,8 @@ _SENDRESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=1699, - serialized_end=1883, + serialized_start=1873, + serialized_end=2057, ) @@ -997,7 +1180,7 @@ _SENDTOROUTEREQUEST = _descriptor.Descriptor( has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\030\001'), file=DESCRIPTOR), _descriptor.FieldDescriptor( name='route', full_name='lnrpc.SendToRouteRequest.route', index=2, number=4, type=11, cpp_type=10, label=1, @@ -1017,8 +1200,8 @@ _SENDTOROUTEREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=1885, - serialized_end=1991, + serialized_start=2059, + serialized_end=2169, ) @@ -1132,8 +1315,8 @@ _CHANNELACCEPTREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=1994, - serialized_end=2303, + serialized_start=2172, + serialized_end=2481, ) @@ -1170,8 +1353,8 @@ _CHANNELACCEPTRESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=2305, - serialized_end=2369, + serialized_start=2483, + serialized_end=2547, ) @@ -1218,8 +1401,8 @@ _CHANNELPOINT = _descriptor.Descriptor( name='funding_txid', full_name='lnrpc.ChannelPoint.funding_txid', index=0, containing_type=None, fields=[]), ], - serialized_start=2372, - serialized_end=2534, + serialized_start=2550, + serialized_end=2712, ) @@ -1263,8 +1446,8 @@ _OUTPOINT = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=2536, - serialized_end=2642, + serialized_start=2714, + serialized_end=2820, ) @@ -1301,8 +1484,8 @@ _LIGHTNINGADDRESS = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=2644, - serialized_end=2706, + serialized_start=2822, + serialized_end=2884, ) @@ -1339,8 +1522,8 @@ _ESTIMATEFEEREQUEST_ADDRTOAMOUNTENTRY = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=2819, - serialized_end=2870, + serialized_start=2997, + serialized_end=3048, ) _ESTIMATEFEEREQUEST = _descriptor.Descriptor( @@ -1376,8 +1559,8 @@ _ESTIMATEFEEREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=2709, - serialized_end=2870, + serialized_start=2887, + serialized_end=3048, ) @@ -1414,8 +1597,8 @@ _ESTIMATEFEERESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=2872, - serialized_end=2971, + serialized_start=3050, + serialized_end=3149, ) @@ -1452,8 +1635,8 @@ _SENDMANYREQUEST_ADDRTOAMOUNTENTRY = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=2819, - serialized_end=2870, + serialized_start=2997, + serialized_end=3048, ) _SENDMANYREQUEST = _descriptor.Descriptor( @@ -1496,8 +1679,8 @@ _SENDMANYREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=2974, - serialized_end=3151, + serialized_start=3152, + serialized_end=3329, ) @@ -1527,8 +1710,8 @@ _SENDMANYRESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=3153, - serialized_end=3191, + serialized_start=3331, + serialized_end=3369, ) @@ -1586,8 +1769,8 @@ _SENDCOINSREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=3193, - serialized_end=3302, + serialized_start=3371, + serialized_end=3480, ) @@ -1617,8 +1800,8 @@ _SENDCOINSRESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=3304, - serialized_end=3343, + serialized_start=3482, + serialized_end=3521, ) @@ -1655,8 +1838,8 @@ _LISTUNSPENTREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=3345, - serialized_end=3403, + serialized_start=3523, + serialized_end=3581, ) @@ -1686,8 +1869,8 @@ _LISTUNSPENTRESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=3405, - serialized_end=3461, + serialized_start=3583, + serialized_end=3639, ) @@ -1717,8 +1900,8 @@ _NEWADDRESSREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=3463, - serialized_end=3516, + serialized_start=3641, + serialized_end=3694, ) @@ -1748,8 +1931,8 @@ _NEWADDRESSRESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=3518, - serialized_end=3564, + serialized_start=3696, + serialized_end=3742, ) @@ -1779,8 +1962,8 @@ _SIGNMESSAGEREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=3566, - serialized_end=3604, + serialized_start=3744, + serialized_end=3782, ) @@ -1810,8 +1993,8 @@ _SIGNMESSAGERESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=3606, - serialized_end=3657, + serialized_start=3784, + serialized_end=3835, ) @@ -1848,8 +2031,8 @@ _VERIFYMESSAGEREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=3659, - serialized_end=3729, + serialized_start=3837, + serialized_end=3907, ) @@ -1886,8 +2069,8 @@ _VERIFYMESSAGERESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=3731, - serialized_end=3800, + serialized_start=3909, + serialized_end=3978, ) @@ -1924,8 +2107,8 @@ _CONNECTPEERREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=3802, - serialized_end=3875, + serialized_start=3980, + serialized_end=4053, ) @@ -1948,8 +2131,8 @@ _CONNECTPEERRESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=3877, - serialized_end=3898, + serialized_start=4055, + serialized_end=4076, ) @@ -1979,8 +2162,8 @@ _DISCONNECTPEERREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=3900, - serialized_end=3949, + serialized_start=4078, + serialized_end=4127, ) @@ -2003,8 +2186,8 @@ _DISCONNECTPEERRESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=3951, - serialized_end=3975, + serialized_start=4129, + serialized_end=4153, ) @@ -2055,8 +2238,8 @@ _HTLC = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=3978, - serialized_end=4112, + serialized_start=4156, + serialized_end=4290, ) @@ -2235,6 +2418,13 @@ _CHANNEL = _descriptor.Descriptor( message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, json_name='uptime', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='close_address', full_name='lnrpc.Channel.close_address', index=24, + number=25, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='close_address', file=DESCRIPTOR), ], extensions=[ ], @@ -2247,8 +2437,8 @@ _CHANNEL = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=4115, - serialized_end=5045, + serialized_start=4293, + serialized_end=5261, ) @@ -2299,8 +2489,8 @@ _LISTCHANNELSREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=5047, - serialized_end=5155, + serialized_start=5263, + serialized_end=5371, ) @@ -2330,8 +2520,8 @@ _LISTCHANNELSRESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=5157, - serialized_end=5223, + serialized_start=5373, + serialized_end=5439, ) @@ -2425,8 +2615,8 @@ _CHANNELCLOSESUMMARY = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=5226, - serialized_end=5796, + serialized_start=5442, + serialized_end=6012, ) @@ -2491,8 +2681,8 @@ _CLOSEDCHANNELSREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=5799, - serialized_end=5947, + serialized_start=6015, + serialized_end=6163, ) @@ -2522,11 +2712,48 @@ _CLOSEDCHANNELSRESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=5949, - serialized_end=6029, + serialized_start=6165, + serialized_end=6245, ) +_PEER_FEATURESENTRY = _descriptor.Descriptor( + name='FeaturesEntry', + full_name='lnrpc.Peer.FeaturesEntry', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='key', full_name='lnrpc.Peer.FeaturesEntry.key', index=0, + number=1, type=13, cpp_type=3, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='value', full_name='lnrpc.Peer.FeaturesEntry.value', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=_b('8\001'), + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=6591, + serialized_end=6654, +) + _PEER = _descriptor.Descriptor( name='Peer', full_name='lnrpc.Peer', @@ -2597,10 +2824,17 @@ _PEER = _descriptor.Descriptor( message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, json_name='sync_type', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='features', full_name='lnrpc.Peer.features', index=9, + number=11, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='features', file=DESCRIPTOR), ], extensions=[ ], - nested_types=[], + nested_types=[_PEER_FEATURESENTRY, ], enum_types=[ _PEER_SYNCTYPE, ], @@ -2610,8 +2844,8 @@ _PEER = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=6032, - serialized_end=6383, + serialized_start=6248, + serialized_end=6719, ) @@ -2634,8 +2868,8 @@ _LISTPEERSREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=6385, - serialized_end=6403, + serialized_start=6721, + serialized_end=6739, ) @@ -2665,8 +2899,71 @@ _LISTPEERSRESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=6405, - serialized_end=6459, + serialized_start=6741, + serialized_end=6795, +) + + +_PEEREVENTSUBSCRIPTION = _descriptor.Descriptor( + name='PeerEventSubscription', + full_name='lnrpc.PeerEventSubscription', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=6797, + serialized_end=6820, +) + + +_PEEREVENT = _descriptor.Descriptor( + name='PeerEvent', + full_name='lnrpc.PeerEvent', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='pub_key', full_name='lnrpc.PeerEvent.pub_key', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='pub_key', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='type', full_name='lnrpc.PeerEvent.type', index=1, + number=2, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='type', file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _PEEREVENT_EVENTTYPE, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=6823, + serialized_end=6956, ) @@ -2689,11 +2986,48 @@ _GETINFOREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=6461, - serialized_end=6477, + serialized_start=6958, + serialized_end=6974, ) +_GETINFORESPONSE_FEATURESENTRY = _descriptor.Descriptor( + name='FeaturesEntry', + full_name='lnrpc.GetInfoResponse.FeaturesEntry', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='key', full_name='lnrpc.GetInfoResponse.FeaturesEntry.key', index=0, + number=1, type=13, cpp_type=3, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='value', full_name='lnrpc.GetInfoResponse.FeaturesEntry.value', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=_b('8\001'), + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=6591, + serialized_end=6654, +) + _GETINFORESPONSE = _descriptor.Descriptor( name='GetInfoResponse', full_name='lnrpc.GetInfoResponse', @@ -2702,75 +3036,75 @@ _GETINFORESPONSE = _descriptor.Descriptor( containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='identity_pubkey', full_name='lnrpc.GetInfoResponse.identity_pubkey', index=0, + name='version', full_name='lnrpc.GetInfoResponse.version', index=0, + number=14, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='version', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='identity_pubkey', full_name='lnrpc.GetInfoResponse.identity_pubkey', index=1, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, json_name='identity_pubkey', file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='alias', full_name='lnrpc.GetInfoResponse.alias', index=1, + name='alias', full_name='lnrpc.GetInfoResponse.alias', index=2, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, json_name='alias', file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='num_pending_channels', full_name='lnrpc.GetInfoResponse.num_pending_channels', index=2, + name='color', full_name='lnrpc.GetInfoResponse.color', index=3, + number=17, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='color', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='num_pending_channels', full_name='lnrpc.GetInfoResponse.num_pending_channels', index=4, number=3, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, json_name='num_pending_channels', file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='num_active_channels', full_name='lnrpc.GetInfoResponse.num_active_channels', index=3, + name='num_active_channels', full_name='lnrpc.GetInfoResponse.num_active_channels', index=5, number=4, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, json_name='num_active_channels', file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='num_peers', full_name='lnrpc.GetInfoResponse.num_peers', index=4, + name='num_inactive_channels', full_name='lnrpc.GetInfoResponse.num_inactive_channels', index=6, + number=15, type=13, cpp_type=3, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='num_inactive_channels', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='num_peers', full_name='lnrpc.GetInfoResponse.num_peers', index=7, number=5, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, json_name='num_peers', file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='block_height', full_name='lnrpc.GetInfoResponse.block_height', index=5, + name='block_height', full_name='lnrpc.GetInfoResponse.block_height', index=8, number=6, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, json_name='block_height', file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='block_hash', full_name='lnrpc.GetInfoResponse.block_hash', index=6, + name='block_hash', full_name='lnrpc.GetInfoResponse.block_hash', index=9, number=8, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, json_name='block_hash', file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='synced_to_chain', full_name='lnrpc.GetInfoResponse.synced_to_chain', index=7, - number=9, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, json_name='synced_to_chain', file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='testnet', full_name='lnrpc.GetInfoResponse.testnet', index=8, - number=10, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=_b('\030\001'), json_name='testnet', file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='uris', full_name='lnrpc.GetInfoResponse.uris', index=9, - number=12, type=9, cpp_type=9, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, json_name='uris', file=DESCRIPTOR), _descriptor.FieldDescriptor( name='best_header_timestamp', full_name='lnrpc.GetInfoResponse.best_header_timestamp', index=10, number=13, type=3, cpp_type=2, label=1, @@ -2779,44 +3113,51 @@ _GETINFORESPONSE = _descriptor.Descriptor( is_extension=False, extension_scope=None, serialized_options=None, json_name='best_header_timestamp', file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='version', full_name='lnrpc.GetInfoResponse.version', index=11, - number=14, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), + name='synced_to_chain', full_name='lnrpc.GetInfoResponse.synced_to_chain', index=11, + number=9, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, json_name='version', file=DESCRIPTOR), + serialized_options=None, json_name='synced_to_chain', file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='num_inactive_channels', full_name='lnrpc.GetInfoResponse.num_inactive_channels', index=12, - number=15, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, + name='synced_to_graph', full_name='lnrpc.GetInfoResponse.synced_to_graph', index=12, + number=18, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, json_name='num_inactive_channels', file=DESCRIPTOR), + serialized_options=None, json_name='synced_to_graph', file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='chains', full_name='lnrpc.GetInfoResponse.chains', index=13, + name='testnet', full_name='lnrpc.GetInfoResponse.testnet', index=13, + number=10, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\030\001'), json_name='testnet', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='chains', full_name='lnrpc.GetInfoResponse.chains', index=14, number=16, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, json_name='chains', file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='color', full_name='lnrpc.GetInfoResponse.color', index=14, - number=17, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), + name='uris', full_name='lnrpc.GetInfoResponse.uris', index=15, + number=12, type=9, cpp_type=9, label=3, + has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, json_name='color', file=DESCRIPTOR), + serialized_options=None, json_name='uris', file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='synced_to_graph', full_name='lnrpc.GetInfoResponse.synced_to_graph', index=15, - number=18, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, + name='features', full_name='lnrpc.GetInfoResponse.features', index=16, + number=19, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, json_name='synced_to_graph', file=DESCRIPTOR), + serialized_options=None, json_name='features', file=DESCRIPTOR), ], extensions=[ ], - nested_types=[], + nested_types=[_GETINFORESPONSE_FEATURESENTRY, ], enum_types=[ ], serialized_options=None, @@ -2825,8 +3166,8 @@ _GETINFORESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=6480, - serialized_end=7095, + serialized_start=6977, + serialized_end=7723, ) @@ -2863,8 +3204,8 @@ _CHAIN = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=7097, - serialized_end=7152, + serialized_start=7725, + serialized_end=7780, ) @@ -2908,8 +3249,8 @@ _CONFIRMATIONUPDATE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=7154, - serialized_end=7239, + serialized_start=7782, + serialized_end=7867, ) @@ -2939,8 +3280,8 @@ _CHANNELOPENUPDATE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=7241, - serialized_end=7319, + serialized_start=7869, + serialized_end=7947, ) @@ -2977,8 +3318,8 @@ _CHANNELCLOSEUPDATE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=7321, - serialized_end=7403, + serialized_start=7949, + serialized_end=8031, ) @@ -3017,6 +3358,13 @@ _CLOSECHANNELREQUEST = _descriptor.Descriptor( message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='delivery_address', full_name='lnrpc.CloseChannelRequest.delivery_address', index=4, + number=5, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='delivery_address', file=DESCRIPTOR), ], extensions=[ ], @@ -3029,8 +3377,8 @@ _CLOSECHANNELREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=7405, - serialized_end=7528, + serialized_start=8034, + serialized_end=8201, ) @@ -3070,8 +3418,8 @@ _CLOSESTATUSUPDATE = _descriptor.Descriptor( name='update', full_name='lnrpc.CloseStatusUpdate.update', index=0, containing_type=None, fields=[]), ], - serialized_start=7531, - serialized_end=7683, + serialized_start=8204, + serialized_end=8356, ) @@ -3108,8 +3456,8 @@ _PENDINGUPDATE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=7685, - serialized_end=7756, + serialized_start=8358, + serialized_end=8429, ) @@ -3133,7 +3481,7 @@ _OPENCHANNELREQUEST = _descriptor.Descriptor( has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, json_name='node_pubkey_string', file=DESCRIPTOR), + serialized_options=_b('\030\001'), json_name='node_pubkey_string', file=DESCRIPTOR), _descriptor.FieldDescriptor( name='local_funding_amount', full_name='lnrpc.OpenChannelRequest.local_funding_amount', index=2, number=4, type=3, cpp_type=2, label=1, @@ -3197,6 +3545,20 @@ _OPENCHANNELREQUEST = _descriptor.Descriptor( message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, json_name='spend_unconfirmed', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='close_address', full_name='lnrpc.OpenChannelRequest.close_address', index=11, + number=13, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='close_address', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='funding_shim', full_name='lnrpc.OpenChannelRequest.funding_shim', index=12, + number=14, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='funding_shim', file=DESCRIPTOR), ], extensions=[ ], @@ -3209,8 +3571,8 @@ _OPENCHANNELREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=7759, - serialized_end=8168, + serialized_start=8432, + serialized_end=8939, ) @@ -3235,6 +3597,13 @@ _OPENSTATUSUPDATE = _descriptor.Descriptor( message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, json_name='chan_open', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='pending_chan_id', full_name='lnrpc.OpenStatusUpdate.pending_chan_id', index=2, + number=4, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=_b(""), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='pending_chan_id', file=DESCRIPTOR), ], extensions=[ ], @@ -3250,8 +3619,273 @@ _OPENSTATUSUPDATE = _descriptor.Descriptor( name='update', full_name='lnrpc.OpenStatusUpdate.update', index=0, containing_type=None, fields=[]), ], - serialized_start=8171, - serialized_end=8317, + serialized_start=8942, + serialized_end=9130, +) + + +_KEYLOCATOR = _descriptor.Descriptor( + name='KeyLocator', + full_name='lnrpc.KeyLocator', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='key_family', full_name='lnrpc.KeyLocator.key_family', index=0, + number=1, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='key_index', full_name='lnrpc.KeyLocator.key_index', index=1, + number=2, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=9132, + serialized_end=9183, +) + + +_KEYDESCRIPTOR = _descriptor.Descriptor( + name='KeyDescriptor', + full_name='lnrpc.KeyDescriptor', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='raw_key_bytes', full_name='lnrpc.KeyDescriptor.raw_key_bytes', index=0, + number=1, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=_b(""), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='key_loc', full_name='lnrpc.KeyDescriptor.key_loc', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=9185, + serialized_end=9259, +) + + +_CHANPOINTSHIM = _descriptor.Descriptor( + name='ChanPointShim', + full_name='lnrpc.ChanPointShim', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='amt', full_name='lnrpc.ChanPointShim.amt', index=0, + number=1, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='chan_point', full_name='lnrpc.ChanPointShim.chan_point', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='local_key', full_name='lnrpc.ChanPointShim.local_key', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='remote_key', full_name='lnrpc.ChanPointShim.remote_key', index=3, + number=4, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=_b(""), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='pending_chan_id', full_name='lnrpc.ChanPointShim.pending_chan_id', index=4, + number=5, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=_b(""), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=9262, + serialized_end=9417, +) + + +_FUNDINGSHIM = _descriptor.Descriptor( + name='FundingShim', + full_name='lnrpc.FundingShim', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='chan_point_shim', full_name='lnrpc.FundingShim.chan_point_shim', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='shim', full_name='lnrpc.FundingShim.shim', + index=0, containing_type=None, fields=[]), + ], + serialized_start=9419, + serialized_end=9489, +) + + +_FUNDINGSHIMCANCEL = _descriptor.Descriptor( + name='FundingShimCancel', + full_name='lnrpc.FundingShimCancel', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='pending_chan_id', full_name='lnrpc.FundingShimCancel.pending_chan_id', index=0, + number=1, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=_b(""), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=9491, + serialized_end=9535, +) + + +_FUNDINGTRANSITIONMSG = _descriptor.Descriptor( + name='FundingTransitionMsg', + full_name='lnrpc.FundingTransitionMsg', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='shim_register', full_name='lnrpc.FundingTransitionMsg.shim_register', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='shim_cancel', full_name='lnrpc.FundingTransitionMsg.shim_cancel', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='trigger', full_name='lnrpc.FundingTransitionMsg.trigger', + index=0, containing_type=None, fields=[]), + ], + serialized_start=9537, + serialized_end=9664, +) + + +_FUNDINGSTATESTEPRESP = _descriptor.Descriptor( + name='FundingStateStepResp', + full_name='lnrpc.FundingStateStepResp', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=9666, + serialized_end=9688, ) @@ -3316,8 +3950,8 @@ _PENDINGHTLC = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=8320, - serialized_end=8527, + serialized_start=9691, + serialized_end=9898, ) @@ -3340,8 +3974,8 @@ _PENDINGCHANNELSREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=8529, - serialized_end=8553, + serialized_start=9900, + serialized_end=9924, ) @@ -3413,8 +4047,8 @@ _PENDINGCHANNELSRESPONSE_PENDINGCHANNEL = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=9076, - serialized_end=9392, + serialized_start=10447, + serialized_end=10763, ) _PENDINGCHANNELSRESPONSE_PENDINGOPENCHANNEL = _descriptor.Descriptor( @@ -3471,8 +4105,8 @@ _PENDINGCHANNELSRESPONSE_PENDINGOPENCHANNEL = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=9395, - serialized_end=9640, + serialized_start=10766, + serialized_end=11011, ) _PENDINGCHANNELSRESPONSE_WAITINGCLOSECHANNEL = _descriptor.Descriptor( @@ -3508,8 +4142,8 @@ _PENDINGCHANNELSRESPONSE_WAITINGCLOSECHANNEL = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=9642, - serialized_end=9765, + serialized_start=11013, + serialized_end=11136, ) _PENDINGCHANNELSRESPONSE_CLOSEDCHANNEL = _descriptor.Descriptor( @@ -3545,8 +4179,8 @@ _PENDINGCHANNELSRESPONSE_CLOSEDCHANNEL = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=9767, - serialized_end=9882, + serialized_start=11138, + serialized_end=11253, ) _PENDINGCHANNELSRESPONSE_FORCECLOSEDCHANNEL = _descriptor.Descriptor( @@ -3617,8 +4251,8 @@ _PENDINGCHANNELSRESPONSE_FORCECLOSEDCHANNEL = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=9885, - serialized_end=10248, + serialized_start=11256, + serialized_end=11619, ) _PENDINGCHANNELSRESPONSE = _descriptor.Descriptor( @@ -3675,8 +4309,8 @@ _PENDINGCHANNELSRESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=8556, - serialized_end=10248, + serialized_start=9927, + serialized_end=11619, ) @@ -3699,8 +4333,8 @@ _CHANNELEVENTSUBSCRIPTION = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=10250, - serialized_end=10276, + serialized_start=11621, + serialized_end=11647, ) @@ -3762,8 +4396,8 @@ _CHANNELEVENTUPDATE = _descriptor.Descriptor( name='channel', full_name='lnrpc.ChannelEventUpdate.channel', index=0, containing_type=None, fields=[]), ], - serialized_start=10279, - serialized_end=10716, + serialized_start=11650, + serialized_end=12087, ) @@ -3786,8 +4420,8 @@ _WALLETBALANCEREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=10718, - serialized_end=10740, + serialized_start=12089, + serialized_end=12111, ) @@ -3831,8 +4465,8 @@ _WALLETBALANCERESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=10743, - serialized_end=10900, + serialized_start=12114, + serialized_end=12271, ) @@ -3855,8 +4489,8 @@ _CHANNELBALANCEREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=10902, - serialized_end=10925, + serialized_start=12273, + serialized_end=12296, ) @@ -3893,11 +4527,48 @@ _CHANNELBALANCERESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=10927, - serialized_end=11029, + serialized_start=12298, + serialized_end=12400, ) +_QUERYROUTESREQUEST_DESTCUSTOMRECORDSENTRY = _descriptor.Descriptor( + name='DestCustomRecordsEntry', + full_name='lnrpc.QueryRoutesRequest.DestCustomRecordsEntry', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='key', full_name='lnrpc.QueryRoutesRequest.DestCustomRecordsEntry.key', index=0, + number=1, type=4, cpp_type=4, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='value', full_name='lnrpc.QueryRoutesRequest.DestCustomRecordsEntry.value', index=1, + number=2, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=_b(""), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=_b('8\001'), + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1814, + serialized_end=1870, +) + _QUERYROUTESREQUEST = _descriptor.Descriptor( name='QueryRoutesRequest', full_name='lnrpc.QueryRoutesRequest', @@ -3920,65 +4591,107 @@ _QUERYROUTESREQUEST = _descriptor.Descriptor( is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='final_cltv_delta', full_name='lnrpc.QueryRoutesRequest.final_cltv_delta', index=2, + name='amt_msat', full_name='lnrpc.QueryRoutesRequest.amt_msat', index=2, + number=12, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='final_cltv_delta', full_name='lnrpc.QueryRoutesRequest.final_cltv_delta', index=3, number=4, type=5, cpp_type=1, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='fee_limit', full_name='lnrpc.QueryRoutesRequest.fee_limit', index=3, + name='fee_limit', full_name='lnrpc.QueryRoutesRequest.fee_limit', index=4, number=5, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='ignored_nodes', full_name='lnrpc.QueryRoutesRequest.ignored_nodes', index=4, + name='ignored_nodes', full_name='lnrpc.QueryRoutesRequest.ignored_nodes', index=5, number=6, type=12, cpp_type=9, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='ignored_edges', full_name='lnrpc.QueryRoutesRequest.ignored_edges', index=5, + name='ignored_edges', full_name='lnrpc.QueryRoutesRequest.ignored_edges', index=6, number=7, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=_b('\030\001'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='source_pub_key', full_name='lnrpc.QueryRoutesRequest.source_pub_key', index=6, + name='source_pub_key', full_name='lnrpc.QueryRoutesRequest.source_pub_key', index=7, number=8, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='use_mission_control', full_name='lnrpc.QueryRoutesRequest.use_mission_control', index=7, + name='use_mission_control', full_name='lnrpc.QueryRoutesRequest.use_mission_control', index=8, number=9, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='ignored_pairs', full_name='lnrpc.QueryRoutesRequest.ignored_pairs', index=8, + name='ignored_pairs', full_name='lnrpc.QueryRoutesRequest.ignored_pairs', index=9, number=10, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='cltv_limit', full_name='lnrpc.QueryRoutesRequest.cltv_limit', index=9, + name='cltv_limit', full_name='lnrpc.QueryRoutesRequest.cltv_limit', index=10, number=11, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='dest_custom_records', full_name='lnrpc.QueryRoutesRequest.dest_custom_records', index=11, + number=13, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='outgoing_chan_id', full_name='lnrpc.QueryRoutesRequest.outgoing_chan_id', index=12, + number=14, type=4, cpp_type=4, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('0\001'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='last_hop_pubkey', full_name='lnrpc.QueryRoutesRequest.last_hop_pubkey', index=13, + number=15, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=_b(""), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='route_hints', full_name='lnrpc.QueryRoutesRequest.route_hints', index=14, + number=16, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='dest_features', full_name='lnrpc.QueryRoutesRequest.dest_features', index=15, + number=17, type=14, cpp_type=8, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), ], extensions=[ ], - nested_types=[], + nested_types=[_QUERYROUTESREQUEST_DESTCUSTOMRECORDSENTRY, ], enum_types=[ ], serialized_options=None, @@ -3987,8 +4700,8 @@ _QUERYROUTESREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=11032, - serialized_end=11333, + serialized_start=12403, + serialized_end=12995, ) @@ -4025,8 +4738,8 @@ _NODEPAIR = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=11335, - serialized_end=11371, + serialized_start=12997, + serialized_end=13033, ) @@ -4063,8 +4776,8 @@ _EDGELOCATOR = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=11373, - serialized_end=11437, + serialized_start=13035, + serialized_end=13099, ) @@ -4101,11 +4814,48 @@ _QUERYROUTESRESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=11439, - serialized_end=11534, + serialized_start=13101, + serialized_end=13196, ) +_HOP_CUSTOMRECORDSENTRY = _descriptor.Descriptor( + name='CustomRecordsEntry', + full_name='lnrpc.Hop.CustomRecordsEntry', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='key', full_name='lnrpc.Hop.CustomRecordsEntry.key', index=0, + number=1, type=4, cpp_type=4, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='value', full_name='lnrpc.Hop.CustomRecordsEntry.value', index=1, + number=2, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=_b(""), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=_b('8\001'), + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=13623, + serialized_end=13675, +) + _HOP = _descriptor.Descriptor( name='Hop', full_name='lnrpc.Hop', @@ -4176,6 +4926,58 @@ _HOP = _descriptor.Descriptor( message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, json_name='tlv_payload', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='mpp_record', full_name='lnrpc.Hop.mpp_record', index=9, + number=10, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='mpp_record', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='custom_records', full_name='lnrpc.Hop.custom_records', index=10, + number=11, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='custom_records', file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[_HOP_CUSTOMRECORDSENTRY, ], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=13199, + serialized_end=13675, +) + + +_MPPRECORD = _descriptor.Descriptor( + name='MPPRecord', + full_name='lnrpc.MPPRecord', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='payment_addr', full_name='lnrpc.MPPRecord.payment_addr', index=0, + number=11, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=_b(""), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='payment_addr', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='total_amt_msat', full_name='lnrpc.MPPRecord.total_amt_msat', index=1, + number=10, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='total_amt_msat', file=DESCRIPTOR), ], extensions=[ ], @@ -4188,8 +4990,8 @@ _HOP = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=11537, - serialized_end=11838, + serialized_start=13677, + serialized_end=13764, ) @@ -4254,8 +5056,8 @@ _ROUTE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=11841, - serialized_end=12074, + serialized_start=13767, + serialized_end=14000, ) @@ -4292,8 +5094,8 @@ _NODEINFOREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=12076, - serialized_end=12136, + serialized_start=14002, + serialized_end=14062, ) @@ -4344,11 +5146,48 @@ _NODEINFO = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=12139, - serialized_end=12315, + serialized_start=14065, + serialized_end=14241, ) +_LIGHTNINGNODE_FEATURESENTRY = _descriptor.Descriptor( + name='FeaturesEntry', + full_name='lnrpc.LightningNode.FeaturesEntry', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='key', full_name='lnrpc.LightningNode.FeaturesEntry.key', index=0, + number=1, type=13, cpp_type=3, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='value', full_name='lnrpc.LightningNode.FeaturesEntry.value', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=_b('8\001'), + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=6591, + serialized_end=6654, +) + _LIGHTNINGNODE = _descriptor.Descriptor( name='LightningNode', full_name='lnrpc.LightningNode', @@ -4391,10 +5230,17 @@ _LIGHTNINGNODE = _descriptor.Descriptor( message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, json_name='color', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='features', full_name='lnrpc.LightningNode.features', index=5, + number=6, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='features', file=DESCRIPTOR), ], extensions=[ ], - nested_types=[], + nested_types=[_LIGHTNINGNODE_FEATURESENTRY, ], enum_types=[ ], serialized_options=None, @@ -4403,8 +5249,8 @@ _LIGHTNINGNODE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=12318, - serialized_end=12487, + serialized_start=14244, + serialized_end=14542, ) @@ -4441,8 +5287,8 @@ _NODEADDRESS = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=12489, - serialized_end=12548, + serialized_start=14544, + serialized_end=14603, ) @@ -4514,8 +5360,8 @@ _ROUTINGPOLICY = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=12551, - serialized_end=12824, + serialized_start=14606, + serialized_end=14879, ) @@ -4594,8 +5440,8 @@ _CHANNELEDGE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=12827, - serialized_end=13150, + serialized_start=14882, + serialized_end=15205, ) @@ -4625,8 +5471,8 @@ _CHANNELGRAPHREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=13152, - serialized_end=13223, + serialized_start=15207, + serialized_end=15278, ) @@ -4663,8 +5509,8 @@ _CHANNELGRAPH = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=13225, - serialized_end=13325, + serialized_start=15280, + serialized_end=15380, ) @@ -4694,8 +5540,8 @@ _CHANINFOREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=13327, - serialized_end=13365, + serialized_start=15382, + serialized_end=15420, ) @@ -4718,8 +5564,8 @@ _NETWORKINFOREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=13367, - serialized_end=13387, + serialized_start=15422, + serialized_end=15442, ) @@ -4819,8 +5665,8 @@ _NETWORKINFO = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=13390, - serialized_end=13879, + serialized_start=15445, + serialized_end=15934, ) @@ -4843,8 +5689,8 @@ _STOPREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=13881, - serialized_end=13894, + serialized_start=15936, + serialized_end=15949, ) @@ -4867,8 +5713,8 @@ _STOPRESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=13896, - serialized_end=13910, + serialized_start=15951, + serialized_end=15965, ) @@ -4891,8 +5737,8 @@ _GRAPHTOPOLOGYSUBSCRIPTION = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=13912, - serialized_end=13939, + serialized_start=15967, + serialized_end=15994, ) @@ -4936,8 +5782,8 @@ _GRAPHTOPOLOGYUPDATE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=13942, - serialized_end=14105, + serialized_start=15997, + serialized_end=16160, ) @@ -4995,8 +5841,8 @@ _NODEUPDATE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=14107, - serialized_end=14215, + serialized_start=16162, + serialized_end=16270, ) @@ -5061,8 +5907,8 @@ _CHANNELEDGEUPDATE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=14218, - serialized_end=14414, + serialized_start=16273, + serialized_end=16469, ) @@ -5113,8 +5959,8 @@ _CLOSEDCHANNELUPDATE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=14416, - serialized_end=14540, + serialized_start=16471, + serialized_end=16595, ) @@ -5172,8 +6018,8 @@ _HOPHINT = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=14543, - serialized_end=14758, + serialized_start=16598, + serialized_end=16813, ) @@ -5203,11 +6049,48 @@ _ROUTEHINT = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=14760, - serialized_end=14817, + serialized_start=16815, + serialized_end=16872, ) +_INVOICE_FEATURESENTRY = _descriptor.Descriptor( + name='FeaturesEntry', + full_name='lnrpc.Invoice.FeaturesEntry', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='key', full_name='lnrpc.Invoice.FeaturesEntry.key', index=0, + number=1, type=13, cpp_type=3, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='value', full_name='lnrpc.Invoice.FeaturesEntry.value', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=_b('8\001'), + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=6591, + serialized_end=6654, +) + _INVOICE = _descriptor.Descriptor( name='Invoice', full_name='lnrpc.Invoice', @@ -5223,33 +6106,33 @@ _INVOICE = _descriptor.Descriptor( is_extension=False, extension_scope=None, serialized_options=None, json_name='memo', file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='receipt', full_name='lnrpc.Invoice.receipt', index=1, - number=2, type=12, cpp_type=9, label=1, - has_default_value=False, default_value=_b(""), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=_b('\030\001'), json_name='receipt', file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='r_preimage', full_name='lnrpc.Invoice.r_preimage', index=2, + name='r_preimage', full_name='lnrpc.Invoice.r_preimage', index=1, number=3, type=12, cpp_type=9, label=1, has_default_value=False, default_value=_b(""), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, json_name='r_preimage', file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='r_hash', full_name='lnrpc.Invoice.r_hash', index=3, + name='r_hash', full_name='lnrpc.Invoice.r_hash', index=2, number=4, type=12, cpp_type=9, label=1, has_default_value=False, default_value=_b(""), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, json_name='r_hash', file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='value', full_name='lnrpc.Invoice.value', index=4, + name='value', full_name='lnrpc.Invoice.value', index=3, number=5, type=3, cpp_type=2, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, json_name='value', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='value_msat', full_name='lnrpc.Invoice.value_msat', index=4, + number=23, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='value_msat', file=DESCRIPTOR), _descriptor.FieldDescriptor( name='settled', full_name='lnrpc.Invoice.settled', index=5, number=6, type=8, cpp_type=7, label=1, @@ -5369,10 +6252,24 @@ _INVOICE = _descriptor.Descriptor( message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, json_name='htlcs', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='features', full_name='lnrpc.Invoice.features', index=22, + number=24, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='features', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='is_keysend', full_name='lnrpc.Invoice.is_keysend', index=23, + number=25, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='is_keysend', file=DESCRIPTOR), ], extensions=[ ], - nested_types=[], + nested_types=[_INVOICE_FEATURESENTRY, ], enum_types=[ _INVOICE_INVOICESTATE, ], @@ -5382,11 +6279,48 @@ _INVOICE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=14820, - serialized_end=15651, + serialized_start=16875, + serialized_end=17869, ) +_INVOICEHTLC_CUSTOMRECORDSENTRY = _descriptor.Descriptor( + name='CustomRecordsEntry', + full_name='lnrpc.InvoiceHTLC.CustomRecordsEntry', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='key', full_name='lnrpc.InvoiceHTLC.CustomRecordsEntry.key', index=0, + number=1, type=4, cpp_type=4, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='value', full_name='lnrpc.InvoiceHTLC.CustomRecordsEntry.value', index=1, + number=2, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=_b(""), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=_b('8\001'), + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=13623, + serialized_end=13675, +) + _INVOICEHTLC = _descriptor.Descriptor( name='InvoiceHTLC', full_name='lnrpc.InvoiceHTLC', @@ -5450,10 +6384,24 @@ _INVOICEHTLC = _descriptor.Descriptor( message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, json_name='state', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='custom_records', full_name='lnrpc.InvoiceHTLC.custom_records', index=8, + number=9, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='custom_records', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='mpp_total_amt_msat', full_name='lnrpc.InvoiceHTLC.mpp_total_amt_msat', index=9, + number=10, type=4, cpp_type=4, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='mpp_total_amt_msat', file=DESCRIPTOR), ], extensions=[ ], - nested_types=[], + nested_types=[_INVOICEHTLC_CUSTOMRECORDSENTRY, ], enum_types=[ ], serialized_options=None, @@ -5462,8 +6410,8 @@ _INVOICEHTLC = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=15654, - serialized_end=15950, + serialized_start=17872, + serialized_end=18349, ) @@ -5507,8 +6455,8 @@ _ADDINVOICERESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=15952, - serialized_end=16068, + serialized_start=18351, + serialized_end=18467, ) @@ -5525,7 +6473,7 @@ _PAYMENTHASH = _descriptor.Descriptor( has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, json_name='r_hash_str', file=DESCRIPTOR), + serialized_options=_b('\030\001'), json_name='r_hash_str', file=DESCRIPTOR), _descriptor.FieldDescriptor( name='r_hash', full_name='lnrpc.PaymentHash.r_hash', index=1, number=2, type=12, cpp_type=9, label=1, @@ -5545,8 +6493,8 @@ _PAYMENTHASH = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=16070, - serialized_end=16139, + serialized_start=18469, + serialized_end=18542, ) @@ -5597,8 +6545,8 @@ _LISTINVOICEREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=16142, - serialized_end=16306, + serialized_start=18545, + serialized_end=18709, ) @@ -5642,8 +6590,8 @@ _LISTINVOICERESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=16309, - serialized_end=16468, + serialized_start=18712, + serialized_end=18871, ) @@ -5680,8 +6628,8 @@ _INVOICESUBSCRIPTION = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=16470, - serialized_end=16557, + serialized_start=18873, + serialized_end=18960, ) @@ -5712,14 +6660,14 @@ _PAYMENT = _descriptor.Descriptor( has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, json_name='creation_date', file=DESCRIPTOR), + serialized_options=_b('\030\001'), json_name='creation_date', file=DESCRIPTOR), _descriptor.FieldDescriptor( name='path', full_name='lnrpc.Payment.path', index=3, number=4, type=9, cpp_type=9, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, json_name='path', file=DESCRIPTOR), + serialized_options=_b('\030\001'), json_name='path', file=DESCRIPTOR), _descriptor.FieldDescriptor( name='fee', full_name='lnrpc.Payment.fee', index=4, number=5, type=3, cpp_type=2, label=1, @@ -5776,6 +6724,20 @@ _PAYMENT = _descriptor.Descriptor( message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, json_name='fee_msat', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='creation_time_ns', full_name='lnrpc.Payment.creation_time_ns', index=12, + number=13, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='creation_time_ns', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='htlcs', full_name='lnrpc.Payment.htlcs', index=13, + number=14, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='htlcs', file=DESCRIPTOR), ], extensions=[ ], @@ -5789,8 +6751,61 @@ _PAYMENT = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=16560, - serialized_end=17039, + serialized_start=18963, + serialized_end=19536, +) + + +_HTLCATTEMPT = _descriptor.Descriptor( + name='HTLCAttempt', + full_name='lnrpc.HTLCAttempt', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='status', full_name='lnrpc.HTLCAttempt.status', index=0, + number=1, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='status', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='route', full_name='lnrpc.HTLCAttempt.route', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='route', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='attempt_time_ns', full_name='lnrpc.HTLCAttempt.attempt_time_ns', index=2, + number=3, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='attempt_time_ns', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='resolve_time_ns', full_name='lnrpc.HTLCAttempt.resolve_time_ns', index=3, + number=4, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='resolve_time_ns', file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _HTLCATTEMPT_HTLCSTATUS, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=19539, + serialized_end=19783, ) @@ -5820,8 +6835,8 @@ _LISTPAYMENTSREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=17041, - serialized_end=17090, + serialized_start=19785, + serialized_end=19834, ) @@ -5851,8 +6866,8 @@ _LISTPAYMENTSRESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=17092, - serialized_end=17158, + serialized_start=19836, + serialized_end=19902, ) @@ -5875,8 +6890,8 @@ _DELETEALLPAYMENTSREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=17160, - serialized_end=17186, + serialized_start=19904, + serialized_end=19930, ) @@ -5899,8 +6914,8 @@ _DELETEALLPAYMENTSRESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=17188, - serialized_end=17215, + serialized_start=19932, + serialized_end=19959, ) @@ -5930,8 +6945,8 @@ _ABANDONCHANNELREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=17217, - serialized_end=17284, + serialized_start=19961, + serialized_end=20028, ) @@ -5954,8 +6969,8 @@ _ABANDONCHANNELRESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=17286, - serialized_end=17310, + serialized_start=20030, + serialized_end=20054, ) @@ -5992,8 +7007,8 @@ _DEBUGLEVELREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=17312, - serialized_end=17365, + serialized_start=20056, + serialized_end=20109, ) @@ -6023,8 +7038,8 @@ _DEBUGLEVELRESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=17367, - serialized_end=17421, + serialized_start=20111, + serialized_end=20165, ) @@ -6054,11 +7069,48 @@ _PAYREQSTRING = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=17423, - serialized_end=17454, + serialized_start=20167, + serialized_end=20198, ) +_PAYREQ_FEATURESENTRY = _descriptor.Descriptor( + name='FeaturesEntry', + full_name='lnrpc.PayReq.FeaturesEntry', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='key', full_name='lnrpc.PayReq.FeaturesEntry.key', index=0, + number=1, type=13, cpp_type=3, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='value', full_name='lnrpc.PayReq.FeaturesEntry.value', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=_b('8\001'), + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=6591, + serialized_end=6654, +) + _PAYREQ = _descriptor.Descriptor( name='PayReq', full_name='lnrpc.PayReq', @@ -6136,6 +7188,72 @@ _PAYREQ = _descriptor.Descriptor( message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, json_name='route_hints', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='payment_addr', full_name='lnrpc.PayReq.payment_addr', index=10, + number=11, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=_b(""), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='payment_addr', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='num_msat', full_name='lnrpc.PayReq.num_msat', index=11, + number=12, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='num_msat', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='features', full_name='lnrpc.PayReq.features', index=12, + number=13, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='features', file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[_PAYREQ_FEATURESENTRY, ], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=20201, + serialized_end=20757, +) + + +_FEATURE = _descriptor.Descriptor( + name='Feature', + full_name='lnrpc.Feature', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='name', full_name='lnrpc.Feature.name', index=0, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='name', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='is_required', full_name='lnrpc.Feature.is_required', index=1, + number=3, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='is_required', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='is_known', full_name='lnrpc.Feature.is_known', index=2, + number=4, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='is_known', file=DESCRIPTOR), ], extensions=[ ], @@ -6148,8 +7266,8 @@ _PAYREQ = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=17457, - serialized_end=17827, + serialized_start=20759, + serialized_end=20850, ) @@ -6172,8 +7290,8 @@ _FEEREPORTREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=17829, - serialized_end=17847, + serialized_start=20852, + serialized_end=20870, ) @@ -6224,8 +7342,8 @@ _CHANNELFEEREPORT = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=17850, - serialized_end=18003, + serialized_start=20873, + serialized_end=21026, ) @@ -6276,8 +7394,8 @@ _FEEREPORTRESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=18006, - serialized_end=18194, + serialized_start=21029, + serialized_end=21217, ) @@ -6330,6 +7448,20 @@ _POLICYUPDATEREQUEST = _descriptor.Descriptor( message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, json_name='max_htlc_msat', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='min_htlc_msat', full_name='lnrpc.PolicyUpdateRequest.min_htlc_msat', index=6, + number=7, type=4, cpp_type=4, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='min_htlc_msat', file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='min_htlc_msat_specified', full_name='lnrpc.PolicyUpdateRequest.min_htlc_msat_specified', index=7, + number=8, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, json_name='set_min_htlc_msat', file=DESCRIPTOR), ], extensions=[ ], @@ -6345,8 +7477,8 @@ _POLICYUPDATEREQUEST = _descriptor.Descriptor( name='scope', full_name='lnrpc.PolicyUpdateRequest.scope', index=0, containing_type=None, fields=[]), ], - serialized_start=18197, - serialized_end=18454, + serialized_start=21220, + serialized_end=21567, ) @@ -6369,8 +7501,8 @@ _POLICYUPDATERESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=18456, - serialized_end=18478, + serialized_start=21569, + serialized_end=21591, ) @@ -6421,8 +7553,8 @@ _FORWARDINGHISTORYREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=18481, - serialized_end=18643, + serialized_start=21594, + serialized_end=21756, ) @@ -6508,8 +7640,8 @@ _FORWARDINGEVENT = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=18646, - serialized_end=18933, + serialized_start=21759, + serialized_end=22046, ) @@ -6546,8 +7678,8 @@ _FORWARDINGHISTORYRESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=18936, - serialized_end=19079, + serialized_start=22049, + serialized_end=22192, ) @@ -6577,8 +7709,8 @@ _EXPORTCHANNELBACKUPREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=19081, - serialized_end=19150, + serialized_start=22194, + serialized_end=22263, ) @@ -6615,8 +7747,8 @@ _CHANNELBACKUP = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=19152, - serialized_end=19254, + serialized_start=22265, + serialized_end=22367, ) @@ -6653,8 +7785,8 @@ _MULTICHANBACKUP = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=19256, - serialized_end=19374, + serialized_start=22369, + serialized_end=22487, ) @@ -6677,8 +7809,8 @@ _CHANBACKUPEXPORTREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=19376, - serialized_end=19401, + serialized_start=22489, + serialized_end=22514, ) @@ -6715,8 +7847,8 @@ _CHANBACKUPSNAPSHOT = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=19404, - serialized_end=19567, + serialized_start=22517, + serialized_end=22680, ) @@ -6746,8 +7878,8 @@ _CHANNELBACKUPS = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=19569, - serialized_end=19643, + serialized_start=22682, + serialized_end=22756, ) @@ -6787,8 +7919,8 @@ _RESTORECHANBACKUPREQUEST = _descriptor.Descriptor( name='backup', full_name='lnrpc.RestoreChanBackupRequest.backup', index=0, containing_type=None, fields=[]), ], - serialized_start=19646, - serialized_end=19791, + serialized_start=22759, + serialized_end=22904, ) @@ -6811,8 +7943,8 @@ _RESTOREBACKUPRESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=19793, - serialized_end=19816, + serialized_start=22906, + serialized_end=22929, ) @@ -6835,8 +7967,8 @@ _CHANNELBACKUPSUBSCRIPTION = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=19818, - serialized_end=19845, + serialized_start=22931, + serialized_end=22958, ) @@ -6859,8 +7991,8 @@ _VERIFYCHANBACKUPRESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=19847, - serialized_end=19873, + serialized_start=22960, + serialized_end=22986, ) @@ -6897,8 +8029,8 @@ _MACAROONPERMISSION = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=19875, - serialized_end=19943, + serialized_start=22988, + serialized_end=23056, ) @@ -6928,8 +8060,8 @@ _BAKEMACAROONREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=19945, - serialized_end=20027, + serialized_start=23058, + serialized_end=23140, ) @@ -6959,8 +8091,8 @@ _BAKEMACAROONRESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=20029, - serialized_end=20079, + serialized_start=23142, + serialized_end=23192, ) _INITWALLETREQUEST.fields_by_name['channel_backups'].message_type = _CHANBACKUPSNAPSHOT @@ -6971,12 +8103,16 @@ _TRANSACTIONDETAILS.fields_by_name['transactions'].message_type = _TRANSACTION _FEELIMIT.oneofs_by_name['limit'].fields.append( _FEELIMIT.fields_by_name['fixed']) _FEELIMIT.fields_by_name['fixed'].containing_oneof = _FEELIMIT.oneofs_by_name['limit'] +_FEELIMIT.oneofs_by_name['limit'].fields.append( + _FEELIMIT.fields_by_name['fixed_msat']) +_FEELIMIT.fields_by_name['fixed_msat'].containing_oneof = _FEELIMIT.oneofs_by_name['limit'] _FEELIMIT.oneofs_by_name['limit'].fields.append( _FEELIMIT.fields_by_name['percent']) _FEELIMIT.fields_by_name['percent'].containing_oneof = _FEELIMIT.oneofs_by_name['limit'] -_SENDREQUEST_DESTTLVENTRY.containing_type = _SENDREQUEST +_SENDREQUEST_DESTCUSTOMRECORDSENTRY.containing_type = _SENDREQUEST _SENDREQUEST.fields_by_name['fee_limit'].message_type = _FEELIMIT -_SENDREQUEST.fields_by_name['dest_tlv'].message_type = _SENDREQUEST_DESTTLVENTRY +_SENDREQUEST.fields_by_name['dest_custom_records'].message_type = _SENDREQUEST_DESTCUSTOMRECORDSENTRY +_SENDREQUEST.fields_by_name['dest_features'].enum_type = _FEATUREBIT _SENDRESPONSE.fields_by_name['payment_route'].message_type = _ROUTE _SENDTOROUTEREQUEST.fields_by_name['route'].message_type = _ROUTE _CHANNELPOINT.oneofs_by_name['funding_txid'].fields.append( @@ -6997,10 +8133,18 @@ _LISTCHANNELSRESPONSE.fields_by_name['channels'].message_type = _CHANNEL _CHANNELCLOSESUMMARY.fields_by_name['close_type'].enum_type = _CHANNELCLOSESUMMARY_CLOSURETYPE _CHANNELCLOSESUMMARY_CLOSURETYPE.containing_type = _CHANNELCLOSESUMMARY _CLOSEDCHANNELSRESPONSE.fields_by_name['channels'].message_type = _CHANNELCLOSESUMMARY +_PEER_FEATURESENTRY.fields_by_name['value'].message_type = _FEATURE +_PEER_FEATURESENTRY.containing_type = _PEER _PEER.fields_by_name['sync_type'].enum_type = _PEER_SYNCTYPE +_PEER.fields_by_name['features'].message_type = _PEER_FEATURESENTRY _PEER_SYNCTYPE.containing_type = _PEER _LISTPEERSRESPONSE.fields_by_name['peers'].message_type = _PEER +_PEEREVENT.fields_by_name['type'].enum_type = _PEEREVENT_EVENTTYPE +_PEEREVENT_EVENTTYPE.containing_type = _PEEREVENT +_GETINFORESPONSE_FEATURESENTRY.fields_by_name['value'].message_type = _FEATURE +_GETINFORESPONSE_FEATURESENTRY.containing_type = _GETINFORESPONSE _GETINFORESPONSE.fields_by_name['chains'].message_type = _CHAIN +_GETINFORESPONSE.fields_by_name['features'].message_type = _GETINFORESPONSE_FEATURESENTRY _CHANNELOPENUPDATE.fields_by_name['channel_point'].message_type = _CHANNELPOINT _CLOSECHANNELREQUEST.fields_by_name['channel_point'].message_type = _CHANNELPOINT _CLOSESTATUSUPDATE.fields_by_name['close_pending'].message_type = _PENDINGUPDATE @@ -7011,6 +8155,7 @@ _CLOSESTATUSUPDATE.fields_by_name['close_pending'].containing_oneof = _CLOSESTAT _CLOSESTATUSUPDATE.oneofs_by_name['update'].fields.append( _CLOSESTATUSUPDATE.fields_by_name['chan_close']) _CLOSESTATUSUPDATE.fields_by_name['chan_close'].containing_oneof = _CLOSESTATUSUPDATE.oneofs_by_name['update'] +_OPENCHANNELREQUEST.fields_by_name['funding_shim'].message_type = _FUNDINGSHIM _OPENSTATUSUPDATE.fields_by_name['chan_pending'].message_type = _PENDINGUPDATE _OPENSTATUSUPDATE.fields_by_name['chan_open'].message_type = _CHANNELOPENUPDATE _OPENSTATUSUPDATE.oneofs_by_name['update'].fields.append( @@ -7019,6 +8164,21 @@ _OPENSTATUSUPDATE.fields_by_name['chan_pending'].containing_oneof = _OPENSTATUSU _OPENSTATUSUPDATE.oneofs_by_name['update'].fields.append( _OPENSTATUSUPDATE.fields_by_name['chan_open']) _OPENSTATUSUPDATE.fields_by_name['chan_open'].containing_oneof = _OPENSTATUSUPDATE.oneofs_by_name['update'] +_KEYDESCRIPTOR.fields_by_name['key_loc'].message_type = _KEYLOCATOR +_CHANPOINTSHIM.fields_by_name['chan_point'].message_type = _CHANNELPOINT +_CHANPOINTSHIM.fields_by_name['local_key'].message_type = _KEYDESCRIPTOR +_FUNDINGSHIM.fields_by_name['chan_point_shim'].message_type = _CHANPOINTSHIM +_FUNDINGSHIM.oneofs_by_name['shim'].fields.append( + _FUNDINGSHIM.fields_by_name['chan_point_shim']) +_FUNDINGSHIM.fields_by_name['chan_point_shim'].containing_oneof = _FUNDINGSHIM.oneofs_by_name['shim'] +_FUNDINGTRANSITIONMSG.fields_by_name['shim_register'].message_type = _FUNDINGSHIM +_FUNDINGTRANSITIONMSG.fields_by_name['shim_cancel'].message_type = _FUNDINGSHIMCANCEL +_FUNDINGTRANSITIONMSG.oneofs_by_name['trigger'].fields.append( + _FUNDINGTRANSITIONMSG.fields_by_name['shim_register']) +_FUNDINGTRANSITIONMSG.fields_by_name['shim_register'].containing_oneof = _FUNDINGTRANSITIONMSG.oneofs_by_name['trigger'] +_FUNDINGTRANSITIONMSG.oneofs_by_name['trigger'].fields.append( + _FUNDINGTRANSITIONMSG.fields_by_name['shim_cancel']) +_FUNDINGTRANSITIONMSG.fields_by_name['shim_cancel'].containing_oneof = _FUNDINGTRANSITIONMSG.oneofs_by_name['trigger'] _PENDINGCHANNELSRESPONSE_PENDINGCHANNEL.containing_type = _PENDINGCHANNELSRESPONSE _PENDINGCHANNELSRESPONSE_PENDINGOPENCHANNEL.fields_by_name['channel'].message_type = _PENDINGCHANNELSRESPONSE_PENDINGCHANNEL _PENDINGCHANNELSRESPONSE_PENDINGOPENCHANNEL.containing_type = _PENDINGCHANNELSRESPONSE @@ -7051,14 +8211,24 @@ _CHANNELEVENTUPDATE.fields_by_name['active_channel'].containing_oneof = _CHANNEL _CHANNELEVENTUPDATE.oneofs_by_name['channel'].fields.append( _CHANNELEVENTUPDATE.fields_by_name['inactive_channel']) _CHANNELEVENTUPDATE.fields_by_name['inactive_channel'].containing_oneof = _CHANNELEVENTUPDATE.oneofs_by_name['channel'] +_QUERYROUTESREQUEST_DESTCUSTOMRECORDSENTRY.containing_type = _QUERYROUTESREQUEST _QUERYROUTESREQUEST.fields_by_name['fee_limit'].message_type = _FEELIMIT _QUERYROUTESREQUEST.fields_by_name['ignored_edges'].message_type = _EDGELOCATOR _QUERYROUTESREQUEST.fields_by_name['ignored_pairs'].message_type = _NODEPAIR +_QUERYROUTESREQUEST.fields_by_name['dest_custom_records'].message_type = _QUERYROUTESREQUEST_DESTCUSTOMRECORDSENTRY +_QUERYROUTESREQUEST.fields_by_name['route_hints'].message_type = _ROUTEHINT +_QUERYROUTESREQUEST.fields_by_name['dest_features'].enum_type = _FEATUREBIT _QUERYROUTESRESPONSE.fields_by_name['routes'].message_type = _ROUTE +_HOP_CUSTOMRECORDSENTRY.containing_type = _HOP +_HOP.fields_by_name['mpp_record'].message_type = _MPPRECORD +_HOP.fields_by_name['custom_records'].message_type = _HOP_CUSTOMRECORDSENTRY _ROUTE.fields_by_name['hops'].message_type = _HOP _NODEINFO.fields_by_name['node'].message_type = _LIGHTNINGNODE _NODEINFO.fields_by_name['channels'].message_type = _CHANNELEDGE +_LIGHTNINGNODE_FEATURESENTRY.fields_by_name['value'].message_type = _FEATURE +_LIGHTNINGNODE_FEATURESENTRY.containing_type = _LIGHTNINGNODE _LIGHTNINGNODE.fields_by_name['addresses'].message_type = _NODEADDRESS +_LIGHTNINGNODE.fields_by_name['features'].message_type = _LIGHTNINGNODE_FEATURESENTRY _CHANNELEDGE.fields_by_name['node1_policy'].message_type = _ROUTINGPOLICY _CHANNELEDGE.fields_by_name['node2_policy'].message_type = _ROUTINGPOLICY _CHANNELGRAPH.fields_by_name['nodes'].message_type = _LIGHTNINGNODE @@ -7070,17 +8240,29 @@ _CHANNELEDGEUPDATE.fields_by_name['chan_point'].message_type = _CHANNELPOINT _CHANNELEDGEUPDATE.fields_by_name['routing_policy'].message_type = _ROUTINGPOLICY _CLOSEDCHANNELUPDATE.fields_by_name['chan_point'].message_type = _CHANNELPOINT _ROUTEHINT.fields_by_name['hop_hints'].message_type = _HOPHINT +_INVOICE_FEATURESENTRY.fields_by_name['value'].message_type = _FEATURE +_INVOICE_FEATURESENTRY.containing_type = _INVOICE _INVOICE.fields_by_name['route_hints'].message_type = _ROUTEHINT _INVOICE.fields_by_name['state'].enum_type = _INVOICE_INVOICESTATE _INVOICE.fields_by_name['htlcs'].message_type = _INVOICEHTLC +_INVOICE.fields_by_name['features'].message_type = _INVOICE_FEATURESENTRY _INVOICE_INVOICESTATE.containing_type = _INVOICE +_INVOICEHTLC_CUSTOMRECORDSENTRY.containing_type = _INVOICEHTLC _INVOICEHTLC.fields_by_name['state'].enum_type = _INVOICEHTLCSTATE +_INVOICEHTLC.fields_by_name['custom_records'].message_type = _INVOICEHTLC_CUSTOMRECORDSENTRY _LISTINVOICERESPONSE.fields_by_name['invoices'].message_type = _INVOICE _PAYMENT.fields_by_name['status'].enum_type = _PAYMENT_PAYMENTSTATUS +_PAYMENT.fields_by_name['htlcs'].message_type = _HTLCATTEMPT _PAYMENT_PAYMENTSTATUS.containing_type = _PAYMENT +_HTLCATTEMPT.fields_by_name['status'].enum_type = _HTLCATTEMPT_HTLCSTATUS +_HTLCATTEMPT.fields_by_name['route'].message_type = _ROUTE +_HTLCATTEMPT_HTLCSTATUS.containing_type = _HTLCATTEMPT _LISTPAYMENTSRESPONSE.fields_by_name['payments'].message_type = _PAYMENT _ABANDONCHANNELREQUEST.fields_by_name['channel_point'].message_type = _CHANNELPOINT +_PAYREQ_FEATURESENTRY.fields_by_name['value'].message_type = _FEATURE +_PAYREQ_FEATURESENTRY.containing_type = _PAYREQ _PAYREQ.fields_by_name['route_hints'].message_type = _ROUTEHINT +_PAYREQ.fields_by_name['features'].message_type = _PAYREQ_FEATURESENTRY _FEEREPORTRESPONSE.fields_by_name['channel_fees'].message_type = _CHANNELFEEREPORT _POLICYUPDATEREQUEST.fields_by_name['chan_point'].message_type = _CHANNELPOINT _POLICYUPDATEREQUEST.oneofs_by_name['scope'].fields.append( @@ -7153,6 +8335,8 @@ DESCRIPTOR.message_types_by_name['ClosedChannelsResponse'] = _CLOSEDCHANNELSRESP DESCRIPTOR.message_types_by_name['Peer'] = _PEER DESCRIPTOR.message_types_by_name['ListPeersRequest'] = _LISTPEERSREQUEST DESCRIPTOR.message_types_by_name['ListPeersResponse'] = _LISTPEERSRESPONSE +DESCRIPTOR.message_types_by_name['PeerEventSubscription'] = _PEEREVENTSUBSCRIPTION +DESCRIPTOR.message_types_by_name['PeerEvent'] = _PEEREVENT DESCRIPTOR.message_types_by_name['GetInfoRequest'] = _GETINFOREQUEST DESCRIPTOR.message_types_by_name['GetInfoResponse'] = _GETINFORESPONSE DESCRIPTOR.message_types_by_name['Chain'] = _CHAIN @@ -7164,6 +8348,13 @@ DESCRIPTOR.message_types_by_name['CloseStatusUpdate'] = _CLOSESTATUSUPDATE DESCRIPTOR.message_types_by_name['PendingUpdate'] = _PENDINGUPDATE DESCRIPTOR.message_types_by_name['OpenChannelRequest'] = _OPENCHANNELREQUEST DESCRIPTOR.message_types_by_name['OpenStatusUpdate'] = _OPENSTATUSUPDATE +DESCRIPTOR.message_types_by_name['KeyLocator'] = _KEYLOCATOR +DESCRIPTOR.message_types_by_name['KeyDescriptor'] = _KEYDESCRIPTOR +DESCRIPTOR.message_types_by_name['ChanPointShim'] = _CHANPOINTSHIM +DESCRIPTOR.message_types_by_name['FundingShim'] = _FUNDINGSHIM +DESCRIPTOR.message_types_by_name['FundingShimCancel'] = _FUNDINGSHIMCANCEL +DESCRIPTOR.message_types_by_name['FundingTransitionMsg'] = _FUNDINGTRANSITIONMSG +DESCRIPTOR.message_types_by_name['FundingStateStepResp'] = _FUNDINGSTATESTEPRESP DESCRIPTOR.message_types_by_name['PendingHTLC'] = _PENDINGHTLC DESCRIPTOR.message_types_by_name['PendingChannelsRequest'] = _PENDINGCHANNELSREQUEST DESCRIPTOR.message_types_by_name['PendingChannelsResponse'] = _PENDINGCHANNELSRESPONSE @@ -7178,6 +8369,7 @@ DESCRIPTOR.message_types_by_name['NodePair'] = _NODEPAIR DESCRIPTOR.message_types_by_name['EdgeLocator'] = _EDGELOCATOR DESCRIPTOR.message_types_by_name['QueryRoutesResponse'] = _QUERYROUTESRESPONSE DESCRIPTOR.message_types_by_name['Hop'] = _HOP +DESCRIPTOR.message_types_by_name['MPPRecord'] = _MPPRECORD DESCRIPTOR.message_types_by_name['Route'] = _ROUTE DESCRIPTOR.message_types_by_name['NodeInfoRequest'] = _NODEINFOREQUEST DESCRIPTOR.message_types_by_name['NodeInfo'] = _NODEINFO @@ -7207,6 +8399,7 @@ DESCRIPTOR.message_types_by_name['ListInvoiceRequest'] = _LISTINVOICEREQUEST DESCRIPTOR.message_types_by_name['ListInvoiceResponse'] = _LISTINVOICERESPONSE DESCRIPTOR.message_types_by_name['InvoiceSubscription'] = _INVOICESUBSCRIPTION DESCRIPTOR.message_types_by_name['Payment'] = _PAYMENT +DESCRIPTOR.message_types_by_name['HTLCAttempt'] = _HTLCATTEMPT DESCRIPTOR.message_types_by_name['ListPaymentsRequest'] = _LISTPAYMENTSREQUEST DESCRIPTOR.message_types_by_name['ListPaymentsResponse'] = _LISTPAYMENTSRESPONSE DESCRIPTOR.message_types_by_name['DeleteAllPaymentsRequest'] = _DELETEALLPAYMENTSREQUEST @@ -7217,6 +8410,7 @@ DESCRIPTOR.message_types_by_name['DebugLevelRequest'] = _DEBUGLEVELREQUEST DESCRIPTOR.message_types_by_name['DebugLevelResponse'] = _DEBUGLEVELRESPONSE DESCRIPTOR.message_types_by_name['PayReqString'] = _PAYREQSTRING DESCRIPTOR.message_types_by_name['PayReq'] = _PAYREQ +DESCRIPTOR.message_types_by_name['Feature'] = _FEATURE DESCRIPTOR.message_types_by_name['FeeReportRequest'] = _FEEREPORTREQUEST DESCRIPTOR.message_types_by_name['ChannelFeeReport'] = _CHANNELFEEREPORT DESCRIPTOR.message_types_by_name['FeeReportResponse'] = _FEEREPORTRESPONSE @@ -7240,6 +8434,7 @@ DESCRIPTOR.message_types_by_name['BakeMacaroonRequest'] = _BAKEMACAROONREQUEST DESCRIPTOR.message_types_by_name['BakeMacaroonResponse'] = _BAKEMACAROONRESPONSE DESCRIPTOR.enum_types_by_name['AddressType'] = _ADDRESSTYPE DESCRIPTOR.enum_types_by_name['InvoiceHTLCState'] = _INVOICEHTLCSTATE +DESCRIPTOR.enum_types_by_name['FeatureBit'] = _FEATUREBIT _sym_db.RegisterFileDescriptor(DESCRIPTOR) GenSeedRequest = _reflection.GeneratedProtocolMessageType('GenSeedRequest', (_message.Message,), { @@ -7335,10 +8530,10 @@ _sym_db.RegisterMessage(FeeLimit) SendRequest = _reflection.GeneratedProtocolMessageType('SendRequest', (_message.Message,), { - 'DestTlvEntry' : _reflection.GeneratedProtocolMessageType('DestTlvEntry', (_message.Message,), { - 'DESCRIPTOR' : _SENDREQUEST_DESTTLVENTRY, + 'DestCustomRecordsEntry' : _reflection.GeneratedProtocolMessageType('DestCustomRecordsEntry', (_message.Message,), { + 'DESCRIPTOR' : _SENDREQUEST_DESTCUSTOMRECORDSENTRY, '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.SendRequest.DestTlvEntry) + # @@protoc_insertion_point(class_scope:lnrpc.SendRequest.DestCustomRecordsEntry) }) , 'DESCRIPTOR' : _SENDREQUEST, @@ -7346,7 +8541,7 @@ SendRequest = _reflection.GeneratedProtocolMessageType('SendRequest', (_message. # @@protoc_insertion_point(class_scope:lnrpc.SendRequest) }) _sym_db.RegisterMessage(SendRequest) -_sym_db.RegisterMessage(SendRequest.DestTlvEntry) +_sym_db.RegisterMessage(SendRequest.DestCustomRecordsEntry) SendResponse = _reflection.GeneratedProtocolMessageType('SendResponse', (_message.Message,), { 'DESCRIPTOR' : _SENDRESPONSE, @@ -7589,11 +8784,19 @@ ClosedChannelsResponse = _reflection.GeneratedProtocolMessageType('ClosedChannel _sym_db.RegisterMessage(ClosedChannelsResponse) Peer = _reflection.GeneratedProtocolMessageType('Peer', (_message.Message,), { + + 'FeaturesEntry' : _reflection.GeneratedProtocolMessageType('FeaturesEntry', (_message.Message,), { + 'DESCRIPTOR' : _PEER_FEATURESENTRY, + '__module__' : 'rpc_pb2' + # @@protoc_insertion_point(class_scope:lnrpc.Peer.FeaturesEntry) + }) + , 'DESCRIPTOR' : _PEER, '__module__' : 'rpc_pb2' # @@protoc_insertion_point(class_scope:lnrpc.Peer) }) _sym_db.RegisterMessage(Peer) +_sym_db.RegisterMessage(Peer.FeaturesEntry) ListPeersRequest = _reflection.GeneratedProtocolMessageType('ListPeersRequest', (_message.Message,), { 'DESCRIPTOR' : _LISTPEERSREQUEST, @@ -7609,6 +8812,20 @@ ListPeersResponse = _reflection.GeneratedProtocolMessageType('ListPeersResponse' }) _sym_db.RegisterMessage(ListPeersResponse) +PeerEventSubscription = _reflection.GeneratedProtocolMessageType('PeerEventSubscription', (_message.Message,), { + 'DESCRIPTOR' : _PEEREVENTSUBSCRIPTION, + '__module__' : 'rpc_pb2' + # @@protoc_insertion_point(class_scope:lnrpc.PeerEventSubscription) + }) +_sym_db.RegisterMessage(PeerEventSubscription) + +PeerEvent = _reflection.GeneratedProtocolMessageType('PeerEvent', (_message.Message,), { + 'DESCRIPTOR' : _PEEREVENT, + '__module__' : 'rpc_pb2' + # @@protoc_insertion_point(class_scope:lnrpc.PeerEvent) + }) +_sym_db.RegisterMessage(PeerEvent) + GetInfoRequest = _reflection.GeneratedProtocolMessageType('GetInfoRequest', (_message.Message,), { 'DESCRIPTOR' : _GETINFOREQUEST, '__module__' : 'rpc_pb2' @@ -7617,11 +8834,19 @@ GetInfoRequest = _reflection.GeneratedProtocolMessageType('GetInfoRequest', (_me _sym_db.RegisterMessage(GetInfoRequest) GetInfoResponse = _reflection.GeneratedProtocolMessageType('GetInfoResponse', (_message.Message,), { + + 'FeaturesEntry' : _reflection.GeneratedProtocolMessageType('FeaturesEntry', (_message.Message,), { + 'DESCRIPTOR' : _GETINFORESPONSE_FEATURESENTRY, + '__module__' : 'rpc_pb2' + # @@protoc_insertion_point(class_scope:lnrpc.GetInfoResponse.FeaturesEntry) + }) + , 'DESCRIPTOR' : _GETINFORESPONSE, '__module__' : 'rpc_pb2' # @@protoc_insertion_point(class_scope:lnrpc.GetInfoResponse) }) _sym_db.RegisterMessage(GetInfoResponse) +_sym_db.RegisterMessage(GetInfoResponse.FeaturesEntry) Chain = _reflection.GeneratedProtocolMessageType('Chain', (_message.Message,), { 'DESCRIPTOR' : _CHAIN, @@ -7686,6 +8911,55 @@ OpenStatusUpdate = _reflection.GeneratedProtocolMessageType('OpenStatusUpdate', }) _sym_db.RegisterMessage(OpenStatusUpdate) +KeyLocator = _reflection.GeneratedProtocolMessageType('KeyLocator', (_message.Message,), { + 'DESCRIPTOR' : _KEYLOCATOR, + '__module__' : 'rpc_pb2' + # @@protoc_insertion_point(class_scope:lnrpc.KeyLocator) + }) +_sym_db.RegisterMessage(KeyLocator) + +KeyDescriptor = _reflection.GeneratedProtocolMessageType('KeyDescriptor', (_message.Message,), { + 'DESCRIPTOR' : _KEYDESCRIPTOR, + '__module__' : 'rpc_pb2' + # @@protoc_insertion_point(class_scope:lnrpc.KeyDescriptor) + }) +_sym_db.RegisterMessage(KeyDescriptor) + +ChanPointShim = _reflection.GeneratedProtocolMessageType('ChanPointShim', (_message.Message,), { + 'DESCRIPTOR' : _CHANPOINTSHIM, + '__module__' : 'rpc_pb2' + # @@protoc_insertion_point(class_scope:lnrpc.ChanPointShim) + }) +_sym_db.RegisterMessage(ChanPointShim) + +FundingShim = _reflection.GeneratedProtocolMessageType('FundingShim', (_message.Message,), { + 'DESCRIPTOR' : _FUNDINGSHIM, + '__module__' : 'rpc_pb2' + # @@protoc_insertion_point(class_scope:lnrpc.FundingShim) + }) +_sym_db.RegisterMessage(FundingShim) + +FundingShimCancel = _reflection.GeneratedProtocolMessageType('FundingShimCancel', (_message.Message,), { + 'DESCRIPTOR' : _FUNDINGSHIMCANCEL, + '__module__' : 'rpc_pb2' + # @@protoc_insertion_point(class_scope:lnrpc.FundingShimCancel) + }) +_sym_db.RegisterMessage(FundingShimCancel) + +FundingTransitionMsg = _reflection.GeneratedProtocolMessageType('FundingTransitionMsg', (_message.Message,), { + 'DESCRIPTOR' : _FUNDINGTRANSITIONMSG, + '__module__' : 'rpc_pb2' + # @@protoc_insertion_point(class_scope:lnrpc.FundingTransitionMsg) + }) +_sym_db.RegisterMessage(FundingTransitionMsg) + +FundingStateStepResp = _reflection.GeneratedProtocolMessageType('FundingStateStepResp', (_message.Message,), { + 'DESCRIPTOR' : _FUNDINGSTATESTEPRESP, + '__module__' : 'rpc_pb2' + # @@protoc_insertion_point(class_scope:lnrpc.FundingStateStepResp) + }) +_sym_db.RegisterMessage(FundingStateStepResp) + PendingHTLC = _reflection.GeneratedProtocolMessageType('PendingHTLC', (_message.Message,), { 'DESCRIPTOR' : _PENDINGHTLC, '__module__' : 'rpc_pb2' @@ -7790,11 +9064,19 @@ ChannelBalanceResponse = _reflection.GeneratedProtocolMessageType('ChannelBalanc _sym_db.RegisterMessage(ChannelBalanceResponse) QueryRoutesRequest = _reflection.GeneratedProtocolMessageType('QueryRoutesRequest', (_message.Message,), { + + 'DestCustomRecordsEntry' : _reflection.GeneratedProtocolMessageType('DestCustomRecordsEntry', (_message.Message,), { + 'DESCRIPTOR' : _QUERYROUTESREQUEST_DESTCUSTOMRECORDSENTRY, + '__module__' : 'rpc_pb2' + # @@protoc_insertion_point(class_scope:lnrpc.QueryRoutesRequest.DestCustomRecordsEntry) + }) + , 'DESCRIPTOR' : _QUERYROUTESREQUEST, '__module__' : 'rpc_pb2' # @@protoc_insertion_point(class_scope:lnrpc.QueryRoutesRequest) }) _sym_db.RegisterMessage(QueryRoutesRequest) +_sym_db.RegisterMessage(QueryRoutesRequest.DestCustomRecordsEntry) NodePair = _reflection.GeneratedProtocolMessageType('NodePair', (_message.Message,), { 'DESCRIPTOR' : _NODEPAIR, @@ -7818,11 +9100,26 @@ QueryRoutesResponse = _reflection.GeneratedProtocolMessageType('QueryRoutesRespo _sym_db.RegisterMessage(QueryRoutesResponse) Hop = _reflection.GeneratedProtocolMessageType('Hop', (_message.Message,), { + + 'CustomRecordsEntry' : _reflection.GeneratedProtocolMessageType('CustomRecordsEntry', (_message.Message,), { + 'DESCRIPTOR' : _HOP_CUSTOMRECORDSENTRY, + '__module__' : 'rpc_pb2' + # @@protoc_insertion_point(class_scope:lnrpc.Hop.CustomRecordsEntry) + }) + , 'DESCRIPTOR' : _HOP, '__module__' : 'rpc_pb2' # @@protoc_insertion_point(class_scope:lnrpc.Hop) }) _sym_db.RegisterMessage(Hop) +_sym_db.RegisterMessage(Hop.CustomRecordsEntry) + +MPPRecord = _reflection.GeneratedProtocolMessageType('MPPRecord', (_message.Message,), { + 'DESCRIPTOR' : _MPPRECORD, + '__module__' : 'rpc_pb2' + # @@protoc_insertion_point(class_scope:lnrpc.MPPRecord) + }) +_sym_db.RegisterMessage(MPPRecord) Route = _reflection.GeneratedProtocolMessageType('Route', (_message.Message,), { 'DESCRIPTOR' : _ROUTE, @@ -7846,11 +9143,19 @@ NodeInfo = _reflection.GeneratedProtocolMessageType('NodeInfo', (_message.Messag _sym_db.RegisterMessage(NodeInfo) LightningNode = _reflection.GeneratedProtocolMessageType('LightningNode', (_message.Message,), { + + 'FeaturesEntry' : _reflection.GeneratedProtocolMessageType('FeaturesEntry', (_message.Message,), { + 'DESCRIPTOR' : _LIGHTNINGNODE_FEATURESENTRY, + '__module__' : 'rpc_pb2' + # @@protoc_insertion_point(class_scope:lnrpc.LightningNode.FeaturesEntry) + }) + , 'DESCRIPTOR' : _LIGHTNINGNODE, '__module__' : 'rpc_pb2' # @@protoc_insertion_point(class_scope:lnrpc.LightningNode) }) _sym_db.RegisterMessage(LightningNode) +_sym_db.RegisterMessage(LightningNode.FeaturesEntry) NodeAddress = _reflection.GeneratedProtocolMessageType('NodeAddress', (_message.Message,), { 'DESCRIPTOR' : _NODEADDRESS, @@ -7972,18 +9277,34 @@ RouteHint = _reflection.GeneratedProtocolMessageType('RouteHint', (_message.Mess _sym_db.RegisterMessage(RouteHint) Invoice = _reflection.GeneratedProtocolMessageType('Invoice', (_message.Message,), { + + 'FeaturesEntry' : _reflection.GeneratedProtocolMessageType('FeaturesEntry', (_message.Message,), { + 'DESCRIPTOR' : _INVOICE_FEATURESENTRY, + '__module__' : 'rpc_pb2' + # @@protoc_insertion_point(class_scope:lnrpc.Invoice.FeaturesEntry) + }) + , 'DESCRIPTOR' : _INVOICE, '__module__' : 'rpc_pb2' # @@protoc_insertion_point(class_scope:lnrpc.Invoice) }) _sym_db.RegisterMessage(Invoice) +_sym_db.RegisterMessage(Invoice.FeaturesEntry) InvoiceHTLC = _reflection.GeneratedProtocolMessageType('InvoiceHTLC', (_message.Message,), { + + 'CustomRecordsEntry' : _reflection.GeneratedProtocolMessageType('CustomRecordsEntry', (_message.Message,), { + 'DESCRIPTOR' : _INVOICEHTLC_CUSTOMRECORDSENTRY, + '__module__' : 'rpc_pb2' + # @@protoc_insertion_point(class_scope:lnrpc.InvoiceHTLC.CustomRecordsEntry) + }) + , 'DESCRIPTOR' : _INVOICEHTLC, '__module__' : 'rpc_pb2' # @@protoc_insertion_point(class_scope:lnrpc.InvoiceHTLC) }) _sym_db.RegisterMessage(InvoiceHTLC) +_sym_db.RegisterMessage(InvoiceHTLC.CustomRecordsEntry) AddInvoiceResponse = _reflection.GeneratedProtocolMessageType('AddInvoiceResponse', (_message.Message,), { 'DESCRIPTOR' : _ADDINVOICERESPONSE, @@ -8027,6 +9348,13 @@ Payment = _reflection.GeneratedProtocolMessageType('Payment', (_message.Message, }) _sym_db.RegisterMessage(Payment) +HTLCAttempt = _reflection.GeneratedProtocolMessageType('HTLCAttempt', (_message.Message,), { + 'DESCRIPTOR' : _HTLCATTEMPT, + '__module__' : 'rpc_pb2' + # @@protoc_insertion_point(class_scope:lnrpc.HTLCAttempt) + }) +_sym_db.RegisterMessage(HTLCAttempt) + ListPaymentsRequest = _reflection.GeneratedProtocolMessageType('ListPaymentsRequest', (_message.Message,), { 'DESCRIPTOR' : _LISTPAYMENTSREQUEST, '__module__' : 'rpc_pb2' @@ -8091,11 +9419,26 @@ PayReqString = _reflection.GeneratedProtocolMessageType('PayReqString', (_messag _sym_db.RegisterMessage(PayReqString) PayReq = _reflection.GeneratedProtocolMessageType('PayReq', (_message.Message,), { + + 'FeaturesEntry' : _reflection.GeneratedProtocolMessageType('FeaturesEntry', (_message.Message,), { + 'DESCRIPTOR' : _PAYREQ_FEATURESENTRY, + '__module__' : 'rpc_pb2' + # @@protoc_insertion_point(class_scope:lnrpc.PayReq.FeaturesEntry) + }) + , 'DESCRIPTOR' : _PAYREQ, '__module__' : 'rpc_pb2' # @@protoc_insertion_point(class_scope:lnrpc.PayReq) }) _sym_db.RegisterMessage(PayReq) +_sym_db.RegisterMessage(PayReq.FeaturesEntry) + +Feature = _reflection.GeneratedProtocolMessageType('Feature', (_message.Message,), { + 'DESCRIPTOR' : _FEATURE, + '__module__' : 'rpc_pb2' + # @@protoc_insertion_point(class_scope:lnrpc.Feature) + }) +_sym_db.RegisterMessage(Feature) FeeReportRequest = _reflection.GeneratedProtocolMessageType('FeeReportRequest', (_message.Message,), { 'DESCRIPTOR' : _FEEREPORTREQUEST, @@ -8246,32 +9589,47 @@ _sym_db.RegisterMessage(BakeMacaroonResponse) DESCRIPTOR._options = None -_SENDREQUEST_DESTTLVENTRY._options = None +_SENDREQUEST_DESTCUSTOMRECORDSENTRY._options = None +_SENDREQUEST.fields_by_name['dest_string']._options = None +_SENDREQUEST.fields_by_name['payment_hash_string']._options = None _SENDREQUEST.fields_by_name['outgoing_chan_id']._options = None +_SENDTOROUTEREQUEST.fields_by_name['payment_hash_string']._options = None _ESTIMATEFEEREQUEST_ADDRTOAMOUNTENTRY._options = None _SENDMANYREQUEST_ADDRTOAMOUNTENTRY._options = None _CHANNEL.fields_by_name['chan_id']._options = None _CHANNELCLOSESUMMARY.fields_by_name['chan_id']._options = None +_PEER_FEATURESENTRY._options = None +_GETINFORESPONSE_FEATURESENTRY._options = None _GETINFORESPONSE.fields_by_name['testnet']._options = None +_OPENCHANNELREQUEST.fields_by_name['node_pubkey_string']._options = None +_QUERYROUTESREQUEST_DESTCUSTOMRECORDSENTRY._options = None _QUERYROUTESREQUEST.fields_by_name['ignored_edges']._options = None +_QUERYROUTESREQUEST.fields_by_name['outgoing_chan_id']._options = None _EDGELOCATOR.fields_by_name['channel_id']._options = None +_HOP_CUSTOMRECORDSENTRY._options = None _HOP.fields_by_name['chan_id']._options = None _HOP.fields_by_name['amt_to_forward']._options = None _HOP.fields_by_name['fee']._options = None _ROUTE.fields_by_name['total_fees']._options = None _ROUTE.fields_by_name['total_amt']._options = None +_LIGHTNINGNODE_FEATURESENTRY._options = None _CHANNELEDGE.fields_by_name['channel_id']._options = None _CHANNELEDGE.fields_by_name['last_update']._options = None _CHANINFOREQUEST.fields_by_name['chan_id']._options = None _CHANNELEDGEUPDATE.fields_by_name['chan_id']._options = None _CLOSEDCHANNELUPDATE.fields_by_name['chan_id']._options = None _HOPHINT.fields_by_name['chan_id']._options = None -_INVOICE.fields_by_name['receipt']._options = None +_INVOICE_FEATURESENTRY._options = None _INVOICE.fields_by_name['settled']._options = None _INVOICE.fields_by_name['amt_paid']._options = None +_INVOICEHTLC_CUSTOMRECORDSENTRY._options = None _INVOICEHTLC.fields_by_name['chan_id']._options = None +_PAYMENTHASH.fields_by_name['r_hash_str']._options = None _PAYMENT.fields_by_name['value']._options = None +_PAYMENT.fields_by_name['creation_date']._options = None +_PAYMENT.fields_by_name['path']._options = None _PAYMENT.fields_by_name['fee']._options = None +_PAYREQ_FEATURESENTRY._options = None _FORWARDINGEVENT.fields_by_name['chan_id_in']._options = None _FORWARDINGEVENT.fields_by_name['chan_id_out']._options = None @@ -8281,8 +9639,8 @@ _WALLETUNLOCKER = _descriptor.ServiceDescriptor( file=DESCRIPTOR, index=0, serialized_options=None, - serialized_start=20270, - serialized_end=20671, + serialized_start=23807, + serialized_end=24208, methods=[ _descriptor.MethodDescriptor( name='GenSeed', @@ -8332,8 +9690,8 @@ _LIGHTNING = _descriptor.ServiceDescriptor( file=DESCRIPTOR, index=1, serialized_options=None, - serialized_start=20674, - serialized_end=25740, + serialized_start=24211, + serialized_end=29428, methods=[ _descriptor.MethodDescriptor( name='WalletBalance', @@ -8461,10 +9819,19 @@ _LIGHTNING = _descriptor.ServiceDescriptor( output_type=_LISTPEERSRESPONSE, serialized_options=_b('\202\323\344\223\002\013\022\t/v1/peers'), ), + _descriptor.MethodDescriptor( + name='SubscribePeerEvents', + full_name='lnrpc.Lightning.SubscribePeerEvents', + index=14, + containing_service=None, + input_type=_PEEREVENTSUBSCRIPTION, + output_type=_PEEREVENT, + serialized_options=None, + ), _descriptor.MethodDescriptor( name='GetInfo', full_name='lnrpc.Lightning.GetInfo', - index=14, + index=15, containing_service=None, input_type=_GETINFOREQUEST, output_type=_GETINFORESPONSE, @@ -8473,7 +9840,7 @@ _LIGHTNING = _descriptor.ServiceDescriptor( _descriptor.MethodDescriptor( name='PendingChannels', full_name='lnrpc.Lightning.PendingChannels', - index=15, + index=16, containing_service=None, input_type=_PENDINGCHANNELSREQUEST, output_type=_PENDINGCHANNELSRESPONSE, @@ -8482,7 +9849,7 @@ _LIGHTNING = _descriptor.ServiceDescriptor( _descriptor.MethodDescriptor( name='ListChannels', full_name='lnrpc.Lightning.ListChannels', - index=16, + index=17, containing_service=None, input_type=_LISTCHANNELSREQUEST, output_type=_LISTCHANNELSRESPONSE, @@ -8491,7 +9858,7 @@ _LIGHTNING = _descriptor.ServiceDescriptor( _descriptor.MethodDescriptor( name='SubscribeChannelEvents', full_name='lnrpc.Lightning.SubscribeChannelEvents', - index=17, + index=18, containing_service=None, input_type=_CHANNELEVENTSUBSCRIPTION, output_type=_CHANNELEVENTUPDATE, @@ -8500,7 +9867,7 @@ _LIGHTNING = _descriptor.ServiceDescriptor( _descriptor.MethodDescriptor( name='ClosedChannels', full_name='lnrpc.Lightning.ClosedChannels', - index=18, + index=19, containing_service=None, input_type=_CLOSEDCHANNELSREQUEST, output_type=_CLOSEDCHANNELSRESPONSE, @@ -8509,7 +9876,7 @@ _LIGHTNING = _descriptor.ServiceDescriptor( _descriptor.MethodDescriptor( name='OpenChannelSync', full_name='lnrpc.Lightning.OpenChannelSync', - index=19, + index=20, containing_service=None, input_type=_OPENCHANNELREQUEST, output_type=_CHANNELPOINT, @@ -8518,16 +9885,25 @@ _LIGHTNING = _descriptor.ServiceDescriptor( _descriptor.MethodDescriptor( name='OpenChannel', full_name='lnrpc.Lightning.OpenChannel', - index=20, + index=21, containing_service=None, input_type=_OPENCHANNELREQUEST, output_type=_OPENSTATUSUPDATE, serialized_options=None, ), + _descriptor.MethodDescriptor( + name='FundingStateStep', + full_name='lnrpc.Lightning.FundingStateStep', + index=22, + containing_service=None, + input_type=_FUNDINGTRANSITIONMSG, + output_type=_FUNDINGSTATESTEPRESP, + serialized_options=None, + ), _descriptor.MethodDescriptor( name='ChannelAcceptor', full_name='lnrpc.Lightning.ChannelAcceptor', - index=21, + index=23, containing_service=None, input_type=_CHANNELACCEPTRESPONSE, output_type=_CHANNELACCEPTREQUEST, @@ -8536,7 +9912,7 @@ _LIGHTNING = _descriptor.ServiceDescriptor( _descriptor.MethodDescriptor( name='CloseChannel', full_name='lnrpc.Lightning.CloseChannel', - index=22, + index=24, containing_service=None, input_type=_CLOSECHANNELREQUEST, output_type=_CLOSESTATUSUPDATE, @@ -8545,7 +9921,7 @@ _LIGHTNING = _descriptor.ServiceDescriptor( _descriptor.MethodDescriptor( name='AbandonChannel', full_name='lnrpc.Lightning.AbandonChannel', - index=23, + index=25, containing_service=None, input_type=_ABANDONCHANNELREQUEST, output_type=_ABANDONCHANNELRESPONSE, @@ -8554,7 +9930,7 @@ _LIGHTNING = _descriptor.ServiceDescriptor( _descriptor.MethodDescriptor( name='SendPayment', full_name='lnrpc.Lightning.SendPayment', - index=24, + index=26, containing_service=None, input_type=_SENDREQUEST, output_type=_SENDRESPONSE, @@ -8563,7 +9939,7 @@ _LIGHTNING = _descriptor.ServiceDescriptor( _descriptor.MethodDescriptor( name='SendPaymentSync', full_name='lnrpc.Lightning.SendPaymentSync', - index=25, + index=27, containing_service=None, input_type=_SENDREQUEST, output_type=_SENDRESPONSE, @@ -8572,7 +9948,7 @@ _LIGHTNING = _descriptor.ServiceDescriptor( _descriptor.MethodDescriptor( name='SendToRoute', full_name='lnrpc.Lightning.SendToRoute', - index=26, + index=28, containing_service=None, input_type=_SENDTOROUTEREQUEST, output_type=_SENDRESPONSE, @@ -8581,7 +9957,7 @@ _LIGHTNING = _descriptor.ServiceDescriptor( _descriptor.MethodDescriptor( name='SendToRouteSync', full_name='lnrpc.Lightning.SendToRouteSync', - index=27, + index=29, containing_service=None, input_type=_SENDTOROUTEREQUEST, output_type=_SENDRESPONSE, @@ -8590,7 +9966,7 @@ _LIGHTNING = _descriptor.ServiceDescriptor( _descriptor.MethodDescriptor( name='AddInvoice', full_name='lnrpc.Lightning.AddInvoice', - index=28, + index=30, containing_service=None, input_type=_INVOICE, output_type=_ADDINVOICERESPONSE, @@ -8599,7 +9975,7 @@ _LIGHTNING = _descriptor.ServiceDescriptor( _descriptor.MethodDescriptor( name='ListInvoices', full_name='lnrpc.Lightning.ListInvoices', - index=29, + index=31, containing_service=None, input_type=_LISTINVOICEREQUEST, output_type=_LISTINVOICERESPONSE, @@ -8608,7 +9984,7 @@ _LIGHTNING = _descriptor.ServiceDescriptor( _descriptor.MethodDescriptor( name='LookupInvoice', full_name='lnrpc.Lightning.LookupInvoice', - index=30, + index=32, containing_service=None, input_type=_PAYMENTHASH, output_type=_INVOICE, @@ -8617,7 +9993,7 @@ _LIGHTNING = _descriptor.ServiceDescriptor( _descriptor.MethodDescriptor( name='SubscribeInvoices', full_name='lnrpc.Lightning.SubscribeInvoices', - index=31, + index=33, containing_service=None, input_type=_INVOICESUBSCRIPTION, output_type=_INVOICE, @@ -8626,7 +10002,7 @@ _LIGHTNING = _descriptor.ServiceDescriptor( _descriptor.MethodDescriptor( name='DecodePayReq', full_name='lnrpc.Lightning.DecodePayReq', - index=32, + index=34, containing_service=None, input_type=_PAYREQSTRING, output_type=_PAYREQ, @@ -8635,7 +10011,7 @@ _LIGHTNING = _descriptor.ServiceDescriptor( _descriptor.MethodDescriptor( name='ListPayments', full_name='lnrpc.Lightning.ListPayments', - index=33, + index=35, containing_service=None, input_type=_LISTPAYMENTSREQUEST, output_type=_LISTPAYMENTSRESPONSE, @@ -8644,7 +10020,7 @@ _LIGHTNING = _descriptor.ServiceDescriptor( _descriptor.MethodDescriptor( name='DeleteAllPayments', full_name='lnrpc.Lightning.DeleteAllPayments', - index=34, + index=36, containing_service=None, input_type=_DELETEALLPAYMENTSREQUEST, output_type=_DELETEALLPAYMENTSRESPONSE, @@ -8653,7 +10029,7 @@ _LIGHTNING = _descriptor.ServiceDescriptor( _descriptor.MethodDescriptor( name='DescribeGraph', full_name='lnrpc.Lightning.DescribeGraph', - index=35, + index=37, containing_service=None, input_type=_CHANNELGRAPHREQUEST, output_type=_CHANNELGRAPH, @@ -8662,7 +10038,7 @@ _LIGHTNING = _descriptor.ServiceDescriptor( _descriptor.MethodDescriptor( name='GetChanInfo', full_name='lnrpc.Lightning.GetChanInfo', - index=36, + index=38, containing_service=None, input_type=_CHANINFOREQUEST, output_type=_CHANNELEDGE, @@ -8671,7 +10047,7 @@ _LIGHTNING = _descriptor.ServiceDescriptor( _descriptor.MethodDescriptor( name='GetNodeInfo', full_name='lnrpc.Lightning.GetNodeInfo', - index=37, + index=39, containing_service=None, input_type=_NODEINFOREQUEST, output_type=_NODEINFO, @@ -8680,7 +10056,7 @@ _LIGHTNING = _descriptor.ServiceDescriptor( _descriptor.MethodDescriptor( name='QueryRoutes', full_name='lnrpc.Lightning.QueryRoutes', - index=38, + index=40, containing_service=None, input_type=_QUERYROUTESREQUEST, output_type=_QUERYROUTESRESPONSE, @@ -8689,7 +10065,7 @@ _LIGHTNING = _descriptor.ServiceDescriptor( _descriptor.MethodDescriptor( name='GetNetworkInfo', full_name='lnrpc.Lightning.GetNetworkInfo', - index=39, + index=41, containing_service=None, input_type=_NETWORKINFOREQUEST, output_type=_NETWORKINFO, @@ -8698,7 +10074,7 @@ _LIGHTNING = _descriptor.ServiceDescriptor( _descriptor.MethodDescriptor( name='StopDaemon', full_name='lnrpc.Lightning.StopDaemon', - index=40, + index=42, containing_service=None, input_type=_STOPREQUEST, output_type=_STOPRESPONSE, @@ -8707,7 +10083,7 @@ _LIGHTNING = _descriptor.ServiceDescriptor( _descriptor.MethodDescriptor( name='SubscribeChannelGraph', full_name='lnrpc.Lightning.SubscribeChannelGraph', - index=41, + index=43, containing_service=None, input_type=_GRAPHTOPOLOGYSUBSCRIPTION, output_type=_GRAPHTOPOLOGYUPDATE, @@ -8716,7 +10092,7 @@ _LIGHTNING = _descriptor.ServiceDescriptor( _descriptor.MethodDescriptor( name='DebugLevel', full_name='lnrpc.Lightning.DebugLevel', - index=42, + index=44, containing_service=None, input_type=_DEBUGLEVELREQUEST, output_type=_DEBUGLEVELRESPONSE, @@ -8725,7 +10101,7 @@ _LIGHTNING = _descriptor.ServiceDescriptor( _descriptor.MethodDescriptor( name='FeeReport', full_name='lnrpc.Lightning.FeeReport', - index=43, + index=45, containing_service=None, input_type=_FEEREPORTREQUEST, output_type=_FEEREPORTRESPONSE, @@ -8734,7 +10110,7 @@ _LIGHTNING = _descriptor.ServiceDescriptor( _descriptor.MethodDescriptor( name='UpdateChannelPolicy', full_name='lnrpc.Lightning.UpdateChannelPolicy', - index=44, + index=46, containing_service=None, input_type=_POLICYUPDATEREQUEST, output_type=_POLICYUPDATERESPONSE, @@ -8743,7 +10119,7 @@ _LIGHTNING = _descriptor.ServiceDescriptor( _descriptor.MethodDescriptor( name='ForwardingHistory', full_name='lnrpc.Lightning.ForwardingHistory', - index=45, + index=47, containing_service=None, input_type=_FORWARDINGHISTORYREQUEST, output_type=_FORWARDINGHISTORYRESPONSE, @@ -8752,7 +10128,7 @@ _LIGHTNING = _descriptor.ServiceDescriptor( _descriptor.MethodDescriptor( name='ExportChannelBackup', full_name='lnrpc.Lightning.ExportChannelBackup', - index=46, + index=48, containing_service=None, input_type=_EXPORTCHANNELBACKUPREQUEST, output_type=_CHANNELBACKUP, @@ -8761,7 +10137,7 @@ _LIGHTNING = _descriptor.ServiceDescriptor( _descriptor.MethodDescriptor( name='ExportAllChannelBackups', full_name='lnrpc.Lightning.ExportAllChannelBackups', - index=47, + index=49, containing_service=None, input_type=_CHANBACKUPEXPORTREQUEST, output_type=_CHANBACKUPSNAPSHOT, @@ -8770,7 +10146,7 @@ _LIGHTNING = _descriptor.ServiceDescriptor( _descriptor.MethodDescriptor( name='VerifyChanBackup', full_name='lnrpc.Lightning.VerifyChanBackup', - index=48, + index=50, containing_service=None, input_type=_CHANBACKUPSNAPSHOT, output_type=_VERIFYCHANBACKUPRESPONSE, @@ -8779,7 +10155,7 @@ _LIGHTNING = _descriptor.ServiceDescriptor( _descriptor.MethodDescriptor( name='RestoreChannelBackups', full_name='lnrpc.Lightning.RestoreChannelBackups', - index=49, + index=51, containing_service=None, input_type=_RESTORECHANBACKUPREQUEST, output_type=_RESTOREBACKUPRESPONSE, @@ -8788,7 +10164,7 @@ _LIGHTNING = _descriptor.ServiceDescriptor( _descriptor.MethodDescriptor( name='SubscribeChannelBackups', full_name='lnrpc.Lightning.SubscribeChannelBackups', - index=50, + index=52, containing_service=None, input_type=_CHANNELBACKUPSUBSCRIPTION, output_type=_CHANBACKUPSNAPSHOT, @@ -8797,7 +10173,7 @@ _LIGHTNING = _descriptor.ServiceDescriptor( _descriptor.MethodDescriptor( name='BakeMacaroon', full_name='lnrpc.Lightning.BakeMacaroon', - index=51, + index=53, containing_service=None, input_type=_BAKEMACAROONREQUEST, output_type=_BAKEMACAROONRESPONSE, diff --git a/home.admin/config.scripts/lndlibs/rpc_pb2_grpc.py b/home.admin/config.scripts/lndlibs/rpc_pb2_grpc.py index 36735af7a..4c34cf373 100644 --- a/home.admin/config.scripts/lndlibs/rpc_pb2_grpc.py +++ b/home.admin/config.scripts/lndlibs/rpc_pb2_grpc.py @@ -246,6 +246,11 @@ class LightningStub(object): request_serializer=rpc__pb2.ListPeersRequest.SerializeToString, response_deserializer=rpc__pb2.ListPeersResponse.FromString, ) + self.SubscribePeerEvents = channel.unary_stream( + '/lnrpc.Lightning/SubscribePeerEvents', + request_serializer=rpc__pb2.PeerEventSubscription.SerializeToString, + response_deserializer=rpc__pb2.PeerEvent.FromString, + ) self.GetInfo = channel.unary_unary( '/lnrpc.Lightning/GetInfo', request_serializer=rpc__pb2.GetInfoRequest.SerializeToString, @@ -281,6 +286,11 @@ class LightningStub(object): request_serializer=rpc__pb2.OpenChannelRequest.SerializeToString, response_deserializer=rpc__pb2.OpenStatusUpdate.FromString, ) + self.FundingStateStep = channel.unary_unary( + '/lnrpc.Lightning/FundingStateStep', + request_serializer=rpc__pb2.FundingTransitionMsg.SerializeToString, + response_deserializer=rpc__pb2.FundingStateStepResp.FromString, + ) self.ChannelAcceptor = channel.stream_stream( '/lnrpc.Lightning/ChannelAcceptor', request_serializer=rpc__pb2.ChannelAcceptResponse.SerializeToString, @@ -578,6 +588,16 @@ class LightningServicer(object): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') + def SubscribePeerEvents(self, request, context): + """* + SubscribePeerEvents creates a uni-directional stream from the server to + the client in which any events relevant to the state of peers are sent + over. Events include peers going online and offline. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + def GetInfo(self, request, context): """* lncli: `getinfo` GetInfo returns general information concerning the lightning node including @@ -647,7 +667,25 @@ class LightningServicer(object): request to a remote peer. Users are able to specify a target number of blocks that the funding transaction should be confirmed in, or a manual fee rate to us for the funding transaction. If neither are specified, then a - lax block confirmation target is used. + lax block confirmation target is used. Each OpenStatusUpdate will return + the pending channel ID of the in-progress channel. Depending on the + arguments specified in the OpenChannelRequest, this pending channel ID can + then be used to manually progress the channel funding flow. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def FundingStateStep(self, request, context): + """* + FundingStateStep is an advanced funding related call that allows the caller + to either execute some preparatory steps for a funding workflow, or + manually progress a funding workflow. The primary way a funding flow is + identified is via its pending channel ID. As an example, this method can be + used to specify that we're expecting a funding flow for a particular + pending channel ID, for which we need to use specific parameters. + Alternatively, this can be used to interactively drive PSBT signing for + funding for partially complete funding transactions. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') @@ -772,9 +810,9 @@ class LightningServicer(object): notifying the client of newly added/settled invoices. The caller can optionally specify the add_index and/or the settle_index. If the add_index is specified, then we'll first start by sending add invoice events for all - invoices with an add_index greater than the specified value. If the + invoices with an add_index greater than the specified value. If the settle_index is specified, the next, we'll send out all settle events for - invoices with a settle_index greater than the specified value. One or both + invoices with a settle_index greater than the specified value. One or both of these fields can be set. If no fields are set, then we'll only send out the latest add/settle events. """ @@ -813,7 +851,7 @@ class LightningServicer(object): DescribeGraph returns a description of the latest graph state from the point of view of the node. The graph information is partitioned into two components: all the nodes/vertexes, and all the edges that connect the - vertexes themselves. As this is a directed graph, the edges also contain + vertexes themselves. As this is a directed graph, the edges also contain the node directional specific routing policy which includes: the time lock delta, fee information, etc. """ @@ -922,7 +960,7 @@ class LightningServicer(object): A list of forwarding events are returned. The size of each forwarding event is 40 bytes, and the max message size able to be returned in gRPC is 4 MiB. - As a result each message can only contain 50k entries. Each response has + As a result each message can only contain 50k entries. Each response has the index offset of the last entry. The index offset can be provided to the request to allow the caller to skip a series of records. """ @@ -1073,6 +1111,11 @@ def add_LightningServicer_to_server(servicer, server): request_deserializer=rpc__pb2.ListPeersRequest.FromString, response_serializer=rpc__pb2.ListPeersResponse.SerializeToString, ), + 'SubscribePeerEvents': grpc.unary_stream_rpc_method_handler( + servicer.SubscribePeerEvents, + request_deserializer=rpc__pb2.PeerEventSubscription.FromString, + response_serializer=rpc__pb2.PeerEvent.SerializeToString, + ), 'GetInfo': grpc.unary_unary_rpc_method_handler( servicer.GetInfo, request_deserializer=rpc__pb2.GetInfoRequest.FromString, @@ -1108,6 +1151,11 @@ def add_LightningServicer_to_server(servicer, server): request_deserializer=rpc__pb2.OpenChannelRequest.FromString, response_serializer=rpc__pb2.OpenStatusUpdate.SerializeToString, ), + 'FundingStateStep': grpc.unary_unary_rpc_method_handler( + servicer.FundingStateStep, + request_deserializer=rpc__pb2.FundingTransitionMsg.FromString, + response_serializer=rpc__pb2.FundingStateStepResp.SerializeToString, + ), 'ChannelAcceptor': grpc.stream_stream_rpc_method_handler( servicer.ChannelAcceptor, request_deserializer=rpc__pb2.ChannelAcceptResponse.FromString,