diff --git a/charge_lnd/grpc_generated/lightning_pb2.py b/charge_lnd/grpc_generated/lightning_pb2.py new file mode 100644 index 0000000..38a7dbc --- /dev/null +++ b/charge_lnd/grpc_generated/lightning_pb2.py @@ -0,0 +1,671 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: lightning.proto +# Protobuf Python Version: 5.26.1 +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0flightning.proto\x12\x05lnrpc\"B\n\x1bLookupHtlcResolutionRequest\x12\x0f\n\x07\x63han_id\x18\x01 \x01(\x04\x12\x12\n\nhtlc_index\x18\x02 \x01(\x04\"A\n\x1cLookupHtlcResolutionResponse\x12\x0f\n\x07settled\x18\x01 \x01(\x08\x12\x10\n\x08offchain\x18\x02 \x01(\x08\" \n\x1eSubscribeCustomMessagesRequest\"9\n\rCustomMessage\x12\x0c\n\x04peer\x18\x01 \x01(\x0c\x12\x0c\n\x04type\x18\x02 \x01(\r\x12\x0c\n\x04\x64\x61ta\x18\x03 \x01(\x0c\"D\n\x18SendCustomMessageRequest\x12\x0c\n\x04peer\x18\x01 \x01(\x0c\x12\x0c\n\x04type\x18\x02 \x01(\r\x12\x0c\n\x04\x64\x61ta\x18\x03 \x01(\x0c\"\x1b\n\x19SendCustomMessageResponse\"\xa2\x01\n\x04Utxo\x12(\n\x0c\x61\x64\x64ress_type\x18\x01 \x01(\x0e\x32\x12.lnrpc.AddressType\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x12\x12\n\namount_sat\x18\x03 \x01(\x03\x12\x11\n\tpk_script\x18\x04 \x01(\t\x12!\n\x08outpoint\x18\x05 \x01(\x0b\x32\x0f.lnrpc.OutPoint\x12\x15\n\rconfirmations\x18\x06 \x01(\x03\"\x9e\x01\n\x0cOutputDetail\x12,\n\x0boutput_type\x18\x01 \x01(\x0e\x32\x17.lnrpc.OutputScriptType\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x12\x11\n\tpk_script\x18\x03 \x01(\t\x12\x14\n\x0coutput_index\x18\x04 \x01(\x03\x12\x0e\n\x06\x61mount\x18\x05 \x01(\x03\x12\x16\n\x0eis_our_address\x18\x06 \x01(\x08\"\xbc\x02\n\x0bTransaction\x12\x0f\n\x07tx_hash\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\x03\x12\x19\n\x11num_confirmations\x18\x03 \x01(\x05\x12\x12\n\nblock_hash\x18\x04 \x01(\t\x12\x14\n\x0c\x62lock_height\x18\x05 \x01(\x05\x12\x12\n\ntime_stamp\x18\x06 \x01(\x03\x12\x12\n\ntotal_fees\x18\x07 \x01(\x03\x12\x1a\n\x0e\x64\x65st_addresses\x18\x08 \x03(\tB\x02\x18\x01\x12+\n\x0eoutput_details\x18\x0b \x03(\x0b\x32\x13.lnrpc.OutputDetail\x12\x12\n\nraw_tx_hex\x18\t \x01(\t\x12\r\n\x05label\x18\n \x01(\t\x12\x33\n\x12previous_outpoints\x18\x0c \x03(\x0b\x32\x17.lnrpc.PreviousOutPoint\"S\n\x16GetTransactionsRequest\x12\x14\n\x0cstart_height\x18\x01 \x01(\x05\x12\x12\n\nend_height\x18\x02 \x01(\x05\x12\x0f\n\x07\x61\x63\x63ount\x18\x03 \x01(\t\">\n\x12TransactionDetails\x12(\n\x0ctransactions\x18\x01 \x03(\x0b\x32\x12.lnrpc.Transaction\"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\"\x8a\x04\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\x12\x14\n\x0cpayment_addr\x18\x10 \x01(\x0c\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\"z\n\x0cSendResponse\x12\x15\n\rpayment_error\x18\x01 \x01(\t\x12\x18\n\x10payment_preimage\x18\x02 \x01(\x0c\x12#\n\rpayment_route\x18\x03 \x01(\x0b\x32\x0c.lnrpc.Route\x12\x14\n\x0cpayment_hash\x18\x04 \x01(\x0c\"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\"\x98\x03\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\x12.\n\x0f\x63ommitment_type\x18\x0e \x01(\x0e\x32\x15.lnrpc.CommitmentType\x12\x17\n\x0fwants_zero_conf\x18\x0f \x01(\x08\x12\x18\n\x10wants_scid_alias\x18\x10 \x01(\x08\"\x87\x02\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\x12\r\n\x05\x65rror\x18\x03 \x01(\t\x12\x18\n\x10upfront_shutdown\x18\x04 \x01(\t\x12\x11\n\tcsv_delay\x18\x05 \x01(\r\x12\x13\n\x0breserve_sat\x18\x06 \x01(\x04\x12\x1a\n\x12in_flight_max_msat\x18\x07 \x01(\x04\x12\x16\n\x0emax_htlc_count\x18\x08 \x01(\r\x12\x13\n\x0bmin_htlc_in\x18\t \x01(\x04\x12\x18\n\x10min_accept_depth\x18\n \x01(\r\x12\x11\n\tzero_conf\x18\x0b \x01(\x08\"n\n\x0c\x43hannelPoint\x12\x1c\n\x12\x66unding_txid_bytes\x18\x01 \x01(\x0cH\x00\x12\x1a\n\x10\x66unding_txid_str\x18\x02 \x01(\tH\x00\x12\x14\n\x0coutput_index\x18\x03 \x01(\rB\x0e\n\x0c\x66unding_txid\"F\n\x08OutPoint\x12\x12\n\ntxid_bytes\x18\x01 \x01(\x0c\x12\x10\n\x08txid_str\x18\x02 \x01(\t\x12\x14\n\x0coutput_index\x18\x03 \x01(\r\";\n\x10PreviousOutPoint\x12\x10\n\x08outpoint\x18\x01 \x01(\t\x12\x15\n\ris_our_output\x18\x02 \x01(\x08\"0\n\x10LightningAddress\x12\x0e\n\x06pubkey\x18\x01 \x01(\t\x12\x0c\n\x04host\x18\x02 \x01(\t\"\x8e\x02\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\x12\x11\n\tmin_confs\x18\x03 \x01(\x05\x12\x19\n\x11spend_unconfirmed\x18\x04 \x01(\x08\x12=\n\x17\x63oin_selection_strategy\x18\x05 \x01(\x0e\x32\x1c.lnrpc.CoinSelectionStrategy\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\x13\x45stimateFeeResponse\x12\x0f\n\x07\x66\x65\x65_sat\x18\x01 \x01(\x03\x12 \n\x14\x66\x65\x65rate_sat_per_byte\x18\x02 \x01(\x03\x42\x02\x18\x01\x12\x15\n\rsat_per_vbyte\x18\x03 \x01(\x04\"\xc8\x02\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\x15\n\rsat_per_vbyte\x18\x04 \x01(\x04\x12\x18\n\x0csat_per_byte\x18\x05 \x01(\x03\x42\x02\x18\x01\x12\r\n\x05label\x18\x06 \x01(\t\x12\x11\n\tmin_confs\x18\x07 \x01(\x05\x12\x19\n\x11spend_unconfirmed\x18\x08 \x01(\x08\x12=\n\x17\x63oin_selection_strategy\x18\t \x01(\x0e\x32\x1c.lnrpc.CoinSelectionStrategy\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\x0c\n\x04txid\x18\x01 \x01(\t\"\x84\x02\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\x15\n\rsat_per_vbyte\x18\x04 \x01(\x04\x12\x18\n\x0csat_per_byte\x18\x05 \x01(\x03\x42\x02\x18\x01\x12\x10\n\x08send_all\x18\x06 \x01(\x08\x12\r\n\x05label\x18\x07 \x01(\t\x12\x11\n\tmin_confs\x18\x08 \x01(\x05\x12\x19\n\x11spend_unconfirmed\x18\t \x01(\x08\x12=\n\x17\x63oin_selection_strategy\x18\n \x01(\x0e\x32\x1c.lnrpc.CoinSelectionStrategy\"!\n\x11SendCoinsResponse\x12\x0c\n\x04txid\x18\x01 \x01(\t\"K\n\x12ListUnspentRequest\x12\x11\n\tmin_confs\x18\x01 \x01(\x05\x12\x11\n\tmax_confs\x18\x02 \x01(\x05\x12\x0f\n\x07\x61\x63\x63ount\x18\x03 \x01(\t\"1\n\x13ListUnspentResponse\x12\x1a\n\x05utxos\x18\x01 \x03(\x0b\x32\x0b.lnrpc.Utxo\"F\n\x11NewAddressRequest\x12 \n\x04type\x18\x01 \x01(\x0e\x32\x12.lnrpc.AddressType\x12\x0f\n\x07\x61\x63\x63ount\x18\x02 \x01(\t\"%\n\x12NewAddressResponse\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\"6\n\x12SignMessageRequest\x12\x0b\n\x03msg\x18\x01 \x01(\x0c\x12\x13\n\x0bsingle_hash\x18\x02 \x01(\x08\"(\n\x13SignMessageResponse\x12\x11\n\tsignature\x18\x01 \x01(\t\"6\n\x14VerifyMessageRequest\x12\x0b\n\x03msg\x18\x01 \x01(\x0c\x12\x11\n\tsignature\x18\x02 \x01(\t\"6\n\x15VerifyMessageResponse\x12\r\n\x05valid\x18\x01 \x01(\x08\x12\x0e\n\x06pubkey\x18\x02 \x01(\t\"Z\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\x12\x0f\n\x07timeout\x18\x03 \x01(\x04\"\x15\n\x13\x43onnectPeerResponse\"(\n\x15\x44isconnectPeerRequest\x12\x0f\n\x07pub_key\x18\x01 \x01(\t\"\x18\n\x16\x44isconnectPeerResponse\"\xa5\x01\n\x04HTLC\x12\x10\n\x08incoming\x18\x01 \x01(\x08\x12\x0e\n\x06\x61mount\x18\x02 \x01(\x03\x12\x11\n\thash_lock\x18\x03 \x01(\x0c\x12\x19\n\x11\x65xpiration_height\x18\x04 \x01(\r\x12\x12\n\nhtlc_index\x18\x05 \x01(\x04\x12\x1a\n\x12\x66orwarding_channel\x18\x06 \x01(\x04\x12\x1d\n\x15\x66orwarding_htlc_index\x18\x07 \x01(\x04\"\xaa\x01\n\x12\x43hannelConstraints\x12\x11\n\tcsv_delay\x18\x01 \x01(\r\x12\x18\n\x10\x63han_reserve_sat\x18\x02 \x01(\x04\x12\x16\n\x0e\x64ust_limit_sat\x18\x03 \x01(\x04\x12\x1c\n\x14max_pending_amt_msat\x18\x04 \x01(\x04\x12\x15\n\rmin_htlc_msat\x18\x05 \x01(\x04\x12\x1a\n\x12max_accepted_htlcs\x18\x06 \x01(\r\"\xb9\x07\n\x07\x43hannel\x12\x0e\n\x06\x61\x63tive\x18\x01 \x01(\x08\x12\x15\n\rremote_pubkey\x18\x02 \x01(\t\x12\x15\n\rchannel_point\x18\x03 \x01(\t\x12\x13\n\x07\x63han_id\x18\x04 \x01(\x04\x42\x02\x30\x01\x12\x10\n\x08\x63\x61pacity\x18\x05 \x01(\x03\x12\x15\n\rlocal_balance\x18\x06 \x01(\x03\x12\x16\n\x0eremote_balance\x18\x07 \x01(\x03\x12\x12\n\ncommit_fee\x18\x08 \x01(\x03\x12\x15\n\rcommit_weight\x18\t \x01(\x03\x12\x12\n\nfee_per_kw\x18\n \x01(\x03\x12\x19\n\x11unsettled_balance\x18\x0b \x01(\x03\x12\x1b\n\x13total_satoshis_sent\x18\x0c \x01(\x03\x12\x1f\n\x17total_satoshis_received\x18\r \x01(\x03\x12\x13\n\x0bnum_updates\x18\x0e \x01(\x04\x12\"\n\rpending_htlcs\x18\x0f \x03(\x0b\x32\x0b.lnrpc.HTLC\x12\x15\n\tcsv_delay\x18\x10 \x01(\rB\x02\x18\x01\x12\x0f\n\x07private\x18\x11 \x01(\x08\x12\x11\n\tinitiator\x18\x12 \x01(\x08\x12\x19\n\x11\x63han_status_flags\x18\x13 \x01(\t\x12\"\n\x16local_chan_reserve_sat\x18\x14 \x01(\x03\x42\x02\x18\x01\x12#\n\x17remote_chan_reserve_sat\x18\x15 \x01(\x03\x42\x02\x18\x01\x12\x1d\n\x11static_remote_key\x18\x16 \x01(\x08\x42\x02\x18\x01\x12.\n\x0f\x63ommitment_type\x18\x1a \x01(\x0e\x32\x15.lnrpc.CommitmentType\x12\x10\n\x08lifetime\x18\x17 \x01(\x03\x12\x0e\n\x06uptime\x18\x18 \x01(\x03\x12\x15\n\rclose_address\x18\x19 \x01(\t\x12\x17\n\x0fpush_amount_sat\x18\x1b \x01(\x04\x12\x13\n\x0bthaw_height\x18\x1c \x01(\r\x12\x34\n\x11local_constraints\x18\x1d \x01(\x0b\x32\x19.lnrpc.ChannelConstraints\x12\x35\n\x12remote_constraints\x18\x1e \x01(\x0b\x32\x19.lnrpc.ChannelConstraints\x12\x13\n\x0b\x61lias_scids\x18\x1f \x03(\x04\x12\x11\n\tzero_conf\x18 \x01(\x08\x12 \n\x18zero_conf_confirmed_scid\x18! \x01(\x04\x12\x12\n\npeer_alias\x18\" \x01(\t\x12\x1b\n\x0fpeer_scid_alias\x18# \x01(\x04\x42\x02\x30\x01\x12\x0c\n\x04memo\x18$ \x01(\t\"\x95\x01\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\x12\x0c\n\x04peer\x18\x05 \x01(\x0c\x12\x19\n\x11peer_alias_lookup\x18\x06 \x01(\x08\"8\n\x14ListChannelsResponse\x12 \n\x08\x63hannels\x18\x0b \x03(\x0b\x32\x0e.lnrpc.Channel\".\n\x08\x41liasMap\x12\x11\n\tbase_scid\x18\x01 \x01(\x04\x12\x0f\n\x07\x61liases\x18\x02 \x03(\x04\"\x14\n\x12ListAliasesRequest\":\n\x13ListAliasesResponse\x12#\n\nalias_maps\x18\x01 \x03(\x0b\x32\x0f.lnrpc.AliasMap\"\xe4\x04\n\x13\x43hannelCloseSummary\x12\x15\n\rchannel_point\x18\x01 \x01(\t\x12\x13\n\x07\x63han_id\x18\x02 \x01(\x04\x42\x02\x30\x01\x12\x12\n\nchain_hash\x18\x03 \x01(\t\x12\x17\n\x0f\x63losing_tx_hash\x18\x04 \x01(\t\x12\x15\n\rremote_pubkey\x18\x05 \x01(\t\x12\x10\n\x08\x63\x61pacity\x18\x06 \x01(\x03\x12\x14\n\x0c\x63lose_height\x18\x07 \x01(\r\x12\x17\n\x0fsettled_balance\x18\x08 \x01(\x03\x12\x1b\n\x13time_locked_balance\x18\t \x01(\x03\x12:\n\nclose_type\x18\n \x01(\x0e\x32&.lnrpc.ChannelCloseSummary.ClosureType\x12(\n\x0eopen_initiator\x18\x0b \x01(\x0e\x32\x10.lnrpc.Initiator\x12)\n\x0f\x63lose_initiator\x18\x0c \x01(\x0e\x32\x10.lnrpc.Initiator\x12&\n\x0bresolutions\x18\r \x03(\x0b\x32\x11.lnrpc.Resolution\x12\x13\n\x0b\x61lias_scids\x18\x0e \x03(\x04\x12$\n\x18zero_conf_confirmed_scid\x18\x0f \x01(\x04\x42\x02\x30\x01\"\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\"\xb2\x01\n\nResolution\x12.\n\x0fresolution_type\x18\x01 \x01(\x0e\x32\x15.lnrpc.ResolutionType\x12)\n\x07outcome\x18\x02 \x01(\x0e\x32\x18.lnrpc.ResolutionOutcome\x12!\n\x08outpoint\x18\x03 \x01(\x0b\x32\x0f.lnrpc.OutPoint\x12\x12\n\namount_sat\x18\x04 \x01(\x04\x12\x12\n\nsweep_txid\x18\x05 \x01(\t\"\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\"F\n\x16\x43losedChannelsResponse\x12,\n\x08\x63hannels\x18\x01 \x03(\x0b\x32\x1a.lnrpc.ChannelCloseSummary\"\xef\x03\n\x04Peer\x12\x0f\n\x07pub_key\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x03 \x01(\t\x12\x12\n\nbytes_sent\x18\x04 \x01(\x04\x12\x12\n\nbytes_recv\x18\x05 \x01(\x04\x12\x10\n\x08sat_sent\x18\x06 \x01(\x03\x12\x10\n\x08sat_recv\x18\x07 \x01(\x03\x12\x0f\n\x07inbound\x18\x08 \x01(\x08\x12\x11\n\tping_time\x18\t \x01(\x03\x12\'\n\tsync_type\x18\n \x01(\x0e\x32\x14.lnrpc.Peer.SyncType\x12+\n\x08\x66\x65\x61tures\x18\x0b \x03(\x0b\x32\x19.lnrpc.Peer.FeaturesEntry\x12\'\n\x06\x65rrors\x18\x0c \x03(\x0b\x32\x17.lnrpc.TimestampedError\x12\x12\n\nflap_count\x18\r \x01(\x05\x12\x14\n\x0clast_flap_ns\x18\x0e \x01(\x03\x12\x19\n\x11last_ping_payload\x18\x0f \x01(\x0c\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\"P\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\x0f\n\x0bPINNED_SYNC\x10\x03\"4\n\x10TimestampedError\x12\x11\n\ttimestamp\x18\x01 \x01(\x04\x12\r\n\x05\x65rror\x18\x02 \x01(\t\"(\n\x10ListPeersRequest\x12\x14\n\x0clatest_error\x18\x01 \x01(\x08\"/\n\x11ListPeersResponse\x12\x1a\n\x05peers\x18\x01 \x03(\x0b\x32\x0b.lnrpc.Peer\"\x17\n\x15PeerEventSubscription\"v\n\tPeerEvent\x12\x0f\n\x07pub_key\x18\x01 \x01(\t\x12(\n\x04type\x18\x02 \x01(\x0e\x32\x1a.lnrpc.PeerEvent.EventType\".\n\tEventType\x12\x0f\n\x0bPEER_ONLINE\x10\x00\x12\x10\n\x0cPEER_OFFLINE\x10\x01\"\x10\n\x0eGetInfoRequest\"\xde\x04\n\x0fGetInfoResponse\x12\x0f\n\x07version\x18\x0e \x01(\t\x12\x13\n\x0b\x63ommit_hash\x18\x14 \x01(\t\x12\x17\n\x0fidentity_pubkey\x18\x01 \x01(\t\x12\r\n\x05\x61lias\x18\x02 \x01(\t\x12\r\n\x05\x63olor\x18\x11 \x01(\t\x12\x1c\n\x14num_pending_channels\x18\x03 \x01(\r\x12\x1b\n\x13num_active_channels\x18\x04 \x01(\r\x12\x1d\n\x15num_inactive_channels\x18\x0f \x01(\r\x12\x11\n\tnum_peers\x18\x05 \x01(\r\x12\x14\n\x0c\x62lock_height\x18\x06 \x01(\r\x12\x12\n\nblock_hash\x18\x08 \x01(\t\x12\x1d\n\x15\x62\x65st_header_timestamp\x18\r \x01(\x03\x12\x17\n\x0fsynced_to_chain\x18\t \x01(\x08\x12\x17\n\x0fsynced_to_graph\x18\x12 \x01(\x08\x12\x13\n\x07testnet\x18\n \x01(\x08\x42\x02\x18\x01\x12\x1c\n\x06\x63hains\x18\x10 \x03(\x0b\x32\x0c.lnrpc.Chain\x12\x0c\n\x04uris\x18\x0c \x03(\t\x12\x36\n\x08\x66\x65\x61tures\x18\x13 \x03(\x0b\x32$.lnrpc.GetInfoResponse.FeaturesEntry\x12 \n\x18require_htlc_interceptor\x18\x15 \x01(\x08\x12$\n\x1cstore_final_htlc_resolutions\x18\x16 \x01(\x08\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\"\x15\n\x13GetDebugInfoRequest\"\x8b\x01\n\x14GetDebugInfoResponse\x12\x37\n\x06\x63onfig\x18\x01 \x03(\x0b\x32\'.lnrpc.GetDebugInfoResponse.ConfigEntry\x12\x0b\n\x03log\x18\x02 \x03(\t\x1a-\n\x0b\x43onfigEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x18\n\x16GetRecoveryInfoRequest\"]\n\x17GetRecoveryInfoResponse\x12\x15\n\rrecovery_mode\x18\x01 \x01(\x08\x12\x19\n\x11recovery_finished\x18\x02 \x01(\x08\x12\x10\n\x08progress\x18\x03 \x01(\x01\"+\n\x05\x43hain\x12\x11\n\x05\x63hain\x18\x01 \x01(\tB\x02\x18\x01\x12\x0f\n\x07network\x18\x02 \x01(\t\"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\x11\x43hannelOpenUpdate\x12*\n\rchannel_point\x18\x01 \x01(\x0b\x32\x13.lnrpc.ChannelPoint\";\n\x12\x43hannelCloseUpdate\x12\x14\n\x0c\x63losing_txid\x18\x01 \x01(\x0c\x12\x0f\n\x07success\x18\x02 \x01(\x08\"\xdc\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\x18\n\x0csat_per_byte\x18\x04 \x01(\x03\x42\x02\x18\x01\x12\x18\n\x10\x64\x65livery_address\x18\x05 \x01(\t\x12\x15\n\rsat_per_vbyte\x18\x06 \x01(\x04\x12\x19\n\x11max_fee_per_vbyte\x18\x07 \x01(\x04\x12\x0f\n\x07no_wait\x18\x08 \x01(\x08\"\xac\x01\n\x11\x43loseStatusUpdate\x12-\n\rclose_pending\x18\x01 \x01(\x0b\x32\x14.lnrpc.PendingUpdateH\x00\x12/\n\nchan_close\x18\x03 \x01(\x0b\x32\x19.lnrpc.ChannelCloseUpdateH\x00\x12-\n\rclose_instant\x18\x04 \x01(\x0b\x32\x14.lnrpc.InstantUpdateH\x00\x42\x08\n\x06update\"3\n\rPendingUpdate\x12\x0c\n\x04txid\x18\x01 \x01(\x0c\x12\x14\n\x0coutput_index\x18\x02 \x01(\r\"\x0f\n\rInstantUpdate\"T\n\x13ReadyForPsbtFunding\x12\x17\n\x0f\x66unding_address\x18\x01 \x01(\t\x12\x16\n\x0e\x66unding_amount\x18\x02 \x01(\x03\x12\x0c\n\x04psbt\x18\x03 \x01(\x0c\"\xec\x01\n\x17\x42\x61tchOpenChannelRequest\x12)\n\x08\x63hannels\x18\x01 \x03(\x0b\x32\x17.lnrpc.BatchOpenChannel\x12\x13\n\x0btarget_conf\x18\x02 \x01(\x05\x12\x15\n\rsat_per_vbyte\x18\x03 \x01(\x03\x12\x11\n\tmin_confs\x18\x04 \x01(\x05\x12\x19\n\x11spend_unconfirmed\x18\x05 \x01(\x08\x12\r\n\x05label\x18\x06 \x01(\t\x12=\n\x17\x63oin_selection_strategy\x18\x07 \x01(\x0e\x32\x1c.lnrpc.CoinSelectionStrategy\"\xf9\x03\n\x10\x42\x61tchOpenChannel\x12\x13\n\x0bnode_pubkey\x18\x01 \x01(\x0c\x12\x1c\n\x14local_funding_amount\x18\x02 \x01(\x03\x12\x10\n\x08push_sat\x18\x03 \x01(\x03\x12\x0f\n\x07private\x18\x04 \x01(\x08\x12\x15\n\rmin_htlc_msat\x18\x05 \x01(\x03\x12\x18\n\x10remote_csv_delay\x18\x06 \x01(\r\x12\x15\n\rclose_address\x18\x07 \x01(\t\x12\x17\n\x0fpending_chan_id\x18\x08 \x01(\x0c\x12.\n\x0f\x63ommitment_type\x18\t \x01(\x0e\x32\x15.lnrpc.CommitmentType\x12\'\n\x1fremote_max_value_in_flight_msat\x18\n \x01(\x04\x12\x18\n\x10remote_max_htlcs\x18\x0b \x01(\r\x12\x15\n\rmax_local_csv\x18\x0c \x01(\r\x12\x11\n\tzero_conf\x18\r \x01(\x08\x12\x12\n\nscid_alias\x18\x0e \x01(\x08\x12\x10\n\x08\x62\x61se_fee\x18\x0f \x01(\x04\x12\x10\n\x08\x66\x65\x65_rate\x18\x10 \x01(\x04\x12\x14\n\x0cuse_base_fee\x18\x11 \x01(\x08\x12\x14\n\x0cuse_fee_rate\x18\x12 \x01(\x08\x12\x1f\n\x17remote_chan_reserve_sat\x18\x13 \x01(\x04\x12\x0c\n\x04memo\x18\x14 \x01(\t\"J\n\x18\x42\x61tchOpenChannelResponse\x12.\n\x10pending_channels\x18\x01 \x03(\x0b\x32\x14.lnrpc.PendingUpdate\"\xd6\x05\n\x12OpenChannelRequest\x12\x15\n\rsat_per_vbyte\x18\x01 \x01(\x04\x12\x13\n\x0bnode_pubkey\x18\x02 \x01(\x0c\x12\x1e\n\x12node_pubkey_string\x18\x03 \x01(\tB\x02\x18\x01\x12\x1c\n\x14local_funding_amount\x18\x04 \x01(\x03\x12\x10\n\x08push_sat\x18\x05 \x01(\x03\x12\x13\n\x0btarget_conf\x18\x06 \x01(\x05\x12\x18\n\x0csat_per_byte\x18\x07 \x01(\x03\x42\x02\x18\x01\x12\x0f\n\x07private\x18\x08 \x01(\x08\x12\x15\n\rmin_htlc_msat\x18\t \x01(\x03\x12\x18\n\x10remote_csv_delay\x18\n \x01(\r\x12\x11\n\tmin_confs\x18\x0b \x01(\x05\x12\x19\n\x11spend_unconfirmed\x18\x0c \x01(\x08\x12\x15\n\rclose_address\x18\r \x01(\t\x12(\n\x0c\x66unding_shim\x18\x0e \x01(\x0b\x32\x12.lnrpc.FundingShim\x12\'\n\x1fremote_max_value_in_flight_msat\x18\x0f \x01(\x04\x12\x18\n\x10remote_max_htlcs\x18\x10 \x01(\r\x12\x15\n\rmax_local_csv\x18\x11 \x01(\r\x12.\n\x0f\x63ommitment_type\x18\x12 \x01(\x0e\x32\x15.lnrpc.CommitmentType\x12\x11\n\tzero_conf\x18\x13 \x01(\x08\x12\x12\n\nscid_alias\x18\x14 \x01(\x08\x12\x10\n\x08\x62\x61se_fee\x18\x15 \x01(\x04\x12\x10\n\x08\x66\x65\x65_rate\x18\x16 \x01(\x04\x12\x14\n\x0cuse_base_fee\x18\x17 \x01(\x08\x12\x14\n\x0cuse_fee_rate\x18\x18 \x01(\x08\x12\x1f\n\x17remote_chan_reserve_sat\x18\x19 \x01(\x04\x12\x10\n\x08\x66und_max\x18\x1a \x01(\x08\x12\x0c\n\x04memo\x18\x1b \x01(\t\x12\"\n\toutpoints\x18\x1c \x03(\x0b\x32\x0f.lnrpc.OutPoint\"\xc3\x01\n\x10OpenStatusUpdate\x12,\n\x0c\x63han_pending\x18\x01 \x01(\x0b\x32\x14.lnrpc.PendingUpdateH\x00\x12-\n\tchan_open\x18\x03 \x01(\x0b\x32\x18.lnrpc.ChannelOpenUpdateH\x00\x12/\n\tpsbt_fund\x18\x05 \x01(\x0b\x32\x1a.lnrpc.ReadyForPsbtFundingH\x00\x12\x17\n\x0fpending_chan_id\x18\x04 \x01(\x0c\x42\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\"\xc0\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\x12\x13\n\x0bthaw_height\x18\x06 \x01(\r\x12\x0e\n\x06musig2\x18\x07 \x01(\x08\"J\n\x08PsbtShim\x12\x17\n\x0fpending_chan_id\x18\x01 \x01(\x0c\x12\x11\n\tbase_psbt\x18\x02 \x01(\x0c\x12\x12\n\nno_publish\x18\x03 \x01(\x08\"l\n\x0b\x46undingShim\x12/\n\x0f\x63han_point_shim\x18\x01 \x01(\x0b\x32\x14.lnrpc.ChanPointShimH\x00\x12$\n\tpsbt_shim\x18\x02 \x01(\x0b\x32\x0f.lnrpc.PsbtShimH\x00\x42\x06\n\x04shim\",\n\x11\x46undingShimCancel\x12\x17\n\x0fpending_chan_id\x18\x01 \x01(\x0c\"X\n\x11\x46undingPsbtVerify\x12\x13\n\x0b\x66unded_psbt\x18\x01 \x01(\x0c\x12\x17\n\x0fpending_chan_id\x18\x02 \x01(\x0c\x12\x15\n\rskip_finalize\x18\x03 \x01(\x08\"Y\n\x13\x46undingPsbtFinalize\x12\x13\n\x0bsigned_psbt\x18\x01 \x01(\x0c\x12\x17\n\x0fpending_chan_id\x18\x02 \x01(\x0c\x12\x14\n\x0c\x66inal_raw_tx\x18\x03 \x01(\x0c\"\xe5\x01\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\x12/\n\x0bpsbt_verify\x18\x03 \x01(\x0b\x32\x18.lnrpc.FundingPsbtVerifyH\x00\x12\x33\n\rpsbt_finalize\x18\x04 \x01(\x0b\x32\x1a.lnrpc.FundingPsbtFinalizeH\x00\x42\t\n\x07trigger\"\x16\n\x14\x46undingStateStepResp\"\x86\x01\n\x0bPendingHTLC\x12\x10\n\x08incoming\x18\x01 \x01(\x08\x12\x0e\n\x06\x61mount\x18\x02 \x01(\x03\x12\x10\n\x08outpoint\x18\x03 \x01(\t\x12\x17\n\x0fmaturity_height\x18\x04 \x01(\r\x12\x1b\n\x13\x62locks_til_maturity\x18\x05 \x01(\x05\x12\r\n\x05stage\x18\x06 \x01(\r\"0\n\x16PendingChannelsRequest\x12\x16\n\x0einclude_raw_tx\x18\x01 \x01(\x08\"\xbc\x0e\n\x17PendingChannelsResponse\x12\x1b\n\x13total_limbo_balance\x18\x01 \x01(\x03\x12P\n\x15pending_open_channels\x18\x02 \x03(\x0b\x32\x31.lnrpc.PendingChannelsResponse.PendingOpenChannel\x12R\n\x18pending_closing_channels\x18\x03 \x03(\x0b\x32,.lnrpc.PendingChannelsResponse.ClosedChannelB\x02\x18\x01\x12Y\n\x1epending_force_closing_channels\x18\x04 \x03(\x0b\x32\x31.lnrpc.PendingChannelsResponse.ForceClosedChannel\x12R\n\x16waiting_close_channels\x18\x05 \x03(\x0b\x32\x32.lnrpc.PendingChannelsResponse.WaitingCloseChannel\x1a\xf2\x02\n\x0ePendingChannel\x12\x17\n\x0fremote_node_pub\x18\x01 \x01(\t\x12\x15\n\rchannel_point\x18\x02 \x01(\t\x12\x10\n\x08\x63\x61pacity\x18\x03 \x01(\x03\x12\x15\n\rlocal_balance\x18\x04 \x01(\x03\x12\x16\n\x0eremote_balance\x18\x05 \x01(\x03\x12\x1e\n\x16local_chan_reserve_sat\x18\x06 \x01(\x03\x12\x1f\n\x17remote_chan_reserve_sat\x18\x07 \x01(\x03\x12#\n\tinitiator\x18\x08 \x01(\x0e\x32\x10.lnrpc.Initiator\x12.\n\x0f\x63ommitment_type\x18\t \x01(\x0e\x32\x15.lnrpc.CommitmentType\x12\x1f\n\x17num_forwarding_packages\x18\n \x01(\x03\x12\x19\n\x11\x63han_status_flags\x18\x0b \x01(\t\x12\x0f\n\x07private\x18\x0c \x01(\x08\x12\x0c\n\x04memo\x18\r \x01(\t\x1a\xb8\x01\n\x12PendingOpenChannel\x12>\n\x07\x63hannel\x18\x01 \x01(\x0b\x32-.lnrpc.PendingChannelsResponse.PendingChannel\x12\x12\n\ncommit_fee\x18\x04 \x01(\x03\x12\x15\n\rcommit_weight\x18\x05 \x01(\x03\x12\x12\n\nfee_per_kw\x18\x06 \x01(\x03\x12\x1d\n\x15\x66unding_expiry_blocks\x18\x03 \x01(\x05J\x04\x08\x02\x10\x03\x1a\xdb\x01\n\x13WaitingCloseChannel\x12>\n\x07\x63hannel\x18\x01 \x01(\x0b\x32-.lnrpc.PendingChannelsResponse.PendingChannel\x12\x15\n\rlimbo_balance\x18\x02 \x01(\x03\x12?\n\x0b\x63ommitments\x18\x03 \x01(\x0b\x32*.lnrpc.PendingChannelsResponse.Commitments\x12\x14\n\x0c\x63losing_txid\x18\x04 \x01(\t\x12\x16\n\x0e\x63losing_tx_hex\x18\x05 \x01(\t\x1a\xb7\x01\n\x0b\x43ommitments\x12\x12\n\nlocal_txid\x18\x01 \x01(\t\x12\x13\n\x0bremote_txid\x18\x02 \x01(\t\x12\x1b\n\x13remote_pending_txid\x18\x03 \x01(\t\x12\x1c\n\x14local_commit_fee_sat\x18\x04 \x01(\x04\x12\x1d\n\x15remote_commit_fee_sat\x18\x05 \x01(\x04\x12%\n\x1dremote_pending_commit_fee_sat\x18\x06 \x01(\x04\x1a\x65\n\rClosedChannel\x12>\n\x07\x63hannel\x18\x01 \x01(\x0b\x32-.lnrpc.PendingChannelsResponse.PendingChannel\x12\x14\n\x0c\x63losing_txid\x18\x02 \x01(\t\x1a\xff\x02\n\x12\x46orceClosedChannel\x12>\n\x07\x63hannel\x18\x01 \x01(\x0b\x32-.lnrpc.PendingChannelsResponse.PendingChannel\x12\x14\n\x0c\x63losing_txid\x18\x02 \x01(\t\x12\x15\n\rlimbo_balance\x18\x03 \x01(\x03\x12\x17\n\x0fmaturity_height\x18\x04 \x01(\r\x12\x1b\n\x13\x62locks_til_maturity\x18\x05 \x01(\x05\x12\x19\n\x11recovered_balance\x18\x06 \x01(\x03\x12)\n\rpending_htlcs\x18\x08 \x03(\x0b\x32\x12.lnrpc.PendingHTLC\x12M\n\x06\x61nchor\x18\t \x01(\x0e\x32=.lnrpc.PendingChannelsResponse.ForceClosedChannel.AnchorState\"1\n\x0b\x41nchorState\x12\t\n\x05LIMBO\x10\x00\x12\r\n\tRECOVERED\x10\x01\x12\x08\n\x04LOST\x10\x02\"\x1a\n\x18\x43hannelEventSubscription\"\x93\x04\n\x12\x43hannelEventUpdate\x12&\n\x0copen_channel\x18\x01 \x01(\x0b\x32\x0e.lnrpc.ChannelH\x00\x12\x34\n\x0e\x63losed_channel\x18\x02 \x01(\x0b\x32\x1a.lnrpc.ChannelCloseSummaryH\x00\x12-\n\x0e\x61\x63tive_channel\x18\x03 \x01(\x0b\x32\x13.lnrpc.ChannelPointH\x00\x12/\n\x10inactive_channel\x18\x04 \x01(\x0b\x32\x13.lnrpc.ChannelPointH\x00\x12\x34\n\x14pending_open_channel\x18\x06 \x01(\x0b\x32\x14.lnrpc.PendingUpdateH\x00\x12\x35\n\x16\x66ully_resolved_channel\x18\x07 \x01(\x0b\x32\x13.lnrpc.ChannelPointH\x00\x12\x32\n\x04type\x18\x05 \x01(\x0e\x32$.lnrpc.ChannelEventUpdate.UpdateType\"\x92\x01\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\x12\x18\n\x14PENDING_OPEN_CHANNEL\x10\x04\x12\x1a\n\x16\x46ULLY_RESOLVED_CHANNEL\x10\x05\x42\t\n\x07\x63hannel\"N\n\x14WalletAccountBalance\x12\x19\n\x11\x63onfirmed_balance\x18\x01 \x01(\x03\x12\x1b\n\x13unconfirmed_balance\x18\x02 \x01(\x03\":\n\x14WalletBalanceRequest\x12\x0f\n\x07\x61\x63\x63ount\x18\x01 \x01(\t\x12\x11\n\tmin_confs\x18\x02 \x01(\x05\"\xc3\x02\n\x15WalletBalanceResponse\x12\x15\n\rtotal_balance\x18\x01 \x01(\x03\x12\x19\n\x11\x63onfirmed_balance\x18\x02 \x01(\x03\x12\x1b\n\x13unconfirmed_balance\x18\x03 \x01(\x03\x12\x16\n\x0elocked_balance\x18\x05 \x01(\x03\x12$\n\x1creserved_balance_anchor_chan\x18\x06 \x01(\x03\x12I\n\x0f\x61\x63\x63ount_balance\x18\x04 \x03(\x0b\x32\x30.lnrpc.WalletBalanceResponse.AccountBalanceEntry\x1aR\n\x13\x41\x63\x63ountBalanceEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12*\n\x05value\x18\x02 \x01(\x0b\x32\x1b.lnrpc.WalletAccountBalance:\x02\x38\x01\"#\n\x06\x41mount\x12\x0b\n\x03sat\x18\x01 \x01(\x04\x12\x0c\n\x04msat\x18\x02 \x01(\x04\"\x17\n\x15\x43hannelBalanceRequest\"\xe4\x02\n\x16\x43hannelBalanceResponse\x12\x13\n\x07\x62\x61lance\x18\x01 \x01(\x03\x42\x02\x18\x01\x12 \n\x14pending_open_balance\x18\x02 \x01(\x03\x42\x02\x18\x01\x12$\n\rlocal_balance\x18\x03 \x01(\x0b\x32\r.lnrpc.Amount\x12%\n\x0eremote_balance\x18\x04 \x01(\x0b\x32\r.lnrpc.Amount\x12.\n\x17unsettled_local_balance\x18\x05 \x01(\x0b\x32\r.lnrpc.Amount\x12/\n\x18unsettled_remote_balance\x18\x06 \x01(\x0b\x32\r.lnrpc.Amount\x12\x31\n\x1apending_open_local_balance\x18\x07 \x01(\x0b\x32\r.lnrpc.Amount\x12\x32\n\x1bpending_open_remote_balance\x18\x08 \x01(\x0b\x32\r.lnrpc.Amount\"\x9d\x05\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\x38\n\x15\x62linded_payment_paths\x18\x13 \x03(\x0b\x32\x19.lnrpc.BlindedPaymentPath\x12(\n\rdest_features\x18\x11 \x03(\x0e\x32\x11.lnrpc.FeatureBit\x12\x11\n\ttime_pref\x18\x12 \x01(\x01\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\"I\n\x13QueryRoutesResponse\x12\x1c\n\x06routes\x18\x01 \x03(\x0b\x32\x0c.lnrpc.Route\x12\x14\n\x0csuccess_prob\x18\x02 \x01(\x01\"\xde\x03\n\x03Hop\x12\x13\n\x07\x63han_id\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x19\n\rchan_capacity\x18\x02 \x01(\x03\x42\x02\x18\x01\x12\x1a\n\x0e\x61mt_to_forward\x18\x03 \x01(\x03\x42\x02\x18\x01\x12\x0f\n\x03\x66\x65\x65\x18\x04 \x01(\x03\x42\x02\x18\x01\x12\x0e\n\x06\x65xpiry\x18\x05 \x01(\r\x12\x1b\n\x13\x61mt_to_forward_msat\x18\x06 \x01(\x03\x12\x10\n\x08\x66\x65\x65_msat\x18\x07 \x01(\x03\x12\x0f\n\x07pub_key\x18\x08 \x01(\t\x12\x17\n\x0btlv_payload\x18\t \x01(\x08\x42\x02\x18\x01\x12$\n\nmpp_record\x18\n \x01(\x0b\x32\x10.lnrpc.MPPRecord\x12$\n\namp_record\x18\x0c \x01(\x0b\x32\x10.lnrpc.AMPRecord\x12\x35\n\x0e\x63ustom_records\x18\x0b \x03(\x0b\x32\x1d.lnrpc.Hop.CustomRecordsEntry\x12\x10\n\x08metadata\x18\r \x01(\x0c\x12\x16\n\x0e\x62linding_point\x18\x0e \x01(\x0c\x12\x16\n\x0e\x65ncrypted_data\x18\x0f \x01(\x0c\x12\x16\n\x0etotal_amt_msat\x18\x10 \x01(\x04\x1a\x34\n\x12\x43ustomRecordsEntry\x12\x0b\n\x03key\x18\x01 \x01(\x04\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\"9\n\tMPPRecord\x12\x14\n\x0cpayment_addr\x18\x0b \x01(\x0c\x12\x16\n\x0etotal_amt_msat\x18\n \x01(\x03\"D\n\tAMPRecord\x12\x12\n\nroot_share\x18\x01 \x01(\x0c\x12\x0e\n\x06set_id\x18\x02 \x01(\x0c\x12\x13\n\x0b\x63hild_index\x18\x03 \x01(\r\"\x9a\x01\n\x05Route\x12\x17\n\x0ftotal_time_lock\x18\x01 \x01(\r\x12\x16\n\ntotal_fees\x18\x02 \x01(\x03\x42\x02\x18\x01\x12\x15\n\ttotal_amt\x18\x03 \x01(\x03\x42\x02\x18\x01\x12\x18\n\x04hops\x18\x04 \x03(\x0b\x32\n.lnrpc.Hop\x12\x17\n\x0ftotal_fees_msat\x18\x05 \x01(\x03\x12\x16\n\x0etotal_amt_msat\x18\x06 \x01(\x03\"<\n\x0fNodeInfoRequest\x12\x0f\n\x07pub_key\x18\x01 \x01(\t\x12\x18\n\x10include_channels\x18\x02 \x01(\x08\"\x82\x01\n\x08NodeInfo\x12\"\n\x04node\x18\x01 \x01(\x0b\x32\x14.lnrpc.LightningNode\x12\x14\n\x0cnum_channels\x18\x02 \x01(\r\x12\x16\n\x0etotal_capacity\x18\x03 \x01(\x03\x12$\n\x08\x63hannels\x18\x04 \x03(\x0b\x32\x12.lnrpc.ChannelEdge\"\xe8\x02\n\rLightningNode\x12\x13\n\x0blast_update\x18\x01 \x01(\r\x12\x0f\n\x07pub_key\x18\x02 \x01(\t\x12\r\n\x05\x61lias\x18\x03 \x01(\t\x12%\n\taddresses\x18\x04 \x03(\x0b\x32\x12.lnrpc.NodeAddress\x12\r\n\x05\x63olor\x18\x05 \x01(\t\x12\x34\n\x08\x66\x65\x61tures\x18\x06 \x03(\x0b\x32\".lnrpc.LightningNode.FeaturesEntry\x12?\n\x0e\x63ustom_records\x18\x07 \x03(\x0b\x32\'.lnrpc.LightningNode.CustomRecordsEntry\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\x1a\x34\n\x12\x43ustomRecordsEntry\x12\x0b\n\x03key\x18\x01 \x01(\x04\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\",\n\x0bNodeAddress\x12\x0f\n\x07network\x18\x01 \x01(\t\x12\x0c\n\x04\x61\x64\x64r\x18\x02 \x01(\t\"\xe7\x02\n\rRoutingPolicy\x12\x17\n\x0ftime_lock_delta\x18\x01 \x01(\r\x12\x10\n\x08min_htlc\x18\x02 \x01(\x03\x12\x15\n\rfee_base_msat\x18\x03 \x01(\x03\x12\x1b\n\x13\x66\x65\x65_rate_milli_msat\x18\x04 \x01(\x03\x12\x10\n\x08\x64isabled\x18\x05 \x01(\x08\x12\x15\n\rmax_htlc_msat\x18\x06 \x01(\x04\x12\x13\n\x0blast_update\x18\x07 \x01(\r\x12?\n\x0e\x63ustom_records\x18\x08 \x03(\x0b\x32\'.lnrpc.RoutingPolicy.CustomRecordsEntry\x12\x1d\n\x15inbound_fee_base_msat\x18\t \x01(\x05\x12#\n\x1binbound_fee_rate_milli_msat\x18\n \x01(\x05\x1a\x34\n\x12\x43ustomRecordsEntry\x12\x0b\n\x03key\x18\x01 \x01(\x04\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\"\xd7\x02\n\x0b\x43hannelEdge\x12\x16\n\nchannel_id\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x12\n\nchan_point\x18\x02 \x01(\t\x12\x17\n\x0blast_update\x18\x03 \x01(\rB\x02\x18\x01\x12\x11\n\tnode1_pub\x18\x04 \x01(\t\x12\x11\n\tnode2_pub\x18\x05 \x01(\t\x12\x10\n\x08\x63\x61pacity\x18\x06 \x01(\x03\x12*\n\x0cnode1_policy\x18\x07 \x01(\x0b\x32\x14.lnrpc.RoutingPolicy\x12*\n\x0cnode2_policy\x18\x08 \x01(\x0b\x32\x14.lnrpc.RoutingPolicy\x12=\n\x0e\x63ustom_records\x18\t \x03(\x0b\x32%.lnrpc.ChannelEdge.CustomRecordsEntry\x1a\x34\n\x12\x43ustomRecordsEntry\x12\x0b\n\x03key\x18\x01 \x01(\x04\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\"2\n\x13\x43hannelGraphRequest\x12\x1b\n\x13include_unannounced\x18\x01 \x01(\x08\"V\n\x0c\x43hannelGraph\x12#\n\x05nodes\x18\x01 \x03(\x0b\x32\x14.lnrpc.LightningNode\x12!\n\x05\x65\x64ges\x18\x02 \x03(\x0b\x32\x12.lnrpc.ChannelEdge\":\n\x12NodeMetricsRequest\x12$\n\x05types\x18\x01 \x03(\x0e\x32\x15.lnrpc.NodeMetricType\"\xbe\x01\n\x13NodeMetricsResponse\x12U\n\x16\x62\x65tweenness_centrality\x18\x01 \x03(\x0b\x32\x35.lnrpc.NodeMetricsResponse.BetweennessCentralityEntry\x1aP\n\x1a\x42\x65tweennessCentralityEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12!\n\x05value\x18\x02 \x01(\x0b\x32\x12.lnrpc.FloatMetric:\x02\x38\x01\"6\n\x0b\x46loatMetric\x12\r\n\x05value\x18\x01 \x01(\x01\x12\x18\n\x10normalized_value\x18\x02 \x01(\x01\"&\n\x0f\x43hanInfoRequest\x12\x13\n\x07\x63han_id\x18\x01 \x01(\x04\x42\x02\x30\x01\"\x14\n\x12NetworkInfoRequest\"\xa7\x02\n\x0bNetworkInfo\x12\x16\n\x0egraph_diameter\x18\x01 \x01(\r\x12\x16\n\x0e\x61vg_out_degree\x18\x02 \x01(\x01\x12\x16\n\x0emax_out_degree\x18\x03 \x01(\r\x12\x11\n\tnum_nodes\x18\x04 \x01(\r\x12\x14\n\x0cnum_channels\x18\x05 \x01(\r\x12\x1e\n\x16total_network_capacity\x18\x06 \x01(\x03\x12\x18\n\x10\x61vg_channel_size\x18\x07 \x01(\x01\x12\x18\n\x10min_channel_size\x18\x08 \x01(\x03\x12\x18\n\x10max_channel_size\x18\t \x01(\x03\x12\x1f\n\x17median_channel_size_sat\x18\n \x01(\x03\x12\x18\n\x10num_zombie_chans\x18\x0b \x01(\x04\"\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\"\x94\x02\n\nNodeUpdate\x12\x15\n\taddresses\x18\x01 \x03(\tB\x02\x18\x01\x12\x14\n\x0cidentity_key\x18\x02 \x01(\t\x12\x1b\n\x0fglobal_features\x18\x03 \x01(\x0c\x42\x02\x18\x01\x12\r\n\x05\x61lias\x18\x04 \x01(\t\x12\r\n\x05\x63olor\x18\x05 \x01(\t\x12*\n\x0enode_addresses\x18\x07 \x03(\x0b\x32\x12.lnrpc.NodeAddress\x12\x31\n\x08\x66\x65\x61tures\x18\x06 \x03(\x0b\x32\x1f.lnrpc.NodeUpdate.FeaturesEntry\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\"\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\"\x86\x01\n\x07HopHint\x12\x0f\n\x07node_id\x18\x01 \x01(\t\x12\x13\n\x07\x63han_id\x18\x02 \x01(\x04\x42\x02\x30\x01\x12\x15\n\rfee_base_msat\x18\x03 \x01(\r\x12#\n\x1b\x66\x65\x65_proportional_millionths\x18\x04 \x01(\r\x12\x19\n\x11\x63ltv_expiry_delta\x18\x05 \x01(\r\"\x17\n\x05SetID\x12\x0e\n\x06set_id\x18\x01 \x01(\x0c\".\n\tRouteHint\x12!\n\thop_hints\x18\x01 \x03(\x0b\x32\x0e.lnrpc.HopHint\"\xe1\x01\n\x12\x42lindedPaymentPath\x12(\n\x0c\x62linded_path\x18\x01 \x01(\x0b\x32\x12.lnrpc.BlindedPath\x12\x15\n\rbase_fee_msat\x18\x02 \x01(\x04\x12\x1d\n\x15proportional_fee_rate\x18\x03 \x01(\r\x12\x18\n\x10total_cltv_delta\x18\x04 \x01(\r\x12\x15\n\rhtlc_min_msat\x18\x05 \x01(\x04\x12\x15\n\rhtlc_max_msat\x18\x06 \x01(\x04\x12#\n\x08\x66\x65\x61tures\x18\x07 \x03(\x0e\x32\x11.lnrpc.FeatureBit\"i\n\x0b\x42lindedPath\x12\x19\n\x11introduction_node\x18\x01 \x01(\x0c\x12\x16\n\x0e\x62linding_point\x18\x02 \x01(\x0c\x12\'\n\x0c\x62linded_hops\x18\x03 \x03(\x0b\x32\x11.lnrpc.BlindedHop\":\n\nBlindedHop\x12\x14\n\x0c\x62linded_node\x18\x01 \x01(\x0c\x12\x16\n\x0e\x65ncrypted_data\x18\x02 \x01(\x0c\"{\n\x0f\x41MPInvoiceState\x12&\n\x05state\x18\x01 \x01(\x0e\x32\x17.lnrpc.InvoiceHTLCState\x12\x14\n\x0csettle_index\x18\x02 \x01(\x04\x12\x13\n\x0bsettle_time\x18\x03 \x01(\x03\x12\x15\n\ramt_paid_msat\x18\x05 \x01(\x03\"\x85\x07\n\x07Invoice\x12\x0c\n\x04memo\x18\x01 \x01(\t\x12\x12\n\nr_preimage\x18\x03 \x01(\x0c\x12\x0e\n\x06r_hash\x18\x04 \x01(\x0c\x12\r\n\x05value\x18\x05 \x01(\x03\x12\x12\n\nvalue_msat\x18\x17 \x01(\x03\x12\x13\n\x07settled\x18\x06 \x01(\x08\x42\x02\x18\x01\x12\x15\n\rcreation_date\x18\x07 \x01(\x03\x12\x13\n\x0bsettle_date\x18\x08 \x01(\x03\x12\x17\n\x0fpayment_request\x18\t \x01(\t\x12\x18\n\x10\x64\x65scription_hash\x18\n \x01(\x0c\x12\x0e\n\x06\x65xpiry\x18\x0b \x01(\x03\x12\x15\n\rfallback_addr\x18\x0c \x01(\t\x12\x13\n\x0b\x63ltv_expiry\x18\r \x01(\x04\x12%\n\x0broute_hints\x18\x0e \x03(\x0b\x32\x10.lnrpc.RouteHint\x12\x0f\n\x07private\x18\x0f \x01(\x08\x12\x11\n\tadd_index\x18\x10 \x01(\x04\x12\x14\n\x0csettle_index\x18\x11 \x01(\x04\x12\x14\n\x08\x61mt_paid\x18\x12 \x01(\x03\x42\x02\x18\x01\x12\x14\n\x0c\x61mt_paid_sat\x18\x13 \x01(\x03\x12\x15\n\ramt_paid_msat\x18\x14 \x01(\x03\x12*\n\x05state\x18\x15 \x01(\x0e\x32\x1b.lnrpc.Invoice.InvoiceState\x12!\n\x05htlcs\x18\x16 \x03(\x0b\x32\x12.lnrpc.InvoiceHTLC\x12.\n\x08\x66\x65\x61tures\x18\x18 \x03(\x0b\x32\x1c.lnrpc.Invoice.FeaturesEntry\x12\x12\n\nis_keysend\x18\x19 \x01(\x08\x12\x14\n\x0cpayment_addr\x18\x1a \x01(\x0c\x12\x0e\n\x06is_amp\x18\x1b \x01(\x08\x12>\n\x11\x61mp_invoice_state\x18\x1c \x03(\x0b\x32#.lnrpc.Invoice.AmpInvoiceStateEntry\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\x1aN\n\x14\x41mpInvoiceStateEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.lnrpc.AMPInvoiceState:\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\"\xf3\x02\n\x0bInvoiceHTLC\x12\x13\n\x07\x63han_id\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x12\n\nhtlc_index\x18\x02 \x01(\x04\x12\x10\n\x08\x61mt_msat\x18\x03 \x01(\x04\x12\x15\n\raccept_height\x18\x04 \x01(\x05\x12\x13\n\x0b\x61\x63\x63\x65pt_time\x18\x05 \x01(\x03\x12\x14\n\x0cresolve_time\x18\x06 \x01(\x03\x12\x15\n\rexpiry_height\x18\x07 \x01(\x05\x12&\n\x05state\x18\x08 \x01(\x0e\x32\x17.lnrpc.InvoiceHTLCState\x12=\n\x0e\x63ustom_records\x18\t \x03(\x0b\x32%.lnrpc.InvoiceHTLC.CustomRecordsEntry\x12\x1a\n\x12mpp_total_amt_msat\x18\n \x01(\x04\x12\x17\n\x03\x61mp\x18\x0b \x01(\x0b\x32\n.lnrpc.AMP\x1a\x34\n\x12\x43ustomRecordsEntry\x12\x0b\n\x03key\x18\x01 \x01(\x04\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\"^\n\x03\x41MP\x12\x12\n\nroot_share\x18\x01 \x01(\x0c\x12\x0e\n\x06set_id\x18\x02 \x01(\x0c\x12\x13\n\x0b\x63hild_index\x18\x03 \x01(\r\x12\x0c\n\x04hash\x18\x04 \x01(\x0c\x12\x10\n\x08preimage\x18\x05 \x01(\x0c\"f\n\x12\x41\x64\x64InvoiceResponse\x12\x0e\n\x06r_hash\x18\x01 \x01(\x0c\x12\x17\n\x0fpayment_request\x18\x02 \x01(\t\x12\x11\n\tadd_index\x18\x10 \x01(\x04\x12\x14\n\x0cpayment_addr\x18\x11 \x01(\x0c\"5\n\x0bPaymentHash\x12\x16\n\nr_hash_str\x18\x01 \x01(\tB\x02\x18\x01\x12\x0e\n\x06r_hash\x18\x02 \x01(\x0c\"\xa4\x01\n\x12ListInvoiceRequest\x12\x14\n\x0cpending_only\x18\x01 \x01(\x08\x12\x14\n\x0cindex_offset\x18\x04 \x01(\x04\x12\x18\n\x10num_max_invoices\x18\x05 \x01(\x04\x12\x10\n\x08reversed\x18\x06 \x01(\x08\x12\x1b\n\x13\x63reation_date_start\x18\x07 \x01(\x04\x12\x19\n\x11\x63reation_date_end\x18\x08 \x01(\x04\"n\n\x13ListInvoiceResponse\x12 \n\x08invoices\x18\x01 \x03(\x0b\x32\x0e.lnrpc.Invoice\x12\x19\n\x11last_index_offset\x18\x02 \x01(\x04\x12\x1a\n\x12\x66irst_index_offset\x18\x03 \x01(\x04\">\n\x13InvoiceSubscription\x12\x11\n\tadd_index\x18\x01 \x01(\x04\x12\x14\n\x0csettle_index\x18\x02 \x01(\x04\"\xf3\x03\n\x07Payment\x12\x14\n\x0cpayment_hash\x18\x01 \x01(\t\x12\x11\n\x05value\x18\x02 \x01(\x03\x42\x02\x18\x01\x12\x19\n\rcreation_date\x18\x03 \x01(\x03\x42\x02\x18\x01\x12\x0f\n\x03\x66\x65\x65\x18\x05 \x01(\x03\x42\x02\x18\x01\x12\x18\n\x10payment_preimage\x18\x06 \x01(\t\x12\x11\n\tvalue_sat\x18\x07 \x01(\x03\x12\x12\n\nvalue_msat\x18\x08 \x01(\x03\x12\x17\n\x0fpayment_request\x18\t \x01(\t\x12,\n\x06status\x18\n \x01(\x0e\x32\x1c.lnrpc.Payment.PaymentStatus\x12\x0f\n\x07\x66\x65\x65_sat\x18\x0b \x01(\x03\x12\x10\n\x08\x66\x65\x65_msat\x18\x0c \x01(\x03\x12\x18\n\x10\x63reation_time_ns\x18\r \x01(\x03\x12!\n\x05htlcs\x18\x0e \x03(\x0b\x32\x12.lnrpc.HTLCAttempt\x12\x15\n\rpayment_index\x18\x0f \x01(\x04\x12\x33\n\x0e\x66\x61ilure_reason\x18\x10 \x01(\x0e\x32\x1b.lnrpc.PaymentFailureReason\"Y\n\rPaymentStatus\x12\x0f\n\x07UNKNOWN\x10\x00\x1a\x02\x08\x01\x12\r\n\tIN_FLIGHT\x10\x01\x12\r\n\tSUCCEEDED\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\x12\r\n\tINITIATED\x10\x04J\x04\x08\x04\x10\x05\"\x8a\x02\n\x0bHTLCAttempt\x12\x12\n\nattempt_id\x18\x07 \x01(\x04\x12-\n\x06status\x18\x01 \x01(\x0e\x32\x1d.lnrpc.HTLCAttempt.HTLCStatus\x12\x1b\n\x05route\x18\x02 \x01(\x0b\x32\x0c.lnrpc.Route\x12\x17\n\x0f\x61ttempt_time_ns\x18\x03 \x01(\x03\x12\x17\n\x0fresolve_time_ns\x18\x04 \x01(\x03\x12\x1f\n\x07\x66\x61ilure\x18\x05 \x01(\x0b\x32\x0e.lnrpc.Failure\x12\x10\n\x08preimage\x18\x06 \x01(\x0c\"6\n\nHTLCStatus\x12\r\n\tIN_FLIGHT\x10\x00\x12\r\n\tSUCCEEDED\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\"\xc5\x01\n\x13ListPaymentsRequest\x12\x1a\n\x12include_incomplete\x18\x01 \x01(\x08\x12\x14\n\x0cindex_offset\x18\x02 \x01(\x04\x12\x14\n\x0cmax_payments\x18\x03 \x01(\x04\x12\x10\n\x08reversed\x18\x04 \x01(\x08\x12\x1c\n\x14\x63ount_total_payments\x18\x05 \x01(\x08\x12\x1b\n\x13\x63reation_date_start\x18\x06 \x01(\x04\x12\x19\n\x11\x63reation_date_end\x18\x07 \x01(\x04\"\x8b\x01\n\x14ListPaymentsResponse\x12 \n\x08payments\x18\x01 \x03(\x0b\x32\x0e.lnrpc.Payment\x12\x1a\n\x12\x66irst_index_offset\x18\x02 \x01(\x04\x12\x19\n\x11last_index_offset\x18\x03 \x01(\x04\x12\x1a\n\x12total_num_payments\x18\x04 \x01(\x04\"G\n\x14\x44\x65letePaymentRequest\x12\x14\n\x0cpayment_hash\x18\x01 \x01(\x0c\x12\x19\n\x11\x66\x61iled_htlcs_only\x18\x02 \x01(\x08\"i\n\x18\x44\x65leteAllPaymentsRequest\x12\x1c\n\x14\x66\x61iled_payments_only\x18\x01 \x01(\x08\x12\x19\n\x11\x66\x61iled_htlcs_only\x18\x02 \x01(\x08\x12\x14\n\x0c\x61ll_payments\x18\x03 \x01(\x08\"\x17\n\x15\x44\x65letePaymentResponse\"\x1b\n\x19\x44\x65leteAllPaymentsResponse\"\x86\x01\n\x15\x41\x62\x61ndonChannelRequest\x12*\n\rchannel_point\x18\x01 \x01(\x0b\x32\x13.lnrpc.ChannelPoint\x12!\n\x19pending_funding_shim_only\x18\x02 \x01(\x08\x12\x1e\n\x16i_know_what_i_am_doing\x18\x03 \x01(\x08\"\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\")\n\x12\x44\x65\x62ugLevelResponse\x12\x13\n\x0bsub_systems\x18\x01 \x01(\t\"\x1f\n\x0cPayReqString\x12\x0f\n\x07pay_req\x18\x01 \x01(\t\"\x86\x03\n\x06PayReq\x12\x13\n\x0b\x64\x65stination\x18\x01 \x01(\t\x12\x14\n\x0cpayment_hash\x18\x02 \x01(\t\x12\x14\n\x0cnum_satoshis\x18\x03 \x01(\x03\x12\x11\n\ttimestamp\x18\x04 \x01(\x03\x12\x0e\n\x06\x65xpiry\x18\x05 \x01(\x03\x12\x13\n\x0b\x64\x65scription\x18\x06 \x01(\t\x12\x18\n\x10\x64\x65scription_hash\x18\x07 \x01(\t\x12\x15\n\rfallback_addr\x18\x08 \x01(\t\x12\x13\n\x0b\x63ltv_expiry\x18\t \x01(\x03\x12%\n\x0broute_hints\x18\n \x03(\x0b\x32\x10.lnrpc.RouteHint\x12\x14\n\x0cpayment_addr\x18\x0b \x01(\x0c\x12\x10\n\x08num_msat\x18\x0c \x01(\x03\x12-\n\x08\x66\x65\x61tures\x18\r \x03(\x0b\x32\x1b.lnrpc.PayReq.FeaturesEntry\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\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0bis_required\x18\x03 \x01(\x08\x12\x10\n\x08is_known\x18\x04 \x01(\x08\"\x12\n\x10\x46\x65\x65ReportRequest\"\xb8\x01\n\x10\x43hannelFeeReport\x12\x13\n\x07\x63han_id\x18\x05 \x01(\x04\x42\x02\x30\x01\x12\x15\n\rchannel_point\x18\x01 \x01(\t\x12\x15\n\rbase_fee_msat\x18\x02 \x01(\x03\x12\x13\n\x0b\x66\x65\x65_per_mil\x18\x03 \x01(\x03\x12\x10\n\x08\x66\x65\x65_rate\x18\x04 \x01(\x01\x12\x1d\n\x15inbound_base_fee_msat\x18\x06 \x01(\x05\x12\x1b\n\x13inbound_fee_per_mil\x18\x07 \x01(\x05\"\x84\x01\n\x11\x46\x65\x65ReportResponse\x12-\n\x0c\x63hannel_fees\x18\x01 \x03(\x0b\x32\x17.lnrpc.ChannelFeeReport\x12\x13\n\x0b\x64\x61y_fee_sum\x18\x02 \x01(\x04\x12\x14\n\x0cweek_fee_sum\x18\x03 \x01(\x04\x12\x15\n\rmonth_fee_sum\x18\x04 \x01(\x04\"\xbf\x02\n\x13PolicyUpdateRequest\x12\x10\n\x06global\x18\x01 \x01(\x08H\x00\x12)\n\nchan_point\x18\x02 \x01(\x0b\x32\x13.lnrpc.ChannelPointH\x00\x12\x15\n\rbase_fee_msat\x18\x03 \x01(\x03\x12\x10\n\x08\x66\x65\x65_rate\x18\x04 \x01(\x01\x12\x14\n\x0c\x66\x65\x65_rate_ppm\x18\t \x01(\r\x12\x17\n\x0ftime_lock_delta\x18\x05 \x01(\r\x12\x15\n\rmax_htlc_msat\x18\x06 \x01(\x04\x12\x15\n\rmin_htlc_msat\x18\x07 \x01(\x04\x12\x1f\n\x17min_htlc_msat_specified\x18\x08 \x01(\x08\x12\x1d\n\x15inbound_base_fee_msat\x18\n \x01(\x05\x12\x1c\n\x14inbound_fee_rate_ppm\x18\x0b \x01(\x05\x42\x07\n\x05scope\"m\n\x0c\x46\x61iledUpdate\x12!\n\x08outpoint\x18\x01 \x01(\x0b\x32\x0f.lnrpc.OutPoint\x12$\n\x06reason\x18\x02 \x01(\x0e\x32\x14.lnrpc.UpdateFailure\x12\x14\n\x0cupdate_error\x18\x03 \x01(\t\"C\n\x14PolicyUpdateResponse\x12+\n\x0e\x66\x61iled_updates\x18\x01 \x03(\x0b\x32\x13.lnrpc.FailedUpdate\"\x89\x01\n\x18\x46orwardingHistoryRequest\x12\x12\n\nstart_time\x18\x01 \x01(\x04\x12\x10\n\x08\x65nd_time\x18\x02 \x01(\x04\x12\x14\n\x0cindex_offset\x18\x03 \x01(\r\x12\x16\n\x0enum_max_events\x18\x04 \x01(\r\x12\x19\n\x11peer_alias_lookup\x18\x05 \x01(\x08\"\x89\x02\n\x0f\x46orwardingEvent\x12\x15\n\ttimestamp\x18\x01 \x01(\x04\x42\x02\x18\x01\x12\x16\n\nchan_id_in\x18\x02 \x01(\x04\x42\x02\x30\x01\x12\x17\n\x0b\x63han_id_out\x18\x04 \x01(\x04\x42\x02\x30\x01\x12\x0e\n\x06\x61mt_in\x18\x05 \x01(\x04\x12\x0f\n\x07\x61mt_out\x18\x06 \x01(\x04\x12\x0b\n\x03\x66\x65\x65\x18\x07 \x01(\x04\x12\x10\n\x08\x66\x65\x65_msat\x18\x08 \x01(\x04\x12\x13\n\x0b\x61mt_in_msat\x18\t \x01(\x04\x12\x14\n\x0c\x61mt_out_msat\x18\n \x01(\x04\x12\x14\n\x0ctimestamp_ns\x18\x0b \x01(\x04\x12\x15\n\rpeer_alias_in\x18\x0c \x01(\t\x12\x16\n\x0epeer_alias_out\x18\r \x01(\t\"i\n\x19\x46orwardingHistoryResponse\x12\x31\n\x11\x66orwarding_events\x18\x01 \x03(\x0b\x32\x16.lnrpc.ForwardingEvent\x12\x19\n\x11last_offset_index\x18\x02 \x01(\r\"E\n\x1a\x45xportChannelBackupRequest\x12\'\n\nchan_point\x18\x01 \x01(\x0b\x32\x13.lnrpc.ChannelPoint\"M\n\rChannelBackup\x12\'\n\nchan_point\x18\x01 \x01(\x0b\x32\x13.lnrpc.ChannelPoint\x12\x13\n\x0b\x63han_backup\x18\x02 \x01(\x0c\"V\n\x0fMultiChanBackup\x12(\n\x0b\x63han_points\x18\x01 \x03(\x0b\x32\x13.lnrpc.ChannelPoint\x12\x19\n\x11multi_chan_backup\x18\x02 \x01(\x0c\"\x19\n\x17\x43hanBackupExportRequest\"{\n\x12\x43hanBackupSnapshot\x12\x32\n\x13single_chan_backups\x18\x01 \x01(\x0b\x32\x15.lnrpc.ChannelBackups\x12\x31\n\x11multi_chan_backup\x18\x02 \x01(\x0b\x32\x16.lnrpc.MultiChanBackup\"<\n\x0e\x43hannelBackups\x12*\n\x0c\x63han_backups\x18\x01 \x03(\x0b\x32\x14.lnrpc.ChannelBackup\"p\n\x18RestoreChanBackupRequest\x12-\n\x0c\x63han_backups\x18\x01 \x01(\x0b\x32\x15.lnrpc.ChannelBackupsH\x00\x12\x1b\n\x11multi_chan_backup\x18\x02 \x01(\x0cH\x00\x42\x08\n\x06\x62\x61\x63kup\"\x17\n\x15RestoreBackupResponse\"\x1b\n\x19\x43hannelBackupSubscription\"\x1a\n\x18VerifyChanBackupResponse\"4\n\x12MacaroonPermission\x12\x0e\n\x06\x65ntity\x18\x01 \x01(\t\x12\x0e\n\x06\x61\x63tion\x18\x02 \x01(\t\"~\n\x13\x42\x61keMacaroonRequest\x12.\n\x0bpermissions\x18\x01 \x03(\x0b\x32\x19.lnrpc.MacaroonPermission\x12\x13\n\x0broot_key_id\x18\x02 \x01(\x04\x12\"\n\x1a\x61llow_external_permissions\x18\x03 \x01(\x08\"(\n\x14\x42\x61keMacaroonResponse\x12\x10\n\x08macaroon\x18\x01 \x01(\t\"\x18\n\x16ListMacaroonIDsRequest\"/\n\x17ListMacaroonIDsResponse\x12\x14\n\x0croot_key_ids\x18\x01 \x03(\x04\".\n\x17\x44\x65leteMacaroonIDRequest\x12\x13\n\x0broot_key_id\x18\x01 \x01(\x04\"+\n\x18\x44\x65leteMacaroonIDResponse\x12\x0f\n\x07\x64\x65leted\x18\x01 \x01(\x08\"H\n\x16MacaroonPermissionList\x12.\n\x0bpermissions\x18\x01 \x03(\x0b\x32\x19.lnrpc.MacaroonPermission\"\x18\n\x16ListPermissionsRequest\"\xc5\x01\n\x17ListPermissionsResponse\x12Q\n\x12method_permissions\x18\x01 \x03(\x0b\x32\x35.lnrpc.ListPermissionsResponse.MethodPermissionsEntry\x1aW\n\x16MethodPermissionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12,\n\x05value\x18\x02 \x01(\x0b\x32\x1d.lnrpc.MacaroonPermissionList:\x02\x38\x01\"\xf1\x07\n\x07\x46\x61ilure\x12(\n\x04\x63ode\x18\x01 \x01(\x0e\x32\x1a.lnrpc.Failure.FailureCode\x12,\n\x0e\x63hannel_update\x18\x03 \x01(\x0b\x32\x14.lnrpc.ChannelUpdate\x12\x11\n\thtlc_msat\x18\x04 \x01(\x04\x12\x15\n\ronion_sha_256\x18\x05 \x01(\x0c\x12\x13\n\x0b\x63ltv_expiry\x18\x06 \x01(\r\x12\r\n\x05\x66lags\x18\x07 \x01(\r\x12\x1c\n\x14\x66\x61ilure_source_index\x18\x08 \x01(\r\x12\x0e\n\x06height\x18\t \x01(\r\"\x8b\x06\n\x0b\x46\x61ilureCode\x12\x0c\n\x08RESERVED\x10\x00\x12(\n$INCORRECT_OR_UNKNOWN_PAYMENT_DETAILS\x10\x01\x12\x1c\n\x18INCORRECT_PAYMENT_AMOUNT\x10\x02\x12\x1f\n\x1b\x46INAL_INCORRECT_CLTV_EXPIRY\x10\x03\x12\x1f\n\x1b\x46INAL_INCORRECT_HTLC_AMOUNT\x10\x04\x12\x19\n\x15\x46INAL_EXPIRY_TOO_SOON\x10\x05\x12\x11\n\rINVALID_REALM\x10\x06\x12\x13\n\x0f\x45XPIRY_TOO_SOON\x10\x07\x12\x19\n\x15INVALID_ONION_VERSION\x10\x08\x12\x16\n\x12INVALID_ONION_HMAC\x10\t\x12\x15\n\x11INVALID_ONION_KEY\x10\n\x12\x18\n\x14\x41MOUNT_BELOW_MINIMUM\x10\x0b\x12\x14\n\x10\x46\x45\x45_INSUFFICIENT\x10\x0c\x12\x19\n\x15INCORRECT_CLTV_EXPIRY\x10\r\x12\x14\n\x10\x43HANNEL_DISABLED\x10\x0e\x12\x1d\n\x19TEMPORARY_CHANNEL_FAILURE\x10\x0f\x12!\n\x1dREQUIRED_NODE_FEATURE_MISSING\x10\x10\x12$\n REQUIRED_CHANNEL_FEATURE_MISSING\x10\x11\x12\x15\n\x11UNKNOWN_NEXT_PEER\x10\x12\x12\x1a\n\x16TEMPORARY_NODE_FAILURE\x10\x13\x12\x1a\n\x16PERMANENT_NODE_FAILURE\x10\x14\x12\x1d\n\x19PERMANENT_CHANNEL_FAILURE\x10\x15\x12\x12\n\x0e\x45XPIRY_TOO_FAR\x10\x16\x12\x0f\n\x0bMPP_TIMEOUT\x10\x17\x12\x19\n\x15INVALID_ONION_PAYLOAD\x10\x18\x12\x1a\n\x16INVALID_ONION_BLINDING\x10\x19\x12\x15\n\x10INTERNAL_FAILURE\x10\xe5\x07\x12\x14\n\x0fUNKNOWN_FAILURE\x10\xe6\x07\x12\x17\n\x12UNREADABLE_FAILURE\x10\xe7\x07J\x04\x08\x02\x10\x03\"\x9a\x02\n\rChannelUpdate\x12\x11\n\tsignature\x18\x01 \x01(\x0c\x12\x12\n\nchain_hash\x18\x02 \x01(\x0c\x12\x13\n\x07\x63han_id\x18\x03 \x01(\x04\x42\x02\x30\x01\x12\x11\n\ttimestamp\x18\x04 \x01(\r\x12\x15\n\rmessage_flags\x18\n \x01(\r\x12\x15\n\rchannel_flags\x18\x05 \x01(\r\x12\x17\n\x0ftime_lock_delta\x18\x06 \x01(\r\x12\x19\n\x11htlc_minimum_msat\x18\x07 \x01(\x04\x12\x10\n\x08\x62\x61se_fee\x18\x08 \x01(\r\x12\x10\n\x08\x66\x65\x65_rate\x18\t \x01(\r\x12\x19\n\x11htlc_maximum_msat\x18\x0b \x01(\x04\x12\x19\n\x11\x65xtra_opaque_data\x18\x0c \x01(\x0c\"F\n\nMacaroonId\x12\r\n\x05nonce\x18\x01 \x01(\x0c\x12\x11\n\tstorageId\x18\x02 \x01(\x0c\x12\x16\n\x03ops\x18\x03 \x03(\x0b\x32\t.lnrpc.Op\"%\n\x02Op\x12\x0e\n\x06\x65ntity\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x63tions\x18\x02 \x03(\t\"k\n\x13\x43heckMacPermRequest\x12\x10\n\x08macaroon\x18\x01 \x01(\x0c\x12.\n\x0bpermissions\x18\x02 \x03(\x0b\x32\x19.lnrpc.MacaroonPermission\x12\x12\n\nfullMethod\x18\x03 \x01(\t\"%\n\x14\x43heckMacPermResponse\x12\r\n\x05valid\x18\x01 \x01(\x08\"\x92\x02\n\x14RPCMiddlewareRequest\x12\x12\n\nrequest_id\x18\x01 \x01(\x04\x12\x14\n\x0craw_macaroon\x18\x02 \x01(\x0c\x12\x1f\n\x17\x63ustom_caveat_condition\x18\x03 \x01(\t\x12(\n\x0bstream_auth\x18\x04 \x01(\x0b\x32\x11.lnrpc.StreamAuthH\x00\x12$\n\x07request\x18\x05 \x01(\x0b\x32\x11.lnrpc.RPCMessageH\x00\x12%\n\x08response\x18\x06 \x01(\x0b\x32\x11.lnrpc.RPCMessageH\x00\x12\x16\n\x0creg_complete\x18\x08 \x01(\x08H\x00\x12\x0e\n\x06msg_id\x18\x07 \x01(\x04\x42\x10\n\x0eintercept_type\"%\n\nStreamAuth\x12\x17\n\x0fmethod_full_uri\x18\x01 \x01(\t\"r\n\nRPCMessage\x12\x17\n\x0fmethod_full_uri\x18\x01 \x01(\t\x12\x12\n\nstream_rpc\x18\x02 \x01(\x08\x12\x11\n\ttype_name\x18\x03 \x01(\t\x12\x12\n\nserialized\x18\x04 \x01(\x0c\x12\x10\n\x08is_error\x18\x05 \x01(\x08\"\xa2\x01\n\x15RPCMiddlewareResponse\x12\x12\n\nref_msg_id\x18\x01 \x01(\x04\x12\x31\n\x08register\x18\x02 \x01(\x0b\x32\x1d.lnrpc.MiddlewareRegistrationH\x00\x12,\n\x08\x66\x65\x65\x64\x62\x61\x63k\x18\x03 \x01(\x0b\x32\x18.lnrpc.InterceptFeedbackH\x00\x42\x14\n\x12middleware_message\"n\n\x16MiddlewareRegistration\x12\x17\n\x0fmiddleware_name\x18\x01 \x01(\t\x12#\n\x1b\x63ustom_macaroon_caveat_name\x18\x02 \x01(\t\x12\x16\n\x0eread_only_mode\x18\x03 \x01(\x08\"\\\n\x11InterceptFeedback\x12\r\n\x05\x65rror\x18\x01 \x01(\t\x12\x18\n\x10replace_response\x18\x02 \x01(\x08\x12\x1e\n\x16replacement_serialized\x18\x03 \x01(\x0c*\xcb\x02\n\x10OutputScriptType\x12\x1b\n\x17SCRIPT_TYPE_PUBKEY_HASH\x10\x00\x12\x1b\n\x17SCRIPT_TYPE_SCRIPT_HASH\x10\x01\x12&\n\"SCRIPT_TYPE_WITNESS_V0_PUBKEY_HASH\x10\x02\x12&\n\"SCRIPT_TYPE_WITNESS_V0_SCRIPT_HASH\x10\x03\x12\x16\n\x12SCRIPT_TYPE_PUBKEY\x10\x04\x12\x18\n\x14SCRIPT_TYPE_MULTISIG\x10\x05\x12\x18\n\x14SCRIPT_TYPE_NULLDATA\x10\x06\x12\x1c\n\x18SCRIPT_TYPE_NON_STANDARD\x10\x07\x12\x1f\n\x1bSCRIPT_TYPE_WITNESS_UNKNOWN\x10\x08\x12\"\n\x1eSCRIPT_TYPE_WITNESS_V1_TAPROOT\x10\t*b\n\x15\x43oinSelectionStrategy\x12\x1e\n\x1aSTRATEGY_USE_GLOBAL_CONFIG\x10\x00\x12\x14\n\x10STRATEGY_LARGEST\x10\x01\x12\x13\n\x0fSTRATEGY_RANDOM\x10\x02*\xac\x01\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\x12\x12\n\x0eTAPROOT_PUBKEY\x10\x04\x12\x19\n\x15UNUSED_TAPROOT_PUBKEY\x10\x05*\x8c\x01\n\x0e\x43ommitmentType\x12\x1b\n\x17UNKNOWN_COMMITMENT_TYPE\x10\x00\x12\n\n\x06LEGACY\x10\x01\x12\x15\n\x11STATIC_REMOTE_KEY\x10\x02\x12\x0b\n\x07\x41NCHORS\x10\x03\x12\x19\n\x15SCRIPT_ENFORCED_LEASE\x10\x04\x12\x12\n\x0eSIMPLE_TAPROOT\x10\x05*a\n\tInitiator\x12\x15\n\x11INITIATOR_UNKNOWN\x10\x00\x12\x13\n\x0fINITIATOR_LOCAL\x10\x01\x12\x14\n\x10INITIATOR_REMOTE\x10\x02\x12\x12\n\x0eINITIATOR_BOTH\x10\x03*`\n\x0eResolutionType\x12\x10\n\x0cTYPE_UNKNOWN\x10\x00\x12\n\n\x06\x41NCHOR\x10\x01\x12\x11\n\rINCOMING_HTLC\x10\x02\x12\x11\n\rOUTGOING_HTLC\x10\x03\x12\n\n\x06\x43OMMIT\x10\x04*q\n\x11ResolutionOutcome\x12\x13\n\x0fOUTCOME_UNKNOWN\x10\x00\x12\x0b\n\x07\x43LAIMED\x10\x01\x12\r\n\tUNCLAIMED\x10\x02\x12\r\n\tABANDONED\x10\x03\x12\x0f\n\x0b\x46IRST_STAGE\x10\x04\x12\x0b\n\x07TIMEOUT\x10\x05*9\n\x0eNodeMetricType\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x1a\n\x16\x42\x45TWEENNESS_CENTRALITY\x10\x01*;\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*\xd9\x01\n\x14PaymentFailureReason\x12\x17\n\x13\x46\x41ILURE_REASON_NONE\x10\x00\x12\x1a\n\x16\x46\x41ILURE_REASON_TIMEOUT\x10\x01\x12\x1b\n\x17\x46\x41ILURE_REASON_NO_ROUTE\x10\x02\x12\x18\n\x14\x46\x41ILURE_REASON_ERROR\x10\x03\x12,\n(FAILURE_REASON_INCORRECT_PAYMENT_DETAILS\x10\x04\x12\'\n#FAILURE_REASON_INSUFFICIENT_BALANCE\x10\x05*\x89\x05\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\x12\x16\n\x12WUMBO_CHANNELS_REQ\x10\x12\x12\x16\n\x12WUMBO_CHANNELS_OPT\x10\x13\x12\x0f\n\x0b\x41NCHORS_REQ\x10\x14\x12\x0f\n\x0b\x41NCHORS_OPT\x10\x15\x12\x1d\n\x19\x41NCHORS_ZERO_FEE_HTLC_REQ\x10\x16\x12\x1d\n\x19\x41NCHORS_ZERO_FEE_HTLC_OPT\x10\x17\x12\x1b\n\x17ROUTE_BLINDING_REQUIRED\x10\x18\x12\x1b\n\x17ROUTE_BLINDING_OPTIONAL\x10\x19\x12\x0b\n\x07\x41MP_REQ\x10\x1e\x12\x0b\n\x07\x41MP_OPT\x10\x1f*\xac\x01\n\rUpdateFailure\x12\x1a\n\x16UPDATE_FAILURE_UNKNOWN\x10\x00\x12\x1a\n\x16UPDATE_FAILURE_PENDING\x10\x01\x12\x1c\n\x18UPDATE_FAILURE_NOT_FOUND\x10\x02\x12\x1f\n\x1bUPDATE_FAILURE_INTERNAL_ERR\x10\x03\x12$\n UPDATE_FAILURE_INVALID_PARAMETER\x10\x04\x32\xb9\'\n\tLightning\x12J\n\rWalletBalance\x12\x1b.lnrpc.WalletBalanceRequest\x1a\x1c.lnrpc.WalletBalanceResponse\x12M\n\x0e\x43hannelBalance\x12\x1c.lnrpc.ChannelBalanceRequest\x1a\x1d.lnrpc.ChannelBalanceResponse\x12K\n\x0fGetTransactions\x12\x1d.lnrpc.GetTransactionsRequest\x1a\x19.lnrpc.TransactionDetails\x12\x44\n\x0b\x45stimateFee\x12\x19.lnrpc.EstimateFeeRequest\x1a\x1a.lnrpc.EstimateFeeResponse\x12>\n\tSendCoins\x12\x17.lnrpc.SendCoinsRequest\x1a\x18.lnrpc.SendCoinsResponse\x12\x44\n\x0bListUnspent\x12\x19.lnrpc.ListUnspentRequest\x1a\x1a.lnrpc.ListUnspentResponse\x12L\n\x15SubscribeTransactions\x12\x1d.lnrpc.GetTransactionsRequest\x1a\x12.lnrpc.Transaction0\x01\x12;\n\x08SendMany\x12\x16.lnrpc.SendManyRequest\x1a\x17.lnrpc.SendManyResponse\x12\x41\n\nNewAddress\x12\x18.lnrpc.NewAddressRequest\x1a\x19.lnrpc.NewAddressResponse\x12\x44\n\x0bSignMessage\x12\x19.lnrpc.SignMessageRequest\x1a\x1a.lnrpc.SignMessageResponse\x12J\n\rVerifyMessage\x12\x1b.lnrpc.VerifyMessageRequest\x1a\x1c.lnrpc.VerifyMessageResponse\x12\x44\n\x0b\x43onnectPeer\x12\x19.lnrpc.ConnectPeerRequest\x1a\x1a.lnrpc.ConnectPeerResponse\x12M\n\x0e\x44isconnectPeer\x12\x1c.lnrpc.DisconnectPeerRequest\x1a\x1d.lnrpc.DisconnectPeerResponse\x12>\n\tListPeers\x12\x17.lnrpc.ListPeersRequest\x1a\x18.lnrpc.ListPeersResponse\x12G\n\x13SubscribePeerEvents\x12\x1c.lnrpc.PeerEventSubscription\x1a\x10.lnrpc.PeerEvent0\x01\x12\x38\n\x07GetInfo\x12\x15.lnrpc.GetInfoRequest\x1a\x16.lnrpc.GetInfoResponse\x12G\n\x0cGetDebugInfo\x12\x1a.lnrpc.GetDebugInfoRequest\x1a\x1b.lnrpc.GetDebugInfoResponse\x12P\n\x0fGetRecoveryInfo\x12\x1d.lnrpc.GetRecoveryInfoRequest\x1a\x1e.lnrpc.GetRecoveryInfoResponse\x12P\n\x0fPendingChannels\x12\x1d.lnrpc.PendingChannelsRequest\x1a\x1e.lnrpc.PendingChannelsResponse\x12G\n\x0cListChannels\x12\x1a.lnrpc.ListChannelsRequest\x1a\x1b.lnrpc.ListChannelsResponse\x12V\n\x16SubscribeChannelEvents\x12\x1f.lnrpc.ChannelEventSubscription\x1a\x19.lnrpc.ChannelEventUpdate0\x01\x12M\n\x0e\x43losedChannels\x12\x1c.lnrpc.ClosedChannelsRequest\x1a\x1d.lnrpc.ClosedChannelsResponse\x12\x41\n\x0fOpenChannelSync\x12\x19.lnrpc.OpenChannelRequest\x1a\x13.lnrpc.ChannelPoint\x12\x43\n\x0bOpenChannel\x12\x19.lnrpc.OpenChannelRequest\x1a\x17.lnrpc.OpenStatusUpdate0\x01\x12S\n\x10\x42\x61tchOpenChannel\x12\x1e.lnrpc.BatchOpenChannelRequest\x1a\x1f.lnrpc.BatchOpenChannelResponse\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\x46\n\x0c\x43loseChannel\x12\x1a.lnrpc.CloseChannelRequest\x1a\x18.lnrpc.CloseStatusUpdate0\x01\x12M\n\x0e\x41\x62\x61ndonChannel\x12\x1c.lnrpc.AbandonChannelRequest\x1a\x1d.lnrpc.AbandonChannelResponse\x12?\n\x0bSendPayment\x12\x12.lnrpc.SendRequest\x1a\x13.lnrpc.SendResponse\"\x03\x88\x02\x01(\x01\x30\x01\x12:\n\x0fSendPaymentSync\x12\x12.lnrpc.SendRequest\x1a\x13.lnrpc.SendResponse\x12\x46\n\x0bSendToRoute\x12\x19.lnrpc.SendToRouteRequest\x1a\x13.lnrpc.SendResponse\"\x03\x88\x02\x01(\x01\x30\x01\x12\x41\n\x0fSendToRouteSync\x12\x19.lnrpc.SendToRouteRequest\x1a\x13.lnrpc.SendResponse\x12\x37\n\nAddInvoice\x12\x0e.lnrpc.Invoice\x1a\x19.lnrpc.AddInvoiceResponse\x12\x45\n\x0cListInvoices\x12\x19.lnrpc.ListInvoiceRequest\x1a\x1a.lnrpc.ListInvoiceResponse\x12\x33\n\rLookupInvoice\x12\x12.lnrpc.PaymentHash\x1a\x0e.lnrpc.Invoice\x12\x41\n\x11SubscribeInvoices\x12\x1a.lnrpc.InvoiceSubscription\x1a\x0e.lnrpc.Invoice0\x01\x12\x32\n\x0c\x44\x65\x63odePayReq\x12\x13.lnrpc.PayReqString\x1a\r.lnrpc.PayReq\x12G\n\x0cListPayments\x12\x1a.lnrpc.ListPaymentsRequest\x1a\x1b.lnrpc.ListPaymentsResponse\x12J\n\rDeletePayment\x12\x1b.lnrpc.DeletePaymentRequest\x1a\x1c.lnrpc.DeletePaymentResponse\x12V\n\x11\x44\x65leteAllPayments\x12\x1f.lnrpc.DeleteAllPaymentsRequest\x1a .lnrpc.DeleteAllPaymentsResponse\x12@\n\rDescribeGraph\x12\x1a.lnrpc.ChannelGraphRequest\x1a\x13.lnrpc.ChannelGraph\x12G\n\x0eGetNodeMetrics\x12\x19.lnrpc.NodeMetricsRequest\x1a\x1a.lnrpc.NodeMetricsResponse\x12\x39\n\x0bGetChanInfo\x12\x16.lnrpc.ChanInfoRequest\x1a\x12.lnrpc.ChannelEdge\x12\x36\n\x0bGetNodeInfo\x12\x16.lnrpc.NodeInfoRequest\x1a\x0f.lnrpc.NodeInfo\x12\x44\n\x0bQueryRoutes\x12\x19.lnrpc.QueryRoutesRequest\x1a\x1a.lnrpc.QueryRoutesResponse\x12?\n\x0eGetNetworkInfo\x12\x19.lnrpc.NetworkInfoRequest\x1a\x12.lnrpc.NetworkInfo\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\x12>\n\tFeeReport\x12\x17.lnrpc.FeeReportRequest\x1a\x18.lnrpc.FeeReportResponse\x12N\n\x13UpdateChannelPolicy\x12\x1a.lnrpc.PolicyUpdateRequest\x1a\x1b.lnrpc.PolicyUpdateResponse\x12V\n\x11\x46orwardingHistory\x12\x1f.lnrpc.ForwardingHistoryRequest\x1a .lnrpc.ForwardingHistoryResponse\x12N\n\x13\x45xportChannelBackup\x12!.lnrpc.ExportChannelBackupRequest\x1a\x14.lnrpc.ChannelBackup\x12T\n\x17\x45xportAllChannelBackups\x12\x1e.lnrpc.ChanBackupExportRequest\x1a\x19.lnrpc.ChanBackupSnapshot\x12N\n\x10VerifyChanBackup\x12\x19.lnrpc.ChanBackupSnapshot\x1a\x1f.lnrpc.VerifyChanBackupResponse\x12V\n\x15RestoreChannelBackups\x12\x1f.lnrpc.RestoreChanBackupRequest\x1a\x1c.lnrpc.RestoreBackupResponse\x12X\n\x17SubscribeChannelBackups\x12 .lnrpc.ChannelBackupSubscription\x1a\x19.lnrpc.ChanBackupSnapshot0\x01\x12G\n\x0c\x42\x61keMacaroon\x12\x1a.lnrpc.BakeMacaroonRequest\x1a\x1b.lnrpc.BakeMacaroonResponse\x12P\n\x0fListMacaroonIDs\x12\x1d.lnrpc.ListMacaroonIDsRequest\x1a\x1e.lnrpc.ListMacaroonIDsResponse\x12S\n\x10\x44\x65leteMacaroonID\x12\x1e.lnrpc.DeleteMacaroonIDRequest\x1a\x1f.lnrpc.DeleteMacaroonIDResponse\x12P\n\x0fListPermissions\x12\x1d.lnrpc.ListPermissionsRequest\x1a\x1e.lnrpc.ListPermissionsResponse\x12S\n\x18\x43heckMacaroonPermissions\x12\x1a.lnrpc.CheckMacPermRequest\x1a\x1b.lnrpc.CheckMacPermResponse\x12V\n\x15RegisterRPCMiddleware\x12\x1c.lnrpc.RPCMiddlewareResponse\x1a\x1b.lnrpc.RPCMiddlewareRequest(\x01\x30\x01\x12V\n\x11SendCustomMessage\x12\x1f.lnrpc.SendCustomMessageRequest\x1a .lnrpc.SendCustomMessageResponse\x12X\n\x17SubscribeCustomMessages\x12%.lnrpc.SubscribeCustomMessagesRequest\x1a\x14.lnrpc.CustomMessage0\x01\x12\x44\n\x0bListAliases\x12\x19.lnrpc.ListAliasesRequest\x1a\x1a.lnrpc.ListAliasesResponse\x12_\n\x14LookupHtlcResolution\x12\".lnrpc.LookupHtlcResolutionRequest\x1a#.lnrpc.LookupHtlcResolutionResponseB\'Z%github.com/lightningnetwork/lnd/lnrpcb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'lightning_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'Z%github.com/lightningnetwork/lnd/lnrpc' + _globals['_TRANSACTION'].fields_by_name['dest_addresses']._loaded_options = None + _globals['_TRANSACTION'].fields_by_name['dest_addresses']._serialized_options = b'\030\001' + _globals['_SENDREQUEST_DESTCUSTOMRECORDSENTRY']._loaded_options = None + _globals['_SENDREQUEST_DESTCUSTOMRECORDSENTRY']._serialized_options = b'8\001' + _globals['_SENDREQUEST'].fields_by_name['dest_string']._loaded_options = None + _globals['_SENDREQUEST'].fields_by_name['dest_string']._serialized_options = b'\030\001' + _globals['_SENDREQUEST'].fields_by_name['payment_hash_string']._loaded_options = None + _globals['_SENDREQUEST'].fields_by_name['payment_hash_string']._serialized_options = b'\030\001' + _globals['_SENDREQUEST'].fields_by_name['outgoing_chan_id']._loaded_options = None + _globals['_SENDREQUEST'].fields_by_name['outgoing_chan_id']._serialized_options = b'0\001' + _globals['_SENDTOROUTEREQUEST'].fields_by_name['payment_hash_string']._loaded_options = None + _globals['_SENDTOROUTEREQUEST'].fields_by_name['payment_hash_string']._serialized_options = b'\030\001' + _globals['_ESTIMATEFEEREQUEST_ADDRTOAMOUNTENTRY']._loaded_options = None + _globals['_ESTIMATEFEEREQUEST_ADDRTOAMOUNTENTRY']._serialized_options = b'8\001' + _globals['_ESTIMATEFEERESPONSE'].fields_by_name['feerate_sat_per_byte']._loaded_options = None + _globals['_ESTIMATEFEERESPONSE'].fields_by_name['feerate_sat_per_byte']._serialized_options = b'\030\001' + _globals['_SENDMANYREQUEST_ADDRTOAMOUNTENTRY']._loaded_options = None + _globals['_SENDMANYREQUEST_ADDRTOAMOUNTENTRY']._serialized_options = b'8\001' + _globals['_SENDMANYREQUEST'].fields_by_name['sat_per_byte']._loaded_options = None + _globals['_SENDMANYREQUEST'].fields_by_name['sat_per_byte']._serialized_options = b'\030\001' + _globals['_SENDCOINSREQUEST'].fields_by_name['sat_per_byte']._loaded_options = None + _globals['_SENDCOINSREQUEST'].fields_by_name['sat_per_byte']._serialized_options = b'\030\001' + _globals['_CHANNEL'].fields_by_name['chan_id']._loaded_options = None + _globals['_CHANNEL'].fields_by_name['chan_id']._serialized_options = b'0\001' + _globals['_CHANNEL'].fields_by_name['csv_delay']._loaded_options = None + _globals['_CHANNEL'].fields_by_name['csv_delay']._serialized_options = b'\030\001' + _globals['_CHANNEL'].fields_by_name['local_chan_reserve_sat']._loaded_options = None + _globals['_CHANNEL'].fields_by_name['local_chan_reserve_sat']._serialized_options = b'\030\001' + _globals['_CHANNEL'].fields_by_name['remote_chan_reserve_sat']._loaded_options = None + _globals['_CHANNEL'].fields_by_name['remote_chan_reserve_sat']._serialized_options = b'\030\001' + _globals['_CHANNEL'].fields_by_name['static_remote_key']._loaded_options = None + _globals['_CHANNEL'].fields_by_name['static_remote_key']._serialized_options = b'\030\001' + _globals['_CHANNEL'].fields_by_name['peer_scid_alias']._loaded_options = None + _globals['_CHANNEL'].fields_by_name['peer_scid_alias']._serialized_options = b'0\001' + _globals['_CHANNELCLOSESUMMARY'].fields_by_name['chan_id']._loaded_options = None + _globals['_CHANNELCLOSESUMMARY'].fields_by_name['chan_id']._serialized_options = b'0\001' + _globals['_CHANNELCLOSESUMMARY'].fields_by_name['zero_conf_confirmed_scid']._loaded_options = None + _globals['_CHANNELCLOSESUMMARY'].fields_by_name['zero_conf_confirmed_scid']._serialized_options = b'0\001' + _globals['_PEER_FEATURESENTRY']._loaded_options = None + _globals['_PEER_FEATURESENTRY']._serialized_options = b'8\001' + _globals['_GETINFORESPONSE_FEATURESENTRY']._loaded_options = None + _globals['_GETINFORESPONSE_FEATURESENTRY']._serialized_options = b'8\001' + _globals['_GETINFORESPONSE'].fields_by_name['testnet']._loaded_options = None + _globals['_GETINFORESPONSE'].fields_by_name['testnet']._serialized_options = b'\030\001' + _globals['_GETDEBUGINFORESPONSE_CONFIGENTRY']._loaded_options = None + _globals['_GETDEBUGINFORESPONSE_CONFIGENTRY']._serialized_options = b'8\001' + _globals['_CHAIN'].fields_by_name['chain']._loaded_options = None + _globals['_CHAIN'].fields_by_name['chain']._serialized_options = b'\030\001' + _globals['_CLOSECHANNELREQUEST'].fields_by_name['sat_per_byte']._loaded_options = None + _globals['_CLOSECHANNELREQUEST'].fields_by_name['sat_per_byte']._serialized_options = b'\030\001' + _globals['_OPENCHANNELREQUEST'].fields_by_name['node_pubkey_string']._loaded_options = None + _globals['_OPENCHANNELREQUEST'].fields_by_name['node_pubkey_string']._serialized_options = b'\030\001' + _globals['_OPENCHANNELREQUEST'].fields_by_name['sat_per_byte']._loaded_options = None + _globals['_OPENCHANNELREQUEST'].fields_by_name['sat_per_byte']._serialized_options = b'\030\001' + _globals['_PENDINGCHANNELSRESPONSE'].fields_by_name['pending_closing_channels']._loaded_options = None + _globals['_PENDINGCHANNELSRESPONSE'].fields_by_name['pending_closing_channels']._serialized_options = b'\030\001' + _globals['_WALLETBALANCERESPONSE_ACCOUNTBALANCEENTRY']._loaded_options = None + _globals['_WALLETBALANCERESPONSE_ACCOUNTBALANCEENTRY']._serialized_options = b'8\001' + _globals['_CHANNELBALANCERESPONSE'].fields_by_name['balance']._loaded_options = None + _globals['_CHANNELBALANCERESPONSE'].fields_by_name['balance']._serialized_options = b'\030\001' + _globals['_CHANNELBALANCERESPONSE'].fields_by_name['pending_open_balance']._loaded_options = None + _globals['_CHANNELBALANCERESPONSE'].fields_by_name['pending_open_balance']._serialized_options = b'\030\001' + _globals['_QUERYROUTESREQUEST_DESTCUSTOMRECORDSENTRY']._loaded_options = None + _globals['_QUERYROUTESREQUEST_DESTCUSTOMRECORDSENTRY']._serialized_options = b'8\001' + _globals['_QUERYROUTESREQUEST'].fields_by_name['ignored_edges']._loaded_options = None + _globals['_QUERYROUTESREQUEST'].fields_by_name['ignored_edges']._serialized_options = b'\030\001' + _globals['_QUERYROUTESREQUEST'].fields_by_name['outgoing_chan_id']._loaded_options = None + _globals['_QUERYROUTESREQUEST'].fields_by_name['outgoing_chan_id']._serialized_options = b'0\001' + _globals['_EDGELOCATOR'].fields_by_name['channel_id']._loaded_options = None + _globals['_EDGELOCATOR'].fields_by_name['channel_id']._serialized_options = b'0\001' + _globals['_HOP_CUSTOMRECORDSENTRY']._loaded_options = None + _globals['_HOP_CUSTOMRECORDSENTRY']._serialized_options = b'8\001' + _globals['_HOP'].fields_by_name['chan_id']._loaded_options = None + _globals['_HOP'].fields_by_name['chan_id']._serialized_options = b'0\001' + _globals['_HOP'].fields_by_name['chan_capacity']._loaded_options = None + _globals['_HOP'].fields_by_name['chan_capacity']._serialized_options = b'\030\001' + _globals['_HOP'].fields_by_name['amt_to_forward']._loaded_options = None + _globals['_HOP'].fields_by_name['amt_to_forward']._serialized_options = b'\030\001' + _globals['_HOP'].fields_by_name['fee']._loaded_options = None + _globals['_HOP'].fields_by_name['fee']._serialized_options = b'\030\001' + _globals['_HOP'].fields_by_name['tlv_payload']._loaded_options = None + _globals['_HOP'].fields_by_name['tlv_payload']._serialized_options = b'\030\001' + _globals['_ROUTE'].fields_by_name['total_fees']._loaded_options = None + _globals['_ROUTE'].fields_by_name['total_fees']._serialized_options = b'\030\001' + _globals['_ROUTE'].fields_by_name['total_amt']._loaded_options = None + _globals['_ROUTE'].fields_by_name['total_amt']._serialized_options = b'\030\001' + _globals['_LIGHTNINGNODE_FEATURESENTRY']._loaded_options = None + _globals['_LIGHTNINGNODE_FEATURESENTRY']._serialized_options = b'8\001' + _globals['_LIGHTNINGNODE_CUSTOMRECORDSENTRY']._loaded_options = None + _globals['_LIGHTNINGNODE_CUSTOMRECORDSENTRY']._serialized_options = b'8\001' + _globals['_ROUTINGPOLICY_CUSTOMRECORDSENTRY']._loaded_options = None + _globals['_ROUTINGPOLICY_CUSTOMRECORDSENTRY']._serialized_options = b'8\001' + _globals['_CHANNELEDGE_CUSTOMRECORDSENTRY']._loaded_options = None + _globals['_CHANNELEDGE_CUSTOMRECORDSENTRY']._serialized_options = b'8\001' + _globals['_CHANNELEDGE'].fields_by_name['channel_id']._loaded_options = None + _globals['_CHANNELEDGE'].fields_by_name['channel_id']._serialized_options = b'0\001' + _globals['_CHANNELEDGE'].fields_by_name['last_update']._loaded_options = None + _globals['_CHANNELEDGE'].fields_by_name['last_update']._serialized_options = b'\030\001' + _globals['_NODEMETRICSRESPONSE_BETWEENNESSCENTRALITYENTRY']._loaded_options = None + _globals['_NODEMETRICSRESPONSE_BETWEENNESSCENTRALITYENTRY']._serialized_options = b'8\001' + _globals['_CHANINFOREQUEST'].fields_by_name['chan_id']._loaded_options = None + _globals['_CHANINFOREQUEST'].fields_by_name['chan_id']._serialized_options = b'0\001' + _globals['_NODEUPDATE_FEATURESENTRY']._loaded_options = None + _globals['_NODEUPDATE_FEATURESENTRY']._serialized_options = b'8\001' + _globals['_NODEUPDATE'].fields_by_name['addresses']._loaded_options = None + _globals['_NODEUPDATE'].fields_by_name['addresses']._serialized_options = b'\030\001' + _globals['_NODEUPDATE'].fields_by_name['global_features']._loaded_options = None + _globals['_NODEUPDATE'].fields_by_name['global_features']._serialized_options = b'\030\001' + _globals['_CHANNELEDGEUPDATE'].fields_by_name['chan_id']._loaded_options = None + _globals['_CHANNELEDGEUPDATE'].fields_by_name['chan_id']._serialized_options = b'0\001' + _globals['_CLOSEDCHANNELUPDATE'].fields_by_name['chan_id']._loaded_options = None + _globals['_CLOSEDCHANNELUPDATE'].fields_by_name['chan_id']._serialized_options = b'0\001' + _globals['_HOPHINT'].fields_by_name['chan_id']._loaded_options = None + _globals['_HOPHINT'].fields_by_name['chan_id']._serialized_options = b'0\001' + _globals['_INVOICE_FEATURESENTRY']._loaded_options = None + _globals['_INVOICE_FEATURESENTRY']._serialized_options = b'8\001' + _globals['_INVOICE_AMPINVOICESTATEENTRY']._loaded_options = None + _globals['_INVOICE_AMPINVOICESTATEENTRY']._serialized_options = b'8\001' + _globals['_INVOICE'].fields_by_name['settled']._loaded_options = None + _globals['_INVOICE'].fields_by_name['settled']._serialized_options = b'\030\001' + _globals['_INVOICE'].fields_by_name['amt_paid']._loaded_options = None + _globals['_INVOICE'].fields_by_name['amt_paid']._serialized_options = b'\030\001' + _globals['_INVOICEHTLC_CUSTOMRECORDSENTRY']._loaded_options = None + _globals['_INVOICEHTLC_CUSTOMRECORDSENTRY']._serialized_options = b'8\001' + _globals['_INVOICEHTLC'].fields_by_name['chan_id']._loaded_options = None + _globals['_INVOICEHTLC'].fields_by_name['chan_id']._serialized_options = b'0\001' + _globals['_PAYMENTHASH'].fields_by_name['r_hash_str']._loaded_options = None + _globals['_PAYMENTHASH'].fields_by_name['r_hash_str']._serialized_options = b'\030\001' + _globals['_PAYMENT_PAYMENTSTATUS'].values_by_name["UNKNOWN"]._loaded_options = None + _globals['_PAYMENT_PAYMENTSTATUS'].values_by_name["UNKNOWN"]._serialized_options = b'\010\001' + _globals['_PAYMENT'].fields_by_name['value']._loaded_options = None + _globals['_PAYMENT'].fields_by_name['value']._serialized_options = b'\030\001' + _globals['_PAYMENT'].fields_by_name['creation_date']._loaded_options = None + _globals['_PAYMENT'].fields_by_name['creation_date']._serialized_options = b'\030\001' + _globals['_PAYMENT'].fields_by_name['fee']._loaded_options = None + _globals['_PAYMENT'].fields_by_name['fee']._serialized_options = b'\030\001' + _globals['_PAYREQ_FEATURESENTRY']._loaded_options = None + _globals['_PAYREQ_FEATURESENTRY']._serialized_options = b'8\001' + _globals['_CHANNELFEEREPORT'].fields_by_name['chan_id']._loaded_options = None + _globals['_CHANNELFEEREPORT'].fields_by_name['chan_id']._serialized_options = b'0\001' + _globals['_FORWARDINGEVENT'].fields_by_name['timestamp']._loaded_options = None + _globals['_FORWARDINGEVENT'].fields_by_name['timestamp']._serialized_options = b'\030\001' + _globals['_FORWARDINGEVENT'].fields_by_name['chan_id_in']._loaded_options = None + _globals['_FORWARDINGEVENT'].fields_by_name['chan_id_in']._serialized_options = b'0\001' + _globals['_FORWARDINGEVENT'].fields_by_name['chan_id_out']._loaded_options = None + _globals['_FORWARDINGEVENT'].fields_by_name['chan_id_out']._serialized_options = b'0\001' + _globals['_LISTPERMISSIONSRESPONSE_METHODPERMISSIONSENTRY']._loaded_options = None + _globals['_LISTPERMISSIONSRESPONSE_METHODPERMISSIONSENTRY']._serialized_options = b'8\001' + _globals['_CHANNELUPDATE'].fields_by_name['chan_id']._loaded_options = None + _globals['_CHANNELUPDATE'].fields_by_name['chan_id']._serialized_options = b'0\001' + _globals['_LIGHTNING'].methods_by_name['SendPayment']._loaded_options = None + _globals['_LIGHTNING'].methods_by_name['SendPayment']._serialized_options = b'\210\002\001' + _globals['_LIGHTNING'].methods_by_name['SendToRoute']._loaded_options = None + _globals['_LIGHTNING'].methods_by_name['SendToRoute']._serialized_options = b'\210\002\001' + _globals['_OUTPUTSCRIPTTYPE']._serialized_start=30359 + _globals['_OUTPUTSCRIPTTYPE']._serialized_end=30690 + _globals['_COINSELECTIONSTRATEGY']._serialized_start=30692 + _globals['_COINSELECTIONSTRATEGY']._serialized_end=30790 + _globals['_ADDRESSTYPE']._serialized_start=30793 + _globals['_ADDRESSTYPE']._serialized_end=30965 + _globals['_COMMITMENTTYPE']._serialized_start=30968 + _globals['_COMMITMENTTYPE']._serialized_end=31108 + _globals['_INITIATOR']._serialized_start=31110 + _globals['_INITIATOR']._serialized_end=31207 + _globals['_RESOLUTIONTYPE']._serialized_start=31209 + _globals['_RESOLUTIONTYPE']._serialized_end=31305 + _globals['_RESOLUTIONOUTCOME']._serialized_start=31307 + _globals['_RESOLUTIONOUTCOME']._serialized_end=31420 + _globals['_NODEMETRICTYPE']._serialized_start=31422 + _globals['_NODEMETRICTYPE']._serialized_end=31479 + _globals['_INVOICEHTLCSTATE']._serialized_start=31481 + _globals['_INVOICEHTLCSTATE']._serialized_end=31540 + _globals['_PAYMENTFAILUREREASON']._serialized_start=31543 + _globals['_PAYMENTFAILUREREASON']._serialized_end=31760 + _globals['_FEATUREBIT']._serialized_start=31763 + _globals['_FEATUREBIT']._serialized_end=32412 + _globals['_UPDATEFAILURE']._serialized_start=32415 + _globals['_UPDATEFAILURE']._serialized_end=32587 + _globals['_LOOKUPHTLCRESOLUTIONREQUEST']._serialized_start=26 + _globals['_LOOKUPHTLCRESOLUTIONREQUEST']._serialized_end=92 + _globals['_LOOKUPHTLCRESOLUTIONRESPONSE']._serialized_start=94 + _globals['_LOOKUPHTLCRESOLUTIONRESPONSE']._serialized_end=159 + _globals['_SUBSCRIBECUSTOMMESSAGESREQUEST']._serialized_start=161 + _globals['_SUBSCRIBECUSTOMMESSAGESREQUEST']._serialized_end=193 + _globals['_CUSTOMMESSAGE']._serialized_start=195 + _globals['_CUSTOMMESSAGE']._serialized_end=252 + _globals['_SENDCUSTOMMESSAGEREQUEST']._serialized_start=254 + _globals['_SENDCUSTOMMESSAGEREQUEST']._serialized_end=322 + _globals['_SENDCUSTOMMESSAGERESPONSE']._serialized_start=324 + _globals['_SENDCUSTOMMESSAGERESPONSE']._serialized_end=351 + _globals['_UTXO']._serialized_start=354 + _globals['_UTXO']._serialized_end=516 + _globals['_OUTPUTDETAIL']._serialized_start=519 + _globals['_OUTPUTDETAIL']._serialized_end=677 + _globals['_TRANSACTION']._serialized_start=680 + _globals['_TRANSACTION']._serialized_end=996 + _globals['_GETTRANSACTIONSREQUEST']._serialized_start=998 + _globals['_GETTRANSACTIONSREQUEST']._serialized_end=1081 + _globals['_TRANSACTIONDETAILS']._serialized_start=1083 + _globals['_TRANSACTIONDETAILS']._serialized_end=1145 + _globals['_FEELIMIT']._serialized_start=1147 + _globals['_FEELIMIT']._serialized_end=1224 + _globals['_SENDREQUEST']._serialized_start=1227 + _globals['_SENDREQUEST']._serialized_end=1749 + _globals['_SENDREQUEST_DESTCUSTOMRECORDSENTRY']._serialized_start=1693 + _globals['_SENDREQUEST_DESTCUSTOMRECORDSENTRY']._serialized_end=1749 + _globals['_SENDRESPONSE']._serialized_start=1751 + _globals['_SENDRESPONSE']._serialized_end=1873 + _globals['_SENDTOROUTEREQUEST']._serialized_start=1875 + _globals['_SENDTOROUTEREQUEST']._serialized_end=1985 + _globals['_CHANNELACCEPTREQUEST']._serialized_start=1988 + _globals['_CHANNELACCEPTREQUEST']._serialized_end=2396 + _globals['_CHANNELACCEPTRESPONSE']._serialized_start=2399 + _globals['_CHANNELACCEPTRESPONSE']._serialized_end=2662 + _globals['_CHANNELPOINT']._serialized_start=2664 + _globals['_CHANNELPOINT']._serialized_end=2774 + _globals['_OUTPOINT']._serialized_start=2776 + _globals['_OUTPOINT']._serialized_end=2846 + _globals['_PREVIOUSOUTPOINT']._serialized_start=2848 + _globals['_PREVIOUSOUTPOINT']._serialized_end=2907 + _globals['_LIGHTNINGADDRESS']._serialized_start=2909 + _globals['_LIGHTNINGADDRESS']._serialized_end=2957 + _globals['_ESTIMATEFEEREQUEST']._serialized_start=2960 + _globals['_ESTIMATEFEEREQUEST']._serialized_end=3230 + _globals['_ESTIMATEFEEREQUEST_ADDRTOAMOUNTENTRY']._serialized_start=3179 + _globals['_ESTIMATEFEEREQUEST_ADDRTOAMOUNTENTRY']._serialized_end=3230 + _globals['_ESTIMATEFEERESPONSE']._serialized_start=3232 + _globals['_ESTIMATEFEERESPONSE']._serialized_end=3327 + _globals['_SENDMANYREQUEST']._serialized_start=3330 + _globals['_SENDMANYREQUEST']._serialized_end=3658 + _globals['_SENDMANYREQUEST_ADDRTOAMOUNTENTRY']._serialized_start=3179 + _globals['_SENDMANYREQUEST_ADDRTOAMOUNTENTRY']._serialized_end=3230 + _globals['_SENDMANYRESPONSE']._serialized_start=3660 + _globals['_SENDMANYRESPONSE']._serialized_end=3692 + _globals['_SENDCOINSREQUEST']._serialized_start=3695 + _globals['_SENDCOINSREQUEST']._serialized_end=3955 + _globals['_SENDCOINSRESPONSE']._serialized_start=3957 + _globals['_SENDCOINSRESPONSE']._serialized_end=3990 + _globals['_LISTUNSPENTREQUEST']._serialized_start=3992 + _globals['_LISTUNSPENTREQUEST']._serialized_end=4067 + _globals['_LISTUNSPENTRESPONSE']._serialized_start=4069 + _globals['_LISTUNSPENTRESPONSE']._serialized_end=4118 + _globals['_NEWADDRESSREQUEST']._serialized_start=4120 + _globals['_NEWADDRESSREQUEST']._serialized_end=4190 + _globals['_NEWADDRESSRESPONSE']._serialized_start=4192 + _globals['_NEWADDRESSRESPONSE']._serialized_end=4229 + _globals['_SIGNMESSAGEREQUEST']._serialized_start=4231 + _globals['_SIGNMESSAGEREQUEST']._serialized_end=4285 + _globals['_SIGNMESSAGERESPONSE']._serialized_start=4287 + _globals['_SIGNMESSAGERESPONSE']._serialized_end=4327 + _globals['_VERIFYMESSAGEREQUEST']._serialized_start=4329 + _globals['_VERIFYMESSAGEREQUEST']._serialized_end=4383 + _globals['_VERIFYMESSAGERESPONSE']._serialized_start=4385 + _globals['_VERIFYMESSAGERESPONSE']._serialized_end=4439 + _globals['_CONNECTPEERREQUEST']._serialized_start=4441 + _globals['_CONNECTPEERREQUEST']._serialized_end=4531 + _globals['_CONNECTPEERRESPONSE']._serialized_start=4533 + _globals['_CONNECTPEERRESPONSE']._serialized_end=4554 + _globals['_DISCONNECTPEERREQUEST']._serialized_start=4556 + _globals['_DISCONNECTPEERREQUEST']._serialized_end=4596 + _globals['_DISCONNECTPEERRESPONSE']._serialized_start=4598 + _globals['_DISCONNECTPEERRESPONSE']._serialized_end=4622 + _globals['_HTLC']._serialized_start=4625 + _globals['_HTLC']._serialized_end=4790 + _globals['_CHANNELCONSTRAINTS']._serialized_start=4793 + _globals['_CHANNELCONSTRAINTS']._serialized_end=4963 + _globals['_CHANNEL']._serialized_start=4966 + _globals['_CHANNEL']._serialized_end=5919 + _globals['_LISTCHANNELSREQUEST']._serialized_start=5922 + _globals['_LISTCHANNELSREQUEST']._serialized_end=6071 + _globals['_LISTCHANNELSRESPONSE']._serialized_start=6073 + _globals['_LISTCHANNELSRESPONSE']._serialized_end=6129 + _globals['_ALIASMAP']._serialized_start=6131 + _globals['_ALIASMAP']._serialized_end=6177 + _globals['_LISTALIASESREQUEST']._serialized_start=6179 + _globals['_LISTALIASESREQUEST']._serialized_end=6199 + _globals['_LISTALIASESRESPONSE']._serialized_start=6201 + _globals['_LISTALIASESRESPONSE']._serialized_end=6259 + _globals['_CHANNELCLOSESUMMARY']._serialized_start=6262 + _globals['_CHANNELCLOSESUMMARY']._serialized_end=6874 + _globals['_CHANNELCLOSESUMMARY_CLOSURETYPE']._serialized_start=6736 + _globals['_CHANNELCLOSESUMMARY_CLOSURETYPE']._serialized_end=6874 + _globals['_RESOLUTION']._serialized_start=6877 + _globals['_RESOLUTION']._serialized_end=7055 + _globals['_CLOSEDCHANNELSREQUEST']._serialized_start=7058 + _globals['_CLOSEDCHANNELSREQUEST']._serialized_end=7206 + _globals['_CLOSEDCHANNELSRESPONSE']._serialized_start=7208 + _globals['_CLOSEDCHANNELSRESPONSE']._serialized_end=7278 + _globals['_PEER']._serialized_start=7281 + _globals['_PEER']._serialized_end=7776 + _globals['_PEER_FEATURESENTRY']._serialized_start=7631 + _globals['_PEER_FEATURESENTRY']._serialized_end=7694 + _globals['_PEER_SYNCTYPE']._serialized_start=7696 + _globals['_PEER_SYNCTYPE']._serialized_end=7776 + _globals['_TIMESTAMPEDERROR']._serialized_start=7778 + _globals['_TIMESTAMPEDERROR']._serialized_end=7830 + _globals['_LISTPEERSREQUEST']._serialized_start=7832 + _globals['_LISTPEERSREQUEST']._serialized_end=7872 + _globals['_LISTPEERSRESPONSE']._serialized_start=7874 + _globals['_LISTPEERSRESPONSE']._serialized_end=7921 + _globals['_PEEREVENTSUBSCRIPTION']._serialized_start=7923 + _globals['_PEEREVENTSUBSCRIPTION']._serialized_end=7946 + _globals['_PEEREVENT']._serialized_start=7948 + _globals['_PEEREVENT']._serialized_end=8066 + _globals['_PEEREVENT_EVENTTYPE']._serialized_start=8020 + _globals['_PEEREVENT_EVENTTYPE']._serialized_end=8066 + _globals['_GETINFOREQUEST']._serialized_start=8068 + _globals['_GETINFOREQUEST']._serialized_end=8084 + _globals['_GETINFORESPONSE']._serialized_start=8087 + _globals['_GETINFORESPONSE']._serialized_end=8693 + _globals['_GETINFORESPONSE_FEATURESENTRY']._serialized_start=7631 + _globals['_GETINFORESPONSE_FEATURESENTRY']._serialized_end=7694 + _globals['_GETDEBUGINFOREQUEST']._serialized_start=8695 + _globals['_GETDEBUGINFOREQUEST']._serialized_end=8716 + _globals['_GETDEBUGINFORESPONSE']._serialized_start=8719 + _globals['_GETDEBUGINFORESPONSE']._serialized_end=8858 + _globals['_GETDEBUGINFORESPONSE_CONFIGENTRY']._serialized_start=8813 + _globals['_GETDEBUGINFORESPONSE_CONFIGENTRY']._serialized_end=8858 + _globals['_GETRECOVERYINFOREQUEST']._serialized_start=8860 + _globals['_GETRECOVERYINFOREQUEST']._serialized_end=8884 + _globals['_GETRECOVERYINFORESPONSE']._serialized_start=8886 + _globals['_GETRECOVERYINFORESPONSE']._serialized_end=8979 + _globals['_CHAIN']._serialized_start=8981 + _globals['_CHAIN']._serialized_end=9024 + _globals['_CONFIRMATIONUPDATE']._serialized_start=9026 + _globals['_CONFIRMATIONUPDATE']._serialized_end=9111 + _globals['_CHANNELOPENUPDATE']._serialized_start=9113 + _globals['_CHANNELOPENUPDATE']._serialized_end=9176 + _globals['_CHANNELCLOSEUPDATE']._serialized_start=9178 + _globals['_CHANNELCLOSEUPDATE']._serialized_end=9237 + _globals['_CLOSECHANNELREQUEST']._serialized_start=9240 + _globals['_CLOSECHANNELREQUEST']._serialized_end=9460 + _globals['_CLOSESTATUSUPDATE']._serialized_start=9463 + _globals['_CLOSESTATUSUPDATE']._serialized_end=9635 + _globals['_PENDINGUPDATE']._serialized_start=9637 + _globals['_PENDINGUPDATE']._serialized_end=9688 + _globals['_INSTANTUPDATE']._serialized_start=9690 + _globals['_INSTANTUPDATE']._serialized_end=9705 + _globals['_READYFORPSBTFUNDING']._serialized_start=9707 + _globals['_READYFORPSBTFUNDING']._serialized_end=9791 + _globals['_BATCHOPENCHANNELREQUEST']._serialized_start=9794 + _globals['_BATCHOPENCHANNELREQUEST']._serialized_end=10030 + _globals['_BATCHOPENCHANNEL']._serialized_start=10033 + _globals['_BATCHOPENCHANNEL']._serialized_end=10538 + _globals['_BATCHOPENCHANNELRESPONSE']._serialized_start=10540 + _globals['_BATCHOPENCHANNELRESPONSE']._serialized_end=10614 + _globals['_OPENCHANNELREQUEST']._serialized_start=10617 + _globals['_OPENCHANNELREQUEST']._serialized_end=11343 + _globals['_OPENSTATUSUPDATE']._serialized_start=11346 + _globals['_OPENSTATUSUPDATE']._serialized_end=11541 + _globals['_KEYLOCATOR']._serialized_start=11543 + _globals['_KEYLOCATOR']._serialized_end=11594 + _globals['_KEYDESCRIPTOR']._serialized_start=11596 + _globals['_KEYDESCRIPTOR']._serialized_end=11670 + _globals['_CHANPOINTSHIM']._serialized_start=11673 + _globals['_CHANPOINTSHIM']._serialized_end=11865 + _globals['_PSBTSHIM']._serialized_start=11867 + _globals['_PSBTSHIM']._serialized_end=11941 + _globals['_FUNDINGSHIM']._serialized_start=11943 + _globals['_FUNDINGSHIM']._serialized_end=12051 + _globals['_FUNDINGSHIMCANCEL']._serialized_start=12053 + _globals['_FUNDINGSHIMCANCEL']._serialized_end=12097 + _globals['_FUNDINGPSBTVERIFY']._serialized_start=12099 + _globals['_FUNDINGPSBTVERIFY']._serialized_end=12187 + _globals['_FUNDINGPSBTFINALIZE']._serialized_start=12189 + _globals['_FUNDINGPSBTFINALIZE']._serialized_end=12278 + _globals['_FUNDINGTRANSITIONMSG']._serialized_start=12281 + _globals['_FUNDINGTRANSITIONMSG']._serialized_end=12510 + _globals['_FUNDINGSTATESTEPRESP']._serialized_start=12512 + _globals['_FUNDINGSTATESTEPRESP']._serialized_end=12534 + _globals['_PENDINGHTLC']._serialized_start=12537 + _globals['_PENDINGHTLC']._serialized_end=12671 + _globals['_PENDINGCHANNELSREQUEST']._serialized_start=12673 + _globals['_PENDINGCHANNELSREQUEST']._serialized_end=12721 + _globals['_PENDINGCHANNELSRESPONSE']._serialized_start=12724 + _globals['_PENDINGCHANNELSRESPONSE']._serialized_end=14576 + _globals['_PENDINGCHANNELSRESPONSE_PENDINGCHANNEL']._serialized_start=13122 + _globals['_PENDINGCHANNELSRESPONSE_PENDINGCHANNEL']._serialized_end=13492 + _globals['_PENDINGCHANNELSRESPONSE_PENDINGOPENCHANNEL']._serialized_start=13495 + _globals['_PENDINGCHANNELSRESPONSE_PENDINGOPENCHANNEL']._serialized_end=13679 + _globals['_PENDINGCHANNELSRESPONSE_WAITINGCLOSECHANNEL']._serialized_start=13682 + _globals['_PENDINGCHANNELSRESPONSE_WAITINGCLOSECHANNEL']._serialized_end=13901 + _globals['_PENDINGCHANNELSRESPONSE_COMMITMENTS']._serialized_start=13904 + _globals['_PENDINGCHANNELSRESPONSE_COMMITMENTS']._serialized_end=14087 + _globals['_PENDINGCHANNELSRESPONSE_CLOSEDCHANNEL']._serialized_start=14089 + _globals['_PENDINGCHANNELSRESPONSE_CLOSEDCHANNEL']._serialized_end=14190 + _globals['_PENDINGCHANNELSRESPONSE_FORCECLOSEDCHANNEL']._serialized_start=14193 + _globals['_PENDINGCHANNELSRESPONSE_FORCECLOSEDCHANNEL']._serialized_end=14576 + _globals['_PENDINGCHANNELSRESPONSE_FORCECLOSEDCHANNEL_ANCHORSTATE']._serialized_start=14527 + _globals['_PENDINGCHANNELSRESPONSE_FORCECLOSEDCHANNEL_ANCHORSTATE']._serialized_end=14576 + _globals['_CHANNELEVENTSUBSCRIPTION']._serialized_start=14578 + _globals['_CHANNELEVENTSUBSCRIPTION']._serialized_end=14604 + _globals['_CHANNELEVENTUPDATE']._serialized_start=14607 + _globals['_CHANNELEVENTUPDATE']._serialized_end=15138 + _globals['_CHANNELEVENTUPDATE_UPDATETYPE']._serialized_start=14981 + _globals['_CHANNELEVENTUPDATE_UPDATETYPE']._serialized_end=15127 + _globals['_WALLETACCOUNTBALANCE']._serialized_start=15140 + _globals['_WALLETACCOUNTBALANCE']._serialized_end=15218 + _globals['_WALLETBALANCEREQUEST']._serialized_start=15220 + _globals['_WALLETBALANCEREQUEST']._serialized_end=15278 + _globals['_WALLETBALANCERESPONSE']._serialized_start=15281 + _globals['_WALLETBALANCERESPONSE']._serialized_end=15604 + _globals['_WALLETBALANCERESPONSE_ACCOUNTBALANCEENTRY']._serialized_start=15522 + _globals['_WALLETBALANCERESPONSE_ACCOUNTBALANCEENTRY']._serialized_end=15604 + _globals['_AMOUNT']._serialized_start=15606 + _globals['_AMOUNT']._serialized_end=15641 + _globals['_CHANNELBALANCEREQUEST']._serialized_start=15643 + _globals['_CHANNELBALANCEREQUEST']._serialized_end=15666 + _globals['_CHANNELBALANCERESPONSE']._serialized_start=15669 + _globals['_CHANNELBALANCERESPONSE']._serialized_end=16025 + _globals['_QUERYROUTESREQUEST']._serialized_start=16028 + _globals['_QUERYROUTESREQUEST']._serialized_end=16697 + _globals['_QUERYROUTESREQUEST_DESTCUSTOMRECORDSENTRY']._serialized_start=1693 + _globals['_QUERYROUTESREQUEST_DESTCUSTOMRECORDSENTRY']._serialized_end=1749 + _globals['_NODEPAIR']._serialized_start=16699 + _globals['_NODEPAIR']._serialized_end=16735 + _globals['_EDGELOCATOR']._serialized_start=16737 + _globals['_EDGELOCATOR']._serialized_end=16801 + _globals['_QUERYROUTESRESPONSE']._serialized_start=16803 + _globals['_QUERYROUTESRESPONSE']._serialized_end=16876 + _globals['_HOP']._serialized_start=16879 + _globals['_HOP']._serialized_end=17357 + _globals['_HOP_CUSTOMRECORDSENTRY']._serialized_start=17305 + _globals['_HOP_CUSTOMRECORDSENTRY']._serialized_end=17357 + _globals['_MPPRECORD']._serialized_start=17359 + _globals['_MPPRECORD']._serialized_end=17416 + _globals['_AMPRECORD']._serialized_start=17418 + _globals['_AMPRECORD']._serialized_end=17486 + _globals['_ROUTE']._serialized_start=17489 + _globals['_ROUTE']._serialized_end=17643 + _globals['_NODEINFOREQUEST']._serialized_start=17645 + _globals['_NODEINFOREQUEST']._serialized_end=17705 + _globals['_NODEINFO']._serialized_start=17708 + _globals['_NODEINFO']._serialized_end=17838 + _globals['_LIGHTNINGNODE']._serialized_start=17841 + _globals['_LIGHTNINGNODE']._serialized_end=18201 + _globals['_LIGHTNINGNODE_FEATURESENTRY']._serialized_start=7631 + _globals['_LIGHTNINGNODE_FEATURESENTRY']._serialized_end=7694 + _globals['_LIGHTNINGNODE_CUSTOMRECORDSENTRY']._serialized_start=17305 + _globals['_LIGHTNINGNODE_CUSTOMRECORDSENTRY']._serialized_end=17357 + _globals['_NODEADDRESS']._serialized_start=18203 + _globals['_NODEADDRESS']._serialized_end=18247 + _globals['_ROUTINGPOLICY']._serialized_start=18250 + _globals['_ROUTINGPOLICY']._serialized_end=18609 + _globals['_ROUTINGPOLICY_CUSTOMRECORDSENTRY']._serialized_start=17305 + _globals['_ROUTINGPOLICY_CUSTOMRECORDSENTRY']._serialized_end=17357 + _globals['_CHANNELEDGE']._serialized_start=18612 + _globals['_CHANNELEDGE']._serialized_end=18955 + _globals['_CHANNELEDGE_CUSTOMRECORDSENTRY']._serialized_start=17305 + _globals['_CHANNELEDGE_CUSTOMRECORDSENTRY']._serialized_end=17357 + _globals['_CHANNELGRAPHREQUEST']._serialized_start=18957 + _globals['_CHANNELGRAPHREQUEST']._serialized_end=19007 + _globals['_CHANNELGRAPH']._serialized_start=19009 + _globals['_CHANNELGRAPH']._serialized_end=19095 + _globals['_NODEMETRICSREQUEST']._serialized_start=19097 + _globals['_NODEMETRICSREQUEST']._serialized_end=19155 + _globals['_NODEMETRICSRESPONSE']._serialized_start=19158 + _globals['_NODEMETRICSRESPONSE']._serialized_end=19348 + _globals['_NODEMETRICSRESPONSE_BETWEENNESSCENTRALITYENTRY']._serialized_start=19268 + _globals['_NODEMETRICSRESPONSE_BETWEENNESSCENTRALITYENTRY']._serialized_end=19348 + _globals['_FLOATMETRIC']._serialized_start=19350 + _globals['_FLOATMETRIC']._serialized_end=19404 + _globals['_CHANINFOREQUEST']._serialized_start=19406 + _globals['_CHANINFOREQUEST']._serialized_end=19444 + _globals['_NETWORKINFOREQUEST']._serialized_start=19446 + _globals['_NETWORKINFOREQUEST']._serialized_end=19466 + _globals['_NETWORKINFO']._serialized_start=19469 + _globals['_NETWORKINFO']._serialized_end=19764 + _globals['_STOPREQUEST']._serialized_start=19766 + _globals['_STOPREQUEST']._serialized_end=19779 + _globals['_STOPRESPONSE']._serialized_start=19781 + _globals['_STOPRESPONSE']._serialized_end=19795 + _globals['_GRAPHTOPOLOGYSUBSCRIPTION']._serialized_start=19797 + _globals['_GRAPHTOPOLOGYSUBSCRIPTION']._serialized_end=19824 + _globals['_GRAPHTOPOLOGYUPDATE']._serialized_start=19827 + _globals['_GRAPHTOPOLOGYUPDATE']._serialized_end=19990 + _globals['_NODEUPDATE']._serialized_start=19993 + _globals['_NODEUPDATE']._serialized_end=20269 + _globals['_NODEUPDATE_FEATURESENTRY']._serialized_start=7631 + _globals['_NODEUPDATE_FEATURESENTRY']._serialized_end=7694 + _globals['_CHANNELEDGEUPDATE']._serialized_start=20272 + _globals['_CHANNELEDGEUPDATE']._serialized_end=20468 + _globals['_CLOSEDCHANNELUPDATE']._serialized_start=20470 + _globals['_CLOSEDCHANNELUPDATE']._serialized_end=20594 + _globals['_HOPHINT']._serialized_start=20597 + _globals['_HOPHINT']._serialized_end=20731 + _globals['_SETID']._serialized_start=20733 + _globals['_SETID']._serialized_end=20756 + _globals['_ROUTEHINT']._serialized_start=20758 + _globals['_ROUTEHINT']._serialized_end=20804 + _globals['_BLINDEDPAYMENTPATH']._serialized_start=20807 + _globals['_BLINDEDPAYMENTPATH']._serialized_end=21032 + _globals['_BLINDEDPATH']._serialized_start=21034 + _globals['_BLINDEDPATH']._serialized_end=21139 + _globals['_BLINDEDHOP']._serialized_start=21141 + _globals['_BLINDEDHOP']._serialized_end=21199 + _globals['_AMPINVOICESTATE']._serialized_start=21201 + _globals['_AMPINVOICESTATE']._serialized_end=21324 + _globals['_INVOICE']._serialized_start=21327 + _globals['_INVOICE']._serialized_end=22228 + _globals['_INVOICE_FEATURESENTRY']._serialized_start=7631 + _globals['_INVOICE_FEATURESENTRY']._serialized_end=7694 + _globals['_INVOICE_AMPINVOICESTATEENTRY']._serialized_start=22077 + _globals['_INVOICE_AMPINVOICESTATEENTRY']._serialized_end=22155 + _globals['_INVOICE_INVOICESTATE']._serialized_start=22157 + _globals['_INVOICE_INVOICESTATE']._serialized_end=22222 + _globals['_INVOICEHTLC']._serialized_start=22231 + _globals['_INVOICEHTLC']._serialized_end=22602 + _globals['_INVOICEHTLC_CUSTOMRECORDSENTRY']._serialized_start=17305 + _globals['_INVOICEHTLC_CUSTOMRECORDSENTRY']._serialized_end=17357 + _globals['_AMP']._serialized_start=22604 + _globals['_AMP']._serialized_end=22698 + _globals['_ADDINVOICERESPONSE']._serialized_start=22700 + _globals['_ADDINVOICERESPONSE']._serialized_end=22802 + _globals['_PAYMENTHASH']._serialized_start=22804 + _globals['_PAYMENTHASH']._serialized_end=22857 + _globals['_LISTINVOICEREQUEST']._serialized_start=22860 + _globals['_LISTINVOICEREQUEST']._serialized_end=23024 + _globals['_LISTINVOICERESPONSE']._serialized_start=23026 + _globals['_LISTINVOICERESPONSE']._serialized_end=23136 + _globals['_INVOICESUBSCRIPTION']._serialized_start=23138 + _globals['_INVOICESUBSCRIPTION']._serialized_end=23200 + _globals['_PAYMENT']._serialized_start=23203 + _globals['_PAYMENT']._serialized_end=23702 + _globals['_PAYMENT_PAYMENTSTATUS']._serialized_start=23607 + _globals['_PAYMENT_PAYMENTSTATUS']._serialized_end=23696 + _globals['_HTLCATTEMPT']._serialized_start=23705 + _globals['_HTLCATTEMPT']._serialized_end=23971 + _globals['_HTLCATTEMPT_HTLCSTATUS']._serialized_start=23917 + _globals['_HTLCATTEMPT_HTLCSTATUS']._serialized_end=23971 + _globals['_LISTPAYMENTSREQUEST']._serialized_start=23974 + _globals['_LISTPAYMENTSREQUEST']._serialized_end=24171 + _globals['_LISTPAYMENTSRESPONSE']._serialized_start=24174 + _globals['_LISTPAYMENTSRESPONSE']._serialized_end=24313 + _globals['_DELETEPAYMENTREQUEST']._serialized_start=24315 + _globals['_DELETEPAYMENTREQUEST']._serialized_end=24386 + _globals['_DELETEALLPAYMENTSREQUEST']._serialized_start=24388 + _globals['_DELETEALLPAYMENTSREQUEST']._serialized_end=24493 + _globals['_DELETEPAYMENTRESPONSE']._serialized_start=24495 + _globals['_DELETEPAYMENTRESPONSE']._serialized_end=24518 + _globals['_DELETEALLPAYMENTSRESPONSE']._serialized_start=24520 + _globals['_DELETEALLPAYMENTSRESPONSE']._serialized_end=24547 + _globals['_ABANDONCHANNELREQUEST']._serialized_start=24550 + _globals['_ABANDONCHANNELREQUEST']._serialized_end=24684 + _globals['_ABANDONCHANNELRESPONSE']._serialized_start=24686 + _globals['_ABANDONCHANNELRESPONSE']._serialized_end=24710 + _globals['_DEBUGLEVELREQUEST']._serialized_start=24712 + _globals['_DEBUGLEVELREQUEST']._serialized_end=24765 + _globals['_DEBUGLEVELRESPONSE']._serialized_start=24767 + _globals['_DEBUGLEVELRESPONSE']._serialized_end=24808 + _globals['_PAYREQSTRING']._serialized_start=24810 + _globals['_PAYREQSTRING']._serialized_end=24841 + _globals['_PAYREQ']._serialized_start=24844 + _globals['_PAYREQ']._serialized_end=25234 + _globals['_PAYREQ_FEATURESENTRY']._serialized_start=7631 + _globals['_PAYREQ_FEATURESENTRY']._serialized_end=7694 + _globals['_FEATURE']._serialized_start=25236 + _globals['_FEATURE']._serialized_end=25298 + _globals['_FEEREPORTREQUEST']._serialized_start=25300 + _globals['_FEEREPORTREQUEST']._serialized_end=25318 + _globals['_CHANNELFEEREPORT']._serialized_start=25321 + _globals['_CHANNELFEEREPORT']._serialized_end=25505 + _globals['_FEEREPORTRESPONSE']._serialized_start=25508 + _globals['_FEEREPORTRESPONSE']._serialized_end=25640 + _globals['_POLICYUPDATEREQUEST']._serialized_start=25643 + _globals['_POLICYUPDATEREQUEST']._serialized_end=25962 + _globals['_FAILEDUPDATE']._serialized_start=25964 + _globals['_FAILEDUPDATE']._serialized_end=26073 + _globals['_POLICYUPDATERESPONSE']._serialized_start=26075 + _globals['_POLICYUPDATERESPONSE']._serialized_end=26142 + _globals['_FORWARDINGHISTORYREQUEST']._serialized_start=26145 + _globals['_FORWARDINGHISTORYREQUEST']._serialized_end=26282 + _globals['_FORWARDINGEVENT']._serialized_start=26285 + _globals['_FORWARDINGEVENT']._serialized_end=26550 + _globals['_FORWARDINGHISTORYRESPONSE']._serialized_start=26552 + _globals['_FORWARDINGHISTORYRESPONSE']._serialized_end=26657 + _globals['_EXPORTCHANNELBACKUPREQUEST']._serialized_start=26659 + _globals['_EXPORTCHANNELBACKUPREQUEST']._serialized_end=26728 + _globals['_CHANNELBACKUP']._serialized_start=26730 + _globals['_CHANNELBACKUP']._serialized_end=26807 + _globals['_MULTICHANBACKUP']._serialized_start=26809 + _globals['_MULTICHANBACKUP']._serialized_end=26895 + _globals['_CHANBACKUPEXPORTREQUEST']._serialized_start=26897 + _globals['_CHANBACKUPEXPORTREQUEST']._serialized_end=26922 + _globals['_CHANBACKUPSNAPSHOT']._serialized_start=26924 + _globals['_CHANBACKUPSNAPSHOT']._serialized_end=27047 + _globals['_CHANNELBACKUPS']._serialized_start=27049 + _globals['_CHANNELBACKUPS']._serialized_end=27109 + _globals['_RESTORECHANBACKUPREQUEST']._serialized_start=27111 + _globals['_RESTORECHANBACKUPREQUEST']._serialized_end=27223 + _globals['_RESTOREBACKUPRESPONSE']._serialized_start=27225 + _globals['_RESTOREBACKUPRESPONSE']._serialized_end=27248 + _globals['_CHANNELBACKUPSUBSCRIPTION']._serialized_start=27250 + _globals['_CHANNELBACKUPSUBSCRIPTION']._serialized_end=27277 + _globals['_VERIFYCHANBACKUPRESPONSE']._serialized_start=27279 + _globals['_VERIFYCHANBACKUPRESPONSE']._serialized_end=27305 + _globals['_MACAROONPERMISSION']._serialized_start=27307 + _globals['_MACAROONPERMISSION']._serialized_end=27359 + _globals['_BAKEMACAROONREQUEST']._serialized_start=27361 + _globals['_BAKEMACAROONREQUEST']._serialized_end=27487 + _globals['_BAKEMACAROONRESPONSE']._serialized_start=27489 + _globals['_BAKEMACAROONRESPONSE']._serialized_end=27529 + _globals['_LISTMACAROONIDSREQUEST']._serialized_start=27531 + _globals['_LISTMACAROONIDSREQUEST']._serialized_end=27555 + _globals['_LISTMACAROONIDSRESPONSE']._serialized_start=27557 + _globals['_LISTMACAROONIDSRESPONSE']._serialized_end=27604 + _globals['_DELETEMACAROONIDREQUEST']._serialized_start=27606 + _globals['_DELETEMACAROONIDREQUEST']._serialized_end=27652 + _globals['_DELETEMACAROONIDRESPONSE']._serialized_start=27654 + _globals['_DELETEMACAROONIDRESPONSE']._serialized_end=27697 + _globals['_MACAROONPERMISSIONLIST']._serialized_start=27699 + _globals['_MACAROONPERMISSIONLIST']._serialized_end=27771 + _globals['_LISTPERMISSIONSREQUEST']._serialized_start=27773 + _globals['_LISTPERMISSIONSREQUEST']._serialized_end=27797 + _globals['_LISTPERMISSIONSRESPONSE']._serialized_start=27800 + _globals['_LISTPERMISSIONSRESPONSE']._serialized_end=27997 + _globals['_LISTPERMISSIONSRESPONSE_METHODPERMISSIONSENTRY']._serialized_start=27910 + _globals['_LISTPERMISSIONSRESPONSE_METHODPERMISSIONSENTRY']._serialized_end=27997 + _globals['_FAILURE']._serialized_start=28000 + _globals['_FAILURE']._serialized_end=29009 + _globals['_FAILURE_FAILURECODE']._serialized_start=28224 + _globals['_FAILURE_FAILURECODE']._serialized_end=29003 + _globals['_CHANNELUPDATE']._serialized_start=29012 + _globals['_CHANNELUPDATE']._serialized_end=29294 + _globals['_MACAROONID']._serialized_start=29296 + _globals['_MACAROONID']._serialized_end=29366 + _globals['_OP']._serialized_start=29368 + _globals['_OP']._serialized_end=29405 + _globals['_CHECKMACPERMREQUEST']._serialized_start=29407 + _globals['_CHECKMACPERMREQUEST']._serialized_end=29514 + _globals['_CHECKMACPERMRESPONSE']._serialized_start=29516 + _globals['_CHECKMACPERMRESPONSE']._serialized_end=29553 + _globals['_RPCMIDDLEWAREREQUEST']._serialized_start=29556 + _globals['_RPCMIDDLEWAREREQUEST']._serialized_end=29830 + _globals['_STREAMAUTH']._serialized_start=29832 + _globals['_STREAMAUTH']._serialized_end=29869 + _globals['_RPCMESSAGE']._serialized_start=29871 + _globals['_RPCMESSAGE']._serialized_end=29985 + _globals['_RPCMIDDLEWARERESPONSE']._serialized_start=29988 + _globals['_RPCMIDDLEWARERESPONSE']._serialized_end=30150 + _globals['_MIDDLEWAREREGISTRATION']._serialized_start=30152 + _globals['_MIDDLEWAREREGISTRATION']._serialized_end=30262 + _globals['_INTERCEPTFEEDBACK']._serialized_start=30264 + _globals['_INTERCEPTFEEDBACK']._serialized_end=30356 + _globals['_LIGHTNING']._serialized_start=32590 + _globals['_LIGHTNING']._serialized_end=37639 +# @@protoc_insertion_point(module_scope) diff --git a/charge_lnd/grpc_generated/lightning_pb2_grpc.py b/charge_lnd/grpc_generated/lightning_pb2_grpc.py new file mode 100644 index 0000000..d9ee520 --- /dev/null +++ b/charge_lnd/grpc_generated/lightning_pb2_grpc.py @@ -0,0 +1,3381 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc +import warnings + +from . import lightning_pb2 as lightning__pb2 + +GRPC_GENERATED_VERSION = '1.63.0' +GRPC_VERSION = grpc.__version__ +EXPECTED_ERROR_RELEASE = '1.65.0' +SCHEDULED_RELEASE_DATE = 'June 25, 2024' +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + warnings.warn( + f'The grpc package installed is at version {GRPC_VERSION},' + + f' but the generated code in lightning_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + + f' This warning will become an error in {EXPECTED_ERROR_RELEASE},' + + f' scheduled for release on {SCHEDULED_RELEASE_DATE}.', + RuntimeWarning + ) + + +class LightningStub(object): + """ + Comments in this file will be directly parsed into the API + Documentation as descriptions of the associated method, message, or field. + These descriptions should go right above the definition of the object, and + can be in either block or // comment format. + + An RPC method can be matched to an lncli command by placing a line in the + beginning of the description in exactly the following format: + lncli: `methodname` + + Failure to specify the exact name of the command will cause documentation + generation to fail. + + More information on how exactly the gRPC documentation is generated from + this proto file can be found here: + https://github.com/lightninglabs/lightning-api + + Lightning is the main RPC server of the daemon. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.WalletBalance = channel.unary_unary( + '/lnrpc.Lightning/WalletBalance', + request_serializer=lightning__pb2.WalletBalanceRequest.SerializeToString, + response_deserializer=lightning__pb2.WalletBalanceResponse.FromString, + _registered_method=True) + self.ChannelBalance = channel.unary_unary( + '/lnrpc.Lightning/ChannelBalance', + request_serializer=lightning__pb2.ChannelBalanceRequest.SerializeToString, + response_deserializer=lightning__pb2.ChannelBalanceResponse.FromString, + _registered_method=True) + self.GetTransactions = channel.unary_unary( + '/lnrpc.Lightning/GetTransactions', + request_serializer=lightning__pb2.GetTransactionsRequest.SerializeToString, + response_deserializer=lightning__pb2.TransactionDetails.FromString, + _registered_method=True) + self.EstimateFee = channel.unary_unary( + '/lnrpc.Lightning/EstimateFee', + request_serializer=lightning__pb2.EstimateFeeRequest.SerializeToString, + response_deserializer=lightning__pb2.EstimateFeeResponse.FromString, + _registered_method=True) + self.SendCoins = channel.unary_unary( + '/lnrpc.Lightning/SendCoins', + request_serializer=lightning__pb2.SendCoinsRequest.SerializeToString, + response_deserializer=lightning__pb2.SendCoinsResponse.FromString, + _registered_method=True) + self.ListUnspent = channel.unary_unary( + '/lnrpc.Lightning/ListUnspent', + request_serializer=lightning__pb2.ListUnspentRequest.SerializeToString, + response_deserializer=lightning__pb2.ListUnspentResponse.FromString, + _registered_method=True) + self.SubscribeTransactions = channel.unary_stream( + '/lnrpc.Lightning/SubscribeTransactions', + request_serializer=lightning__pb2.GetTransactionsRequest.SerializeToString, + response_deserializer=lightning__pb2.Transaction.FromString, + _registered_method=True) + self.SendMany = channel.unary_unary( + '/lnrpc.Lightning/SendMany', + request_serializer=lightning__pb2.SendManyRequest.SerializeToString, + response_deserializer=lightning__pb2.SendManyResponse.FromString, + _registered_method=True) + self.NewAddress = channel.unary_unary( + '/lnrpc.Lightning/NewAddress', + request_serializer=lightning__pb2.NewAddressRequest.SerializeToString, + response_deserializer=lightning__pb2.NewAddressResponse.FromString, + _registered_method=True) + self.SignMessage = channel.unary_unary( + '/lnrpc.Lightning/SignMessage', + request_serializer=lightning__pb2.SignMessageRequest.SerializeToString, + response_deserializer=lightning__pb2.SignMessageResponse.FromString, + _registered_method=True) + self.VerifyMessage = channel.unary_unary( + '/lnrpc.Lightning/VerifyMessage', + request_serializer=lightning__pb2.VerifyMessageRequest.SerializeToString, + response_deserializer=lightning__pb2.VerifyMessageResponse.FromString, + _registered_method=True) + self.ConnectPeer = channel.unary_unary( + '/lnrpc.Lightning/ConnectPeer', + request_serializer=lightning__pb2.ConnectPeerRequest.SerializeToString, + response_deserializer=lightning__pb2.ConnectPeerResponse.FromString, + _registered_method=True) + self.DisconnectPeer = channel.unary_unary( + '/lnrpc.Lightning/DisconnectPeer', + request_serializer=lightning__pb2.DisconnectPeerRequest.SerializeToString, + response_deserializer=lightning__pb2.DisconnectPeerResponse.FromString, + _registered_method=True) + self.ListPeers = channel.unary_unary( + '/lnrpc.Lightning/ListPeers', + request_serializer=lightning__pb2.ListPeersRequest.SerializeToString, + response_deserializer=lightning__pb2.ListPeersResponse.FromString, + _registered_method=True) + self.SubscribePeerEvents = channel.unary_stream( + '/lnrpc.Lightning/SubscribePeerEvents', + request_serializer=lightning__pb2.PeerEventSubscription.SerializeToString, + response_deserializer=lightning__pb2.PeerEvent.FromString, + _registered_method=True) + self.GetInfo = channel.unary_unary( + '/lnrpc.Lightning/GetInfo', + request_serializer=lightning__pb2.GetInfoRequest.SerializeToString, + response_deserializer=lightning__pb2.GetInfoResponse.FromString, + _registered_method=True) + self.GetDebugInfo = channel.unary_unary( + '/lnrpc.Lightning/GetDebugInfo', + request_serializer=lightning__pb2.GetDebugInfoRequest.SerializeToString, + response_deserializer=lightning__pb2.GetDebugInfoResponse.FromString, + _registered_method=True) + self.GetRecoveryInfo = channel.unary_unary( + '/lnrpc.Lightning/GetRecoveryInfo', + request_serializer=lightning__pb2.GetRecoveryInfoRequest.SerializeToString, + response_deserializer=lightning__pb2.GetRecoveryInfoResponse.FromString, + _registered_method=True) + self.PendingChannels = channel.unary_unary( + '/lnrpc.Lightning/PendingChannels', + request_serializer=lightning__pb2.PendingChannelsRequest.SerializeToString, + response_deserializer=lightning__pb2.PendingChannelsResponse.FromString, + _registered_method=True) + self.ListChannels = channel.unary_unary( + '/lnrpc.Lightning/ListChannels', + request_serializer=lightning__pb2.ListChannelsRequest.SerializeToString, + response_deserializer=lightning__pb2.ListChannelsResponse.FromString, + _registered_method=True) + self.SubscribeChannelEvents = channel.unary_stream( + '/lnrpc.Lightning/SubscribeChannelEvents', + request_serializer=lightning__pb2.ChannelEventSubscription.SerializeToString, + response_deserializer=lightning__pb2.ChannelEventUpdate.FromString, + _registered_method=True) + self.ClosedChannels = channel.unary_unary( + '/lnrpc.Lightning/ClosedChannels', + request_serializer=lightning__pb2.ClosedChannelsRequest.SerializeToString, + response_deserializer=lightning__pb2.ClosedChannelsResponse.FromString, + _registered_method=True) + self.OpenChannelSync = channel.unary_unary( + '/lnrpc.Lightning/OpenChannelSync', + request_serializer=lightning__pb2.OpenChannelRequest.SerializeToString, + response_deserializer=lightning__pb2.ChannelPoint.FromString, + _registered_method=True) + self.OpenChannel = channel.unary_stream( + '/lnrpc.Lightning/OpenChannel', + request_serializer=lightning__pb2.OpenChannelRequest.SerializeToString, + response_deserializer=lightning__pb2.OpenStatusUpdate.FromString, + _registered_method=True) + self.BatchOpenChannel = channel.unary_unary( + '/lnrpc.Lightning/BatchOpenChannel', + request_serializer=lightning__pb2.BatchOpenChannelRequest.SerializeToString, + response_deserializer=lightning__pb2.BatchOpenChannelResponse.FromString, + _registered_method=True) + self.FundingStateStep = channel.unary_unary( + '/lnrpc.Lightning/FundingStateStep', + request_serializer=lightning__pb2.FundingTransitionMsg.SerializeToString, + response_deserializer=lightning__pb2.FundingStateStepResp.FromString, + _registered_method=True) + self.ChannelAcceptor = channel.stream_stream( + '/lnrpc.Lightning/ChannelAcceptor', + request_serializer=lightning__pb2.ChannelAcceptResponse.SerializeToString, + response_deserializer=lightning__pb2.ChannelAcceptRequest.FromString, + _registered_method=True) + self.CloseChannel = channel.unary_stream( + '/lnrpc.Lightning/CloseChannel', + request_serializer=lightning__pb2.CloseChannelRequest.SerializeToString, + response_deserializer=lightning__pb2.CloseStatusUpdate.FromString, + _registered_method=True) + self.AbandonChannel = channel.unary_unary( + '/lnrpc.Lightning/AbandonChannel', + request_serializer=lightning__pb2.AbandonChannelRequest.SerializeToString, + response_deserializer=lightning__pb2.AbandonChannelResponse.FromString, + _registered_method=True) + self.SendPayment = channel.stream_stream( + '/lnrpc.Lightning/SendPayment', + request_serializer=lightning__pb2.SendRequest.SerializeToString, + response_deserializer=lightning__pb2.SendResponse.FromString, + _registered_method=True) + self.SendPaymentSync = channel.unary_unary( + '/lnrpc.Lightning/SendPaymentSync', + request_serializer=lightning__pb2.SendRequest.SerializeToString, + response_deserializer=lightning__pb2.SendResponse.FromString, + _registered_method=True) + self.SendToRoute = channel.stream_stream( + '/lnrpc.Lightning/SendToRoute', + request_serializer=lightning__pb2.SendToRouteRequest.SerializeToString, + response_deserializer=lightning__pb2.SendResponse.FromString, + _registered_method=True) + self.SendToRouteSync = channel.unary_unary( + '/lnrpc.Lightning/SendToRouteSync', + request_serializer=lightning__pb2.SendToRouteRequest.SerializeToString, + response_deserializer=lightning__pb2.SendResponse.FromString, + _registered_method=True) + self.AddInvoice = channel.unary_unary( + '/lnrpc.Lightning/AddInvoice', + request_serializer=lightning__pb2.Invoice.SerializeToString, + response_deserializer=lightning__pb2.AddInvoiceResponse.FromString, + _registered_method=True) + self.ListInvoices = channel.unary_unary( + '/lnrpc.Lightning/ListInvoices', + request_serializer=lightning__pb2.ListInvoiceRequest.SerializeToString, + response_deserializer=lightning__pb2.ListInvoiceResponse.FromString, + _registered_method=True) + self.LookupInvoice = channel.unary_unary( + '/lnrpc.Lightning/LookupInvoice', + request_serializer=lightning__pb2.PaymentHash.SerializeToString, + response_deserializer=lightning__pb2.Invoice.FromString, + _registered_method=True) + self.SubscribeInvoices = channel.unary_stream( + '/lnrpc.Lightning/SubscribeInvoices', + request_serializer=lightning__pb2.InvoiceSubscription.SerializeToString, + response_deserializer=lightning__pb2.Invoice.FromString, + _registered_method=True) + self.DecodePayReq = channel.unary_unary( + '/lnrpc.Lightning/DecodePayReq', + request_serializer=lightning__pb2.PayReqString.SerializeToString, + response_deserializer=lightning__pb2.PayReq.FromString, + _registered_method=True) + self.ListPayments = channel.unary_unary( + '/lnrpc.Lightning/ListPayments', + request_serializer=lightning__pb2.ListPaymentsRequest.SerializeToString, + response_deserializer=lightning__pb2.ListPaymentsResponse.FromString, + _registered_method=True) + self.DeletePayment = channel.unary_unary( + '/lnrpc.Lightning/DeletePayment', + request_serializer=lightning__pb2.DeletePaymentRequest.SerializeToString, + response_deserializer=lightning__pb2.DeletePaymentResponse.FromString, + _registered_method=True) + self.DeleteAllPayments = channel.unary_unary( + '/lnrpc.Lightning/DeleteAllPayments', + request_serializer=lightning__pb2.DeleteAllPaymentsRequest.SerializeToString, + response_deserializer=lightning__pb2.DeleteAllPaymentsResponse.FromString, + _registered_method=True) + self.DescribeGraph = channel.unary_unary( + '/lnrpc.Lightning/DescribeGraph', + request_serializer=lightning__pb2.ChannelGraphRequest.SerializeToString, + response_deserializer=lightning__pb2.ChannelGraph.FromString, + _registered_method=True) + self.GetNodeMetrics = channel.unary_unary( + '/lnrpc.Lightning/GetNodeMetrics', + request_serializer=lightning__pb2.NodeMetricsRequest.SerializeToString, + response_deserializer=lightning__pb2.NodeMetricsResponse.FromString, + _registered_method=True) + self.GetChanInfo = channel.unary_unary( + '/lnrpc.Lightning/GetChanInfo', + request_serializer=lightning__pb2.ChanInfoRequest.SerializeToString, + response_deserializer=lightning__pb2.ChannelEdge.FromString, + _registered_method=True) + self.GetNodeInfo = channel.unary_unary( + '/lnrpc.Lightning/GetNodeInfo', + request_serializer=lightning__pb2.NodeInfoRequest.SerializeToString, + response_deserializer=lightning__pb2.NodeInfo.FromString, + _registered_method=True) + self.QueryRoutes = channel.unary_unary( + '/lnrpc.Lightning/QueryRoutes', + request_serializer=lightning__pb2.QueryRoutesRequest.SerializeToString, + response_deserializer=lightning__pb2.QueryRoutesResponse.FromString, + _registered_method=True) + self.GetNetworkInfo = channel.unary_unary( + '/lnrpc.Lightning/GetNetworkInfo', + request_serializer=lightning__pb2.NetworkInfoRequest.SerializeToString, + response_deserializer=lightning__pb2.NetworkInfo.FromString, + _registered_method=True) + self.StopDaemon = channel.unary_unary( + '/lnrpc.Lightning/StopDaemon', + request_serializer=lightning__pb2.StopRequest.SerializeToString, + response_deserializer=lightning__pb2.StopResponse.FromString, + _registered_method=True) + self.SubscribeChannelGraph = channel.unary_stream( + '/lnrpc.Lightning/SubscribeChannelGraph', + request_serializer=lightning__pb2.GraphTopologySubscription.SerializeToString, + response_deserializer=lightning__pb2.GraphTopologyUpdate.FromString, + _registered_method=True) + self.DebugLevel = channel.unary_unary( + '/lnrpc.Lightning/DebugLevel', + request_serializer=lightning__pb2.DebugLevelRequest.SerializeToString, + response_deserializer=lightning__pb2.DebugLevelResponse.FromString, + _registered_method=True) + self.FeeReport = channel.unary_unary( + '/lnrpc.Lightning/FeeReport', + request_serializer=lightning__pb2.FeeReportRequest.SerializeToString, + response_deserializer=lightning__pb2.FeeReportResponse.FromString, + _registered_method=True) + self.UpdateChannelPolicy = channel.unary_unary( + '/lnrpc.Lightning/UpdateChannelPolicy', + request_serializer=lightning__pb2.PolicyUpdateRequest.SerializeToString, + response_deserializer=lightning__pb2.PolicyUpdateResponse.FromString, + _registered_method=True) + self.ForwardingHistory = channel.unary_unary( + '/lnrpc.Lightning/ForwardingHistory', + request_serializer=lightning__pb2.ForwardingHistoryRequest.SerializeToString, + response_deserializer=lightning__pb2.ForwardingHistoryResponse.FromString, + _registered_method=True) + self.ExportChannelBackup = channel.unary_unary( + '/lnrpc.Lightning/ExportChannelBackup', + request_serializer=lightning__pb2.ExportChannelBackupRequest.SerializeToString, + response_deserializer=lightning__pb2.ChannelBackup.FromString, + _registered_method=True) + self.ExportAllChannelBackups = channel.unary_unary( + '/lnrpc.Lightning/ExportAllChannelBackups', + request_serializer=lightning__pb2.ChanBackupExportRequest.SerializeToString, + response_deserializer=lightning__pb2.ChanBackupSnapshot.FromString, + _registered_method=True) + self.VerifyChanBackup = channel.unary_unary( + '/lnrpc.Lightning/VerifyChanBackup', + request_serializer=lightning__pb2.ChanBackupSnapshot.SerializeToString, + response_deserializer=lightning__pb2.VerifyChanBackupResponse.FromString, + _registered_method=True) + self.RestoreChannelBackups = channel.unary_unary( + '/lnrpc.Lightning/RestoreChannelBackups', + request_serializer=lightning__pb2.RestoreChanBackupRequest.SerializeToString, + response_deserializer=lightning__pb2.RestoreBackupResponse.FromString, + _registered_method=True) + self.SubscribeChannelBackups = channel.unary_stream( + '/lnrpc.Lightning/SubscribeChannelBackups', + request_serializer=lightning__pb2.ChannelBackupSubscription.SerializeToString, + response_deserializer=lightning__pb2.ChanBackupSnapshot.FromString, + _registered_method=True) + self.BakeMacaroon = channel.unary_unary( + '/lnrpc.Lightning/BakeMacaroon', + request_serializer=lightning__pb2.BakeMacaroonRequest.SerializeToString, + response_deserializer=lightning__pb2.BakeMacaroonResponse.FromString, + _registered_method=True) + self.ListMacaroonIDs = channel.unary_unary( + '/lnrpc.Lightning/ListMacaroonIDs', + request_serializer=lightning__pb2.ListMacaroonIDsRequest.SerializeToString, + response_deserializer=lightning__pb2.ListMacaroonIDsResponse.FromString, + _registered_method=True) + self.DeleteMacaroonID = channel.unary_unary( + '/lnrpc.Lightning/DeleteMacaroonID', + request_serializer=lightning__pb2.DeleteMacaroonIDRequest.SerializeToString, + response_deserializer=lightning__pb2.DeleteMacaroonIDResponse.FromString, + _registered_method=True) + self.ListPermissions = channel.unary_unary( + '/lnrpc.Lightning/ListPermissions', + request_serializer=lightning__pb2.ListPermissionsRequest.SerializeToString, + response_deserializer=lightning__pb2.ListPermissionsResponse.FromString, + _registered_method=True) + self.CheckMacaroonPermissions = channel.unary_unary( + '/lnrpc.Lightning/CheckMacaroonPermissions', + request_serializer=lightning__pb2.CheckMacPermRequest.SerializeToString, + response_deserializer=lightning__pb2.CheckMacPermResponse.FromString, + _registered_method=True) + self.RegisterRPCMiddleware = channel.stream_stream( + '/lnrpc.Lightning/RegisterRPCMiddleware', + request_serializer=lightning__pb2.RPCMiddlewareResponse.SerializeToString, + response_deserializer=lightning__pb2.RPCMiddlewareRequest.FromString, + _registered_method=True) + self.SendCustomMessage = channel.unary_unary( + '/lnrpc.Lightning/SendCustomMessage', + request_serializer=lightning__pb2.SendCustomMessageRequest.SerializeToString, + response_deserializer=lightning__pb2.SendCustomMessageResponse.FromString, + _registered_method=True) + self.SubscribeCustomMessages = channel.unary_stream( + '/lnrpc.Lightning/SubscribeCustomMessages', + request_serializer=lightning__pb2.SubscribeCustomMessagesRequest.SerializeToString, + response_deserializer=lightning__pb2.CustomMessage.FromString, + _registered_method=True) + self.ListAliases = channel.unary_unary( + '/lnrpc.Lightning/ListAliases', + request_serializer=lightning__pb2.ListAliasesRequest.SerializeToString, + response_deserializer=lightning__pb2.ListAliasesResponse.FromString, + _registered_method=True) + self.LookupHtlcResolution = channel.unary_unary( + '/lnrpc.Lightning/LookupHtlcResolution', + request_serializer=lightning__pb2.LookupHtlcResolutionRequest.SerializeToString, + response_deserializer=lightning__pb2.LookupHtlcResolutionResponse.FromString, + _registered_method=True) + + +class LightningServicer(object): + """ + Comments in this file will be directly parsed into the API + Documentation as descriptions of the associated method, message, or field. + These descriptions should go right above the definition of the object, and + can be in either block or // comment format. + + An RPC method can be matched to an lncli command by placing a line in the + beginning of the description in exactly the following format: + lncli: `methodname` + + Failure to specify the exact name of the command will cause documentation + generation to fail. + + More information on how exactly the gRPC documentation is generated from + this proto file can be found here: + https://github.com/lightninglabs/lightning-api + + Lightning is the main RPC server of the daemon. + """ + + def WalletBalance(self, request, context): + """lncli: `walletbalance` + WalletBalance returns total unspent outputs(confirmed and unconfirmed), all + confirmed unspent outputs and all unconfirmed unspent outputs under control + of the wallet. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ChannelBalance(self, request, context): + """lncli: `channelbalance` + ChannelBalance returns a report on the total funds across all open channels, + categorized in local/remote, pending local/remote and unsettled local/remote + balances. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetTransactions(self, request, context): + """lncli: `listchaintxns` + GetTransactions returns a list describing all the known transactions + relevant to the wallet. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def EstimateFee(self, request, context): + """lncli: `estimatefee` + EstimateFee asks the chain backend to estimate the fee rate and total fees + for a transaction that pays to multiple specified outputs. + + When using REST, the `AddrToAmount` map type can be set by appending + `&AddrToAmount[
]=` to the URL. Unfortunately this + map type doesn't appear in the REST API documentation because of a bug in + the grpc-gateway library. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def SendCoins(self, request, context): + """lncli: `sendcoins` + SendCoins executes a request to send coins to a particular address. Unlike + SendMany, this RPC call only allows creating a single output at a time. If + neither target_conf, or sat_per_vbyte are set, then the internal wallet will + consult its fee model to determine a fee for the default confirmation + target. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ListUnspent(self, request, context): + """lncli: `listunspent` + Deprecated, use walletrpc.ListUnspent instead. + + ListUnspent returns a list of all utxos spendable by the wallet with a + number of confirmations between the specified minimum and maximum. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def SubscribeTransactions(self, request, context): + """ + SubscribeTransactions creates a uni-directional stream from the server to + the client in which any newly discovered transactions relevant to the + wallet are sent over. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def SendMany(self, request, context): + """lncli: `sendmany` + SendMany handles a request for a transaction that creates multiple specified + outputs in parallel. If neither target_conf, or sat_per_vbyte are set, then + the internal wallet will consult its fee model to determine a fee for the + default confirmation target. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def NewAddress(self, request, context): + """lncli: `newaddress` + NewAddress creates a new address under control of the local wallet. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def SignMessage(self, request, context): + """lncli: `signmessage` + SignMessage signs a message with this node's private key. The returned + signature string is `zbase32` encoded and pubkey recoverable, meaning that + only the message digest and signature are needed for verification. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def VerifyMessage(self, request, context): + """lncli: `verifymessage` + VerifyMessage verifies a signature over a message and recovers the signer's + public key. The signature is only deemed valid if the recovered public key + corresponds to a node key in the public Lightning network. The signature + must be zbase32 encoded and signed by an active node in the resident node's + channel database. In addition to returning the validity of the signature, + VerifyMessage also returns the recovered pubkey from the signature. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ConnectPeer(self, request, context): + """lncli: `connect` + ConnectPeer attempts to establish a connection to a remote peer. This is at + the networking level, and is used for communication between nodes. This is + distinct from establishing a channel with a peer. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DisconnectPeer(self, request, context): + """lncli: `disconnect` + DisconnectPeer attempts to disconnect one peer from another identified by a + given pubKey. In the case that we currently have a pending or active channel + with the target peer, then this action will be not be allowed. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ListPeers(self, request, context): + """lncli: `listpeers` + ListPeers returns a verbose listing of all currently active peers. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + 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 + it's identity pubkey, alias, the chains it is connected to, and information + concerning the number of open+pending channels. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetDebugInfo(self, request, context): + """lncli: 'getdebuginfo' + GetDebugInfo returns debug information concerning the state of the daemon + and its subsystems. This includes the full configuration and the latest log + entries from the log file. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetRecoveryInfo(self, request, context): + """* lncli: `getrecoveryinfo` + GetRecoveryInfo returns information concerning the recovery mode including + whether it's in a recovery mode, whether the recovery is finished, and the + progress made so far. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def PendingChannels(self, request, context): + """TODO(roasbeef): merge with below with bool? + + lncli: `pendingchannels` + PendingChannels returns a list of all the channels that are currently + considered "pending". A channel is pending if it has finished the funding + workflow and is waiting for confirmations for the funding txn, or is in the + process of closure, either initiated cooperatively or non-cooperatively. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ListChannels(self, request, context): + """lncli: `listchannels` + ListChannels returns a description of all the open channels that this node + is a participant in. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def SubscribeChannelEvents(self, request, context): + """ + SubscribeChannelEvents creates a uni-directional stream from the server to + the client in which any updates relevant to the state of the channels are + sent over. Events include new active channels, inactive channels, and closed + channels. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ClosedChannels(self, request, context): + """lncli: `closedchannels` + ClosedChannels returns a description of all the closed channels that + this node was a participant in. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def OpenChannelSync(self, request, context): + """ + OpenChannelSync is a synchronous version of the OpenChannel RPC call. This + call is meant to be consumed by clients to the REST proxy. As with all + other sync calls, all byte slices are intended to be populated as hex + encoded strings. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def OpenChannel(self, request, context): + """lncli: `openchannel` + OpenChannel attempts to open a singly funded channel specified in the + 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. 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 BatchOpenChannel(self, request, context): + """lncli: `batchopenchannel` + BatchOpenChannel attempts to open multiple single-funded channels in a + single transaction in an atomic way. This means either all channel open + requests succeed at once or all attempts are aborted if any of them fail. + This is the safer variant of using PSBTs to manually fund a batch of + channels through the OpenChannel RPC. + """ + 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!') + raise NotImplementedError('Method not implemented!') + + def ChannelAcceptor(self, request_iterator, context): + """ + ChannelAcceptor dispatches a bi-directional streaming RPC in which + OpenChannel requests are sent to the client and the client responds with + a boolean that tells LND whether or not to accept the channel. This allows + node operators to specify their own criteria for accepting inbound channels + through a single persistent connection. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def CloseChannel(self, request, context): + """lncli: `closechannel` + CloseChannel attempts to close an active channel identified by its channel + outpoint (ChannelPoint). The actions of this method can additionally be + augmented to attempt a force close after a timeout period in the case of an + inactive peer. If a non-force close (cooperative closure) is requested, + then the user can specify either a target number of blocks until the + closure transaction is confirmed, or a manual fee rate. If neither are + specified, then a default lax, block confirmation target is used. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def AbandonChannel(self, request, context): + """lncli: `abandonchannel` + AbandonChannel removes all channel state from the database except for a + close summary. This method can be used to get rid of permanently unusable + channels due to bugs fixed in newer versions of lnd. This method can also be + used to remove externally funded channels where the funding transaction was + never broadcast. Only available for non-externally funded channels in dev + build. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def SendPayment(self, request_iterator, context): + """lncli: `sendpayment` + Deprecated, use routerrpc.SendPaymentV2. SendPayment dispatches a + bi-directional streaming RPC for sending payments through the Lightning + Network. A single RPC invocation creates a persistent bi-directional + stream allowing clients to rapidly send payments through the Lightning + Network with a single persistent connection. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def SendPaymentSync(self, request, context): + """ + SendPaymentSync is the synchronous non-streaming version of SendPayment. + This RPC is intended to be consumed by clients of the REST proxy. + Additionally, this RPC expects the destination's public key and the payment + hash (if any) to be encoded as hex strings. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def SendToRoute(self, request_iterator, context): + """lncli: `sendtoroute` + Deprecated, use routerrpc.SendToRouteV2. SendToRoute is a bi-directional + streaming RPC for sending payment through the Lightning Network. This + method differs from SendPayment in that it allows users to specify a full + route manually. This can be used for things like rebalancing, and atomic + swaps. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def SendToRouteSync(self, request, context): + """ + SendToRouteSync is a synchronous version of SendToRoute. It Will block + until the payment either fails or succeeds. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def AddInvoice(self, request, context): + """lncli: `addinvoice` + AddInvoice attempts to add a new invoice to the invoice database. Any + duplicated invoices are rejected, therefore all invoices *must* have a + unique payment preimage. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ListInvoices(self, request, context): + """lncli: `listinvoices` + ListInvoices returns a list of all the invoices currently stored within the + database. Any active debug invoices are ignored. It has full support for + paginated responses, allowing users to query for specific invoices through + their add_index. This can be done by using either the first_index_offset or + last_index_offset fields included in the response as the index_offset of the + next request. By default, the first 100 invoices created will be returned. + Backwards pagination is also supported through the Reversed flag. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def LookupInvoice(self, request, context): + """lncli: `lookupinvoice` + LookupInvoice attempts to look up an invoice according to its payment hash. + The passed payment hash *must* be exactly 32 bytes, if not, an error is + returned. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def SubscribeInvoices(self, request, context): + """ + SubscribeInvoices returns a uni-directional stream (server -> client) for + 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 + settle_index is specified, then next, we'll send out all settle events for + 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. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DecodePayReq(self, request, context): + """lncli: `decodepayreq` + DecodePayReq takes an encoded payment request string and attempts to decode + it, returning a full description of the conditions encoded within the + payment request. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ListPayments(self, request, context): + """lncli: `listpayments` + ListPayments returns a list of all outgoing payments. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DeletePayment(self, request, context): + """lncli: `deletepayments` + DeletePayment deletes an outgoing payment from DB. Note that it will not + attempt to delete an In-Flight payment, since that would be unsafe. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DeleteAllPayments(self, request, context): + """lncli: `deletepayments --all` + DeleteAllPayments deletes all outgoing payments from DB. Note that it will + not attempt to delete In-Flight payments, since that would be unsafe. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DescribeGraph(self, request, context): + """lncli: `describegraph` + 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 + the node directional specific routing policy which includes: the time lock + delta, fee information, etc. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetNodeMetrics(self, request, context): + """lncli: `getnodemetrics` + GetNodeMetrics returns node metrics calculated from the graph. Currently + the only supported metric is betweenness centrality of individual nodes. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetChanInfo(self, request, context): + """lncli: `getchaninfo` + GetChanInfo returns the latest authenticated network announcement for the + given channel identified by its channel ID: an 8-byte integer which + uniquely identifies the location of transaction's funding output within the + blockchain. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetNodeInfo(self, request, context): + """lncli: `getnodeinfo` + GetNodeInfo returns the latest advertised, aggregated, and authenticated + channel information for the specified node identified by its public key. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def QueryRoutes(self, request, context): + """lncli: `queryroutes` + QueryRoutes attempts to query the daemon's Channel Router for a possible + route to a target destination capable of carrying a specific amount of + satoshis. The returned route contains the full details required to craft and + send an HTLC, also including the necessary information that should be + present within the Sphinx packet encapsulated within the HTLC. + + When using REST, the `dest_custom_records` map type can be set by appending + `&dest_custom_records[]=` + to the URL. Unfortunately this map type doesn't appear in the REST API + documentation because of a bug in the grpc-gateway library. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetNetworkInfo(self, request, context): + """lncli: `getnetworkinfo` + GetNetworkInfo returns some basic stats about the known channel graph from + the point of view of the node. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def StopDaemon(self, request, context): + """lncli: `stop` + StopDaemon will send a shutdown request to the interrupt handler, triggering + a graceful shutdown of the daemon. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def SubscribeChannelGraph(self, request, context): + """ + SubscribeChannelGraph launches a streaming RPC that allows the caller to + receive notifications upon any changes to the channel graph topology from + the point of view of the responding node. Events notified include: new + nodes coming online, nodes updating their authenticated attributes, new + channels being advertised, updates in the routing policy for a directional + channel edge, and when channels are closed on-chain. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DebugLevel(self, request, context): + """lncli: `debuglevel` + DebugLevel allows a caller to programmatically set the logging verbosity of + lnd. The logging can be targeted according to a coarse daemon-wide logging + level, or in a granular fashion to specify the logging for a target + sub-system. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def FeeReport(self, request, context): + """lncli: `feereport` + FeeReport allows the caller to obtain a report detailing the current fee + schedule enforced by the node globally for each channel. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdateChannelPolicy(self, request, context): + """lncli: `updatechanpolicy` + UpdateChannelPolicy allows the caller to update the fee schedule and + channel policies for all channels globally, or a particular channel. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ForwardingHistory(self, request, context): + """lncli: `fwdinghistory` + ForwardingHistory allows the caller to query the htlcswitch for a record of + all HTLCs forwarded within the target time range, and integer offset + within that time range, for a maximum number of events. If no maximum number + of events is specified, up to 100 events will be returned. If no time-range + is specified, then events will be returned in the order that they occured. + + 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 + 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. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ExportChannelBackup(self, request, context): + """lncli: `exportchanbackup` + ExportChannelBackup attempts to return an encrypted static channel backup + for the target channel identified by it channel point. The backup is + encrypted with a key generated from the aezeed seed of the user. The + returned backup can either be restored using the RestoreChannelBackup + method once lnd is running, or via the InitWallet and UnlockWallet methods + from the WalletUnlocker service. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ExportAllChannelBackups(self, request, context): + """ + ExportAllChannelBackups returns static channel backups for all existing + channels known to lnd. A set of regular singular static channel backups for + each channel are returned. Additionally, a multi-channel backup is returned + as well, which contains a single encrypted blob containing the backups of + each channel. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def VerifyChanBackup(self, request, context): + """lncli: `verifychanbackup` + VerifyChanBackup allows a caller to verify the integrity of a channel backup + snapshot. This method will accept either a packed Single or a packed Multi. + Specifying both will result in an error. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def RestoreChannelBackups(self, request, context): + """lncli: `restorechanbackup` + RestoreChannelBackups accepts a set of singular channel backups, or a + single encrypted multi-chan backup and attempts to recover any funds + remaining within the channel. If we are able to unpack the backup, then the + new channel will be shown under listchannels, as well as pending channels. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def SubscribeChannelBackups(self, request, context): + """ + SubscribeChannelBackups allows a client to sub-subscribe to the most up to + date information concerning the state of all channel backups. Each time a + new channel is added, we return the new set of channels, along with a + multi-chan backup containing the backup info for all channels. Each time a + channel is closed, we send a new update, which contains new new chan back + ups, but the updated set of encrypted multi-chan backups with the closed + channel(s) removed. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def BakeMacaroon(self, request, context): + """lncli: `bakemacaroon` + BakeMacaroon allows the creation of a new macaroon with custom read and + write permissions. No first-party caveats are added since this can be done + offline. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ListMacaroonIDs(self, request, context): + """lncli: `listmacaroonids` + ListMacaroonIDs returns all root key IDs that are in use. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DeleteMacaroonID(self, request, context): + """lncli: `deletemacaroonid` + DeleteMacaroonID deletes the specified macaroon ID and invalidates all + macaroons derived from that ID. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ListPermissions(self, request, context): + """lncli: `listpermissions` + ListPermissions lists all RPC method URIs and their required macaroon + permissions to access them. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def CheckMacaroonPermissions(self, request, context): + """ + CheckMacaroonPermissions checks whether a request follows the constraints + imposed on the macaroon and that the macaroon is authorized to follow the + provided permissions. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def RegisterRPCMiddleware(self, request_iterator, context): + """ + RegisterRPCMiddleware adds a new gRPC middleware to the interceptor chain. A + gRPC middleware is software component external to lnd that aims to add + additional business logic to lnd by observing/intercepting/validating + incoming gRPC client requests and (if needed) replacing/overwriting outgoing + messages before they're sent to the client. When registering the middleware + must identify itself and indicate what custom macaroon caveats it wants to + be responsible for. Only requests that contain a macaroon with that specific + custom caveat are then sent to the middleware for inspection. The other + option is to register for the read-only mode in which all requests/responses + are forwarded for interception to the middleware but the middleware is not + allowed to modify any responses. As a security measure, _no_ middleware can + modify responses for requests made with _unencumbered_ macaroons! + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def SendCustomMessage(self, request, context): + """lncli: `sendcustom` + SendCustomMessage sends a custom peer message. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def SubscribeCustomMessages(self, request, context): + """lncli: `subscribecustom` + SubscribeCustomMessages subscribes to a stream of incoming custom peer + messages. + + To include messages with type outside of the custom range (>= 32768) lnd + needs to be compiled with the `dev` build tag, and the message type to + override should be specified in lnd's experimental protocol configuration. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ListAliases(self, request, context): + """lncli: `listaliases` + ListAliases returns the set of all aliases that have ever existed with + their confirmed SCID (if it exists) and/or the base SCID (in the case of + zero conf). + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def LookupHtlcResolution(self, request, context): + """ + LookupHtlcResolution retrieves a final htlc resolution from the database. + If the htlc has no final resolution yet, a NotFound grpc status code is + returned. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_LightningServicer_to_server(servicer, server): + rpc_method_handlers = { + 'WalletBalance': grpc.unary_unary_rpc_method_handler( + servicer.WalletBalance, + request_deserializer=lightning__pb2.WalletBalanceRequest.FromString, + response_serializer=lightning__pb2.WalletBalanceResponse.SerializeToString, + ), + 'ChannelBalance': grpc.unary_unary_rpc_method_handler( + servicer.ChannelBalance, + request_deserializer=lightning__pb2.ChannelBalanceRequest.FromString, + response_serializer=lightning__pb2.ChannelBalanceResponse.SerializeToString, + ), + 'GetTransactions': grpc.unary_unary_rpc_method_handler( + servicer.GetTransactions, + request_deserializer=lightning__pb2.GetTransactionsRequest.FromString, + response_serializer=lightning__pb2.TransactionDetails.SerializeToString, + ), + 'EstimateFee': grpc.unary_unary_rpc_method_handler( + servicer.EstimateFee, + request_deserializer=lightning__pb2.EstimateFeeRequest.FromString, + response_serializer=lightning__pb2.EstimateFeeResponse.SerializeToString, + ), + 'SendCoins': grpc.unary_unary_rpc_method_handler( + servicer.SendCoins, + request_deserializer=lightning__pb2.SendCoinsRequest.FromString, + response_serializer=lightning__pb2.SendCoinsResponse.SerializeToString, + ), + 'ListUnspent': grpc.unary_unary_rpc_method_handler( + servicer.ListUnspent, + request_deserializer=lightning__pb2.ListUnspentRequest.FromString, + response_serializer=lightning__pb2.ListUnspentResponse.SerializeToString, + ), + 'SubscribeTransactions': grpc.unary_stream_rpc_method_handler( + servicer.SubscribeTransactions, + request_deserializer=lightning__pb2.GetTransactionsRequest.FromString, + response_serializer=lightning__pb2.Transaction.SerializeToString, + ), + 'SendMany': grpc.unary_unary_rpc_method_handler( + servicer.SendMany, + request_deserializer=lightning__pb2.SendManyRequest.FromString, + response_serializer=lightning__pb2.SendManyResponse.SerializeToString, + ), + 'NewAddress': grpc.unary_unary_rpc_method_handler( + servicer.NewAddress, + request_deserializer=lightning__pb2.NewAddressRequest.FromString, + response_serializer=lightning__pb2.NewAddressResponse.SerializeToString, + ), + 'SignMessage': grpc.unary_unary_rpc_method_handler( + servicer.SignMessage, + request_deserializer=lightning__pb2.SignMessageRequest.FromString, + response_serializer=lightning__pb2.SignMessageResponse.SerializeToString, + ), + 'VerifyMessage': grpc.unary_unary_rpc_method_handler( + servicer.VerifyMessage, + request_deserializer=lightning__pb2.VerifyMessageRequest.FromString, + response_serializer=lightning__pb2.VerifyMessageResponse.SerializeToString, + ), + 'ConnectPeer': grpc.unary_unary_rpc_method_handler( + servicer.ConnectPeer, + request_deserializer=lightning__pb2.ConnectPeerRequest.FromString, + response_serializer=lightning__pb2.ConnectPeerResponse.SerializeToString, + ), + 'DisconnectPeer': grpc.unary_unary_rpc_method_handler( + servicer.DisconnectPeer, + request_deserializer=lightning__pb2.DisconnectPeerRequest.FromString, + response_serializer=lightning__pb2.DisconnectPeerResponse.SerializeToString, + ), + 'ListPeers': grpc.unary_unary_rpc_method_handler( + servicer.ListPeers, + request_deserializer=lightning__pb2.ListPeersRequest.FromString, + response_serializer=lightning__pb2.ListPeersResponse.SerializeToString, + ), + 'SubscribePeerEvents': grpc.unary_stream_rpc_method_handler( + servicer.SubscribePeerEvents, + request_deserializer=lightning__pb2.PeerEventSubscription.FromString, + response_serializer=lightning__pb2.PeerEvent.SerializeToString, + ), + 'GetInfo': grpc.unary_unary_rpc_method_handler( + servicer.GetInfo, + request_deserializer=lightning__pb2.GetInfoRequest.FromString, + response_serializer=lightning__pb2.GetInfoResponse.SerializeToString, + ), + 'GetDebugInfo': grpc.unary_unary_rpc_method_handler( + servicer.GetDebugInfo, + request_deserializer=lightning__pb2.GetDebugInfoRequest.FromString, + response_serializer=lightning__pb2.GetDebugInfoResponse.SerializeToString, + ), + 'GetRecoveryInfo': grpc.unary_unary_rpc_method_handler( + servicer.GetRecoveryInfo, + request_deserializer=lightning__pb2.GetRecoveryInfoRequest.FromString, + response_serializer=lightning__pb2.GetRecoveryInfoResponse.SerializeToString, + ), + 'PendingChannels': grpc.unary_unary_rpc_method_handler( + servicer.PendingChannels, + request_deserializer=lightning__pb2.PendingChannelsRequest.FromString, + response_serializer=lightning__pb2.PendingChannelsResponse.SerializeToString, + ), + 'ListChannels': grpc.unary_unary_rpc_method_handler( + servicer.ListChannels, + request_deserializer=lightning__pb2.ListChannelsRequest.FromString, + response_serializer=lightning__pb2.ListChannelsResponse.SerializeToString, + ), + 'SubscribeChannelEvents': grpc.unary_stream_rpc_method_handler( + servicer.SubscribeChannelEvents, + request_deserializer=lightning__pb2.ChannelEventSubscription.FromString, + response_serializer=lightning__pb2.ChannelEventUpdate.SerializeToString, + ), + 'ClosedChannels': grpc.unary_unary_rpc_method_handler( + servicer.ClosedChannels, + request_deserializer=lightning__pb2.ClosedChannelsRequest.FromString, + response_serializer=lightning__pb2.ClosedChannelsResponse.SerializeToString, + ), + 'OpenChannelSync': grpc.unary_unary_rpc_method_handler( + servicer.OpenChannelSync, + request_deserializer=lightning__pb2.OpenChannelRequest.FromString, + response_serializer=lightning__pb2.ChannelPoint.SerializeToString, + ), + 'OpenChannel': grpc.unary_stream_rpc_method_handler( + servicer.OpenChannel, + request_deserializer=lightning__pb2.OpenChannelRequest.FromString, + response_serializer=lightning__pb2.OpenStatusUpdate.SerializeToString, + ), + 'BatchOpenChannel': grpc.unary_unary_rpc_method_handler( + servicer.BatchOpenChannel, + request_deserializer=lightning__pb2.BatchOpenChannelRequest.FromString, + response_serializer=lightning__pb2.BatchOpenChannelResponse.SerializeToString, + ), + 'FundingStateStep': grpc.unary_unary_rpc_method_handler( + servicer.FundingStateStep, + request_deserializer=lightning__pb2.FundingTransitionMsg.FromString, + response_serializer=lightning__pb2.FundingStateStepResp.SerializeToString, + ), + 'ChannelAcceptor': grpc.stream_stream_rpc_method_handler( + servicer.ChannelAcceptor, + request_deserializer=lightning__pb2.ChannelAcceptResponse.FromString, + response_serializer=lightning__pb2.ChannelAcceptRequest.SerializeToString, + ), + 'CloseChannel': grpc.unary_stream_rpc_method_handler( + servicer.CloseChannel, + request_deserializer=lightning__pb2.CloseChannelRequest.FromString, + response_serializer=lightning__pb2.CloseStatusUpdate.SerializeToString, + ), + 'AbandonChannel': grpc.unary_unary_rpc_method_handler( + servicer.AbandonChannel, + request_deserializer=lightning__pb2.AbandonChannelRequest.FromString, + response_serializer=lightning__pb2.AbandonChannelResponse.SerializeToString, + ), + 'SendPayment': grpc.stream_stream_rpc_method_handler( + servicer.SendPayment, + request_deserializer=lightning__pb2.SendRequest.FromString, + response_serializer=lightning__pb2.SendResponse.SerializeToString, + ), + 'SendPaymentSync': grpc.unary_unary_rpc_method_handler( + servicer.SendPaymentSync, + request_deserializer=lightning__pb2.SendRequest.FromString, + response_serializer=lightning__pb2.SendResponse.SerializeToString, + ), + 'SendToRoute': grpc.stream_stream_rpc_method_handler( + servicer.SendToRoute, + request_deserializer=lightning__pb2.SendToRouteRequest.FromString, + response_serializer=lightning__pb2.SendResponse.SerializeToString, + ), + 'SendToRouteSync': grpc.unary_unary_rpc_method_handler( + servicer.SendToRouteSync, + request_deserializer=lightning__pb2.SendToRouteRequest.FromString, + response_serializer=lightning__pb2.SendResponse.SerializeToString, + ), + 'AddInvoice': grpc.unary_unary_rpc_method_handler( + servicer.AddInvoice, + request_deserializer=lightning__pb2.Invoice.FromString, + response_serializer=lightning__pb2.AddInvoiceResponse.SerializeToString, + ), + 'ListInvoices': grpc.unary_unary_rpc_method_handler( + servicer.ListInvoices, + request_deserializer=lightning__pb2.ListInvoiceRequest.FromString, + response_serializer=lightning__pb2.ListInvoiceResponse.SerializeToString, + ), + 'LookupInvoice': grpc.unary_unary_rpc_method_handler( + servicer.LookupInvoice, + request_deserializer=lightning__pb2.PaymentHash.FromString, + response_serializer=lightning__pb2.Invoice.SerializeToString, + ), + 'SubscribeInvoices': grpc.unary_stream_rpc_method_handler( + servicer.SubscribeInvoices, + request_deserializer=lightning__pb2.InvoiceSubscription.FromString, + response_serializer=lightning__pb2.Invoice.SerializeToString, + ), + 'DecodePayReq': grpc.unary_unary_rpc_method_handler( + servicer.DecodePayReq, + request_deserializer=lightning__pb2.PayReqString.FromString, + response_serializer=lightning__pb2.PayReq.SerializeToString, + ), + 'ListPayments': grpc.unary_unary_rpc_method_handler( + servicer.ListPayments, + request_deserializer=lightning__pb2.ListPaymentsRequest.FromString, + response_serializer=lightning__pb2.ListPaymentsResponse.SerializeToString, + ), + 'DeletePayment': grpc.unary_unary_rpc_method_handler( + servicer.DeletePayment, + request_deserializer=lightning__pb2.DeletePaymentRequest.FromString, + response_serializer=lightning__pb2.DeletePaymentResponse.SerializeToString, + ), + 'DeleteAllPayments': grpc.unary_unary_rpc_method_handler( + servicer.DeleteAllPayments, + request_deserializer=lightning__pb2.DeleteAllPaymentsRequest.FromString, + response_serializer=lightning__pb2.DeleteAllPaymentsResponse.SerializeToString, + ), + 'DescribeGraph': grpc.unary_unary_rpc_method_handler( + servicer.DescribeGraph, + request_deserializer=lightning__pb2.ChannelGraphRequest.FromString, + response_serializer=lightning__pb2.ChannelGraph.SerializeToString, + ), + 'GetNodeMetrics': grpc.unary_unary_rpc_method_handler( + servicer.GetNodeMetrics, + request_deserializer=lightning__pb2.NodeMetricsRequest.FromString, + response_serializer=lightning__pb2.NodeMetricsResponse.SerializeToString, + ), + 'GetChanInfo': grpc.unary_unary_rpc_method_handler( + servicer.GetChanInfo, + request_deserializer=lightning__pb2.ChanInfoRequest.FromString, + response_serializer=lightning__pb2.ChannelEdge.SerializeToString, + ), + 'GetNodeInfo': grpc.unary_unary_rpc_method_handler( + servicer.GetNodeInfo, + request_deserializer=lightning__pb2.NodeInfoRequest.FromString, + response_serializer=lightning__pb2.NodeInfo.SerializeToString, + ), + 'QueryRoutes': grpc.unary_unary_rpc_method_handler( + servicer.QueryRoutes, + request_deserializer=lightning__pb2.QueryRoutesRequest.FromString, + response_serializer=lightning__pb2.QueryRoutesResponse.SerializeToString, + ), + 'GetNetworkInfo': grpc.unary_unary_rpc_method_handler( + servicer.GetNetworkInfo, + request_deserializer=lightning__pb2.NetworkInfoRequest.FromString, + response_serializer=lightning__pb2.NetworkInfo.SerializeToString, + ), + 'StopDaemon': grpc.unary_unary_rpc_method_handler( + servicer.StopDaemon, + request_deserializer=lightning__pb2.StopRequest.FromString, + response_serializer=lightning__pb2.StopResponse.SerializeToString, + ), + 'SubscribeChannelGraph': grpc.unary_stream_rpc_method_handler( + servicer.SubscribeChannelGraph, + request_deserializer=lightning__pb2.GraphTopologySubscription.FromString, + response_serializer=lightning__pb2.GraphTopologyUpdate.SerializeToString, + ), + 'DebugLevel': grpc.unary_unary_rpc_method_handler( + servicer.DebugLevel, + request_deserializer=lightning__pb2.DebugLevelRequest.FromString, + response_serializer=lightning__pb2.DebugLevelResponse.SerializeToString, + ), + 'FeeReport': grpc.unary_unary_rpc_method_handler( + servicer.FeeReport, + request_deserializer=lightning__pb2.FeeReportRequest.FromString, + response_serializer=lightning__pb2.FeeReportResponse.SerializeToString, + ), + 'UpdateChannelPolicy': grpc.unary_unary_rpc_method_handler( + servicer.UpdateChannelPolicy, + request_deserializer=lightning__pb2.PolicyUpdateRequest.FromString, + response_serializer=lightning__pb2.PolicyUpdateResponse.SerializeToString, + ), + 'ForwardingHistory': grpc.unary_unary_rpc_method_handler( + servicer.ForwardingHistory, + request_deserializer=lightning__pb2.ForwardingHistoryRequest.FromString, + response_serializer=lightning__pb2.ForwardingHistoryResponse.SerializeToString, + ), + 'ExportChannelBackup': grpc.unary_unary_rpc_method_handler( + servicer.ExportChannelBackup, + request_deserializer=lightning__pb2.ExportChannelBackupRequest.FromString, + response_serializer=lightning__pb2.ChannelBackup.SerializeToString, + ), + 'ExportAllChannelBackups': grpc.unary_unary_rpc_method_handler( + servicer.ExportAllChannelBackups, + request_deserializer=lightning__pb2.ChanBackupExportRequest.FromString, + response_serializer=lightning__pb2.ChanBackupSnapshot.SerializeToString, + ), + 'VerifyChanBackup': grpc.unary_unary_rpc_method_handler( + servicer.VerifyChanBackup, + request_deserializer=lightning__pb2.ChanBackupSnapshot.FromString, + response_serializer=lightning__pb2.VerifyChanBackupResponse.SerializeToString, + ), + 'RestoreChannelBackups': grpc.unary_unary_rpc_method_handler( + servicer.RestoreChannelBackups, + request_deserializer=lightning__pb2.RestoreChanBackupRequest.FromString, + response_serializer=lightning__pb2.RestoreBackupResponse.SerializeToString, + ), + 'SubscribeChannelBackups': grpc.unary_stream_rpc_method_handler( + servicer.SubscribeChannelBackups, + request_deserializer=lightning__pb2.ChannelBackupSubscription.FromString, + response_serializer=lightning__pb2.ChanBackupSnapshot.SerializeToString, + ), + 'BakeMacaroon': grpc.unary_unary_rpc_method_handler( + servicer.BakeMacaroon, + request_deserializer=lightning__pb2.BakeMacaroonRequest.FromString, + response_serializer=lightning__pb2.BakeMacaroonResponse.SerializeToString, + ), + 'ListMacaroonIDs': grpc.unary_unary_rpc_method_handler( + servicer.ListMacaroonIDs, + request_deserializer=lightning__pb2.ListMacaroonIDsRequest.FromString, + response_serializer=lightning__pb2.ListMacaroonIDsResponse.SerializeToString, + ), + 'DeleteMacaroonID': grpc.unary_unary_rpc_method_handler( + servicer.DeleteMacaroonID, + request_deserializer=lightning__pb2.DeleteMacaroonIDRequest.FromString, + response_serializer=lightning__pb2.DeleteMacaroonIDResponse.SerializeToString, + ), + 'ListPermissions': grpc.unary_unary_rpc_method_handler( + servicer.ListPermissions, + request_deserializer=lightning__pb2.ListPermissionsRequest.FromString, + response_serializer=lightning__pb2.ListPermissionsResponse.SerializeToString, + ), + 'CheckMacaroonPermissions': grpc.unary_unary_rpc_method_handler( + servicer.CheckMacaroonPermissions, + request_deserializer=lightning__pb2.CheckMacPermRequest.FromString, + response_serializer=lightning__pb2.CheckMacPermResponse.SerializeToString, + ), + 'RegisterRPCMiddleware': grpc.stream_stream_rpc_method_handler( + servicer.RegisterRPCMiddleware, + request_deserializer=lightning__pb2.RPCMiddlewareResponse.FromString, + response_serializer=lightning__pb2.RPCMiddlewareRequest.SerializeToString, + ), + 'SendCustomMessage': grpc.unary_unary_rpc_method_handler( + servicer.SendCustomMessage, + request_deserializer=lightning__pb2.SendCustomMessageRequest.FromString, + response_serializer=lightning__pb2.SendCustomMessageResponse.SerializeToString, + ), + 'SubscribeCustomMessages': grpc.unary_stream_rpc_method_handler( + servicer.SubscribeCustomMessages, + request_deserializer=lightning__pb2.SubscribeCustomMessagesRequest.FromString, + response_serializer=lightning__pb2.CustomMessage.SerializeToString, + ), + 'ListAliases': grpc.unary_unary_rpc_method_handler( + servicer.ListAliases, + request_deserializer=lightning__pb2.ListAliasesRequest.FromString, + response_serializer=lightning__pb2.ListAliasesResponse.SerializeToString, + ), + 'LookupHtlcResolution': grpc.unary_unary_rpc_method_handler( + servicer.LookupHtlcResolution, + request_deserializer=lightning__pb2.LookupHtlcResolutionRequest.FromString, + response_serializer=lightning__pb2.LookupHtlcResolutionResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'lnrpc.Lightning', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + + + # This class is part of an EXPERIMENTAL API. +class Lightning(object): + """ + Comments in this file will be directly parsed into the API + Documentation as descriptions of the associated method, message, or field. + These descriptions should go right above the definition of the object, and + can be in either block or // comment format. + + An RPC method can be matched to an lncli command by placing a line in the + beginning of the description in exactly the following format: + lncli: `methodname` + + Failure to specify the exact name of the command will cause documentation + generation to fail. + + More information on how exactly the gRPC documentation is generated from + this proto file can be found here: + https://github.com/lightninglabs/lightning-api + + Lightning is the main RPC server of the daemon. + """ + + @staticmethod + def WalletBalance(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/lnrpc.Lightning/WalletBalance', + lightning__pb2.WalletBalanceRequest.SerializeToString, + lightning__pb2.WalletBalanceResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ChannelBalance(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/lnrpc.Lightning/ChannelBalance', + lightning__pb2.ChannelBalanceRequest.SerializeToString, + lightning__pb2.ChannelBalanceResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetTransactions(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/lnrpc.Lightning/GetTransactions', + lightning__pb2.GetTransactionsRequest.SerializeToString, + lightning__pb2.TransactionDetails.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def EstimateFee(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/lnrpc.Lightning/EstimateFee', + lightning__pb2.EstimateFeeRequest.SerializeToString, + lightning__pb2.EstimateFeeResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def SendCoins(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/lnrpc.Lightning/SendCoins', + lightning__pb2.SendCoinsRequest.SerializeToString, + lightning__pb2.SendCoinsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ListUnspent(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/lnrpc.Lightning/ListUnspent', + lightning__pb2.ListUnspentRequest.SerializeToString, + lightning__pb2.ListUnspentResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def SubscribeTransactions(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_stream( + request, + target, + '/lnrpc.Lightning/SubscribeTransactions', + lightning__pb2.GetTransactionsRequest.SerializeToString, + lightning__pb2.Transaction.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def SendMany(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/lnrpc.Lightning/SendMany', + lightning__pb2.SendManyRequest.SerializeToString, + lightning__pb2.SendManyResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def NewAddress(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/lnrpc.Lightning/NewAddress', + lightning__pb2.NewAddressRequest.SerializeToString, + lightning__pb2.NewAddressResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def SignMessage(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/lnrpc.Lightning/SignMessage', + lightning__pb2.SignMessageRequest.SerializeToString, + lightning__pb2.SignMessageResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def VerifyMessage(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/lnrpc.Lightning/VerifyMessage', + lightning__pb2.VerifyMessageRequest.SerializeToString, + lightning__pb2.VerifyMessageResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ConnectPeer(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/lnrpc.Lightning/ConnectPeer', + lightning__pb2.ConnectPeerRequest.SerializeToString, + lightning__pb2.ConnectPeerResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def DisconnectPeer(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/lnrpc.Lightning/DisconnectPeer', + lightning__pb2.DisconnectPeerRequest.SerializeToString, + lightning__pb2.DisconnectPeerResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ListPeers(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/lnrpc.Lightning/ListPeers', + lightning__pb2.ListPeersRequest.SerializeToString, + lightning__pb2.ListPeersResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def SubscribePeerEvents(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_stream( + request, + target, + '/lnrpc.Lightning/SubscribePeerEvents', + lightning__pb2.PeerEventSubscription.SerializeToString, + lightning__pb2.PeerEvent.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetInfo(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/lnrpc.Lightning/GetInfo', + lightning__pb2.GetInfoRequest.SerializeToString, + lightning__pb2.GetInfoResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetDebugInfo(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/lnrpc.Lightning/GetDebugInfo', + lightning__pb2.GetDebugInfoRequest.SerializeToString, + lightning__pb2.GetDebugInfoResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetRecoveryInfo(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/lnrpc.Lightning/GetRecoveryInfo', + lightning__pb2.GetRecoveryInfoRequest.SerializeToString, + lightning__pb2.GetRecoveryInfoResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def PendingChannels(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/lnrpc.Lightning/PendingChannels', + lightning__pb2.PendingChannelsRequest.SerializeToString, + lightning__pb2.PendingChannelsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ListChannels(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/lnrpc.Lightning/ListChannels', + lightning__pb2.ListChannelsRequest.SerializeToString, + lightning__pb2.ListChannelsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def SubscribeChannelEvents(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_stream( + request, + target, + '/lnrpc.Lightning/SubscribeChannelEvents', + lightning__pb2.ChannelEventSubscription.SerializeToString, + lightning__pb2.ChannelEventUpdate.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ClosedChannels(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/lnrpc.Lightning/ClosedChannels', + lightning__pb2.ClosedChannelsRequest.SerializeToString, + lightning__pb2.ClosedChannelsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def OpenChannelSync(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/lnrpc.Lightning/OpenChannelSync', + lightning__pb2.OpenChannelRequest.SerializeToString, + lightning__pb2.ChannelPoint.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def OpenChannel(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_stream( + request, + target, + '/lnrpc.Lightning/OpenChannel', + lightning__pb2.OpenChannelRequest.SerializeToString, + lightning__pb2.OpenStatusUpdate.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def BatchOpenChannel(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/lnrpc.Lightning/BatchOpenChannel', + lightning__pb2.BatchOpenChannelRequest.SerializeToString, + lightning__pb2.BatchOpenChannelResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def FundingStateStep(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/lnrpc.Lightning/FundingStateStep', + lightning__pb2.FundingTransitionMsg.SerializeToString, + lightning__pb2.FundingStateStepResp.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ChannelAcceptor(request_iterator, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.stream_stream( + request_iterator, + target, + '/lnrpc.Lightning/ChannelAcceptor', + lightning__pb2.ChannelAcceptResponse.SerializeToString, + lightning__pb2.ChannelAcceptRequest.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def CloseChannel(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_stream( + request, + target, + '/lnrpc.Lightning/CloseChannel', + lightning__pb2.CloseChannelRequest.SerializeToString, + lightning__pb2.CloseStatusUpdate.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def AbandonChannel(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/lnrpc.Lightning/AbandonChannel', + lightning__pb2.AbandonChannelRequest.SerializeToString, + lightning__pb2.AbandonChannelResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def SendPayment(request_iterator, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.stream_stream( + request_iterator, + target, + '/lnrpc.Lightning/SendPayment', + lightning__pb2.SendRequest.SerializeToString, + lightning__pb2.SendResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def SendPaymentSync(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/lnrpc.Lightning/SendPaymentSync', + lightning__pb2.SendRequest.SerializeToString, + lightning__pb2.SendResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def SendToRoute(request_iterator, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.stream_stream( + request_iterator, + target, + '/lnrpc.Lightning/SendToRoute', + lightning__pb2.SendToRouteRequest.SerializeToString, + lightning__pb2.SendResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def SendToRouteSync(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/lnrpc.Lightning/SendToRouteSync', + lightning__pb2.SendToRouteRequest.SerializeToString, + lightning__pb2.SendResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def AddInvoice(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/lnrpc.Lightning/AddInvoice', + lightning__pb2.Invoice.SerializeToString, + lightning__pb2.AddInvoiceResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ListInvoices(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/lnrpc.Lightning/ListInvoices', + lightning__pb2.ListInvoiceRequest.SerializeToString, + lightning__pb2.ListInvoiceResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def LookupInvoice(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/lnrpc.Lightning/LookupInvoice', + lightning__pb2.PaymentHash.SerializeToString, + lightning__pb2.Invoice.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def SubscribeInvoices(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_stream( + request, + target, + '/lnrpc.Lightning/SubscribeInvoices', + lightning__pb2.InvoiceSubscription.SerializeToString, + lightning__pb2.Invoice.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def DecodePayReq(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/lnrpc.Lightning/DecodePayReq', + lightning__pb2.PayReqString.SerializeToString, + lightning__pb2.PayReq.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ListPayments(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/lnrpc.Lightning/ListPayments', + lightning__pb2.ListPaymentsRequest.SerializeToString, + lightning__pb2.ListPaymentsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def DeletePayment(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/lnrpc.Lightning/DeletePayment', + lightning__pb2.DeletePaymentRequest.SerializeToString, + lightning__pb2.DeletePaymentResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def DeleteAllPayments(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/lnrpc.Lightning/DeleteAllPayments', + lightning__pb2.DeleteAllPaymentsRequest.SerializeToString, + lightning__pb2.DeleteAllPaymentsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def DescribeGraph(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/lnrpc.Lightning/DescribeGraph', + lightning__pb2.ChannelGraphRequest.SerializeToString, + lightning__pb2.ChannelGraph.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetNodeMetrics(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/lnrpc.Lightning/GetNodeMetrics', + lightning__pb2.NodeMetricsRequest.SerializeToString, + lightning__pb2.NodeMetricsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetChanInfo(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/lnrpc.Lightning/GetChanInfo', + lightning__pb2.ChanInfoRequest.SerializeToString, + lightning__pb2.ChannelEdge.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetNodeInfo(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/lnrpc.Lightning/GetNodeInfo', + lightning__pb2.NodeInfoRequest.SerializeToString, + lightning__pb2.NodeInfo.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def QueryRoutes(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/lnrpc.Lightning/QueryRoutes', + lightning__pb2.QueryRoutesRequest.SerializeToString, + lightning__pb2.QueryRoutesResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def GetNetworkInfo(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/lnrpc.Lightning/GetNetworkInfo', + lightning__pb2.NetworkInfoRequest.SerializeToString, + lightning__pb2.NetworkInfo.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def StopDaemon(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/lnrpc.Lightning/StopDaemon', + lightning__pb2.StopRequest.SerializeToString, + lightning__pb2.StopResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def SubscribeChannelGraph(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_stream( + request, + target, + '/lnrpc.Lightning/SubscribeChannelGraph', + lightning__pb2.GraphTopologySubscription.SerializeToString, + lightning__pb2.GraphTopologyUpdate.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def DebugLevel(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/lnrpc.Lightning/DebugLevel', + lightning__pb2.DebugLevelRequest.SerializeToString, + lightning__pb2.DebugLevelResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def FeeReport(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/lnrpc.Lightning/FeeReport', + lightning__pb2.FeeReportRequest.SerializeToString, + lightning__pb2.FeeReportResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def UpdateChannelPolicy(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/lnrpc.Lightning/UpdateChannelPolicy', + lightning__pb2.PolicyUpdateRequest.SerializeToString, + lightning__pb2.PolicyUpdateResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ForwardingHistory(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/lnrpc.Lightning/ForwardingHistory', + lightning__pb2.ForwardingHistoryRequest.SerializeToString, + lightning__pb2.ForwardingHistoryResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ExportChannelBackup(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/lnrpc.Lightning/ExportChannelBackup', + lightning__pb2.ExportChannelBackupRequest.SerializeToString, + lightning__pb2.ChannelBackup.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ExportAllChannelBackups(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/lnrpc.Lightning/ExportAllChannelBackups', + lightning__pb2.ChanBackupExportRequest.SerializeToString, + lightning__pb2.ChanBackupSnapshot.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def VerifyChanBackup(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/lnrpc.Lightning/VerifyChanBackup', + lightning__pb2.ChanBackupSnapshot.SerializeToString, + lightning__pb2.VerifyChanBackupResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def RestoreChannelBackups(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/lnrpc.Lightning/RestoreChannelBackups', + lightning__pb2.RestoreChanBackupRequest.SerializeToString, + lightning__pb2.RestoreBackupResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def SubscribeChannelBackups(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_stream( + request, + target, + '/lnrpc.Lightning/SubscribeChannelBackups', + lightning__pb2.ChannelBackupSubscription.SerializeToString, + lightning__pb2.ChanBackupSnapshot.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def BakeMacaroon(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/lnrpc.Lightning/BakeMacaroon', + lightning__pb2.BakeMacaroonRequest.SerializeToString, + lightning__pb2.BakeMacaroonResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ListMacaroonIDs(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/lnrpc.Lightning/ListMacaroonIDs', + lightning__pb2.ListMacaroonIDsRequest.SerializeToString, + lightning__pb2.ListMacaroonIDsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def DeleteMacaroonID(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/lnrpc.Lightning/DeleteMacaroonID', + lightning__pb2.DeleteMacaroonIDRequest.SerializeToString, + lightning__pb2.DeleteMacaroonIDResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ListPermissions(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/lnrpc.Lightning/ListPermissions', + lightning__pb2.ListPermissionsRequest.SerializeToString, + lightning__pb2.ListPermissionsResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def CheckMacaroonPermissions(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/lnrpc.Lightning/CheckMacaroonPermissions', + lightning__pb2.CheckMacPermRequest.SerializeToString, + lightning__pb2.CheckMacPermResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def RegisterRPCMiddleware(request_iterator, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.stream_stream( + request_iterator, + target, + '/lnrpc.Lightning/RegisterRPCMiddleware', + lightning__pb2.RPCMiddlewareResponse.SerializeToString, + lightning__pb2.RPCMiddlewareRequest.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def SendCustomMessage(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/lnrpc.Lightning/SendCustomMessage', + lightning__pb2.SendCustomMessageRequest.SerializeToString, + lightning__pb2.SendCustomMessageResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def SubscribeCustomMessages(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_stream( + request, + target, + '/lnrpc.Lightning/SubscribeCustomMessages', + lightning__pb2.SubscribeCustomMessagesRequest.SerializeToString, + lightning__pb2.CustomMessage.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def ListAliases(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/lnrpc.Lightning/ListAliases', + lightning__pb2.ListAliasesRequest.SerializeToString, + lightning__pb2.ListAliasesResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def LookupHtlcResolution(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary( + request, + target, + '/lnrpc.Lightning/LookupHtlcResolution', + lightning__pb2.LookupHtlcResolutionRequest.SerializeToString, + lightning__pb2.LookupHtlcResolutionResponse.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/charge_lnd/grpc_generated/router_pb2.py b/charge_lnd/grpc_generated/router_pb2.py index 7343f35..711d708 100644 --- a/charge_lnd/grpc_generated/router_pb2.py +++ b/charge_lnd/grpc_generated/router_pb2.py @@ -1,2566 +1,146 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: router.proto +# Protobuf Python Version: 5.26.1 """Generated protocol buffer code.""" -from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() -from . import rpc_pb2 as rpc__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='router.proto', - package='routerrpc', - syntax='proto3', - serialized_options=b'Z/github.com/lightningnetwork/lnd/lnrpc/routerrpc', - create_key=_descriptor._internal_create_key, - serialized_pb=b'\n\x0crouter.proto\x12\trouterrpc\x1a\trpc.proto\"\xa4\x05\n\x12SendPaymentRequest\x12\x0c\n\x04\x64\x65st\x18\x01 \x01(\x0c\x12\x0b\n\x03\x61mt\x18\x02 \x01(\x03\x12\x10\n\x08\x61mt_msat\x18\x0c \x01(\x03\x12\x14\n\x0cpayment_hash\x18\x03 \x01(\x0c\x12\x18\n\x10\x66inal_cltv_delta\x18\x04 \x01(\x05\x12\x14\n\x0cpayment_addr\x18\x14 \x01(\x0c\x12\x17\n\x0fpayment_request\x18\x05 \x01(\t\x12\x17\n\x0ftimeout_seconds\x18\x06 \x01(\x05\x12\x15\n\rfee_limit_sat\x18\x07 \x01(\x03\x12\x16\n\x0e\x66\x65\x65_limit_msat\x18\r \x01(\x03\x12\x1e\n\x10outgoing_chan_id\x18\x08 \x01(\x04\x42\x04\x18\x01\x30\x01\x12\x19\n\x11outgoing_chan_ids\x18\x13 \x03(\x04\x12\x17\n\x0flast_hop_pubkey\x18\x0e \x01(\x0c\x12\x12\n\ncltv_limit\x18\t \x01(\x05\x12%\n\x0broute_hints\x18\n \x03(\x0b\x32\x10.lnrpc.RouteHint\x12Q\n\x13\x64\x65st_custom_records\x18\x0b \x03(\x0b\x32\x34.routerrpc.SendPaymentRequest.DestCustomRecordsEntry\x12\x1a\n\x12\x61llow_self_payment\x18\x0f \x01(\x08\x12(\n\rdest_features\x18\x10 \x03(\x0e\x32\x11.lnrpc.FeatureBit\x12\x11\n\tmax_parts\x18\x11 \x01(\r\x12\x1b\n\x13no_inflight_updates\x18\x12 \x01(\x08\x12\x1b\n\x13max_shard_size_msat\x18\x15 \x01(\x04\x12\x0b\n\x03\x61mp\x18\x16 \x01(\x08\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\"H\n\x13TrackPaymentRequest\x12\x14\n\x0cpayment_hash\x18\x01 \x01(\x0c\x12\x1b\n\x13no_inflight_updates\x18\x02 \x01(\x08\"0\n\x0fRouteFeeRequest\x12\x0c\n\x04\x64\x65st\x18\x01 \x01(\x0c\x12\x0f\n\x07\x61mt_sat\x18\x02 \x01(\x03\"E\n\x10RouteFeeResponse\x12\x18\n\x10routing_fee_msat\x18\x01 \x01(\x03\x12\x17\n\x0ftime_lock_delay\x18\x02 \x01(\x03\"G\n\x12SendToRouteRequest\x12\x14\n\x0cpayment_hash\x18\x01 \x01(\x0c\x12\x1b\n\x05route\x18\x02 \x01(\x0b\x32\x0c.lnrpc.Route\"H\n\x13SendToRouteResponse\x12\x10\n\x08preimage\x18\x01 \x01(\x0c\x12\x1f\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32\x0e.lnrpc.Failure\"\x1c\n\x1aResetMissionControlRequest\"\x1d\n\x1bResetMissionControlResponse\"\x1c\n\x1aQueryMissionControlRequest\"J\n\x1bQueryMissionControlResponse\x12%\n\x05pairs\x18\x02 \x03(\x0b\x32\x16.routerrpc.PairHistoryJ\x04\x08\x01\x10\x02\"E\n\x1cXImportMissionControlRequest\x12%\n\x05pairs\x18\x01 \x03(\x0b\x32\x16.routerrpc.PairHistory\"\x1f\n\x1dXImportMissionControlResponse\"o\n\x0bPairHistory\x12\x11\n\tnode_from\x18\x01 \x01(\x0c\x12\x0f\n\x07node_to\x18\x02 \x01(\x0c\x12$\n\x07history\x18\x07 \x01(\x0b\x32\x13.routerrpc.PairDataJ\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05J\x04\x08\x05\x10\x06J\x04\x08\x06\x10\x07\"\x99\x01\n\x08PairData\x12\x11\n\tfail_time\x18\x01 \x01(\x03\x12\x14\n\x0c\x66\x61il_amt_sat\x18\x02 \x01(\x03\x12\x15\n\rfail_amt_msat\x18\x04 \x01(\x03\x12\x14\n\x0csuccess_time\x18\x05 \x01(\x03\x12\x17\n\x0fsuccess_amt_sat\x18\x06 \x01(\x03\x12\x18\n\x10success_amt_msat\x18\x07 \x01(\x03J\x04\x08\x03\x10\x04\" \n\x1eGetMissionControlConfigRequest\"R\n\x1fGetMissionControlConfigResponse\x12/\n\x06\x63onfig\x18\x01 \x01(\x0b\x32\x1f.routerrpc.MissionControlConfig\"Q\n\x1eSetMissionControlConfigRequest\x12/\n\x06\x63onfig\x18\x01 \x01(\x0b\x32\x1f.routerrpc.MissionControlConfig\"!\n\x1fSetMissionControlConfigResponse\"\xa3\x01\n\x14MissionControlConfig\x12\x19\n\x11half_life_seconds\x18\x01 \x01(\x04\x12\x17\n\x0fhop_probability\x18\x02 \x01(\x02\x12\x0e\n\x06weight\x18\x03 \x01(\x02\x12\x1f\n\x17maximum_payment_results\x18\x04 \x01(\r\x12&\n\x1eminimum_failure_relax_interval\x18\x05 \x01(\x04\"O\n\x17QueryProbabilityRequest\x12\x11\n\tfrom_node\x18\x01 \x01(\x0c\x12\x0f\n\x07to_node\x18\x02 \x01(\x0c\x12\x10\n\x08\x61mt_msat\x18\x03 \x01(\x03\"U\n\x18QueryProbabilityResponse\x12\x13\n\x0bprobability\x18\x01 \x01(\x01\x12$\n\x07history\x18\x02 \x01(\x0b\x32\x13.routerrpc.PairData\"\x88\x01\n\x11\x42uildRouteRequest\x12\x10\n\x08\x61mt_msat\x18\x01 \x01(\x03\x12\x18\n\x10\x66inal_cltv_delta\x18\x02 \x01(\x05\x12\x1c\n\x10outgoing_chan_id\x18\x03 \x01(\x04\x42\x02\x30\x01\x12\x13\n\x0bhop_pubkeys\x18\x04 \x03(\x0c\x12\x14\n\x0cpayment_addr\x18\x05 \x01(\x0c\"1\n\x12\x42uildRouteResponse\x12\x1b\n\x05route\x18\x01 \x01(\x0b\x32\x0c.lnrpc.Route\"\x1c\n\x1aSubscribeHtlcEventsRequest\"\xdc\x03\n\tHtlcEvent\x12\x1b\n\x13incoming_channel_id\x18\x01 \x01(\x04\x12\x1b\n\x13outgoing_channel_id\x18\x02 \x01(\x04\x12\x18\n\x10incoming_htlc_id\x18\x03 \x01(\x04\x12\x18\n\x10outgoing_htlc_id\x18\x04 \x01(\x04\x12\x14\n\x0ctimestamp_ns\x18\x05 \x01(\x04\x12\x32\n\nevent_type\x18\x06 \x01(\x0e\x32\x1e.routerrpc.HtlcEvent.EventType\x12\x30\n\rforward_event\x18\x07 \x01(\x0b\x32\x17.routerrpc.ForwardEventH\x00\x12\x39\n\x12\x66orward_fail_event\x18\x08 \x01(\x0b\x32\x1b.routerrpc.ForwardFailEventH\x00\x12.\n\x0csettle_event\x18\t \x01(\x0b\x32\x16.routerrpc.SettleEventH\x00\x12\x33\n\x0flink_fail_event\x18\n \x01(\x0b\x32\x18.routerrpc.LinkFailEventH\x00\"<\n\tEventType\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x08\n\x04SEND\x10\x01\x12\x0b\n\x07RECEIVE\x10\x02\x12\x0b\n\x07\x46ORWARD\x10\x03\x42\x07\n\x05\x65vent\"v\n\x08HtlcInfo\x12\x19\n\x11incoming_timelock\x18\x01 \x01(\r\x12\x19\n\x11outgoing_timelock\x18\x02 \x01(\r\x12\x19\n\x11incoming_amt_msat\x18\x03 \x01(\x04\x12\x19\n\x11outgoing_amt_msat\x18\x04 \x01(\x04\"1\n\x0c\x46orwardEvent\x12!\n\x04info\x18\x01 \x01(\x0b\x32\x13.routerrpc.HtlcInfo\"\x12\n\x10\x46orwardFailEvent\"\r\n\x0bSettleEvent\"\xae\x01\n\rLinkFailEvent\x12!\n\x04info\x18\x01 \x01(\x0b\x32\x13.routerrpc.HtlcInfo\x12\x30\n\x0cwire_failure\x18\x02 \x01(\x0e\x32\x1a.lnrpc.Failure.FailureCode\x12\x30\n\x0e\x66\x61ilure_detail\x18\x03 \x01(\x0e\x32\x18.routerrpc.FailureDetail\x12\x16\n\x0e\x66\x61ilure_string\x18\x04 \x01(\t\"r\n\rPaymentStatus\x12&\n\x05state\x18\x01 \x01(\x0e\x32\x17.routerrpc.PaymentState\x12\x10\n\x08preimage\x18\x02 \x01(\x0c\x12!\n\x05htlcs\x18\x04 \x03(\x0b\x32\x12.lnrpc.HTLCAttemptJ\x04\x08\x03\x10\x04\".\n\nCircuitKey\x12\x0f\n\x07\x63han_id\x18\x01 \x01(\x04\x12\x0f\n\x07htlc_id\x18\x02 \x01(\x04\"\x97\x03\n\x1b\x46orwardHtlcInterceptRequest\x12\x33\n\x14incoming_circuit_key\x18\x01 \x01(\x0b\x32\x15.routerrpc.CircuitKey\x12\x1c\n\x14incoming_amount_msat\x18\x05 \x01(\x04\x12\x17\n\x0fincoming_expiry\x18\x06 \x01(\r\x12\x14\n\x0cpayment_hash\x18\x02 \x01(\x0c\x12\"\n\x1aoutgoing_requested_chan_id\x18\x07 \x01(\x04\x12\x1c\n\x14outgoing_amount_msat\x18\x03 \x01(\x04\x12\x17\n\x0foutgoing_expiry\x18\x04 \x01(\r\x12Q\n\x0e\x63ustom_records\x18\x08 \x03(\x0b\x32\x39.routerrpc.ForwardHtlcInterceptRequest.CustomRecordsEntry\x12\x12\n\nonion_blob\x18\t \x01(\x0c\x1a\x34\n\x12\x43ustomRecordsEntry\x12\x0b\n\x03key\x18\x01 \x01(\x04\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\"\x9a\x01\n\x1c\x46orwardHtlcInterceptResponse\x12\x33\n\x14incoming_circuit_key\x18\x01 \x01(\x0b\x32\x15.routerrpc.CircuitKey\x12\x33\n\x06\x61\x63tion\x18\x02 \x01(\x0e\x32#.routerrpc.ResolveHoldForwardAction\x12\x10\n\x08preimage\x18\x03 \x01(\x0c\"o\n\x17UpdateChanStatusRequest\x12\'\n\nchan_point\x18\x01 \x01(\x0b\x32\x13.lnrpc.ChannelPoint\x12+\n\x06\x61\x63tion\x18\x02 \x01(\x0e\x32\x1b.routerrpc.ChanStatusAction\"\x1a\n\x18UpdateChanStatusResponse*\x81\x04\n\rFailureDetail\x12\x0b\n\x07UNKNOWN\x10\x00\x12\r\n\tNO_DETAIL\x10\x01\x12\x10\n\x0cONION_DECODE\x10\x02\x12\x15\n\x11LINK_NOT_ELIGIBLE\x10\x03\x12\x14\n\x10ON_CHAIN_TIMEOUT\x10\x04\x12\x14\n\x10HTLC_EXCEEDS_MAX\x10\x05\x12\x18\n\x14INSUFFICIENT_BALANCE\x10\x06\x12\x16\n\x12INCOMPLETE_FORWARD\x10\x07\x12\x13\n\x0fHTLC_ADD_FAILED\x10\x08\x12\x15\n\x11\x46ORWARDS_DISABLED\x10\t\x12\x14\n\x10INVOICE_CANCELED\x10\n\x12\x15\n\x11INVOICE_UNDERPAID\x10\x0b\x12\x1b\n\x17INVOICE_EXPIRY_TOO_SOON\x10\x0c\x12\x14\n\x10INVOICE_NOT_OPEN\x10\r\x12\x17\n\x13MPP_INVOICE_TIMEOUT\x10\x0e\x12\x14\n\x10\x41\x44\x44RESS_MISMATCH\x10\x0f\x12\x16\n\x12SET_TOTAL_MISMATCH\x10\x10\x12\x15\n\x11SET_TOTAL_TOO_LOW\x10\x11\x12\x10\n\x0cSET_OVERPAID\x10\x12\x12\x13\n\x0fUNKNOWN_INVOICE\x10\x13\x12\x13\n\x0fINVALID_KEYSEND\x10\x14\x12\x13\n\x0fMPP_IN_PROGRESS\x10\x15\x12\x12\n\x0e\x43IRCULAR_ROUTE\x10\x16*\xae\x01\n\x0cPaymentState\x12\r\n\tIN_FLIGHT\x10\x00\x12\r\n\tSUCCEEDED\x10\x01\x12\x12\n\x0e\x46\x41ILED_TIMEOUT\x10\x02\x12\x13\n\x0f\x46\x41ILED_NO_ROUTE\x10\x03\x12\x10\n\x0c\x46\x41ILED_ERROR\x10\x04\x12$\n FAILED_INCORRECT_PAYMENT_DETAILS\x10\x05\x12\x1f\n\x1b\x46\x41ILED_INSUFFICIENT_BALANCE\x10\x06*<\n\x18ResolveHoldForwardAction\x12\n\n\x06SETTLE\x10\x00\x12\x08\n\x04\x46\x41IL\x10\x01\x12\n\n\x06RESUME\x10\x02*5\n\x10\x43hanStatusAction\x12\n\n\x06\x45NABLE\x10\x00\x12\x0b\n\x07\x44ISABLE\x10\x01\x12\x08\n\x04\x41UTO\x10\x02\x32\xf1\x0b\n\x06Router\x12@\n\rSendPaymentV2\x12\x1d.routerrpc.SendPaymentRequest\x1a\x0e.lnrpc.Payment0\x01\x12\x42\n\x0eTrackPaymentV2\x12\x1e.routerrpc.TrackPaymentRequest\x1a\x0e.lnrpc.Payment0\x01\x12K\n\x10\x45stimateRouteFee\x12\x1a.routerrpc.RouteFeeRequest\x1a\x1b.routerrpc.RouteFeeResponse\x12Q\n\x0bSendToRoute\x12\x1d.routerrpc.SendToRouteRequest\x1a\x1e.routerrpc.SendToRouteResponse\"\x03\x88\x02\x01\x12\x42\n\rSendToRouteV2\x12\x1d.routerrpc.SendToRouteRequest\x1a\x12.lnrpc.HTLCAttempt\x12\x64\n\x13ResetMissionControl\x12%.routerrpc.ResetMissionControlRequest\x1a&.routerrpc.ResetMissionControlResponse\x12\x64\n\x13QueryMissionControl\x12%.routerrpc.QueryMissionControlRequest\x1a&.routerrpc.QueryMissionControlResponse\x12j\n\x15XImportMissionControl\x12\'.routerrpc.XImportMissionControlRequest\x1a(.routerrpc.XImportMissionControlResponse\x12p\n\x17GetMissionControlConfig\x12).routerrpc.GetMissionControlConfigRequest\x1a*.routerrpc.GetMissionControlConfigResponse\x12p\n\x17SetMissionControlConfig\x12).routerrpc.SetMissionControlConfigRequest\x1a*.routerrpc.SetMissionControlConfigResponse\x12[\n\x10QueryProbability\x12\".routerrpc.QueryProbabilityRequest\x1a#.routerrpc.QueryProbabilityResponse\x12I\n\nBuildRoute\x12\x1c.routerrpc.BuildRouteRequest\x1a\x1d.routerrpc.BuildRouteResponse\x12T\n\x13SubscribeHtlcEvents\x12%.routerrpc.SubscribeHtlcEventsRequest\x1a\x14.routerrpc.HtlcEvent0\x01\x12M\n\x0bSendPayment\x12\x1d.routerrpc.SendPaymentRequest\x1a\x18.routerrpc.PaymentStatus\"\x03\x88\x02\x01\x30\x01\x12O\n\x0cTrackPayment\x12\x1e.routerrpc.TrackPaymentRequest\x1a\x18.routerrpc.PaymentStatus\"\x03\x88\x02\x01\x30\x01\x12\x66\n\x0fHtlcInterceptor\x12\'.routerrpc.ForwardHtlcInterceptResponse\x1a&.routerrpc.ForwardHtlcInterceptRequest(\x01\x30\x01\x12[\n\x10UpdateChanStatus\x12\".routerrpc.UpdateChanStatusRequest\x1a#.routerrpc.UpdateChanStatusResponseB1Z/github.com/lightningnetwork/lnd/lnrpc/routerrpcb\x06proto3' - , - dependencies=[rpc__pb2.DESCRIPTOR,]) - -_FAILUREDETAIL = _descriptor.EnumDescriptor( - name='FailureDetail', - full_name='routerrpc.FailureDetail', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='UNKNOWN', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='NO_DETAIL', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='ONION_DECODE', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='LINK_NOT_ELIGIBLE', index=3, number=3, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='ON_CHAIN_TIMEOUT', index=4, number=4, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='HTLC_EXCEEDS_MAX', index=5, number=5, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='INSUFFICIENT_BALANCE', index=6, number=6, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='INCOMPLETE_FORWARD', index=7, number=7, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='HTLC_ADD_FAILED', index=8, number=8, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FORWARDS_DISABLED', index=9, number=9, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='INVOICE_CANCELED', index=10, number=10, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='INVOICE_UNDERPAID', index=11, number=11, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='INVOICE_EXPIRY_TOO_SOON', index=12, number=12, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='INVOICE_NOT_OPEN', index=13, number=13, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='MPP_INVOICE_TIMEOUT', index=14, number=14, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='ADDRESS_MISMATCH', index=15, number=15, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='SET_TOTAL_MISMATCH', index=16, number=16, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='SET_TOTAL_TOO_LOW', index=17, number=17, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='SET_OVERPAID', index=18, number=18, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='UNKNOWN_INVOICE', index=19, number=19, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='INVALID_KEYSEND', index=20, number=20, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='MPP_IN_PROGRESS', index=21, number=21, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='CIRCULAR_ROUTE', index=22, number=22, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=4124, - serialized_end=4637, -) -_sym_db.RegisterEnumDescriptor(_FAILUREDETAIL) - -FailureDetail = enum_type_wrapper.EnumTypeWrapper(_FAILUREDETAIL) -_PAYMENTSTATE = _descriptor.EnumDescriptor( - name='PaymentState', - full_name='routerrpc.PaymentState', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='IN_FLIGHT', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='SUCCEEDED', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FAILED_TIMEOUT', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FAILED_NO_ROUTE', index=3, number=3, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FAILED_ERROR', index=4, number=4, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FAILED_INCORRECT_PAYMENT_DETAILS', index=5, number=5, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FAILED_INSUFFICIENT_BALANCE', index=6, number=6, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=4640, - serialized_end=4814, -) -_sym_db.RegisterEnumDescriptor(_PAYMENTSTATE) - -PaymentState = enum_type_wrapper.EnumTypeWrapper(_PAYMENTSTATE) -_RESOLVEHOLDFORWARDACTION = _descriptor.EnumDescriptor( - name='ResolveHoldForwardAction', - full_name='routerrpc.ResolveHoldForwardAction', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='SETTLE', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FAIL', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RESUME', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=4816, - serialized_end=4876, -) -_sym_db.RegisterEnumDescriptor(_RESOLVEHOLDFORWARDACTION) - -ResolveHoldForwardAction = enum_type_wrapper.EnumTypeWrapper(_RESOLVEHOLDFORWARDACTION) -_CHANSTATUSACTION = _descriptor.EnumDescriptor( - name='ChanStatusAction', - full_name='routerrpc.ChanStatusAction', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='ENABLE', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='DISABLE', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='AUTO', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=4878, - serialized_end=4931, -) -_sym_db.RegisterEnumDescriptor(_CHANSTATUSACTION) - -ChanStatusAction = enum_type_wrapper.EnumTypeWrapper(_CHANSTATUSACTION) -UNKNOWN = 0 -NO_DETAIL = 1 -ONION_DECODE = 2 -LINK_NOT_ELIGIBLE = 3 -ON_CHAIN_TIMEOUT = 4 -HTLC_EXCEEDS_MAX = 5 -INSUFFICIENT_BALANCE = 6 -INCOMPLETE_FORWARD = 7 -HTLC_ADD_FAILED = 8 -FORWARDS_DISABLED = 9 -INVOICE_CANCELED = 10 -INVOICE_UNDERPAID = 11 -INVOICE_EXPIRY_TOO_SOON = 12 -INVOICE_NOT_OPEN = 13 -MPP_INVOICE_TIMEOUT = 14 -ADDRESS_MISMATCH = 15 -SET_TOTAL_MISMATCH = 16 -SET_TOTAL_TOO_LOW = 17 -SET_OVERPAID = 18 -UNKNOWN_INVOICE = 19 -INVALID_KEYSEND = 20 -MPP_IN_PROGRESS = 21 -CIRCULAR_ROUTE = 22 -IN_FLIGHT = 0 -SUCCEEDED = 1 -FAILED_TIMEOUT = 2 -FAILED_NO_ROUTE = 3 -FAILED_ERROR = 4 -FAILED_INCORRECT_PAYMENT_DETAILS = 5 -FAILED_INSUFFICIENT_BALANCE = 6 -SETTLE = 0 -FAIL = 1 -RESUME = 2 -ENABLE = 0 -DISABLE = 1 -AUTO = 2 - - -_HTLCEVENT_EVENTTYPE = _descriptor.EnumDescriptor( - name='EventType', - full_name='routerrpc.HtlcEvent.EventType', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='UNKNOWN', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='SEND', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RECEIVE', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FORWARD', index=3, number=3, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=2797, - serialized_end=2857, -) -_sym_db.RegisterEnumDescriptor(_HTLCEVENT_EVENTTYPE) - - -_SENDPAYMENTREQUEST_DESTCUSTOMRECORDSENTRY = _descriptor.Descriptor( - name='DestCustomRecordsEntry', - full_name='routerrpc.SendPaymentRequest.DestCustomRecordsEntry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='key', full_name='routerrpc.SendPaymentRequest.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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='value', full_name='routerrpc.SendPaymentRequest.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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=b'8\001', - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=659, - serialized_end=715, -) - -_SENDPAYMENTREQUEST = _descriptor.Descriptor( - name='SendPaymentRequest', - full_name='routerrpc.SendPaymentRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='dest', full_name='routerrpc.SendPaymentRequest.dest', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='amt', full_name='routerrpc.SendPaymentRequest.amt', index=1, - 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, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='amt_msat', full_name='routerrpc.SendPaymentRequest.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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='payment_hash', full_name='routerrpc.SendPaymentRequest.payment_hash', index=3, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='final_cltv_delta', full_name='routerrpc.SendPaymentRequest.final_cltv_delta', index=4, - 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='payment_addr', full_name='routerrpc.SendPaymentRequest.payment_addr', index=5, - number=20, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='payment_request', full_name='routerrpc.SendPaymentRequest.payment_request', index=6, - 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='timeout_seconds', full_name='routerrpc.SendPaymentRequest.timeout_seconds', index=7, - number=6, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='fee_limit_sat', full_name='routerrpc.SendPaymentRequest.fee_limit_sat', index=8, - number=7, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='fee_limit_msat', full_name='routerrpc.SendPaymentRequest.fee_limit_msat', index=9, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='outgoing_chan_id', full_name='routerrpc.SendPaymentRequest.outgoing_chan_id', index=10, - number=8, 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'\030\0010\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='outgoing_chan_ids', full_name='routerrpc.SendPaymentRequest.outgoing_chan_ids', index=11, - number=19, type=4, cpp_type=4, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='last_hop_pubkey', full_name='routerrpc.SendPaymentRequest.last_hop_pubkey', index=12, - number=14, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='cltv_limit', full_name='routerrpc.SendPaymentRequest.cltv_limit', index=13, - number=9, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='route_hints', full_name='routerrpc.SendPaymentRequest.route_hints', index=14, - 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='dest_custom_records', full_name='routerrpc.SendPaymentRequest.dest_custom_records', index=15, - 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='allow_self_payment', full_name='routerrpc.SendPaymentRequest.allow_self_payment', index=16, - number=15, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='dest_features', full_name='routerrpc.SendPaymentRequest.dest_features', index=17, - number=16, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='max_parts', full_name='routerrpc.SendPaymentRequest.max_parts', index=18, - number=17, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='no_inflight_updates', full_name='routerrpc.SendPaymentRequest.no_inflight_updates', index=19, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='max_shard_size_msat', full_name='routerrpc.SendPaymentRequest.max_shard_size_msat', index=20, - number=21, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='amp', full_name='routerrpc.SendPaymentRequest.amp', index=21, - number=22, 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[_SENDPAYMENTREQUEST_DESTCUSTOMRECORDSENTRY, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=39, - serialized_end=715, -) - - -_TRACKPAYMENTREQUEST = _descriptor.Descriptor( - name='TrackPaymentRequest', - full_name='routerrpc.TrackPaymentRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='payment_hash', full_name='routerrpc.TrackPaymentRequest.payment_hash', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='no_inflight_updates', full_name='routerrpc.TrackPaymentRequest.no_inflight_updates', index=1, - number=2, 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=717, - serialized_end=789, -) - - -_ROUTEFEEREQUEST = _descriptor.Descriptor( - name='RouteFeeRequest', - full_name='routerrpc.RouteFeeRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='dest', full_name='routerrpc.RouteFeeRequest.dest', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='amt_sat', full_name='routerrpc.RouteFeeRequest.amt_sat', index=1, - 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, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=791, - serialized_end=839, -) - - -_ROUTEFEERESPONSE = _descriptor.Descriptor( - name='RouteFeeResponse', - full_name='routerrpc.RouteFeeResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='routing_fee_msat', full_name='routerrpc.RouteFeeResponse.routing_fee_msat', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='time_lock_delay', full_name='routerrpc.RouteFeeResponse.time_lock_delay', index=1, - 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, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=841, - serialized_end=910, -) - - -_SENDTOROUTEREQUEST = _descriptor.Descriptor( - name='SendToRouteRequest', - full_name='routerrpc.SendToRouteRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='payment_hash', full_name='routerrpc.SendToRouteRequest.payment_hash', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='route', full_name='routerrpc.SendToRouteRequest.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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=912, - serialized_end=983, -) - - -_SENDTOROUTERESPONSE = _descriptor.Descriptor( - name='SendToRouteResponse', - full_name='routerrpc.SendToRouteResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='preimage', full_name='routerrpc.SendToRouteResponse.preimage', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='failure', full_name='routerrpc.SendToRouteResponse.failure', 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=985, - serialized_end=1057, -) - - -_RESETMISSIONCONTROLREQUEST = _descriptor.Descriptor( - name='ResetMissionControlRequest', - full_name='routerrpc.ResetMissionControlRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1059, - serialized_end=1087, -) - - -_RESETMISSIONCONTROLRESPONSE = _descriptor.Descriptor( - name='ResetMissionControlResponse', - full_name='routerrpc.ResetMissionControlResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1089, - serialized_end=1118, -) - - -_QUERYMISSIONCONTROLREQUEST = _descriptor.Descriptor( - name='QueryMissionControlRequest', - full_name='routerrpc.QueryMissionControlRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1120, - serialized_end=1148, -) - - -_QUERYMISSIONCONTROLRESPONSE = _descriptor.Descriptor( - name='QueryMissionControlResponse', - full_name='routerrpc.QueryMissionControlResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='pairs', full_name='routerrpc.QueryMissionControlResponse.pairs', index=0, - number=2, 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1150, - serialized_end=1224, -) - - -_XIMPORTMISSIONCONTROLREQUEST = _descriptor.Descriptor( - name='XImportMissionControlRequest', - full_name='routerrpc.XImportMissionControlRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='pairs', full_name='routerrpc.XImportMissionControlRequest.pairs', index=0, - number=1, 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1226, - serialized_end=1295, -) - - -_XIMPORTMISSIONCONTROLRESPONSE = _descriptor.Descriptor( - name='XImportMissionControlResponse', - full_name='routerrpc.XImportMissionControlResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1297, - serialized_end=1328, -) - - -_PAIRHISTORY = _descriptor.Descriptor( - name='PairHistory', - full_name='routerrpc.PairHistory', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='node_from', full_name='routerrpc.PairHistory.node_from', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='node_to', full_name='routerrpc.PairHistory.node_to', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='history', full_name='routerrpc.PairHistory.history', index=2, - number=7, 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1330, - serialized_end=1441, -) - - -_PAIRDATA = _descriptor.Descriptor( - name='PairData', - full_name='routerrpc.PairData', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='fail_time', full_name='routerrpc.PairData.fail_time', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='fail_amt_sat', full_name='routerrpc.PairData.fail_amt_sat', index=1, - 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, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='fail_amt_msat', full_name='routerrpc.PairData.fail_amt_msat', index=2, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='success_time', full_name='routerrpc.PairData.success_time', 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='success_amt_sat', full_name='routerrpc.PairData.success_amt_sat', index=4, - number=6, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='success_amt_msat', full_name='routerrpc.PairData.success_amt_msat', index=5, - number=7, 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1444, - serialized_end=1597, -) - - -_GETMISSIONCONTROLCONFIGREQUEST = _descriptor.Descriptor( - name='GetMissionControlConfigRequest', - full_name='routerrpc.GetMissionControlConfigRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1599, - serialized_end=1631, -) - - -_GETMISSIONCONTROLCONFIGRESPONSE = _descriptor.Descriptor( - name='GetMissionControlConfigResponse', - full_name='routerrpc.GetMissionControlConfigResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='config', full_name='routerrpc.GetMissionControlConfigResponse.config', 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1633, - serialized_end=1715, -) - - -_SETMISSIONCONTROLCONFIGREQUEST = _descriptor.Descriptor( - name='SetMissionControlConfigRequest', - full_name='routerrpc.SetMissionControlConfigRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='config', full_name='routerrpc.SetMissionControlConfigRequest.config', 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1717, - serialized_end=1798, -) - - -_SETMISSIONCONTROLCONFIGRESPONSE = _descriptor.Descriptor( - name='SetMissionControlConfigResponse', - full_name='routerrpc.SetMissionControlConfigResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1800, - serialized_end=1833, -) - - -_MISSIONCONTROLCONFIG = _descriptor.Descriptor( - name='MissionControlConfig', - full_name='routerrpc.MissionControlConfig', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='half_life_seconds', full_name='routerrpc.MissionControlConfig.half_life_seconds', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='hop_probability', full_name='routerrpc.MissionControlConfig.hop_probability', index=1, - number=2, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='weight', full_name='routerrpc.MissionControlConfig.weight', index=2, - number=3, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='maximum_payment_results', full_name='routerrpc.MissionControlConfig.maximum_payment_results', index=3, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='minimum_failure_relax_interval', full_name='routerrpc.MissionControlConfig.minimum_failure_relax_interval', index=4, - number=5, 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1836, - serialized_end=1999, -) - - -_QUERYPROBABILITYREQUEST = _descriptor.Descriptor( - name='QueryProbabilityRequest', - full_name='routerrpc.QueryProbabilityRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='from_node', full_name='routerrpc.QueryProbabilityRequest.from_node', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='to_node', full_name='routerrpc.QueryProbabilityRequest.to_node', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='amt_msat', full_name='routerrpc.QueryProbabilityRequest.amt_msat', 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2001, - serialized_end=2080, -) - - -_QUERYPROBABILITYRESPONSE = _descriptor.Descriptor( - name='QueryProbabilityResponse', - full_name='routerrpc.QueryProbabilityResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='probability', full_name='routerrpc.QueryProbabilityResponse.probability', index=0, - number=1, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='history', full_name='routerrpc.QueryProbabilityResponse.history', 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2082, - serialized_end=2167, -) - - -_BUILDROUTEREQUEST = _descriptor.Descriptor( - name='BuildRouteRequest', - full_name='routerrpc.BuildRouteRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='amt_msat', full_name='routerrpc.BuildRouteRequest.amt_msat', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='final_cltv_delta', full_name='routerrpc.BuildRouteRequest.final_cltv_delta', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='outgoing_chan_id', full_name='routerrpc.BuildRouteRequest.outgoing_chan_id', index=2, - number=3, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='hop_pubkeys', full_name='routerrpc.BuildRouteRequest.hop_pubkeys', index=3, - number=4, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='payment_addr', full_name='routerrpc.BuildRouteRequest.payment_addr', 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2170, - serialized_end=2306, -) - - -_BUILDROUTERESPONSE = _descriptor.Descriptor( - name='BuildRouteResponse', - full_name='routerrpc.BuildRouteResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='route', full_name='routerrpc.BuildRouteResponse.route', 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2308, - serialized_end=2357, -) - - -_SUBSCRIBEHTLCEVENTSREQUEST = _descriptor.Descriptor( - name='SubscribeHtlcEventsRequest', - full_name='routerrpc.SubscribeHtlcEventsRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2359, - serialized_end=2387, -) - - -_HTLCEVENT = _descriptor.Descriptor( - name='HtlcEvent', - full_name='routerrpc.HtlcEvent', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='incoming_channel_id', full_name='routerrpc.HtlcEvent.incoming_channel_id', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='outgoing_channel_id', full_name='routerrpc.HtlcEvent.outgoing_channel_id', index=1, - number=2, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='incoming_htlc_id', full_name='routerrpc.HtlcEvent.incoming_htlc_id', index=2, - number=3, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='outgoing_htlc_id', full_name='routerrpc.HtlcEvent.outgoing_htlc_id', index=3, - number=4, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='timestamp_ns', full_name='routerrpc.HtlcEvent.timestamp_ns', index=4, - number=5, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='event_type', full_name='routerrpc.HtlcEvent.event_type', index=5, - number=6, 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='forward_event', full_name='routerrpc.HtlcEvent.forward_event', index=6, - number=7, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='forward_fail_event', full_name='routerrpc.HtlcEvent.forward_fail_event', index=7, - 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='settle_event', full_name='routerrpc.HtlcEvent.settle_event', index=8, - number=9, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='link_fail_event', full_name='routerrpc.HtlcEvent.link_fail_event', 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _HTLCEVENT_EVENTTYPE, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name='event', full_name='routerrpc.HtlcEvent.event', - index=0, containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[]), - ], - serialized_start=2390, - serialized_end=2866, -) - - -_HTLCINFO = _descriptor.Descriptor( - name='HtlcInfo', - full_name='routerrpc.HtlcInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='incoming_timelock', full_name='routerrpc.HtlcInfo.incoming_timelock', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='outgoing_timelock', full_name='routerrpc.HtlcInfo.outgoing_timelock', index=1, - number=2, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='incoming_amt_msat', full_name='routerrpc.HtlcInfo.incoming_amt_msat', index=2, - number=3, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='outgoing_amt_msat', full_name='routerrpc.HtlcInfo.outgoing_amt_msat', index=3, - number=4, 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2868, - serialized_end=2986, -) - - -_FORWARDEVENT = _descriptor.Descriptor( - name='ForwardEvent', - full_name='routerrpc.ForwardEvent', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='info', full_name='routerrpc.ForwardEvent.info', 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2988, - serialized_end=3037, -) - - -_FORWARDFAILEVENT = _descriptor.Descriptor( - name='ForwardFailEvent', - full_name='routerrpc.ForwardFailEvent', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3039, - serialized_end=3057, -) - - -_SETTLEEVENT = _descriptor.Descriptor( - name='SettleEvent', - full_name='routerrpc.SettleEvent', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3059, - serialized_end=3072, -) - - -_LINKFAILEVENT = _descriptor.Descriptor( - name='LinkFailEvent', - full_name='routerrpc.LinkFailEvent', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='info', full_name='routerrpc.LinkFailEvent.info', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='wire_failure', full_name='routerrpc.LinkFailEvent.wire_failure', 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='failure_detail', full_name='routerrpc.LinkFailEvent.failure_detail', index=2, - number=3, 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='failure_string', full_name='routerrpc.LinkFailEvent.failure_string', index=3, - number=4, 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3075, - serialized_end=3249, -) - - -_PAYMENTSTATUS = _descriptor.Descriptor( - name='PaymentStatus', - full_name='routerrpc.PaymentStatus', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='state', full_name='routerrpc.PaymentStatus.state', 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='preimage', full_name='routerrpc.PaymentStatus.preimage', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='htlcs', full_name='routerrpc.PaymentStatus.htlcs', index=2, - number=4, 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3251, - serialized_end=3365, -) - - -_CIRCUITKEY = _descriptor.Descriptor( - name='CircuitKey', - full_name='routerrpc.CircuitKey', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='chan_id', full_name='routerrpc.CircuitKey.chan_id', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='htlc_id', full_name='routerrpc.CircuitKey.htlc_id', index=1, - number=2, 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3367, - serialized_end=3413, -) - - -_FORWARDHTLCINTERCEPTREQUEST_CUSTOMRECORDSENTRY = _descriptor.Descriptor( - name='CustomRecordsEntry', - full_name='routerrpc.ForwardHtlcInterceptRequest.CustomRecordsEntry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='key', full_name='routerrpc.ForwardHtlcInterceptRequest.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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='value', full_name='routerrpc.ForwardHtlcInterceptRequest.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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=b'8\001', - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3771, - serialized_end=3823, -) - -_FORWARDHTLCINTERCEPTREQUEST = _descriptor.Descriptor( - name='ForwardHtlcInterceptRequest', - full_name='routerrpc.ForwardHtlcInterceptRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='incoming_circuit_key', full_name='routerrpc.ForwardHtlcInterceptRequest.incoming_circuit_key', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='incoming_amount_msat', full_name='routerrpc.ForwardHtlcInterceptRequest.incoming_amount_msat', index=1, - number=5, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='incoming_expiry', full_name='routerrpc.ForwardHtlcInterceptRequest.incoming_expiry', index=2, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='payment_hash', full_name='routerrpc.ForwardHtlcInterceptRequest.payment_hash', index=3, - 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='outgoing_requested_chan_id', full_name='routerrpc.ForwardHtlcInterceptRequest.outgoing_requested_chan_id', index=4, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='outgoing_amount_msat', full_name='routerrpc.ForwardHtlcInterceptRequest.outgoing_amount_msat', index=5, - number=3, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='outgoing_expiry', full_name='routerrpc.ForwardHtlcInterceptRequest.outgoing_expiry', index=6, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='custom_records', full_name='routerrpc.ForwardHtlcInterceptRequest.custom_records', index=7, - number=8, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='onion_blob', full_name='routerrpc.ForwardHtlcInterceptRequest.onion_blob', index=8, - number=9, 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[_FORWARDHTLCINTERCEPTREQUEST_CUSTOMRECORDSENTRY, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3416, - serialized_end=3823, -) - - -_FORWARDHTLCINTERCEPTRESPONSE = _descriptor.Descriptor( - name='ForwardHtlcInterceptResponse', - full_name='routerrpc.ForwardHtlcInterceptResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='incoming_circuit_key', full_name='routerrpc.ForwardHtlcInterceptResponse.incoming_circuit_key', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='action', full_name='routerrpc.ForwardHtlcInterceptResponse.action', 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='preimage', full_name='routerrpc.ForwardHtlcInterceptResponse.preimage', index=2, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3826, - serialized_end=3980, -) - - -_UPDATECHANSTATUSREQUEST = _descriptor.Descriptor( - name='UpdateChanStatusRequest', - full_name='routerrpc.UpdateChanStatusRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='chan_point', full_name='routerrpc.UpdateChanStatusRequest.chan_point', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='action', full_name='routerrpc.UpdateChanStatusRequest.action', 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3982, - serialized_end=4093, -) - - -_UPDATECHANSTATUSRESPONSE = _descriptor.Descriptor( - name='UpdateChanStatusResponse', - full_name='routerrpc.UpdateChanStatusResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=4095, - serialized_end=4121, -) - -_SENDPAYMENTREQUEST_DESTCUSTOMRECORDSENTRY.containing_type = _SENDPAYMENTREQUEST -_SENDPAYMENTREQUEST.fields_by_name['route_hints'].message_type = rpc__pb2._ROUTEHINT -_SENDPAYMENTREQUEST.fields_by_name['dest_custom_records'].message_type = _SENDPAYMENTREQUEST_DESTCUSTOMRECORDSENTRY -_SENDPAYMENTREQUEST.fields_by_name['dest_features'].enum_type = rpc__pb2._FEATUREBIT -_SENDTOROUTEREQUEST.fields_by_name['route'].message_type = rpc__pb2._ROUTE -_SENDTOROUTERESPONSE.fields_by_name['failure'].message_type = rpc__pb2._FAILURE -_QUERYMISSIONCONTROLRESPONSE.fields_by_name['pairs'].message_type = _PAIRHISTORY -_XIMPORTMISSIONCONTROLREQUEST.fields_by_name['pairs'].message_type = _PAIRHISTORY -_PAIRHISTORY.fields_by_name['history'].message_type = _PAIRDATA -_GETMISSIONCONTROLCONFIGRESPONSE.fields_by_name['config'].message_type = _MISSIONCONTROLCONFIG -_SETMISSIONCONTROLCONFIGREQUEST.fields_by_name['config'].message_type = _MISSIONCONTROLCONFIG -_QUERYPROBABILITYRESPONSE.fields_by_name['history'].message_type = _PAIRDATA -_BUILDROUTERESPONSE.fields_by_name['route'].message_type = rpc__pb2._ROUTE -_HTLCEVENT.fields_by_name['event_type'].enum_type = _HTLCEVENT_EVENTTYPE -_HTLCEVENT.fields_by_name['forward_event'].message_type = _FORWARDEVENT -_HTLCEVENT.fields_by_name['forward_fail_event'].message_type = _FORWARDFAILEVENT -_HTLCEVENT.fields_by_name['settle_event'].message_type = _SETTLEEVENT -_HTLCEVENT.fields_by_name['link_fail_event'].message_type = _LINKFAILEVENT -_HTLCEVENT_EVENTTYPE.containing_type = _HTLCEVENT -_HTLCEVENT.oneofs_by_name['event'].fields.append( - _HTLCEVENT.fields_by_name['forward_event']) -_HTLCEVENT.fields_by_name['forward_event'].containing_oneof = _HTLCEVENT.oneofs_by_name['event'] -_HTLCEVENT.oneofs_by_name['event'].fields.append( - _HTLCEVENT.fields_by_name['forward_fail_event']) -_HTLCEVENT.fields_by_name['forward_fail_event'].containing_oneof = _HTLCEVENT.oneofs_by_name['event'] -_HTLCEVENT.oneofs_by_name['event'].fields.append( - _HTLCEVENT.fields_by_name['settle_event']) -_HTLCEVENT.fields_by_name['settle_event'].containing_oneof = _HTLCEVENT.oneofs_by_name['event'] -_HTLCEVENT.oneofs_by_name['event'].fields.append( - _HTLCEVENT.fields_by_name['link_fail_event']) -_HTLCEVENT.fields_by_name['link_fail_event'].containing_oneof = _HTLCEVENT.oneofs_by_name['event'] -_FORWARDEVENT.fields_by_name['info'].message_type = _HTLCINFO -_LINKFAILEVENT.fields_by_name['info'].message_type = _HTLCINFO -_LINKFAILEVENT.fields_by_name['wire_failure'].enum_type = rpc__pb2._FAILURE_FAILURECODE -_LINKFAILEVENT.fields_by_name['failure_detail'].enum_type = _FAILUREDETAIL -_PAYMENTSTATUS.fields_by_name['state'].enum_type = _PAYMENTSTATE -_PAYMENTSTATUS.fields_by_name['htlcs'].message_type = rpc__pb2._HTLCATTEMPT -_FORWARDHTLCINTERCEPTREQUEST_CUSTOMRECORDSENTRY.containing_type = _FORWARDHTLCINTERCEPTREQUEST -_FORWARDHTLCINTERCEPTREQUEST.fields_by_name['incoming_circuit_key'].message_type = _CIRCUITKEY -_FORWARDHTLCINTERCEPTREQUEST.fields_by_name['custom_records'].message_type = _FORWARDHTLCINTERCEPTREQUEST_CUSTOMRECORDSENTRY -_FORWARDHTLCINTERCEPTRESPONSE.fields_by_name['incoming_circuit_key'].message_type = _CIRCUITKEY -_FORWARDHTLCINTERCEPTRESPONSE.fields_by_name['action'].enum_type = _RESOLVEHOLDFORWARDACTION -_UPDATECHANSTATUSREQUEST.fields_by_name['chan_point'].message_type = rpc__pb2._CHANNELPOINT -_UPDATECHANSTATUSREQUEST.fields_by_name['action'].enum_type = _CHANSTATUSACTION -DESCRIPTOR.message_types_by_name['SendPaymentRequest'] = _SENDPAYMENTREQUEST -DESCRIPTOR.message_types_by_name['TrackPaymentRequest'] = _TRACKPAYMENTREQUEST -DESCRIPTOR.message_types_by_name['RouteFeeRequest'] = _ROUTEFEEREQUEST -DESCRIPTOR.message_types_by_name['RouteFeeResponse'] = _ROUTEFEERESPONSE -DESCRIPTOR.message_types_by_name['SendToRouteRequest'] = _SENDTOROUTEREQUEST -DESCRIPTOR.message_types_by_name['SendToRouteResponse'] = _SENDTOROUTERESPONSE -DESCRIPTOR.message_types_by_name['ResetMissionControlRequest'] = _RESETMISSIONCONTROLREQUEST -DESCRIPTOR.message_types_by_name['ResetMissionControlResponse'] = _RESETMISSIONCONTROLRESPONSE -DESCRIPTOR.message_types_by_name['QueryMissionControlRequest'] = _QUERYMISSIONCONTROLREQUEST -DESCRIPTOR.message_types_by_name['QueryMissionControlResponse'] = _QUERYMISSIONCONTROLRESPONSE -DESCRIPTOR.message_types_by_name['XImportMissionControlRequest'] = _XIMPORTMISSIONCONTROLREQUEST -DESCRIPTOR.message_types_by_name['XImportMissionControlResponse'] = _XIMPORTMISSIONCONTROLRESPONSE -DESCRIPTOR.message_types_by_name['PairHistory'] = _PAIRHISTORY -DESCRIPTOR.message_types_by_name['PairData'] = _PAIRDATA -DESCRIPTOR.message_types_by_name['GetMissionControlConfigRequest'] = _GETMISSIONCONTROLCONFIGREQUEST -DESCRIPTOR.message_types_by_name['GetMissionControlConfigResponse'] = _GETMISSIONCONTROLCONFIGRESPONSE -DESCRIPTOR.message_types_by_name['SetMissionControlConfigRequest'] = _SETMISSIONCONTROLCONFIGREQUEST -DESCRIPTOR.message_types_by_name['SetMissionControlConfigResponse'] = _SETMISSIONCONTROLCONFIGRESPONSE -DESCRIPTOR.message_types_by_name['MissionControlConfig'] = _MISSIONCONTROLCONFIG -DESCRIPTOR.message_types_by_name['QueryProbabilityRequest'] = _QUERYPROBABILITYREQUEST -DESCRIPTOR.message_types_by_name['QueryProbabilityResponse'] = _QUERYPROBABILITYRESPONSE -DESCRIPTOR.message_types_by_name['BuildRouteRequest'] = _BUILDROUTEREQUEST -DESCRIPTOR.message_types_by_name['BuildRouteResponse'] = _BUILDROUTERESPONSE -DESCRIPTOR.message_types_by_name['SubscribeHtlcEventsRequest'] = _SUBSCRIBEHTLCEVENTSREQUEST -DESCRIPTOR.message_types_by_name['HtlcEvent'] = _HTLCEVENT -DESCRIPTOR.message_types_by_name['HtlcInfo'] = _HTLCINFO -DESCRIPTOR.message_types_by_name['ForwardEvent'] = _FORWARDEVENT -DESCRIPTOR.message_types_by_name['ForwardFailEvent'] = _FORWARDFAILEVENT -DESCRIPTOR.message_types_by_name['SettleEvent'] = _SETTLEEVENT -DESCRIPTOR.message_types_by_name['LinkFailEvent'] = _LINKFAILEVENT -DESCRIPTOR.message_types_by_name['PaymentStatus'] = _PAYMENTSTATUS -DESCRIPTOR.message_types_by_name['CircuitKey'] = _CIRCUITKEY -DESCRIPTOR.message_types_by_name['ForwardHtlcInterceptRequest'] = _FORWARDHTLCINTERCEPTREQUEST -DESCRIPTOR.message_types_by_name['ForwardHtlcInterceptResponse'] = _FORWARDHTLCINTERCEPTRESPONSE -DESCRIPTOR.message_types_by_name['UpdateChanStatusRequest'] = _UPDATECHANSTATUSREQUEST -DESCRIPTOR.message_types_by_name['UpdateChanStatusResponse'] = _UPDATECHANSTATUSRESPONSE -DESCRIPTOR.enum_types_by_name['FailureDetail'] = _FAILUREDETAIL -DESCRIPTOR.enum_types_by_name['PaymentState'] = _PAYMENTSTATE -DESCRIPTOR.enum_types_by_name['ResolveHoldForwardAction'] = _RESOLVEHOLDFORWARDACTION -DESCRIPTOR.enum_types_by_name['ChanStatusAction'] = _CHANSTATUSACTION -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -SendPaymentRequest = _reflection.GeneratedProtocolMessageType('SendPaymentRequest', (_message.Message,), { - - 'DestCustomRecordsEntry' : _reflection.GeneratedProtocolMessageType('DestCustomRecordsEntry', (_message.Message,), { - 'DESCRIPTOR' : _SENDPAYMENTREQUEST_DESTCUSTOMRECORDSENTRY, - '__module__' : 'router_pb2' - # @@protoc_insertion_point(class_scope:routerrpc.SendPaymentRequest.DestCustomRecordsEntry) - }) - , - 'DESCRIPTOR' : _SENDPAYMENTREQUEST, - '__module__' : 'router_pb2' - # @@protoc_insertion_point(class_scope:routerrpc.SendPaymentRequest) - }) -_sym_db.RegisterMessage(SendPaymentRequest) -_sym_db.RegisterMessage(SendPaymentRequest.DestCustomRecordsEntry) - -TrackPaymentRequest = _reflection.GeneratedProtocolMessageType('TrackPaymentRequest', (_message.Message,), { - 'DESCRIPTOR' : _TRACKPAYMENTREQUEST, - '__module__' : 'router_pb2' - # @@protoc_insertion_point(class_scope:routerrpc.TrackPaymentRequest) - }) -_sym_db.RegisterMessage(TrackPaymentRequest) - -RouteFeeRequest = _reflection.GeneratedProtocolMessageType('RouteFeeRequest', (_message.Message,), { - 'DESCRIPTOR' : _ROUTEFEEREQUEST, - '__module__' : 'router_pb2' - # @@protoc_insertion_point(class_scope:routerrpc.RouteFeeRequest) - }) -_sym_db.RegisterMessage(RouteFeeRequest) - -RouteFeeResponse = _reflection.GeneratedProtocolMessageType('RouteFeeResponse', (_message.Message,), { - 'DESCRIPTOR' : _ROUTEFEERESPONSE, - '__module__' : 'router_pb2' - # @@protoc_insertion_point(class_scope:routerrpc.RouteFeeResponse) - }) -_sym_db.RegisterMessage(RouteFeeResponse) - -SendToRouteRequest = _reflection.GeneratedProtocolMessageType('SendToRouteRequest', (_message.Message,), { - 'DESCRIPTOR' : _SENDTOROUTEREQUEST, - '__module__' : 'router_pb2' - # @@protoc_insertion_point(class_scope:routerrpc.SendToRouteRequest) - }) -_sym_db.RegisterMessage(SendToRouteRequest) - -SendToRouteResponse = _reflection.GeneratedProtocolMessageType('SendToRouteResponse', (_message.Message,), { - 'DESCRIPTOR' : _SENDTOROUTERESPONSE, - '__module__' : 'router_pb2' - # @@protoc_insertion_point(class_scope:routerrpc.SendToRouteResponse) - }) -_sym_db.RegisterMessage(SendToRouteResponse) - -ResetMissionControlRequest = _reflection.GeneratedProtocolMessageType('ResetMissionControlRequest', (_message.Message,), { - 'DESCRIPTOR' : _RESETMISSIONCONTROLREQUEST, - '__module__' : 'router_pb2' - # @@protoc_insertion_point(class_scope:routerrpc.ResetMissionControlRequest) - }) -_sym_db.RegisterMessage(ResetMissionControlRequest) - -ResetMissionControlResponse = _reflection.GeneratedProtocolMessageType('ResetMissionControlResponse', (_message.Message,), { - 'DESCRIPTOR' : _RESETMISSIONCONTROLRESPONSE, - '__module__' : 'router_pb2' - # @@protoc_insertion_point(class_scope:routerrpc.ResetMissionControlResponse) - }) -_sym_db.RegisterMessage(ResetMissionControlResponse) - -QueryMissionControlRequest = _reflection.GeneratedProtocolMessageType('QueryMissionControlRequest', (_message.Message,), { - 'DESCRIPTOR' : _QUERYMISSIONCONTROLREQUEST, - '__module__' : 'router_pb2' - # @@protoc_insertion_point(class_scope:routerrpc.QueryMissionControlRequest) - }) -_sym_db.RegisterMessage(QueryMissionControlRequest) - -QueryMissionControlResponse = _reflection.GeneratedProtocolMessageType('QueryMissionControlResponse', (_message.Message,), { - 'DESCRIPTOR' : _QUERYMISSIONCONTROLRESPONSE, - '__module__' : 'router_pb2' - # @@protoc_insertion_point(class_scope:routerrpc.QueryMissionControlResponse) - }) -_sym_db.RegisterMessage(QueryMissionControlResponse) - -XImportMissionControlRequest = _reflection.GeneratedProtocolMessageType('XImportMissionControlRequest', (_message.Message,), { - 'DESCRIPTOR' : _XIMPORTMISSIONCONTROLREQUEST, - '__module__' : 'router_pb2' - # @@protoc_insertion_point(class_scope:routerrpc.XImportMissionControlRequest) - }) -_sym_db.RegisterMessage(XImportMissionControlRequest) - -XImportMissionControlResponse = _reflection.GeneratedProtocolMessageType('XImportMissionControlResponse', (_message.Message,), { - 'DESCRIPTOR' : _XIMPORTMISSIONCONTROLRESPONSE, - '__module__' : 'router_pb2' - # @@protoc_insertion_point(class_scope:routerrpc.XImportMissionControlResponse) - }) -_sym_db.RegisterMessage(XImportMissionControlResponse) - -PairHistory = _reflection.GeneratedProtocolMessageType('PairHistory', (_message.Message,), { - 'DESCRIPTOR' : _PAIRHISTORY, - '__module__' : 'router_pb2' - # @@protoc_insertion_point(class_scope:routerrpc.PairHistory) - }) -_sym_db.RegisterMessage(PairHistory) - -PairData = _reflection.GeneratedProtocolMessageType('PairData', (_message.Message,), { - 'DESCRIPTOR' : _PAIRDATA, - '__module__' : 'router_pb2' - # @@protoc_insertion_point(class_scope:routerrpc.PairData) - }) -_sym_db.RegisterMessage(PairData) - -GetMissionControlConfigRequest = _reflection.GeneratedProtocolMessageType('GetMissionControlConfigRequest', (_message.Message,), { - 'DESCRIPTOR' : _GETMISSIONCONTROLCONFIGREQUEST, - '__module__' : 'router_pb2' - # @@protoc_insertion_point(class_scope:routerrpc.GetMissionControlConfigRequest) - }) -_sym_db.RegisterMessage(GetMissionControlConfigRequest) - -GetMissionControlConfigResponse = _reflection.GeneratedProtocolMessageType('GetMissionControlConfigResponse', (_message.Message,), { - 'DESCRIPTOR' : _GETMISSIONCONTROLCONFIGRESPONSE, - '__module__' : 'router_pb2' - # @@protoc_insertion_point(class_scope:routerrpc.GetMissionControlConfigResponse) - }) -_sym_db.RegisterMessage(GetMissionControlConfigResponse) - -SetMissionControlConfigRequest = _reflection.GeneratedProtocolMessageType('SetMissionControlConfigRequest', (_message.Message,), { - 'DESCRIPTOR' : _SETMISSIONCONTROLCONFIGREQUEST, - '__module__' : 'router_pb2' - # @@protoc_insertion_point(class_scope:routerrpc.SetMissionControlConfigRequest) - }) -_sym_db.RegisterMessage(SetMissionControlConfigRequest) - -SetMissionControlConfigResponse = _reflection.GeneratedProtocolMessageType('SetMissionControlConfigResponse', (_message.Message,), { - 'DESCRIPTOR' : _SETMISSIONCONTROLCONFIGRESPONSE, - '__module__' : 'router_pb2' - # @@protoc_insertion_point(class_scope:routerrpc.SetMissionControlConfigResponse) - }) -_sym_db.RegisterMessage(SetMissionControlConfigResponse) - -MissionControlConfig = _reflection.GeneratedProtocolMessageType('MissionControlConfig', (_message.Message,), { - 'DESCRIPTOR' : _MISSIONCONTROLCONFIG, - '__module__' : 'router_pb2' - # @@protoc_insertion_point(class_scope:routerrpc.MissionControlConfig) - }) -_sym_db.RegisterMessage(MissionControlConfig) - -QueryProbabilityRequest = _reflection.GeneratedProtocolMessageType('QueryProbabilityRequest', (_message.Message,), { - 'DESCRIPTOR' : _QUERYPROBABILITYREQUEST, - '__module__' : 'router_pb2' - # @@protoc_insertion_point(class_scope:routerrpc.QueryProbabilityRequest) - }) -_sym_db.RegisterMessage(QueryProbabilityRequest) - -QueryProbabilityResponse = _reflection.GeneratedProtocolMessageType('QueryProbabilityResponse', (_message.Message,), { - 'DESCRIPTOR' : _QUERYPROBABILITYRESPONSE, - '__module__' : 'router_pb2' - # @@protoc_insertion_point(class_scope:routerrpc.QueryProbabilityResponse) - }) -_sym_db.RegisterMessage(QueryProbabilityResponse) - -BuildRouteRequest = _reflection.GeneratedProtocolMessageType('BuildRouteRequest', (_message.Message,), { - 'DESCRIPTOR' : _BUILDROUTEREQUEST, - '__module__' : 'router_pb2' - # @@protoc_insertion_point(class_scope:routerrpc.BuildRouteRequest) - }) -_sym_db.RegisterMessage(BuildRouteRequest) - -BuildRouteResponse = _reflection.GeneratedProtocolMessageType('BuildRouteResponse', (_message.Message,), { - 'DESCRIPTOR' : _BUILDROUTERESPONSE, - '__module__' : 'router_pb2' - # @@protoc_insertion_point(class_scope:routerrpc.BuildRouteResponse) - }) -_sym_db.RegisterMessage(BuildRouteResponse) - -SubscribeHtlcEventsRequest = _reflection.GeneratedProtocolMessageType('SubscribeHtlcEventsRequest', (_message.Message,), { - 'DESCRIPTOR' : _SUBSCRIBEHTLCEVENTSREQUEST, - '__module__' : 'router_pb2' - # @@protoc_insertion_point(class_scope:routerrpc.SubscribeHtlcEventsRequest) - }) -_sym_db.RegisterMessage(SubscribeHtlcEventsRequest) - -HtlcEvent = _reflection.GeneratedProtocolMessageType('HtlcEvent', (_message.Message,), { - 'DESCRIPTOR' : _HTLCEVENT, - '__module__' : 'router_pb2' - # @@protoc_insertion_point(class_scope:routerrpc.HtlcEvent) - }) -_sym_db.RegisterMessage(HtlcEvent) - -HtlcInfo = _reflection.GeneratedProtocolMessageType('HtlcInfo', (_message.Message,), { - 'DESCRIPTOR' : _HTLCINFO, - '__module__' : 'router_pb2' - # @@protoc_insertion_point(class_scope:routerrpc.HtlcInfo) - }) -_sym_db.RegisterMessage(HtlcInfo) - -ForwardEvent = _reflection.GeneratedProtocolMessageType('ForwardEvent', (_message.Message,), { - 'DESCRIPTOR' : _FORWARDEVENT, - '__module__' : 'router_pb2' - # @@protoc_insertion_point(class_scope:routerrpc.ForwardEvent) - }) -_sym_db.RegisterMessage(ForwardEvent) - -ForwardFailEvent = _reflection.GeneratedProtocolMessageType('ForwardFailEvent', (_message.Message,), { - 'DESCRIPTOR' : _FORWARDFAILEVENT, - '__module__' : 'router_pb2' - # @@protoc_insertion_point(class_scope:routerrpc.ForwardFailEvent) - }) -_sym_db.RegisterMessage(ForwardFailEvent) - -SettleEvent = _reflection.GeneratedProtocolMessageType('SettleEvent', (_message.Message,), { - 'DESCRIPTOR' : _SETTLEEVENT, - '__module__' : 'router_pb2' - # @@protoc_insertion_point(class_scope:routerrpc.SettleEvent) - }) -_sym_db.RegisterMessage(SettleEvent) - -LinkFailEvent = _reflection.GeneratedProtocolMessageType('LinkFailEvent', (_message.Message,), { - 'DESCRIPTOR' : _LINKFAILEVENT, - '__module__' : 'router_pb2' - # @@protoc_insertion_point(class_scope:routerrpc.LinkFailEvent) - }) -_sym_db.RegisterMessage(LinkFailEvent) - -PaymentStatus = _reflection.GeneratedProtocolMessageType('PaymentStatus', (_message.Message,), { - 'DESCRIPTOR' : _PAYMENTSTATUS, - '__module__' : 'router_pb2' - # @@protoc_insertion_point(class_scope:routerrpc.PaymentStatus) - }) -_sym_db.RegisterMessage(PaymentStatus) - -CircuitKey = _reflection.GeneratedProtocolMessageType('CircuitKey', (_message.Message,), { - 'DESCRIPTOR' : _CIRCUITKEY, - '__module__' : 'router_pb2' - # @@protoc_insertion_point(class_scope:routerrpc.CircuitKey) - }) -_sym_db.RegisterMessage(CircuitKey) - -ForwardHtlcInterceptRequest = _reflection.GeneratedProtocolMessageType('ForwardHtlcInterceptRequest', (_message.Message,), { - - 'CustomRecordsEntry' : _reflection.GeneratedProtocolMessageType('CustomRecordsEntry', (_message.Message,), { - 'DESCRIPTOR' : _FORWARDHTLCINTERCEPTREQUEST_CUSTOMRECORDSENTRY, - '__module__' : 'router_pb2' - # @@protoc_insertion_point(class_scope:routerrpc.ForwardHtlcInterceptRequest.CustomRecordsEntry) - }) - , - 'DESCRIPTOR' : _FORWARDHTLCINTERCEPTREQUEST, - '__module__' : 'router_pb2' - # @@protoc_insertion_point(class_scope:routerrpc.ForwardHtlcInterceptRequest) - }) -_sym_db.RegisterMessage(ForwardHtlcInterceptRequest) -_sym_db.RegisterMessage(ForwardHtlcInterceptRequest.CustomRecordsEntry) - -ForwardHtlcInterceptResponse = _reflection.GeneratedProtocolMessageType('ForwardHtlcInterceptResponse', (_message.Message,), { - 'DESCRIPTOR' : _FORWARDHTLCINTERCEPTRESPONSE, - '__module__' : 'router_pb2' - # @@protoc_insertion_point(class_scope:routerrpc.ForwardHtlcInterceptResponse) - }) -_sym_db.RegisterMessage(ForwardHtlcInterceptResponse) - -UpdateChanStatusRequest = _reflection.GeneratedProtocolMessageType('UpdateChanStatusRequest', (_message.Message,), { - 'DESCRIPTOR' : _UPDATECHANSTATUSREQUEST, - '__module__' : 'router_pb2' - # @@protoc_insertion_point(class_scope:routerrpc.UpdateChanStatusRequest) - }) -_sym_db.RegisterMessage(UpdateChanStatusRequest) - -UpdateChanStatusResponse = _reflection.GeneratedProtocolMessageType('UpdateChanStatusResponse', (_message.Message,), { - 'DESCRIPTOR' : _UPDATECHANSTATUSRESPONSE, - '__module__' : 'router_pb2' - # @@protoc_insertion_point(class_scope:routerrpc.UpdateChanStatusResponse) - }) -_sym_db.RegisterMessage(UpdateChanStatusResponse) - - -DESCRIPTOR._options = None -_SENDPAYMENTREQUEST_DESTCUSTOMRECORDSENTRY._options = None -_SENDPAYMENTREQUEST.fields_by_name['outgoing_chan_id']._options = None -_BUILDROUTEREQUEST.fields_by_name['outgoing_chan_id']._options = None -_FORWARDHTLCINTERCEPTREQUEST_CUSTOMRECORDSENTRY._options = None - -_ROUTER = _descriptor.ServiceDescriptor( - name='Router', - full_name='routerrpc.Router', - file=DESCRIPTOR, - index=0, - serialized_options=None, - create_key=_descriptor._internal_create_key, - serialized_start=4934, - serialized_end=6455, - methods=[ - _descriptor.MethodDescriptor( - name='SendPaymentV2', - full_name='routerrpc.Router.SendPaymentV2', - index=0, - containing_service=None, - input_type=_SENDPAYMENTREQUEST, - output_type=rpc__pb2._PAYMENT, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='TrackPaymentV2', - full_name='routerrpc.Router.TrackPaymentV2', - index=1, - containing_service=None, - input_type=_TRACKPAYMENTREQUEST, - output_type=rpc__pb2._PAYMENT, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='EstimateRouteFee', - full_name='routerrpc.Router.EstimateRouteFee', - index=2, - containing_service=None, - input_type=_ROUTEFEEREQUEST, - output_type=_ROUTEFEERESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SendToRoute', - full_name='routerrpc.Router.SendToRoute', - index=3, - containing_service=None, - input_type=_SENDTOROUTEREQUEST, - output_type=_SENDTOROUTERESPONSE, - serialized_options=b'\210\002\001', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SendToRouteV2', - full_name='routerrpc.Router.SendToRouteV2', - index=4, - containing_service=None, - input_type=_SENDTOROUTEREQUEST, - output_type=rpc__pb2._HTLCATTEMPT, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='ResetMissionControl', - full_name='routerrpc.Router.ResetMissionControl', - index=5, - containing_service=None, - input_type=_RESETMISSIONCONTROLREQUEST, - output_type=_RESETMISSIONCONTROLRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='QueryMissionControl', - full_name='routerrpc.Router.QueryMissionControl', - index=6, - containing_service=None, - input_type=_QUERYMISSIONCONTROLREQUEST, - output_type=_QUERYMISSIONCONTROLRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='XImportMissionControl', - full_name='routerrpc.Router.XImportMissionControl', - index=7, - containing_service=None, - input_type=_XIMPORTMISSIONCONTROLREQUEST, - output_type=_XIMPORTMISSIONCONTROLRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='GetMissionControlConfig', - full_name='routerrpc.Router.GetMissionControlConfig', - index=8, - containing_service=None, - input_type=_GETMISSIONCONTROLCONFIGREQUEST, - output_type=_GETMISSIONCONTROLCONFIGRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SetMissionControlConfig', - full_name='routerrpc.Router.SetMissionControlConfig', - index=9, - containing_service=None, - input_type=_SETMISSIONCONTROLCONFIGREQUEST, - output_type=_SETMISSIONCONTROLCONFIGRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='QueryProbability', - full_name='routerrpc.Router.QueryProbability', - index=10, - containing_service=None, - input_type=_QUERYPROBABILITYREQUEST, - output_type=_QUERYPROBABILITYRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='BuildRoute', - full_name='routerrpc.Router.BuildRoute', - index=11, - containing_service=None, - input_type=_BUILDROUTEREQUEST, - output_type=_BUILDROUTERESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SubscribeHtlcEvents', - full_name='routerrpc.Router.SubscribeHtlcEvents', - index=12, - containing_service=None, - input_type=_SUBSCRIBEHTLCEVENTSREQUEST, - output_type=_HTLCEVENT, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SendPayment', - full_name='routerrpc.Router.SendPayment', - index=13, - containing_service=None, - input_type=_SENDPAYMENTREQUEST, - output_type=_PAYMENTSTATUS, - serialized_options=b'\210\002\001', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='TrackPayment', - full_name='routerrpc.Router.TrackPayment', - index=14, - containing_service=None, - input_type=_TRACKPAYMENTREQUEST, - output_type=_PAYMENTSTATUS, - serialized_options=b'\210\002\001', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='HtlcInterceptor', - full_name='routerrpc.Router.HtlcInterceptor', - index=15, - containing_service=None, - input_type=_FORWARDHTLCINTERCEPTRESPONSE, - output_type=_FORWARDHTLCINTERCEPTREQUEST, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='UpdateChanStatus', - full_name='routerrpc.Router.UpdateChanStatus', - index=16, - containing_service=None, - input_type=_UPDATECHANSTATUSREQUEST, - output_type=_UPDATECHANSTATUSRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), -]) -_sym_db.RegisterServiceDescriptor(_ROUTER) - -DESCRIPTOR.services_by_name['Router'] = _ROUTER - +from . import lightning_pb2 as lightning__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0crouter.proto\x12\trouterrpc\x1a\x0flightning.proto\"\xb7\x05\n\x12SendPaymentRequest\x12\x0c\n\x04\x64\x65st\x18\x01 \x01(\x0c\x12\x0b\n\x03\x61mt\x18\x02 \x01(\x03\x12\x14\n\x0cpayment_hash\x18\x03 \x01(\x0c\x12\x18\n\x10\x66inal_cltv_delta\x18\x04 \x01(\x05\x12\x17\n\x0fpayment_request\x18\x05 \x01(\t\x12\x17\n\x0ftimeout_seconds\x18\x06 \x01(\x05\x12\x15\n\rfee_limit_sat\x18\x07 \x01(\x03\x12\x1e\n\x10outgoing_chan_id\x18\x08 \x01(\x04\x42\x04\x18\x01\x30\x01\x12\x12\n\ncltv_limit\x18\t \x01(\x05\x12%\n\x0broute_hints\x18\n \x03(\x0b\x32\x10.lnrpc.RouteHint\x12Q\n\x13\x64\x65st_custom_records\x18\x0b \x03(\x0b\x32\x34.routerrpc.SendPaymentRequest.DestCustomRecordsEntry\x12\x10\n\x08\x61mt_msat\x18\x0c \x01(\x03\x12\x16\n\x0e\x66\x65\x65_limit_msat\x18\r \x01(\x03\x12\x17\n\x0flast_hop_pubkey\x18\x0e \x01(\x0c\x12\x1a\n\x12\x61llow_self_payment\x18\x0f \x01(\x08\x12(\n\rdest_features\x18\x10 \x03(\x0e\x32\x11.lnrpc.FeatureBit\x12\x11\n\tmax_parts\x18\x11 \x01(\r\x12\x1b\n\x13no_inflight_updates\x18\x12 \x01(\x08\x12\x19\n\x11outgoing_chan_ids\x18\x13 \x03(\x04\x12\x14\n\x0cpayment_addr\x18\x14 \x01(\x0c\x12\x1b\n\x13max_shard_size_msat\x18\x15 \x01(\x04\x12\x0b\n\x03\x61mp\x18\x16 \x01(\x08\x12\x11\n\ttime_pref\x18\x17 \x01(\x01\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\"H\n\x13TrackPaymentRequest\x12\x14\n\x0cpayment_hash\x18\x01 \x01(\x0c\x12\x1b\n\x13no_inflight_updates\x18\x02 \x01(\x08\"3\n\x14TrackPaymentsRequest\x12\x1b\n\x13no_inflight_updates\x18\x01 \x01(\x08\"Z\n\x0fRouteFeeRequest\x12\x0c\n\x04\x64\x65st\x18\x01 \x01(\x0c\x12\x0f\n\x07\x61mt_sat\x18\x02 \x01(\x03\x12\x17\n\x0fpayment_request\x18\x03 \x01(\t\x12\x0f\n\x07timeout\x18\x04 \x01(\r\"z\n\x10RouteFeeResponse\x12\x18\n\x10routing_fee_msat\x18\x01 \x01(\x03\x12\x17\n\x0ftime_lock_delay\x18\x02 \x01(\x03\x12\x33\n\x0e\x66\x61ilure_reason\x18\x05 \x01(\x0e\x32\x1b.lnrpc.PaymentFailureReason\"^\n\x12SendToRouteRequest\x12\x14\n\x0cpayment_hash\x18\x01 \x01(\x0c\x12\x1b\n\x05route\x18\x02 \x01(\x0b\x32\x0c.lnrpc.Route\x12\x15\n\rskip_temp_err\x18\x03 \x01(\x08\"H\n\x13SendToRouteResponse\x12\x10\n\x08preimage\x18\x01 \x01(\x0c\x12\x1f\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32\x0e.lnrpc.Failure\"\x1c\n\x1aResetMissionControlRequest\"\x1d\n\x1bResetMissionControlResponse\"\x1c\n\x1aQueryMissionControlRequest\"J\n\x1bQueryMissionControlResponse\x12%\n\x05pairs\x18\x02 \x03(\x0b\x32\x16.routerrpc.PairHistoryJ\x04\x08\x01\x10\x02\"T\n\x1cXImportMissionControlRequest\x12%\n\x05pairs\x18\x01 \x03(\x0b\x32\x16.routerrpc.PairHistory\x12\r\n\x05\x66orce\x18\x02 \x01(\x08\"\x1f\n\x1dXImportMissionControlResponse\"o\n\x0bPairHistory\x12\x11\n\tnode_from\x18\x01 \x01(\x0c\x12\x0f\n\x07node_to\x18\x02 \x01(\x0c\x12$\n\x07history\x18\x07 \x01(\x0b\x32\x13.routerrpc.PairDataJ\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05J\x04\x08\x05\x10\x06J\x04\x08\x06\x10\x07\"\x99\x01\n\x08PairData\x12\x11\n\tfail_time\x18\x01 \x01(\x03\x12\x14\n\x0c\x66\x61il_amt_sat\x18\x02 \x01(\x03\x12\x15\n\rfail_amt_msat\x18\x04 \x01(\x03\x12\x14\n\x0csuccess_time\x18\x05 \x01(\x03\x12\x17\n\x0fsuccess_amt_sat\x18\x06 \x01(\x03\x12\x18\n\x10success_amt_msat\x18\x07 \x01(\x03J\x04\x08\x03\x10\x04\" \n\x1eGetMissionControlConfigRequest\"R\n\x1fGetMissionControlConfigResponse\x12/\n\x06\x63onfig\x18\x01 \x01(\x0b\x32\x1f.routerrpc.MissionControlConfig\"Q\n\x1eSetMissionControlConfigRequest\x12/\n\x06\x63onfig\x18\x01 \x01(\x0b\x32\x1f.routerrpc.MissionControlConfig\"!\n\x1fSetMissionControlConfigResponse\"\x93\x03\n\x14MissionControlConfig\x12\x1d\n\x11half_life_seconds\x18\x01 \x01(\x04\x42\x02\x18\x01\x12\x1b\n\x0fhop_probability\x18\x02 \x01(\x02\x42\x02\x18\x01\x12\x12\n\x06weight\x18\x03 \x01(\x02\x42\x02\x18\x01\x12\x1f\n\x17maximum_payment_results\x18\x04 \x01(\r\x12&\n\x1eminimum_failure_relax_interval\x18\x05 \x01(\x04\x12?\n\x05model\x18\x06 \x01(\x0e\x32\x30.routerrpc.MissionControlConfig.ProbabilityModel\x12/\n\x07\x61priori\x18\x07 \x01(\x0b\x32\x1c.routerrpc.AprioriParametersH\x00\x12/\n\x07\x62imodal\x18\x08 \x01(\x0b\x32\x1c.routerrpc.BimodalParametersH\x00\",\n\x10ProbabilityModel\x12\x0b\n\x07\x41PRIORI\x10\x00\x12\x0b\n\x07\x42IMODAL\x10\x01\x42\x11\n\x0f\x45stimatorConfig\"P\n\x11\x42imodalParameters\x12\x13\n\x0bnode_weight\x18\x01 \x01(\x01\x12\x12\n\nscale_msat\x18\x02 \x01(\x04\x12\x12\n\ndecay_time\x18\x03 \x01(\x04\"r\n\x11\x41prioriParameters\x12\x19\n\x11half_life_seconds\x18\x01 \x01(\x04\x12\x17\n\x0fhop_probability\x18\x02 \x01(\x01\x12\x0e\n\x06weight\x18\x03 \x01(\x01\x12\x19\n\x11\x63\x61pacity_fraction\x18\x04 \x01(\x01\"O\n\x17QueryProbabilityRequest\x12\x11\n\tfrom_node\x18\x01 \x01(\x0c\x12\x0f\n\x07to_node\x18\x02 \x01(\x0c\x12\x10\n\x08\x61mt_msat\x18\x03 \x01(\x03\"U\n\x18QueryProbabilityResponse\x12\x13\n\x0bprobability\x18\x01 \x01(\x01\x12$\n\x07history\x18\x02 \x01(\x0b\x32\x13.routerrpc.PairData\"\x88\x01\n\x11\x42uildRouteRequest\x12\x10\n\x08\x61mt_msat\x18\x01 \x01(\x03\x12\x18\n\x10\x66inal_cltv_delta\x18\x02 \x01(\x05\x12\x1c\n\x10outgoing_chan_id\x18\x03 \x01(\x04\x42\x02\x30\x01\x12\x13\n\x0bhop_pubkeys\x18\x04 \x03(\x0c\x12\x14\n\x0cpayment_addr\x18\x05 \x01(\x0c\"1\n\x12\x42uildRouteResponse\x12\x1b\n\x05route\x18\x01 \x01(\x0b\x32\x0c.lnrpc.Route\"\x1c\n\x1aSubscribeHtlcEventsRequest\"\xcb\x04\n\tHtlcEvent\x12\x1b\n\x13incoming_channel_id\x18\x01 \x01(\x04\x12\x1b\n\x13outgoing_channel_id\x18\x02 \x01(\x04\x12\x18\n\x10incoming_htlc_id\x18\x03 \x01(\x04\x12\x18\n\x10outgoing_htlc_id\x18\x04 \x01(\x04\x12\x14\n\x0ctimestamp_ns\x18\x05 \x01(\x04\x12\x32\n\nevent_type\x18\x06 \x01(\x0e\x32\x1e.routerrpc.HtlcEvent.EventType\x12\x30\n\rforward_event\x18\x07 \x01(\x0b\x32\x17.routerrpc.ForwardEventH\x00\x12\x39\n\x12\x66orward_fail_event\x18\x08 \x01(\x0b\x32\x1b.routerrpc.ForwardFailEventH\x00\x12.\n\x0csettle_event\x18\t \x01(\x0b\x32\x16.routerrpc.SettleEventH\x00\x12\x33\n\x0flink_fail_event\x18\n \x01(\x0b\x32\x18.routerrpc.LinkFailEventH\x00\x12\x36\n\x10subscribed_event\x18\x0b \x01(\x0b\x32\x1a.routerrpc.SubscribedEventH\x00\x12\x35\n\x10\x66inal_htlc_event\x18\x0c \x01(\x0b\x32\x19.routerrpc.FinalHtlcEventH\x00\"<\n\tEventType\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x08\n\x04SEND\x10\x01\x12\x0b\n\x07RECEIVE\x10\x02\x12\x0b\n\x07\x46ORWARD\x10\x03\x42\x07\n\x05\x65vent\"v\n\x08HtlcInfo\x12\x19\n\x11incoming_timelock\x18\x01 \x01(\r\x12\x19\n\x11outgoing_timelock\x18\x02 \x01(\r\x12\x19\n\x11incoming_amt_msat\x18\x03 \x01(\x04\x12\x19\n\x11outgoing_amt_msat\x18\x04 \x01(\x04\"1\n\x0c\x46orwardEvent\x12!\n\x04info\x18\x01 \x01(\x0b\x32\x13.routerrpc.HtlcInfo\"\x12\n\x10\x46orwardFailEvent\"\x1f\n\x0bSettleEvent\x12\x10\n\x08preimage\x18\x01 \x01(\x0c\"3\n\x0e\x46inalHtlcEvent\x12\x0f\n\x07settled\x18\x01 \x01(\x08\x12\x10\n\x08offchain\x18\x02 \x01(\x08\"\x11\n\x0fSubscribedEvent\"\xae\x01\n\rLinkFailEvent\x12!\n\x04info\x18\x01 \x01(\x0b\x32\x13.routerrpc.HtlcInfo\x12\x30\n\x0cwire_failure\x18\x02 \x01(\x0e\x32\x1a.lnrpc.Failure.FailureCode\x12\x30\n\x0e\x66\x61ilure_detail\x18\x03 \x01(\x0e\x32\x18.routerrpc.FailureDetail\x12\x16\n\x0e\x66\x61ilure_string\x18\x04 \x01(\t\"r\n\rPaymentStatus\x12&\n\x05state\x18\x01 \x01(\x0e\x32\x17.routerrpc.PaymentState\x12\x10\n\x08preimage\x18\x02 \x01(\x0c\x12!\n\x05htlcs\x18\x04 \x03(\x0b\x32\x12.lnrpc.HTLCAttemptJ\x04\x08\x03\x10\x04\".\n\nCircuitKey\x12\x0f\n\x07\x63han_id\x18\x01 \x01(\x04\x12\x0f\n\x07htlc_id\x18\x02 \x01(\x04\"\xb1\x03\n\x1b\x46orwardHtlcInterceptRequest\x12\x33\n\x14incoming_circuit_key\x18\x01 \x01(\x0b\x32\x15.routerrpc.CircuitKey\x12\x1c\n\x14incoming_amount_msat\x18\x05 \x01(\x04\x12\x17\n\x0fincoming_expiry\x18\x06 \x01(\r\x12\x14\n\x0cpayment_hash\x18\x02 \x01(\x0c\x12\"\n\x1aoutgoing_requested_chan_id\x18\x07 \x01(\x04\x12\x1c\n\x14outgoing_amount_msat\x18\x03 \x01(\x04\x12\x17\n\x0foutgoing_expiry\x18\x04 \x01(\r\x12Q\n\x0e\x63ustom_records\x18\x08 \x03(\x0b\x32\x39.routerrpc.ForwardHtlcInterceptRequest.CustomRecordsEntry\x12\x12\n\nonion_blob\x18\t \x01(\x0c\x12\x18\n\x10\x61uto_fail_height\x18\n \x01(\x05\x1a\x34\n\x12\x43ustomRecordsEntry\x12\x0b\n\x03key\x18\x01 \x01(\x04\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\"\xe5\x01\n\x1c\x46orwardHtlcInterceptResponse\x12\x33\n\x14incoming_circuit_key\x18\x01 \x01(\x0b\x32\x15.routerrpc.CircuitKey\x12\x33\n\x06\x61\x63tion\x18\x02 \x01(\x0e\x32#.routerrpc.ResolveHoldForwardAction\x12\x10\n\x08preimage\x18\x03 \x01(\x0c\x12\x17\n\x0f\x66\x61ilure_message\x18\x04 \x01(\x0c\x12\x30\n\x0c\x66\x61ilure_code\x18\x05 \x01(\x0e\x32\x1a.lnrpc.Failure.FailureCode\"o\n\x17UpdateChanStatusRequest\x12\'\n\nchan_point\x18\x01 \x01(\x0b\x32\x13.lnrpc.ChannelPoint\x12+\n\x06\x61\x63tion\x18\x02 \x01(\x0e\x32\x1b.routerrpc.ChanStatusAction\"\x1a\n\x18UpdateChanStatusResponse*\x81\x04\n\rFailureDetail\x12\x0b\n\x07UNKNOWN\x10\x00\x12\r\n\tNO_DETAIL\x10\x01\x12\x10\n\x0cONION_DECODE\x10\x02\x12\x15\n\x11LINK_NOT_ELIGIBLE\x10\x03\x12\x14\n\x10ON_CHAIN_TIMEOUT\x10\x04\x12\x14\n\x10HTLC_EXCEEDS_MAX\x10\x05\x12\x18\n\x14INSUFFICIENT_BALANCE\x10\x06\x12\x16\n\x12INCOMPLETE_FORWARD\x10\x07\x12\x13\n\x0fHTLC_ADD_FAILED\x10\x08\x12\x15\n\x11\x46ORWARDS_DISABLED\x10\t\x12\x14\n\x10INVOICE_CANCELED\x10\n\x12\x15\n\x11INVOICE_UNDERPAID\x10\x0b\x12\x1b\n\x17INVOICE_EXPIRY_TOO_SOON\x10\x0c\x12\x14\n\x10INVOICE_NOT_OPEN\x10\r\x12\x17\n\x13MPP_INVOICE_TIMEOUT\x10\x0e\x12\x14\n\x10\x41\x44\x44RESS_MISMATCH\x10\x0f\x12\x16\n\x12SET_TOTAL_MISMATCH\x10\x10\x12\x15\n\x11SET_TOTAL_TOO_LOW\x10\x11\x12\x10\n\x0cSET_OVERPAID\x10\x12\x12\x13\n\x0fUNKNOWN_INVOICE\x10\x13\x12\x13\n\x0fINVALID_KEYSEND\x10\x14\x12\x13\n\x0fMPP_IN_PROGRESS\x10\x15\x12\x12\n\x0e\x43IRCULAR_ROUTE\x10\x16*\xae\x01\n\x0cPaymentState\x12\r\n\tIN_FLIGHT\x10\x00\x12\r\n\tSUCCEEDED\x10\x01\x12\x12\n\x0e\x46\x41ILED_TIMEOUT\x10\x02\x12\x13\n\x0f\x46\x41ILED_NO_ROUTE\x10\x03\x12\x10\n\x0c\x46\x41ILED_ERROR\x10\x04\x12$\n FAILED_INCORRECT_PAYMENT_DETAILS\x10\x05\x12\x1f\n\x1b\x46\x41ILED_INSUFFICIENT_BALANCE\x10\x06*<\n\x18ResolveHoldForwardAction\x12\n\n\x06SETTLE\x10\x00\x12\x08\n\x04\x46\x41IL\x10\x01\x12\n\n\x06RESUME\x10\x02*5\n\x10\x43hanStatusAction\x12\n\n\x06\x45NABLE\x10\x00\x12\x0b\n\x07\x44ISABLE\x10\x01\x12\x08\n\x04\x41UTO\x10\x02\x32\xb5\x0c\n\x06Router\x12@\n\rSendPaymentV2\x12\x1d.routerrpc.SendPaymentRequest\x1a\x0e.lnrpc.Payment0\x01\x12\x42\n\x0eTrackPaymentV2\x12\x1e.routerrpc.TrackPaymentRequest\x1a\x0e.lnrpc.Payment0\x01\x12\x42\n\rTrackPayments\x12\x1f.routerrpc.TrackPaymentsRequest\x1a\x0e.lnrpc.Payment0\x01\x12K\n\x10\x45stimateRouteFee\x12\x1a.routerrpc.RouteFeeRequest\x1a\x1b.routerrpc.RouteFeeResponse\x12Q\n\x0bSendToRoute\x12\x1d.routerrpc.SendToRouteRequest\x1a\x1e.routerrpc.SendToRouteResponse\"\x03\x88\x02\x01\x12\x42\n\rSendToRouteV2\x12\x1d.routerrpc.SendToRouteRequest\x1a\x12.lnrpc.HTLCAttempt\x12\x64\n\x13ResetMissionControl\x12%.routerrpc.ResetMissionControlRequest\x1a&.routerrpc.ResetMissionControlResponse\x12\x64\n\x13QueryMissionControl\x12%.routerrpc.QueryMissionControlRequest\x1a&.routerrpc.QueryMissionControlResponse\x12j\n\x15XImportMissionControl\x12\'.routerrpc.XImportMissionControlRequest\x1a(.routerrpc.XImportMissionControlResponse\x12p\n\x17GetMissionControlConfig\x12).routerrpc.GetMissionControlConfigRequest\x1a*.routerrpc.GetMissionControlConfigResponse\x12p\n\x17SetMissionControlConfig\x12).routerrpc.SetMissionControlConfigRequest\x1a*.routerrpc.SetMissionControlConfigResponse\x12[\n\x10QueryProbability\x12\".routerrpc.QueryProbabilityRequest\x1a#.routerrpc.QueryProbabilityResponse\x12I\n\nBuildRoute\x12\x1c.routerrpc.BuildRouteRequest\x1a\x1d.routerrpc.BuildRouteResponse\x12T\n\x13SubscribeHtlcEvents\x12%.routerrpc.SubscribeHtlcEventsRequest\x1a\x14.routerrpc.HtlcEvent0\x01\x12M\n\x0bSendPayment\x12\x1d.routerrpc.SendPaymentRequest\x1a\x18.routerrpc.PaymentStatus\"\x03\x88\x02\x01\x30\x01\x12O\n\x0cTrackPayment\x12\x1e.routerrpc.TrackPaymentRequest\x1a\x18.routerrpc.PaymentStatus\"\x03\x88\x02\x01\x30\x01\x12\x66\n\x0fHtlcInterceptor\x12\'.routerrpc.ForwardHtlcInterceptResponse\x1a&.routerrpc.ForwardHtlcInterceptRequest(\x01\x30\x01\x12[\n\x10UpdateChanStatus\x12\".routerrpc.UpdateChanStatusRequest\x1a#.routerrpc.UpdateChanStatusResponseB1Z/github.com/lightningnetwork/lnd/lnrpc/routerrpcb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'router_pb2', _globals) +if not _descriptor._USE_C_DESCRIPTORS: + _globals['DESCRIPTOR']._loaded_options = None + _globals['DESCRIPTOR']._serialized_options = b'Z/github.com/lightningnetwork/lnd/lnrpc/routerrpc' + _globals['_SENDPAYMENTREQUEST_DESTCUSTOMRECORDSENTRY']._loaded_options = None + _globals['_SENDPAYMENTREQUEST_DESTCUSTOMRECORDSENTRY']._serialized_options = b'8\001' + _globals['_SENDPAYMENTREQUEST'].fields_by_name['outgoing_chan_id']._loaded_options = None + _globals['_SENDPAYMENTREQUEST'].fields_by_name['outgoing_chan_id']._serialized_options = b'\030\0010\001' + _globals['_MISSIONCONTROLCONFIG'].fields_by_name['half_life_seconds']._loaded_options = None + _globals['_MISSIONCONTROLCONFIG'].fields_by_name['half_life_seconds']._serialized_options = b'\030\001' + _globals['_MISSIONCONTROLCONFIG'].fields_by_name['hop_probability']._loaded_options = None + _globals['_MISSIONCONTROLCONFIG'].fields_by_name['hop_probability']._serialized_options = b'\030\001' + _globals['_MISSIONCONTROLCONFIG'].fields_by_name['weight']._loaded_options = None + _globals['_MISSIONCONTROLCONFIG'].fields_by_name['weight']._serialized_options = b'\030\001' + _globals['_BUILDROUTEREQUEST'].fields_by_name['outgoing_chan_id']._loaded_options = None + _globals['_BUILDROUTEREQUEST'].fields_by_name['outgoing_chan_id']._serialized_options = b'0\001' + _globals['_FORWARDHTLCINTERCEPTREQUEST_CUSTOMRECORDSENTRY']._loaded_options = None + _globals['_FORWARDHTLCINTERCEPTREQUEST_CUSTOMRECORDSENTRY']._serialized_options = b'8\001' + _globals['_ROUTER'].methods_by_name['SendToRoute']._loaded_options = None + _globals['_ROUTER'].methods_by_name['SendToRoute']._serialized_options = b'\210\002\001' + _globals['_ROUTER'].methods_by_name['SendPayment']._loaded_options = None + _globals['_ROUTER'].methods_by_name['SendPayment']._serialized_options = b'\210\002\001' + _globals['_ROUTER'].methods_by_name['TrackPayment']._loaded_options = None + _globals['_ROUTER'].methods_by_name['TrackPayment']._serialized_options = b'\210\002\001' + _globals['_FAILUREDETAIL']._serialized_start=5075 + _globals['_FAILUREDETAIL']._serialized_end=5588 + _globals['_PAYMENTSTATE']._serialized_start=5591 + _globals['_PAYMENTSTATE']._serialized_end=5765 + _globals['_RESOLVEHOLDFORWARDACTION']._serialized_start=5767 + _globals['_RESOLVEHOLDFORWARDACTION']._serialized_end=5827 + _globals['_CHANSTATUSACTION']._serialized_start=5829 + _globals['_CHANSTATUSACTION']._serialized_end=5882 + _globals['_SENDPAYMENTREQUEST']._serialized_start=45 + _globals['_SENDPAYMENTREQUEST']._serialized_end=740 + _globals['_SENDPAYMENTREQUEST_DESTCUSTOMRECORDSENTRY']._serialized_start=684 + _globals['_SENDPAYMENTREQUEST_DESTCUSTOMRECORDSENTRY']._serialized_end=740 + _globals['_TRACKPAYMENTREQUEST']._serialized_start=742 + _globals['_TRACKPAYMENTREQUEST']._serialized_end=814 + _globals['_TRACKPAYMENTSREQUEST']._serialized_start=816 + _globals['_TRACKPAYMENTSREQUEST']._serialized_end=867 + _globals['_ROUTEFEEREQUEST']._serialized_start=869 + _globals['_ROUTEFEEREQUEST']._serialized_end=959 + _globals['_ROUTEFEERESPONSE']._serialized_start=961 + _globals['_ROUTEFEERESPONSE']._serialized_end=1083 + _globals['_SENDTOROUTEREQUEST']._serialized_start=1085 + _globals['_SENDTOROUTEREQUEST']._serialized_end=1179 + _globals['_SENDTOROUTERESPONSE']._serialized_start=1181 + _globals['_SENDTOROUTERESPONSE']._serialized_end=1253 + _globals['_RESETMISSIONCONTROLREQUEST']._serialized_start=1255 + _globals['_RESETMISSIONCONTROLREQUEST']._serialized_end=1283 + _globals['_RESETMISSIONCONTROLRESPONSE']._serialized_start=1285 + _globals['_RESETMISSIONCONTROLRESPONSE']._serialized_end=1314 + _globals['_QUERYMISSIONCONTROLREQUEST']._serialized_start=1316 + _globals['_QUERYMISSIONCONTROLREQUEST']._serialized_end=1344 + _globals['_QUERYMISSIONCONTROLRESPONSE']._serialized_start=1346 + _globals['_QUERYMISSIONCONTROLRESPONSE']._serialized_end=1420 + _globals['_XIMPORTMISSIONCONTROLREQUEST']._serialized_start=1422 + _globals['_XIMPORTMISSIONCONTROLREQUEST']._serialized_end=1506 + _globals['_XIMPORTMISSIONCONTROLRESPONSE']._serialized_start=1508 + _globals['_XIMPORTMISSIONCONTROLRESPONSE']._serialized_end=1539 + _globals['_PAIRHISTORY']._serialized_start=1541 + _globals['_PAIRHISTORY']._serialized_end=1652 + _globals['_PAIRDATA']._serialized_start=1655 + _globals['_PAIRDATA']._serialized_end=1808 + _globals['_GETMISSIONCONTROLCONFIGREQUEST']._serialized_start=1810 + _globals['_GETMISSIONCONTROLCONFIGREQUEST']._serialized_end=1842 + _globals['_GETMISSIONCONTROLCONFIGRESPONSE']._serialized_start=1844 + _globals['_GETMISSIONCONTROLCONFIGRESPONSE']._serialized_end=1926 + _globals['_SETMISSIONCONTROLCONFIGREQUEST']._serialized_start=1928 + _globals['_SETMISSIONCONTROLCONFIGREQUEST']._serialized_end=2009 + _globals['_SETMISSIONCONTROLCONFIGRESPONSE']._serialized_start=2011 + _globals['_SETMISSIONCONTROLCONFIGRESPONSE']._serialized_end=2044 + _globals['_MISSIONCONTROLCONFIG']._serialized_start=2047 + _globals['_MISSIONCONTROLCONFIG']._serialized_end=2450 + _globals['_MISSIONCONTROLCONFIG_PROBABILITYMODEL']._serialized_start=2387 + _globals['_MISSIONCONTROLCONFIG_PROBABILITYMODEL']._serialized_end=2431 + _globals['_BIMODALPARAMETERS']._serialized_start=2452 + _globals['_BIMODALPARAMETERS']._serialized_end=2532 + _globals['_APRIORIPARAMETERS']._serialized_start=2534 + _globals['_APRIORIPARAMETERS']._serialized_end=2648 + _globals['_QUERYPROBABILITYREQUEST']._serialized_start=2650 + _globals['_QUERYPROBABILITYREQUEST']._serialized_end=2729 + _globals['_QUERYPROBABILITYRESPONSE']._serialized_start=2731 + _globals['_QUERYPROBABILITYRESPONSE']._serialized_end=2816 + _globals['_BUILDROUTEREQUEST']._serialized_start=2819 + _globals['_BUILDROUTEREQUEST']._serialized_end=2955 + _globals['_BUILDROUTERESPONSE']._serialized_start=2957 + _globals['_BUILDROUTERESPONSE']._serialized_end=3006 + _globals['_SUBSCRIBEHTLCEVENTSREQUEST']._serialized_start=3008 + _globals['_SUBSCRIBEHTLCEVENTSREQUEST']._serialized_end=3036 + _globals['_HTLCEVENT']._serialized_start=3039 + _globals['_HTLCEVENT']._serialized_end=3626 + _globals['_HTLCEVENT_EVENTTYPE']._serialized_start=3557 + _globals['_HTLCEVENT_EVENTTYPE']._serialized_end=3617 + _globals['_HTLCINFO']._serialized_start=3628 + _globals['_HTLCINFO']._serialized_end=3746 + _globals['_FORWARDEVENT']._serialized_start=3748 + _globals['_FORWARDEVENT']._serialized_end=3797 + _globals['_FORWARDFAILEVENT']._serialized_start=3799 + _globals['_FORWARDFAILEVENT']._serialized_end=3817 + _globals['_SETTLEEVENT']._serialized_start=3819 + _globals['_SETTLEEVENT']._serialized_end=3850 + _globals['_FINALHTLCEVENT']._serialized_start=3852 + _globals['_FINALHTLCEVENT']._serialized_end=3903 + _globals['_SUBSCRIBEDEVENT']._serialized_start=3905 + _globals['_SUBSCRIBEDEVENT']._serialized_end=3922 + _globals['_LINKFAILEVENT']._serialized_start=3925 + _globals['_LINKFAILEVENT']._serialized_end=4099 + _globals['_PAYMENTSTATUS']._serialized_start=4101 + _globals['_PAYMENTSTATUS']._serialized_end=4215 + _globals['_CIRCUITKEY']._serialized_start=4217 + _globals['_CIRCUITKEY']._serialized_end=4263 + _globals['_FORWARDHTLCINTERCEPTREQUEST']._serialized_start=4266 + _globals['_FORWARDHTLCINTERCEPTREQUEST']._serialized_end=4699 + _globals['_FORWARDHTLCINTERCEPTREQUEST_CUSTOMRECORDSENTRY']._serialized_start=4647 + _globals['_FORWARDHTLCINTERCEPTREQUEST_CUSTOMRECORDSENTRY']._serialized_end=4699 + _globals['_FORWARDHTLCINTERCEPTRESPONSE']._serialized_start=4702 + _globals['_FORWARDHTLCINTERCEPTRESPONSE']._serialized_end=4931 + _globals['_UPDATECHANSTATUSREQUEST']._serialized_start=4933 + _globals['_UPDATECHANSTATUSREQUEST']._serialized_end=5044 + _globals['_UPDATECHANSTATUSRESPONSE']._serialized_start=5046 + _globals['_UPDATECHANSTATUSRESPONSE']._serialized_end=5072 + _globals['_ROUTER']._serialized_start=5885 + _globals['_ROUTER']._serialized_end=7474 # @@protoc_insertion_point(module_scope) diff --git a/charge_lnd/grpc_generated/router_pb2_grpc.py b/charge_lnd/grpc_generated/router_pb2_grpc.py index 5e21256..38f43b6 100644 --- a/charge_lnd/grpc_generated/router_pb2_grpc.py +++ b/charge_lnd/grpc_generated/router_pb2_grpc.py @@ -1,13 +1,55 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc +import warnings +from . import lightning_pb2 as lightning__pb2 from . import router_pb2 as router__pb2 -from . import rpc_pb2 as rpc__pb2 + +GRPC_GENERATED_VERSION = '1.63.0' +GRPC_VERSION = grpc.__version__ +EXPECTED_ERROR_RELEASE = '1.65.0' +SCHEDULED_RELEASE_DATE = 'June 25, 2024' +_version_not_supported = False + +try: + from grpc._utilities import first_version_is_lower + _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION) +except ImportError: + _version_not_supported = True + +if _version_not_supported: + warnings.warn( + f'The grpc package installed is at version {GRPC_VERSION},' + + f' but the generated code in router_pb2_grpc.py depends on' + + f' grpcio>={GRPC_GENERATED_VERSION}.' + + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}' + + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.' + + f' This warning will become an error in {EXPECTED_ERROR_RELEASE},' + + f' scheduled for release on {SCHEDULED_RELEASE_DATE}.', + RuntimeWarning + ) class RouterStub(object): - """Router is a service that offers advanced interaction with the router + """ + Comments in this file will be directly parsed into the API + Documentation as descriptions of the associated method, message, or field. + These descriptions should go right above the definition of the object, and + can be in either block or // comment format. + + An RPC method can be matched to an lncli command by placing a line in the + beginning of the description in exactly the following format: + lncli: `methodname` + + Failure to specify the exact name of the command will cause documentation + generation to fail. + + More information on how exactly the gRPC documentation is generated from + this proto file can be found here: + https://github.com/lightninglabs/lightning-api + + Router is a service that offers advanced interaction with the router subsystem of the daemon. """ @@ -20,92 +62,114 @@ def __init__(self, channel): self.SendPaymentV2 = channel.unary_stream( '/routerrpc.Router/SendPaymentV2', request_serializer=router__pb2.SendPaymentRequest.SerializeToString, - response_deserializer=rpc__pb2.Payment.FromString, - ) + response_deserializer=lightning__pb2.Payment.FromString, + _registered_method=True) self.TrackPaymentV2 = channel.unary_stream( '/routerrpc.Router/TrackPaymentV2', request_serializer=router__pb2.TrackPaymentRequest.SerializeToString, - response_deserializer=rpc__pb2.Payment.FromString, - ) + response_deserializer=lightning__pb2.Payment.FromString, + _registered_method=True) + self.TrackPayments = channel.unary_stream( + '/routerrpc.Router/TrackPayments', + request_serializer=router__pb2.TrackPaymentsRequest.SerializeToString, + response_deserializer=lightning__pb2.Payment.FromString, + _registered_method=True) self.EstimateRouteFee = channel.unary_unary( '/routerrpc.Router/EstimateRouteFee', request_serializer=router__pb2.RouteFeeRequest.SerializeToString, response_deserializer=router__pb2.RouteFeeResponse.FromString, - ) + _registered_method=True) self.SendToRoute = channel.unary_unary( '/routerrpc.Router/SendToRoute', request_serializer=router__pb2.SendToRouteRequest.SerializeToString, response_deserializer=router__pb2.SendToRouteResponse.FromString, - ) + _registered_method=True) self.SendToRouteV2 = channel.unary_unary( '/routerrpc.Router/SendToRouteV2', request_serializer=router__pb2.SendToRouteRequest.SerializeToString, - response_deserializer=rpc__pb2.HTLCAttempt.FromString, - ) + response_deserializer=lightning__pb2.HTLCAttempt.FromString, + _registered_method=True) self.ResetMissionControl = channel.unary_unary( '/routerrpc.Router/ResetMissionControl', request_serializer=router__pb2.ResetMissionControlRequest.SerializeToString, response_deserializer=router__pb2.ResetMissionControlResponse.FromString, - ) + _registered_method=True) self.QueryMissionControl = channel.unary_unary( '/routerrpc.Router/QueryMissionControl', request_serializer=router__pb2.QueryMissionControlRequest.SerializeToString, response_deserializer=router__pb2.QueryMissionControlResponse.FromString, - ) + _registered_method=True) self.XImportMissionControl = channel.unary_unary( '/routerrpc.Router/XImportMissionControl', request_serializer=router__pb2.XImportMissionControlRequest.SerializeToString, response_deserializer=router__pb2.XImportMissionControlResponse.FromString, - ) + _registered_method=True) self.GetMissionControlConfig = channel.unary_unary( '/routerrpc.Router/GetMissionControlConfig', request_serializer=router__pb2.GetMissionControlConfigRequest.SerializeToString, response_deserializer=router__pb2.GetMissionControlConfigResponse.FromString, - ) + _registered_method=True) self.SetMissionControlConfig = channel.unary_unary( '/routerrpc.Router/SetMissionControlConfig', request_serializer=router__pb2.SetMissionControlConfigRequest.SerializeToString, response_deserializer=router__pb2.SetMissionControlConfigResponse.FromString, - ) + _registered_method=True) self.QueryProbability = channel.unary_unary( '/routerrpc.Router/QueryProbability', request_serializer=router__pb2.QueryProbabilityRequest.SerializeToString, response_deserializer=router__pb2.QueryProbabilityResponse.FromString, - ) + _registered_method=True) self.BuildRoute = channel.unary_unary( '/routerrpc.Router/BuildRoute', request_serializer=router__pb2.BuildRouteRequest.SerializeToString, response_deserializer=router__pb2.BuildRouteResponse.FromString, - ) + _registered_method=True) self.SubscribeHtlcEvents = channel.unary_stream( '/routerrpc.Router/SubscribeHtlcEvents', request_serializer=router__pb2.SubscribeHtlcEventsRequest.SerializeToString, response_deserializer=router__pb2.HtlcEvent.FromString, - ) + _registered_method=True) self.SendPayment = channel.unary_stream( '/routerrpc.Router/SendPayment', request_serializer=router__pb2.SendPaymentRequest.SerializeToString, response_deserializer=router__pb2.PaymentStatus.FromString, - ) + _registered_method=True) self.TrackPayment = channel.unary_stream( '/routerrpc.Router/TrackPayment', request_serializer=router__pb2.TrackPaymentRequest.SerializeToString, response_deserializer=router__pb2.PaymentStatus.FromString, - ) + _registered_method=True) self.HtlcInterceptor = channel.stream_stream( '/routerrpc.Router/HtlcInterceptor', request_serializer=router__pb2.ForwardHtlcInterceptResponse.SerializeToString, response_deserializer=router__pb2.ForwardHtlcInterceptRequest.FromString, - ) + _registered_method=True) self.UpdateChanStatus = channel.unary_unary( '/routerrpc.Router/UpdateChanStatus', request_serializer=router__pb2.UpdateChanStatusRequest.SerializeToString, response_deserializer=router__pb2.UpdateChanStatusResponse.FromString, - ) + _registered_method=True) class RouterServicer(object): - """Router is a service that offers advanced interaction with the router + """ + Comments in this file will be directly parsed into the API + Documentation as descriptions of the associated method, message, or field. + These descriptions should go right above the definition of the object, and + can be in either block or // comment format. + + An RPC method can be matched to an lncli command by placing a line in the + beginning of the description in exactly the following format: + lncli: `methodname` + + Failure to specify the exact name of the command will cause documentation + generation to fail. + + More information on how exactly the gRPC documentation is generated from + this proto file can be found here: + https://github.com/lightninglabs/lightning-api + + Router is a service that offers advanced interaction with the router subsystem of the daemon. """ @@ -113,14 +177,17 @@ def SendPaymentV2(self, request, context): """ SendPaymentV2 attempts to route a payment described by the passed PaymentRequest to the final destination. The call returns a stream of - payment updates. + payment updates. When using this RPC, make sure to set a fee limit, as the + default routing fee limit is 0 sats. Without a non-zero fee limit only + routes without fees will be attempted which often fails with + FAILURE_REASON_NO_ROUTE. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def TrackPaymentV2(self, request, context): - """ + """lncli: `trackpayment` TrackPaymentV2 returns an update stream for the payment identified by the payment hash. """ @@ -128,6 +195,19 @@ def TrackPaymentV2(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') + def TrackPayments(self, request, context): + """ + TrackPayments returns an update stream for every payment that is not in a + terminal state. Note that if payments are in-flight while starting a new + subscription, the start of the payment stream could produce out-of-order + and/or duplicate events. In order to get updates for every in-flight + payment attempt make sure to subscribe to this method before initiating any + payments. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + def EstimateRouteFee(self, request, context): """ EstimateRouteFee allows callers to obtain a lower bound w.r.t how much it @@ -161,7 +241,7 @@ def SendToRouteV2(self, request, context): raise NotImplementedError('Method not implemented!') def ResetMissionControl(self, request, context): - """ + """lncli: `resetmc` ResetMissionControl clears all mission control state and starts with a clean slate. """ @@ -170,7 +250,7 @@ def ResetMissionControl(self, request, context): raise NotImplementedError('Method not implemented!') def QueryMissionControl(self, request, context): - """ + """lncli: `querymc` QueryMissionControl exposes the internal mission control state to callers. It is a development feature. """ @@ -179,7 +259,7 @@ def QueryMissionControl(self, request, context): raise NotImplementedError('Method not implemented!') def XImportMissionControl(self, request, context): - """ + """lncli: `importmc` XImportMissionControl is an experimental API that imports the state provided to the internal mission control's state, using all results which are more recent than our existing values. These values will only be imported @@ -190,7 +270,7 @@ def XImportMissionControl(self, request, context): raise NotImplementedError('Method not implemented!') def GetMissionControlConfig(self, request, context): - """ + """lncli: `getmccfg` GetMissionControlConfig returns mission control's current config. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) @@ -198,7 +278,7 @@ def GetMissionControlConfig(self, request, context): raise NotImplementedError('Method not implemented!') def SetMissionControlConfig(self, request, context): - """ + """lncli: `setmccfg` SetMissionControlConfig will set mission control's config, if the config provided is valid. """ @@ -207,19 +287,25 @@ def SetMissionControlConfig(self, request, context): raise NotImplementedError('Method not implemented!') def QueryProbability(self, request, context): - """ - QueryProbability returns the current success probability estimate for a - given node pair and amount. + """lncli: `queryprob` + Deprecated. QueryProbability returns the current success probability + estimate for a given node pair and amount. The call returns a zero success + probability if no channel is available or if the amount violates min/max + HTLC constraints. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def BuildRoute(self, request, context): - """ + """lncli: `buildroute` BuildRoute builds a fully specified route based on a list of hop public keys. It retrieves the relevant channel policies from the graph in order to calculate the correct fees and time locks. + Note that LND will use its default final_cltv_delta if no value is supplied. + Make sure to add the correct final_cltv_delta depending on the invoice + restriction. Moreover the caller has to make sure to provide the + payment_addr if the route is paying an invoice which signaled it. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') @@ -266,7 +352,7 @@ def HtlcInterceptor(self, request_iterator, context): raise NotImplementedError('Method not implemented!') def UpdateChanStatus(self, request, context): - """ + """lncli: `updatechanstatus` UpdateChanStatus attempts to manually set the state of a channel (enabled, disabled, or auto). A manual "disable" request will cause the channel to stay disabled until a subsequent manual request of either @@ -282,12 +368,17 @@ def add_RouterServicer_to_server(servicer, server): 'SendPaymentV2': grpc.unary_stream_rpc_method_handler( servicer.SendPaymentV2, request_deserializer=router__pb2.SendPaymentRequest.FromString, - response_serializer=rpc__pb2.Payment.SerializeToString, + response_serializer=lightning__pb2.Payment.SerializeToString, ), 'TrackPaymentV2': grpc.unary_stream_rpc_method_handler( servicer.TrackPaymentV2, request_deserializer=router__pb2.TrackPaymentRequest.FromString, - response_serializer=rpc__pb2.Payment.SerializeToString, + response_serializer=lightning__pb2.Payment.SerializeToString, + ), + 'TrackPayments': grpc.unary_stream_rpc_method_handler( + servicer.TrackPayments, + request_deserializer=router__pb2.TrackPaymentsRequest.FromString, + response_serializer=lightning__pb2.Payment.SerializeToString, ), 'EstimateRouteFee': grpc.unary_unary_rpc_method_handler( servicer.EstimateRouteFee, @@ -302,7 +393,7 @@ def add_RouterServicer_to_server(servicer, server): 'SendToRouteV2': grpc.unary_unary_rpc_method_handler( servicer.SendToRouteV2, request_deserializer=router__pb2.SendToRouteRequest.FromString, - response_serializer=rpc__pb2.HTLCAttempt.SerializeToString, + response_serializer=lightning__pb2.HTLCAttempt.SerializeToString, ), 'ResetMissionControl': grpc.unary_unary_rpc_method_handler( servicer.ResetMissionControl, @@ -372,7 +463,24 @@ def add_RouterServicer_to_server(servicer, server): # This class is part of an EXPERIMENTAL API. class Router(object): - """Router is a service that offers advanced interaction with the router + """ + Comments in this file will be directly parsed into the API + Documentation as descriptions of the associated method, message, or field. + These descriptions should go right above the definition of the object, and + can be in either block or // comment format. + + An RPC method can be matched to an lncli command by placing a line in the + beginning of the description in exactly the following format: + lncli: `methodname` + + Failure to specify the exact name of the command will cause documentation + generation to fail. + + More information on how exactly the gRPC documentation is generated from + this proto file can be found here: + https://github.com/lightninglabs/lightning-api + + Router is a service that offers advanced interaction with the router subsystem of the daemon. """ @@ -387,11 +495,21 @@ def SendPaymentV2(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_stream(request, target, '/routerrpc.Router/SendPaymentV2', + return grpc.experimental.unary_stream( + request, + target, + '/routerrpc.Router/SendPaymentV2', router__pb2.SendPaymentRequest.SerializeToString, - rpc__pb2.Payment.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + lightning__pb2.Payment.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def TrackPaymentV2(request, @@ -404,11 +522,48 @@ def TrackPaymentV2(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_stream(request, target, '/routerrpc.Router/TrackPaymentV2', + return grpc.experimental.unary_stream( + request, + target, + '/routerrpc.Router/TrackPaymentV2', router__pb2.TrackPaymentRequest.SerializeToString, - rpc__pb2.Payment.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + lightning__pb2.Payment.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) + + @staticmethod + def TrackPayments(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_stream( + request, + target, + '/routerrpc.Router/TrackPayments', + router__pb2.TrackPaymentsRequest.SerializeToString, + lightning__pb2.Payment.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def EstimateRouteFee(request, @@ -421,11 +576,21 @@ def EstimateRouteFee(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/routerrpc.Router/EstimateRouteFee', + return grpc.experimental.unary_unary( + request, + target, + '/routerrpc.Router/EstimateRouteFee', router__pb2.RouteFeeRequest.SerializeToString, router__pb2.RouteFeeResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def SendToRoute(request, @@ -438,11 +603,21 @@ def SendToRoute(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/routerrpc.Router/SendToRoute', + return grpc.experimental.unary_unary( + request, + target, + '/routerrpc.Router/SendToRoute', router__pb2.SendToRouteRequest.SerializeToString, router__pb2.SendToRouteResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def SendToRouteV2(request, @@ -455,11 +630,21 @@ def SendToRouteV2(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/routerrpc.Router/SendToRouteV2', + return grpc.experimental.unary_unary( + request, + target, + '/routerrpc.Router/SendToRouteV2', router__pb2.SendToRouteRequest.SerializeToString, - rpc__pb2.HTLCAttempt.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + lightning__pb2.HTLCAttempt.FromString, + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def ResetMissionControl(request, @@ -472,11 +657,21 @@ def ResetMissionControl(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/routerrpc.Router/ResetMissionControl', + return grpc.experimental.unary_unary( + request, + target, + '/routerrpc.Router/ResetMissionControl', router__pb2.ResetMissionControlRequest.SerializeToString, router__pb2.ResetMissionControlResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def QueryMissionControl(request, @@ -489,11 +684,21 @@ def QueryMissionControl(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/routerrpc.Router/QueryMissionControl', + return grpc.experimental.unary_unary( + request, + target, + '/routerrpc.Router/QueryMissionControl', router__pb2.QueryMissionControlRequest.SerializeToString, router__pb2.QueryMissionControlResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def XImportMissionControl(request, @@ -506,11 +711,21 @@ def XImportMissionControl(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/routerrpc.Router/XImportMissionControl', + return grpc.experimental.unary_unary( + request, + target, + '/routerrpc.Router/XImportMissionControl', router__pb2.XImportMissionControlRequest.SerializeToString, router__pb2.XImportMissionControlResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def GetMissionControlConfig(request, @@ -523,11 +738,21 @@ def GetMissionControlConfig(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/routerrpc.Router/GetMissionControlConfig', + return grpc.experimental.unary_unary( + request, + target, + '/routerrpc.Router/GetMissionControlConfig', router__pb2.GetMissionControlConfigRequest.SerializeToString, router__pb2.GetMissionControlConfigResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def SetMissionControlConfig(request, @@ -540,11 +765,21 @@ def SetMissionControlConfig(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/routerrpc.Router/SetMissionControlConfig', + return grpc.experimental.unary_unary( + request, + target, + '/routerrpc.Router/SetMissionControlConfig', router__pb2.SetMissionControlConfigRequest.SerializeToString, router__pb2.SetMissionControlConfigResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def QueryProbability(request, @@ -557,11 +792,21 @@ def QueryProbability(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/routerrpc.Router/QueryProbability', + return grpc.experimental.unary_unary( + request, + target, + '/routerrpc.Router/QueryProbability', router__pb2.QueryProbabilityRequest.SerializeToString, router__pb2.QueryProbabilityResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def BuildRoute(request, @@ -574,11 +819,21 @@ def BuildRoute(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/routerrpc.Router/BuildRoute', + return grpc.experimental.unary_unary( + request, + target, + '/routerrpc.Router/BuildRoute', router__pb2.BuildRouteRequest.SerializeToString, router__pb2.BuildRouteResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def SubscribeHtlcEvents(request, @@ -591,11 +846,21 @@ def SubscribeHtlcEvents(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_stream(request, target, '/routerrpc.Router/SubscribeHtlcEvents', + return grpc.experimental.unary_stream( + request, + target, + '/routerrpc.Router/SubscribeHtlcEvents', router__pb2.SubscribeHtlcEventsRequest.SerializeToString, router__pb2.HtlcEvent.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def SendPayment(request, @@ -608,11 +873,21 @@ def SendPayment(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_stream(request, target, '/routerrpc.Router/SendPayment', + return grpc.experimental.unary_stream( + request, + target, + '/routerrpc.Router/SendPayment', router__pb2.SendPaymentRequest.SerializeToString, router__pb2.PaymentStatus.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def TrackPayment(request, @@ -625,11 +900,21 @@ def TrackPayment(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_stream(request, target, '/routerrpc.Router/TrackPayment', + return grpc.experimental.unary_stream( + request, + target, + '/routerrpc.Router/TrackPayment', router__pb2.TrackPaymentRequest.SerializeToString, router__pb2.PaymentStatus.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def HtlcInterceptor(request_iterator, @@ -642,11 +927,21 @@ def HtlcInterceptor(request_iterator, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.stream_stream(request_iterator, target, '/routerrpc.Router/HtlcInterceptor', + return grpc.experimental.stream_stream( + request_iterator, + target, + '/routerrpc.Router/HtlcInterceptor', router__pb2.ForwardHtlcInterceptResponse.SerializeToString, router__pb2.ForwardHtlcInterceptRequest.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) @staticmethod def UpdateChanStatus(request, @@ -659,8 +954,18 @@ def UpdateChanStatus(request, wait_for_ready=None, timeout=None, metadata=None): - return grpc.experimental.unary_unary(request, target, '/routerrpc.Router/UpdateChanStatus', + return grpc.experimental.unary_unary( + request, + target, + '/routerrpc.Router/UpdateChanStatus', router__pb2.UpdateChanStatusRequest.SerializeToString, router__pb2.UpdateChanStatusResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + options, + channel_credentials, + insecure, + call_credentials, + compression, + wait_for_ready, + timeout, + metadata, + _registered_method=True) diff --git a/charge_lnd/grpc_generated/rpc_pb2.py b/charge_lnd/grpc_generated/rpc_pb2.py deleted file mode 100644 index 9b50b6b..0000000 --- a/charge_lnd/grpc_generated/rpc_pb2.py +++ /dev/null @@ -1,12992 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: rpc.proto -"""Generated protocol buffer code.""" -from google.protobuf.internal import enum_type_wrapper -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='rpc.proto', - package='lnrpc', - syntax='proto3', - serialized_options=b'Z%github.com/lightningnetwork/lnd/lnrpc', - create_key=_descriptor._internal_create_key, - serialized_pb=b'\n\trpc.proto\x12\x05lnrpc\"\xa2\x01\n\x04Utxo\x12(\n\x0c\x61\x64\x64ress_type\x18\x01 \x01(\x0e\x32\x12.lnrpc.AddressType\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x12\x12\n\namount_sat\x18\x03 \x01(\x03\x12\x11\n\tpk_script\x18\x04 \x01(\t\x12!\n\x08outpoint\x18\x05 \x01(\x0b\x32\x0f.lnrpc.OutPoint\x12\x15\n\rconfirmations\x18\x06 \x01(\x03\"\xd6\x01\n\x0bTransaction\x12\x0f\n\x07tx_hash\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\x03\x12\x19\n\x11num_confirmations\x18\x03 \x01(\x05\x12\x12\n\nblock_hash\x18\x04 \x01(\t\x12\x14\n\x0c\x62lock_height\x18\x05 \x01(\x05\x12\x12\n\ntime_stamp\x18\x06 \x01(\x03\x12\x12\n\ntotal_fees\x18\x07 \x01(\x03\x12\x16\n\x0e\x64\x65st_addresses\x18\x08 \x03(\t\x12\x12\n\nraw_tx_hex\x18\t \x01(\t\x12\r\n\x05label\x18\n \x01(\t\"S\n\x16GetTransactionsRequest\x12\x14\n\x0cstart_height\x18\x01 \x01(\x05\x12\x12\n\nend_height\x18\x02 \x01(\x05\x12\x0f\n\x07\x61\x63\x63ount\x18\x03 \x01(\t\">\n\x12TransactionDetails\x12(\n\x0ctransactions\x18\x01 \x03(\x0b\x32\x12.lnrpc.Transaction\"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\"\x8a\x04\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\x12\x14\n\x0cpayment_addr\x18\x10 \x01(\x0c\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\"z\n\x0cSendResponse\x12\x15\n\rpayment_error\x18\x01 \x01(\t\x12\x18\n\x10payment_preimage\x18\x02 \x01(\x0c\x12#\n\rpayment_route\x18\x03 \x01(\x0b\x32\x0c.lnrpc.Route\x12\x14\n\x0cpayment_hash\x18\x04 \x01(\x0c\"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\"\xf4\x01\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\x12\r\n\x05\x65rror\x18\x03 \x01(\t\x12\x18\n\x10upfront_shutdown\x18\x04 \x01(\t\x12\x11\n\tcsv_delay\x18\x05 \x01(\r\x12\x13\n\x0breserve_sat\x18\x06 \x01(\x04\x12\x1a\n\x12in_flight_max_msat\x18\x07 \x01(\x04\x12\x16\n\x0emax_htlc_count\x18\x08 \x01(\r\x12\x13\n\x0bmin_htlc_in\x18\t \x01(\x04\x12\x18\n\x10min_accept_depth\x18\n \x01(\r\"n\n\x0c\x43hannelPoint\x12\x1c\n\x12\x66unding_txid_bytes\x18\x01 \x01(\x0cH\x00\x12\x1a\n\x10\x66unding_txid_str\x18\x02 \x01(\tH\x00\x12\x14\n\x0coutput_index\x18\x03 \x01(\rB\x0e\n\x0c\x66unding_txid\"F\n\x08OutPoint\x12\x12\n\ntxid_bytes\x18\x01 \x01(\x0c\x12\x10\n\x08txid_str\x18\x02 \x01(\t\x12\x14\n\x0coutput_index\x18\x03 \x01(\r\"0\n\x10LightningAddress\x12\x0e\n\x06pubkey\x18\x01 \x01(\t\x12\x0c\n\x04host\x18\x02 \x01(\t\"\xcf\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\x12\x11\n\tmin_confs\x18\x03 \x01(\x05\x12\x19\n\x11spend_unconfirmed\x18\x04 \x01(\x08\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\x13\x45stimateFeeResponse\x12\x0f\n\x07\x66\x65\x65_sat\x18\x01 \x01(\x03\x12 \n\x14\x66\x65\x65rate_sat_per_byte\x18\x02 \x01(\x03\x42\x02\x18\x01\x12\x15\n\rsat_per_vbyte\x18\x03 \x01(\x04\"\x89\x02\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\x15\n\rsat_per_vbyte\x18\x04 \x01(\x04\x12\x18\n\x0csat_per_byte\x18\x05 \x01(\x03\x42\x02\x18\x01\x12\r\n\x05label\x18\x06 \x01(\t\x12\x11\n\tmin_confs\x18\x07 \x01(\x05\x12\x19\n\x11spend_unconfirmed\x18\x08 \x01(\x08\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\x0c\n\x04txid\x18\x01 \x01(\t\"\xc5\x01\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\x15\n\rsat_per_vbyte\x18\x04 \x01(\x04\x12\x18\n\x0csat_per_byte\x18\x05 \x01(\x03\x42\x02\x18\x01\x12\x10\n\x08send_all\x18\x06 \x01(\x08\x12\r\n\x05label\x18\x07 \x01(\t\x12\x11\n\tmin_confs\x18\x08 \x01(\x05\x12\x19\n\x11spend_unconfirmed\x18\t \x01(\x08\"!\n\x11SendCoinsResponse\x12\x0c\n\x04txid\x18\x01 \x01(\t\"K\n\x12ListUnspentRequest\x12\x11\n\tmin_confs\x18\x01 \x01(\x05\x12\x11\n\tmax_confs\x18\x02 \x01(\x05\x12\x0f\n\x07\x61\x63\x63ount\x18\x03 \x01(\t\"1\n\x13ListUnspentResponse\x12\x1a\n\x05utxos\x18\x01 \x03(\x0b\x32\x0b.lnrpc.Utxo\"F\n\x11NewAddressRequest\x12 \n\x04type\x18\x01 \x01(\x0e\x32\x12.lnrpc.AddressType\x12\x0f\n\x07\x61\x63\x63ount\x18\x02 \x01(\t\"%\n\x12NewAddressResponse\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\"!\n\x12SignMessageRequest\x12\x0b\n\x03msg\x18\x01 \x01(\x0c\"(\n\x13SignMessageResponse\x12\x11\n\tsignature\x18\x01 \x01(\t\"6\n\x14VerifyMessageRequest\x12\x0b\n\x03msg\x18\x01 \x01(\x0c\x12\x11\n\tsignature\x18\x02 \x01(\t\"6\n\x15VerifyMessageResponse\x12\r\n\x05valid\x18\x01 \x01(\x08\x12\x0e\n\x06pubkey\x18\x02 \x01(\t\"Z\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\x12\x0f\n\x07timeout\x18\x03 \x01(\x04\"\x15\n\x13\x43onnectPeerResponse\"(\n\x15\x44isconnectPeerRequest\x12\x0f\n\x07pub_key\x18\x01 \x01(\t\"\x18\n\x16\x44isconnectPeerResponse\"\xa5\x01\n\x04HTLC\x12\x10\n\x08incoming\x18\x01 \x01(\x08\x12\x0e\n\x06\x61mount\x18\x02 \x01(\x03\x12\x11\n\thash_lock\x18\x03 \x01(\x0c\x12\x19\n\x11\x65xpiration_height\x18\x04 \x01(\r\x12\x12\n\nhtlc_index\x18\x05 \x01(\x04\x12\x1a\n\x12\x66orwarding_channel\x18\x06 \x01(\x04\x12\x1d\n\x15\x66orwarding_htlc_index\x18\x07 \x01(\x04\"\xaa\x01\n\x12\x43hannelConstraints\x12\x11\n\tcsv_delay\x18\x01 \x01(\r\x12\x18\n\x10\x63han_reserve_sat\x18\x02 \x01(\x04\x12\x16\n\x0e\x64ust_limit_sat\x18\x03 \x01(\x04\x12\x1c\n\x14max_pending_amt_msat\x18\x04 \x01(\x04\x12\x15\n\rmin_htlc_msat\x18\x05 \x01(\x04\x12\x1a\n\x12max_accepted_htlcs\x18\x06 \x01(\r\"\xb0\x06\n\x07\x43hannel\x12\x0e\n\x06\x61\x63tive\x18\x01 \x01(\x08\x12\x15\n\rremote_pubkey\x18\x02 \x01(\t\x12\x15\n\rchannel_point\x18\x03 \x01(\t\x12\x13\n\x07\x63han_id\x18\x04 \x01(\x04\x42\x02\x30\x01\x12\x10\n\x08\x63\x61pacity\x18\x05 \x01(\x03\x12\x15\n\rlocal_balance\x18\x06 \x01(\x03\x12\x16\n\x0eremote_balance\x18\x07 \x01(\x03\x12\x12\n\ncommit_fee\x18\x08 \x01(\x03\x12\x15\n\rcommit_weight\x18\t \x01(\x03\x12\x12\n\nfee_per_kw\x18\n \x01(\x03\x12\x19\n\x11unsettled_balance\x18\x0b \x01(\x03\x12\x1b\n\x13total_satoshis_sent\x18\x0c \x01(\x03\x12\x1f\n\x17total_satoshis_received\x18\r \x01(\x03\x12\x13\n\x0bnum_updates\x18\x0e \x01(\x04\x12\"\n\rpending_htlcs\x18\x0f \x03(\x0b\x32\x0b.lnrpc.HTLC\x12\x15\n\tcsv_delay\x18\x10 \x01(\rB\x02\x18\x01\x12\x0f\n\x07private\x18\x11 \x01(\x08\x12\x11\n\tinitiator\x18\x12 \x01(\x08\x12\x19\n\x11\x63han_status_flags\x18\x13 \x01(\t\x12\"\n\x16local_chan_reserve_sat\x18\x14 \x01(\x03\x42\x02\x18\x01\x12#\n\x17remote_chan_reserve_sat\x18\x15 \x01(\x03\x42\x02\x18\x01\x12\x1d\n\x11static_remote_key\x18\x16 \x01(\x08\x42\x02\x18\x01\x12.\n\x0f\x63ommitment_type\x18\x1a \x01(\x0e\x32\x15.lnrpc.CommitmentType\x12\x10\n\x08lifetime\x18\x17 \x01(\x03\x12\x0e\n\x06uptime\x18\x18 \x01(\x03\x12\x15\n\rclose_address\x18\x19 \x01(\t\x12\x17\n\x0fpush_amount_sat\x18\x1b \x01(\x04\x12\x13\n\x0bthaw_height\x18\x1c \x01(\r\x12\x34\n\x11local_constraints\x18\x1d \x01(\x0b\x32\x19.lnrpc.ChannelConstraints\x12\x35\n\x12remote_constraints\x18\x1e \x01(\x0b\x32\x19.lnrpc.ChannelConstraints\"z\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\x12\x0c\n\x04peer\x18\x05 \x01(\x0c\"8\n\x14ListChannelsResponse\x12 \n\x08\x63hannels\x18\x0b \x03(\x0b\x32\x0e.lnrpc.Channel\"\xa9\x04\n\x13\x43hannelCloseSummary\x12\x15\n\rchannel_point\x18\x01 \x01(\t\x12\x13\n\x07\x63han_id\x18\x02 \x01(\x04\x42\x02\x30\x01\x12\x12\n\nchain_hash\x18\x03 \x01(\t\x12\x17\n\x0f\x63losing_tx_hash\x18\x04 \x01(\t\x12\x15\n\rremote_pubkey\x18\x05 \x01(\t\x12\x10\n\x08\x63\x61pacity\x18\x06 \x01(\x03\x12\x14\n\x0c\x63lose_height\x18\x07 \x01(\r\x12\x17\n\x0fsettled_balance\x18\x08 \x01(\x03\x12\x1b\n\x13time_locked_balance\x18\t \x01(\x03\x12:\n\nclose_type\x18\n \x01(\x0e\x32&.lnrpc.ChannelCloseSummary.ClosureType\x12(\n\x0eopen_initiator\x18\x0b \x01(\x0e\x32\x10.lnrpc.Initiator\x12)\n\x0f\x63lose_initiator\x18\x0c \x01(\x0e\x32\x10.lnrpc.Initiator\x12&\n\x0bresolutions\x18\r \x03(\x0b\x32\x11.lnrpc.Resolution\"\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\"\xb2\x01\n\nResolution\x12.\n\x0fresolution_type\x18\x01 \x01(\x0e\x32\x15.lnrpc.ResolutionType\x12)\n\x07outcome\x18\x02 \x01(\x0e\x32\x18.lnrpc.ResolutionOutcome\x12!\n\x08outpoint\x18\x03 \x01(\x0b\x32\x0f.lnrpc.OutPoint\x12\x12\n\namount_sat\x18\x04 \x01(\x04\x12\x12\n\nsweep_txid\x18\x05 \x01(\t\"\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\"F\n\x16\x43losedChannelsResponse\x12,\n\x08\x63hannels\x18\x01 \x03(\x0b\x32\x1a.lnrpc.ChannelCloseSummary\"\xd4\x03\n\x04Peer\x12\x0f\n\x07pub_key\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x03 \x01(\t\x12\x12\n\nbytes_sent\x18\x04 \x01(\x04\x12\x12\n\nbytes_recv\x18\x05 \x01(\x04\x12\x10\n\x08sat_sent\x18\x06 \x01(\x03\x12\x10\n\x08sat_recv\x18\x07 \x01(\x03\x12\x0f\n\x07inbound\x18\x08 \x01(\x08\x12\x11\n\tping_time\x18\t \x01(\x03\x12\'\n\tsync_type\x18\n \x01(\x0e\x32\x14.lnrpc.Peer.SyncType\x12+\n\x08\x66\x65\x61tures\x18\x0b \x03(\x0b\x32\x19.lnrpc.Peer.FeaturesEntry\x12\'\n\x06\x65rrors\x18\x0c \x03(\x0b\x32\x17.lnrpc.TimestampedError\x12\x12\n\nflap_count\x18\r \x01(\x05\x12\x14\n\x0clast_flap_ns\x18\x0e \x01(\x03\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\"P\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\x0f\n\x0bPINNED_SYNC\x10\x03\"4\n\x10TimestampedError\x12\x11\n\ttimestamp\x18\x01 \x01(\x04\x12\r\n\x05\x65rror\x18\x02 \x01(\t\"(\n\x10ListPeersRequest\x12\x14\n\x0clatest_error\x18\x01 \x01(\x08\"/\n\x11ListPeersResponse\x12\x1a\n\x05peers\x18\x01 \x03(\x0b\x32\x0b.lnrpc.Peer\"\x17\n\x15PeerEventSubscription\"v\n\tPeerEvent\x12\x0f\n\x07pub_key\x18\x01 \x01(\t\x12(\n\x04type\x18\x02 \x01(\x0e\x32\x1a.lnrpc.PeerEvent.EventType\".\n\tEventType\x12\x0f\n\x0bPEER_ONLINE\x10\x00\x12\x10\n\x0cPEER_OFFLINE\x10\x01\"\x10\n\x0eGetInfoRequest\"\x96\x04\n\x0fGetInfoResponse\x12\x0f\n\x07version\x18\x0e \x01(\t\x12\x13\n\x0b\x63ommit_hash\x18\x14 \x01(\t\x12\x17\n\x0fidentity_pubkey\x18\x01 \x01(\t\x12\r\n\x05\x61lias\x18\x02 \x01(\t\x12\r\n\x05\x63olor\x18\x11 \x01(\t\x12\x1c\n\x14num_pending_channels\x18\x03 \x01(\r\x12\x1b\n\x13num_active_channels\x18\x04 \x01(\r\x12\x1d\n\x15num_inactive_channels\x18\x0f \x01(\r\x12\x11\n\tnum_peers\x18\x05 \x01(\r\x12\x14\n\x0c\x62lock_height\x18\x06 \x01(\r\x12\x12\n\nblock_hash\x18\x08 \x01(\t\x12\x1d\n\x15\x62\x65st_header_timestamp\x18\r \x01(\x03\x12\x17\n\x0fsynced_to_chain\x18\t \x01(\x08\x12\x17\n\x0fsynced_to_graph\x18\x12 \x01(\x08\x12\x13\n\x07testnet\x18\n \x01(\x08\x42\x02\x18\x01\x12\x1c\n\x06\x63hains\x18\x10 \x03(\x0b\x32\x0c.lnrpc.Chain\x12\x0c\n\x04uris\x18\x0c \x03(\t\x12\x36\n\x08\x66\x65\x61tures\x18\x13 \x03(\x0b\x32$.lnrpc.GetInfoResponse.FeaturesEntry\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\"\x18\n\x16GetRecoveryInfoRequest\"]\n\x17GetRecoveryInfoResponse\x12\x15\n\rrecovery_mode\x18\x01 \x01(\x08\x12\x19\n\x11recovery_finished\x18\x02 \x01(\x08\x12\x10\n\x08progress\x18\x03 \x01(\x01\"\'\n\x05\x43hain\x12\r\n\x05\x63hain\x18\x01 \x01(\t\x12\x0f\n\x07network\x18\x02 \x01(\t\"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\x11\x43hannelOpenUpdate\x12*\n\rchannel_point\x18\x01 \x01(\x0b\x32\x13.lnrpc.ChannelPoint\";\n\x12\x43hannelCloseUpdate\x12\x14\n\x0c\x63losing_txid\x18\x01 \x01(\x0c\x12\x0f\n\x07success\x18\x02 \x01(\x08\"\xb0\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\x18\n\x0csat_per_byte\x18\x04 \x01(\x03\x42\x02\x18\x01\x12\x18\n\x10\x64\x65livery_address\x18\x05 \x01(\t\x12\x15\n\rsat_per_vbyte\x18\x06 \x01(\x04\"}\n\x11\x43loseStatusUpdate\x12-\n\rclose_pending\x18\x01 \x01(\x0b\x32\x14.lnrpc.PendingUpdateH\x00\x12/\n\nchan_close\x18\x03 \x01(\x0b\x32\x19.lnrpc.ChannelCloseUpdateH\x00\x42\x08\n\x06update\"3\n\rPendingUpdate\x12\x0c\n\x04txid\x18\x01 \x01(\x0c\x12\x14\n\x0coutput_index\x18\x02 \x01(\r\"T\n\x13ReadyForPsbtFunding\x12\x17\n\x0f\x66unding_address\x18\x01 \x01(\t\x12\x16\n\x0e\x66unding_amount\x18\x02 \x01(\x03\x12\x0c\n\x04psbt\x18\x03 \x01(\x0c\"\xca\x03\n\x12OpenChannelRequest\x12\x15\n\rsat_per_vbyte\x18\x01 \x01(\x04\x12\x13\n\x0bnode_pubkey\x18\x02 \x01(\x0c\x12\x1e\n\x12node_pubkey_string\x18\x03 \x01(\tB\x02\x18\x01\x12\x1c\n\x14local_funding_amount\x18\x04 \x01(\x03\x12\x10\n\x08push_sat\x18\x05 \x01(\x03\x12\x13\n\x0btarget_conf\x18\x06 \x01(\x05\x12\x18\n\x0csat_per_byte\x18\x07 \x01(\x03\x42\x02\x18\x01\x12\x0f\n\x07private\x18\x08 \x01(\x08\x12\x15\n\rmin_htlc_msat\x18\t \x01(\x03\x12\x18\n\x10remote_csv_delay\x18\n \x01(\r\x12\x11\n\tmin_confs\x18\x0b \x01(\x05\x12\x19\n\x11spend_unconfirmed\x18\x0c \x01(\x08\x12\x15\n\rclose_address\x18\r \x01(\t\x12(\n\x0c\x66unding_shim\x18\x0e \x01(\x0b\x32\x12.lnrpc.FundingShim\x12\'\n\x1fremote_max_value_in_flight_msat\x18\x0f \x01(\x04\x12\x18\n\x10remote_max_htlcs\x18\x10 \x01(\r\x12\x15\n\rmax_local_csv\x18\x11 \x01(\r\"\xc3\x01\n\x10OpenStatusUpdate\x12,\n\x0c\x63han_pending\x18\x01 \x01(\x0b\x32\x14.lnrpc.PendingUpdateH\x00\x12-\n\tchan_open\x18\x03 \x01(\x0b\x32\x18.lnrpc.ChannelOpenUpdateH\x00\x12/\n\tpsbt_fund\x18\x05 \x01(\x0b\x32\x1a.lnrpc.ReadyForPsbtFundingH\x00\x12\x17\n\x0fpending_chan_id\x18\x04 \x01(\x0c\x42\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\"\xb0\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\x12\x13\n\x0bthaw_height\x18\x06 \x01(\r\"J\n\x08PsbtShim\x12\x17\n\x0fpending_chan_id\x18\x01 \x01(\x0c\x12\x11\n\tbase_psbt\x18\x02 \x01(\x0c\x12\x12\n\nno_publish\x18\x03 \x01(\x08\"l\n\x0b\x46undingShim\x12/\n\x0f\x63han_point_shim\x18\x01 \x01(\x0b\x32\x14.lnrpc.ChanPointShimH\x00\x12$\n\tpsbt_shim\x18\x02 \x01(\x0b\x32\x0f.lnrpc.PsbtShimH\x00\x42\x06\n\x04shim\",\n\x11\x46undingShimCancel\x12\x17\n\x0fpending_chan_id\x18\x01 \x01(\x0c\"A\n\x11\x46undingPsbtVerify\x12\x13\n\x0b\x66unded_psbt\x18\x01 \x01(\x0c\x12\x17\n\x0fpending_chan_id\x18\x02 \x01(\x0c\"Y\n\x13\x46undingPsbtFinalize\x12\x13\n\x0bsigned_psbt\x18\x01 \x01(\x0c\x12\x17\n\x0fpending_chan_id\x18\x02 \x01(\x0c\x12\x14\n\x0c\x66inal_raw_tx\x18\x03 \x01(\x0c\"\xe5\x01\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\x12/\n\x0bpsbt_verify\x18\x03 \x01(\x0b\x32\x18.lnrpc.FundingPsbtVerifyH\x00\x12\x33\n\rpsbt_finalize\x18\x04 \x01(\x0b\x32\x1a.lnrpc.FundingPsbtFinalizeH\x00\x42\t\n\x07trigger\"\x16\n\x14\x46undingStateStepResp\"\x86\x01\n\x0bPendingHTLC\x12\x10\n\x08incoming\x18\x01 \x01(\x08\x12\x0e\n\x06\x61mount\x18\x02 \x01(\x03\x12\x10\n\x08outpoint\x18\x03 \x01(\t\x12\x17\n\x0fmaturity_height\x18\x04 \x01(\r\x12\x1b\n\x13\x62locks_til_maturity\x18\x05 \x01(\x05\x12\r\n\x05stage\x18\x06 \x01(\r\"\x18\n\x16PendingChannelsRequest\"\xab\r\n\x17PendingChannelsResponse\x12\x1b\n\x13total_limbo_balance\x18\x01 \x01(\x03\x12P\n\x15pending_open_channels\x18\x02 \x03(\x0b\x32\x31.lnrpc.PendingChannelsResponse.PendingOpenChannel\x12R\n\x18pending_closing_channels\x18\x03 \x03(\x0b\x32,.lnrpc.PendingChannelsResponse.ClosedChannelB\x02\x18\x01\x12Y\n\x1epending_force_closing_channels\x18\x04 \x03(\x0b\x32\x31.lnrpc.PendingChannelsResponse.ForceClosedChannel\x12R\n\x16waiting_close_channels\x18\x05 \x03(\x0b\x32\x32.lnrpc.PendingChannelsResponse.WaitingCloseChannel\x1a\x97\x02\n\x0ePendingChannel\x12\x17\n\x0fremote_node_pub\x18\x01 \x01(\t\x12\x15\n\rchannel_point\x18\x02 \x01(\t\x12\x10\n\x08\x63\x61pacity\x18\x03 \x01(\x03\x12\x15\n\rlocal_balance\x18\x04 \x01(\x03\x12\x16\n\x0eremote_balance\x18\x05 \x01(\x03\x12\x1e\n\x16local_chan_reserve_sat\x18\x06 \x01(\x03\x12\x1f\n\x17remote_chan_reserve_sat\x18\x07 \x01(\x03\x12#\n\tinitiator\x18\x08 \x01(\x0e\x32\x10.lnrpc.Initiator\x12.\n\x0f\x63ommitment_type\x18\t \x01(\x0e\x32\x15.lnrpc.CommitmentType\x1a\xb0\x01\n\x12PendingOpenChannel\x12>\n\x07\x63hannel\x18\x01 \x01(\x0b\x32-.lnrpc.PendingChannelsResponse.PendingChannel\x12\x1b\n\x13\x63onfirmation_height\x18\x02 \x01(\r\x12\x12\n\ncommit_fee\x18\x04 \x01(\x03\x12\x15\n\rcommit_weight\x18\x05 \x01(\x03\x12\x12\n\nfee_per_kw\x18\x06 \x01(\x03\x1a\xad\x01\n\x13WaitingCloseChannel\x12>\n\x07\x63hannel\x18\x01 \x01(\x0b\x32-.lnrpc.PendingChannelsResponse.PendingChannel\x12\x15\n\rlimbo_balance\x18\x02 \x01(\x03\x12?\n\x0b\x63ommitments\x18\x03 \x01(\x0b\x32*.lnrpc.PendingChannelsResponse.Commitments\x1a\xb7\x01\n\x0b\x43ommitments\x12\x12\n\nlocal_txid\x18\x01 \x01(\t\x12\x13\n\x0bremote_txid\x18\x02 \x01(\t\x12\x1b\n\x13remote_pending_txid\x18\x03 \x01(\t\x12\x1c\n\x14local_commit_fee_sat\x18\x04 \x01(\x04\x12\x1d\n\x15remote_commit_fee_sat\x18\x05 \x01(\x04\x12%\n\x1dremote_pending_commit_fee_sat\x18\x06 \x01(\x04\x1a\x65\n\rClosedChannel\x12>\n\x07\x63hannel\x18\x01 \x01(\x0b\x32-.lnrpc.PendingChannelsResponse.PendingChannel\x12\x14\n\x0c\x63losing_txid\x18\x02 \x01(\t\x1a\xff\x02\n\x12\x46orceClosedChannel\x12>\n\x07\x63hannel\x18\x01 \x01(\x0b\x32-.lnrpc.PendingChannelsResponse.PendingChannel\x12\x14\n\x0c\x63losing_txid\x18\x02 \x01(\t\x12\x15\n\rlimbo_balance\x18\x03 \x01(\x03\x12\x17\n\x0fmaturity_height\x18\x04 \x01(\r\x12\x1b\n\x13\x62locks_til_maturity\x18\x05 \x01(\x05\x12\x19\n\x11recovered_balance\x18\x06 \x01(\x03\x12)\n\rpending_htlcs\x18\x08 \x03(\x0b\x32\x12.lnrpc.PendingHTLC\x12M\n\x06\x61nchor\x18\t \x01(\x0e\x32=.lnrpc.PendingChannelsResponse.ForceClosedChannel.AnchorState\"1\n\x0b\x41nchorState\x12\t\n\x05LIMBO\x10\x00\x12\r\n\tRECOVERED\x10\x01\x12\x08\n\x04LOST\x10\x02\"\x1a\n\x18\x43hannelEventSubscription\"\xbf\x03\n\x12\x43hannelEventUpdate\x12&\n\x0copen_channel\x18\x01 \x01(\x0b\x32\x0e.lnrpc.ChannelH\x00\x12\x34\n\x0e\x63losed_channel\x18\x02 \x01(\x0b\x32\x1a.lnrpc.ChannelCloseSummaryH\x00\x12-\n\x0e\x61\x63tive_channel\x18\x03 \x01(\x0b\x32\x13.lnrpc.ChannelPointH\x00\x12/\n\x10inactive_channel\x18\x04 \x01(\x0b\x32\x13.lnrpc.ChannelPointH\x00\x12\x34\n\x14pending_open_channel\x18\x06 \x01(\x0b\x32\x14.lnrpc.PendingUpdateH\x00\x12\x32\n\x04type\x18\x05 \x01(\x0e\x32$.lnrpc.ChannelEventUpdate.UpdateType\"v\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\x12\x18\n\x14PENDING_OPEN_CHANNEL\x10\x04\x42\t\n\x07\x63hannel\"N\n\x14WalletAccountBalance\x12\x19\n\x11\x63onfirmed_balance\x18\x01 \x01(\x03\x12\x1b\n\x13unconfirmed_balance\x18\x02 \x01(\x03\"\x16\n\x14WalletBalanceRequest\"\x85\x02\n\x15WalletBalanceResponse\x12\x15\n\rtotal_balance\x18\x01 \x01(\x03\x12\x19\n\x11\x63onfirmed_balance\x18\x02 \x01(\x03\x12\x1b\n\x13unconfirmed_balance\x18\x03 \x01(\x03\x12I\n\x0f\x61\x63\x63ount_balance\x18\x04 \x03(\x0b\x32\x30.lnrpc.WalletBalanceResponse.AccountBalanceEntry\x1aR\n\x13\x41\x63\x63ountBalanceEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12*\n\x05value\x18\x02 \x01(\x0b\x32\x1b.lnrpc.WalletAccountBalance:\x02\x38\x01\"#\n\x06\x41mount\x12\x0b\n\x03sat\x18\x01 \x01(\x04\x12\x0c\n\x04msat\x18\x02 \x01(\x04\"\x17\n\x15\x43hannelBalanceRequest\"\xe4\x02\n\x16\x43hannelBalanceResponse\x12\x13\n\x07\x62\x61lance\x18\x01 \x01(\x03\x42\x02\x18\x01\x12 \n\x14pending_open_balance\x18\x02 \x01(\x03\x42\x02\x18\x01\x12$\n\rlocal_balance\x18\x03 \x01(\x0b\x32\r.lnrpc.Amount\x12%\n\x0eremote_balance\x18\x04 \x01(\x0b\x32\r.lnrpc.Amount\x12.\n\x17unsettled_local_balance\x18\x05 \x01(\x0b\x32\r.lnrpc.Amount\x12/\n\x18unsettled_remote_balance\x18\x06 \x01(\x0b\x32\r.lnrpc.Amount\x12\x31\n\x1apending_open_local_balance\x18\x07 \x01(\x0b\x32\r.lnrpc.Amount\x12\x32\n\x1bpending_open_remote_balance\x18\x08 \x01(\x0b\x32\r.lnrpc.Amount\"\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\"I\n\x13QueryRoutesResponse\x12\x1c\n\x06routes\x18\x01 \x03(\x0b\x32\x0c.lnrpc.Route\x12\x14\n\x0csuccess_prob\x18\x02 \x01(\x01\"\x80\x03\n\x03Hop\x12\x13\n\x07\x63han_id\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x19\n\rchan_capacity\x18\x02 \x01(\x03\x42\x02\x18\x01\x12\x1a\n\x0e\x61mt_to_forward\x18\x03 \x01(\x03\x42\x02\x18\x01\x12\x0f\n\x03\x66\x65\x65\x18\x04 \x01(\x03\x42\x02\x18\x01\x12\x0e\n\x06\x65xpiry\x18\x05 \x01(\r\x12\x1b\n\x13\x61mt_to_forward_msat\x18\x06 \x01(\x03\x12\x10\n\x08\x66\x65\x65_msat\x18\x07 \x01(\x03\x12\x0f\n\x07pub_key\x18\x08 \x01(\t\x12\x13\n\x0btlv_payload\x18\t \x01(\x08\x12$\n\nmpp_record\x18\n \x01(\x0b\x32\x10.lnrpc.MPPRecord\x12$\n\namp_record\x18\x0c \x01(\x0b\x32\x10.lnrpc.AMPRecord\x12\x35\n\x0e\x63ustom_records\x18\x0b \x03(\x0b\x32\x1d.lnrpc.Hop.CustomRecordsEntry\x1a\x34\n\x12\x43ustomRecordsEntry\x12\x0b\n\x03key\x18\x01 \x01(\x04\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\"9\n\tMPPRecord\x12\x14\n\x0cpayment_addr\x18\x0b \x01(\x0c\x12\x16\n\x0etotal_amt_msat\x18\n \x01(\x03\"D\n\tAMPRecord\x12\x12\n\nroot_share\x18\x01 \x01(\x0c\x12\x0e\n\x06set_id\x18\x02 \x01(\x0c\x12\x13\n\x0b\x63hild_index\x18\x03 \x01(\r\"\x9a\x01\n\x05Route\x12\x17\n\x0ftotal_time_lock\x18\x01 \x01(\r\x12\x16\n\ntotal_fees\x18\x02 \x01(\x03\x42\x02\x18\x01\x12\x15\n\ttotal_amt\x18\x03 \x01(\x03\x42\x02\x18\x01\x12\x18\n\x04hops\x18\x04 \x03(\x0b\x32\n.lnrpc.Hop\x12\x17\n\x0ftotal_fees_msat\x18\x05 \x01(\x03\x12\x16\n\x0etotal_amt_msat\x18\x06 \x01(\x03\"<\n\x0fNodeInfoRequest\x12\x0f\n\x07pub_key\x18\x01 \x01(\t\x12\x18\n\x10include_channels\x18\x02 \x01(\x08\"\x82\x01\n\x08NodeInfo\x12\"\n\x04node\x18\x01 \x01(\x0b\x32\x14.lnrpc.LightningNode\x12\x14\n\x0cnum_channels\x18\x02 \x01(\r\x12\x16\n\x0etotal_capacity\x18\x03 \x01(\x03\x12$\n\x08\x63hannels\x18\x04 \x03(\x0b\x32\x12.lnrpc.ChannelEdge\"\xf1\x01\n\rLightningNode\x12\x13\n\x0blast_update\x18\x01 \x01(\r\x12\x0f\n\x07pub_key\x18\x02 \x01(\t\x12\r\n\x05\x61lias\x18\x03 \x01(\t\x12%\n\taddresses\x18\x04 \x03(\x0b\x32\x12.lnrpc.NodeAddress\x12\r\n\x05\x63olor\x18\x05 \x01(\t\x12\x34\n\x08\x66\x65\x61tures\x18\x06 \x03(\x0b\x32\".lnrpc.LightningNode.FeaturesEntry\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\x0f\n\x07network\x18\x01 \x01(\t\x12\x0c\n\x04\x61\x64\x64r\x18\x02 \x01(\t\"\xac\x01\n\rRoutingPolicy\x12\x17\n\x0ftime_lock_delta\x18\x01 \x01(\r\x12\x10\n\x08min_htlc\x18\x02 \x01(\x03\x12\x15\n\rfee_base_msat\x18\x03 \x01(\x03\x12\x1b\n\x13\x66\x65\x65_rate_milli_msat\x18\x04 \x01(\x03\x12\x10\n\x08\x64isabled\x18\x05 \x01(\x08\x12\x15\n\rmax_htlc_msat\x18\x06 \x01(\x04\x12\x13\n\x0blast_update\x18\x07 \x01(\r\"\xe2\x01\n\x0b\x43hannelEdge\x12\x16\n\nchannel_id\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x12\n\nchan_point\x18\x02 \x01(\t\x12\x17\n\x0blast_update\x18\x03 \x01(\rB\x02\x18\x01\x12\x11\n\tnode1_pub\x18\x04 \x01(\t\x12\x11\n\tnode2_pub\x18\x05 \x01(\t\x12\x10\n\x08\x63\x61pacity\x18\x06 \x01(\x03\x12*\n\x0cnode1_policy\x18\x07 \x01(\x0b\x32\x14.lnrpc.RoutingPolicy\x12*\n\x0cnode2_policy\x18\x08 \x01(\x0b\x32\x14.lnrpc.RoutingPolicy\"2\n\x13\x43hannelGraphRequest\x12\x1b\n\x13include_unannounced\x18\x01 \x01(\x08\"V\n\x0c\x43hannelGraph\x12#\n\x05nodes\x18\x01 \x03(\x0b\x32\x14.lnrpc.LightningNode\x12!\n\x05\x65\x64ges\x18\x02 \x03(\x0b\x32\x12.lnrpc.ChannelEdge\":\n\x12NodeMetricsRequest\x12$\n\x05types\x18\x01 \x03(\x0e\x32\x15.lnrpc.NodeMetricType\"\xbe\x01\n\x13NodeMetricsResponse\x12U\n\x16\x62\x65tweenness_centrality\x18\x01 \x03(\x0b\x32\x35.lnrpc.NodeMetricsResponse.BetweennessCentralityEntry\x1aP\n\x1a\x42\x65tweennessCentralityEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12!\n\x05value\x18\x02 \x01(\x0b\x32\x12.lnrpc.FloatMetric:\x02\x38\x01\"6\n\x0b\x46loatMetric\x12\r\n\x05value\x18\x01 \x01(\x01\x12\x18\n\x10normalized_value\x18\x02 \x01(\x01\"&\n\x0f\x43hanInfoRequest\x12\x13\n\x07\x63han_id\x18\x01 \x01(\x04\x42\x02\x30\x01\"\x14\n\x12NetworkInfoRequest\"\xa7\x02\n\x0bNetworkInfo\x12\x16\n\x0egraph_diameter\x18\x01 \x01(\r\x12\x16\n\x0e\x61vg_out_degree\x18\x02 \x01(\x01\x12\x16\n\x0emax_out_degree\x18\x03 \x01(\r\x12\x11\n\tnum_nodes\x18\x04 \x01(\r\x12\x14\n\x0cnum_channels\x18\x05 \x01(\r\x12\x1e\n\x16total_network_capacity\x18\x06 \x01(\x03\x12\x18\n\x10\x61vg_channel_size\x18\x07 \x01(\x01\x12\x18\n\x10min_channel_size\x18\x08 \x01(\x03\x12\x18\n\x10max_channel_size\x18\t \x01(\x03\x12\x1f\n\x17median_channel_size_sat\x18\n \x01(\x03\x12\x18\n\x10num_zombie_chans\x18\x0b \x01(\x04\"\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\"\x94\x02\n\nNodeUpdate\x12\x15\n\taddresses\x18\x01 \x03(\tB\x02\x18\x01\x12\x14\n\x0cidentity_key\x18\x02 \x01(\t\x12\x1b\n\x0fglobal_features\x18\x03 \x01(\x0c\x42\x02\x18\x01\x12\r\n\x05\x61lias\x18\x04 \x01(\t\x12\r\n\x05\x63olor\x18\x05 \x01(\t\x12*\n\x0enode_addresses\x18\x07 \x03(\x0b\x32\x12.lnrpc.NodeAddress\x12\x31\n\x08\x66\x65\x61tures\x18\x06 \x03(\x0b\x32\x1f.lnrpc.NodeUpdate.FeaturesEntry\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\"\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\"\x86\x01\n\x07HopHint\x12\x0f\n\x07node_id\x18\x01 \x01(\t\x12\x13\n\x07\x63han_id\x18\x02 \x01(\x04\x42\x02\x30\x01\x12\x15\n\rfee_base_msat\x18\x03 \x01(\r\x12#\n\x1b\x66\x65\x65_proportional_millionths\x18\x04 \x01(\r\x12\x19\n\x11\x63ltv_expiry_delta\x18\x05 \x01(\r\".\n\tRouteHint\x12!\n\thop_hints\x18\x01 \x03(\x0b\x32\x0e.lnrpc.HopHint\"\xf5\x05\n\x07Invoice\x12\x0c\n\x04memo\x18\x01 \x01(\t\x12\x12\n\nr_preimage\x18\x03 \x01(\x0c\x12\x0e\n\x06r_hash\x18\x04 \x01(\x0c\x12\r\n\x05value\x18\x05 \x01(\x03\x12\x12\n\nvalue_msat\x18\x17 \x01(\x03\x12\x13\n\x07settled\x18\x06 \x01(\x08\x42\x02\x18\x01\x12\x15\n\rcreation_date\x18\x07 \x01(\x03\x12\x13\n\x0bsettle_date\x18\x08 \x01(\x03\x12\x17\n\x0fpayment_request\x18\t \x01(\t\x12\x18\n\x10\x64\x65scription_hash\x18\n \x01(\x0c\x12\x0e\n\x06\x65xpiry\x18\x0b \x01(\x03\x12\x15\n\rfallback_addr\x18\x0c \x01(\t\x12\x13\n\x0b\x63ltv_expiry\x18\r \x01(\x04\x12%\n\x0broute_hints\x18\x0e \x03(\x0b\x32\x10.lnrpc.RouteHint\x12\x0f\n\x07private\x18\x0f \x01(\x08\x12\x11\n\tadd_index\x18\x10 \x01(\x04\x12\x14\n\x0csettle_index\x18\x11 \x01(\x04\x12\x14\n\x08\x61mt_paid\x18\x12 \x01(\x03\x42\x02\x18\x01\x12\x14\n\x0c\x61mt_paid_sat\x18\x13 \x01(\x03\x12\x15\n\ramt_paid_msat\x18\x14 \x01(\x03\x12*\n\x05state\x18\x15 \x01(\x0e\x32\x1b.lnrpc.Invoice.InvoiceState\x12!\n\x05htlcs\x18\x16 \x03(\x0b\x32\x12.lnrpc.InvoiceHTLC\x12.\n\x08\x66\x65\x61tures\x18\x18 \x03(\x0b\x32\x1c.lnrpc.Invoice.FeaturesEntry\x12\x12\n\nis_keysend\x18\x19 \x01(\x08\x12\x14\n\x0cpayment_addr\x18\x1a \x01(\x0c\x12\x0e\n\x06is_amp\x18\x1b \x01(\x08\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\"\xf3\x02\n\x0bInvoiceHTLC\x12\x13\n\x07\x63han_id\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x12\n\nhtlc_index\x18\x02 \x01(\x04\x12\x10\n\x08\x61mt_msat\x18\x03 \x01(\x04\x12\x15\n\raccept_height\x18\x04 \x01(\x05\x12\x13\n\x0b\x61\x63\x63\x65pt_time\x18\x05 \x01(\x03\x12\x14\n\x0cresolve_time\x18\x06 \x01(\x03\x12\x15\n\rexpiry_height\x18\x07 \x01(\x05\x12&\n\x05state\x18\x08 \x01(\x0e\x32\x17.lnrpc.InvoiceHTLCState\x12=\n\x0e\x63ustom_records\x18\t \x03(\x0b\x32%.lnrpc.InvoiceHTLC.CustomRecordsEntry\x12\x1a\n\x12mpp_total_amt_msat\x18\n \x01(\x04\x12\x17\n\x03\x61mp\x18\x0b \x01(\x0b\x32\n.lnrpc.AMP\x1a\x34\n\x12\x43ustomRecordsEntry\x12\x0b\n\x03key\x18\x01 \x01(\x04\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\"^\n\x03\x41MP\x12\x12\n\nroot_share\x18\x01 \x01(\x0c\x12\x0e\n\x06set_id\x18\x02 \x01(\x0c\x12\x13\n\x0b\x63hild_index\x18\x03 \x01(\r\x12\x0c\n\x04hash\x18\x04 \x01(\x0c\x12\x10\n\x08preimage\x18\x05 \x01(\x0c\"f\n\x12\x41\x64\x64InvoiceResponse\x12\x0e\n\x06r_hash\x18\x01 \x01(\x0c\x12\x17\n\x0fpayment_request\x18\x02 \x01(\t\x12\x11\n\tadd_index\x18\x10 \x01(\x04\x12\x14\n\x0cpayment_addr\x18\x11 \x01(\x0c\"5\n\x0bPaymentHash\x12\x16\n\nr_hash_str\x18\x01 \x01(\tB\x02\x18\x01\x12\x0e\n\x06r_hash\x18\x02 \x01(\x0c\"l\n\x12ListInvoiceRequest\x12\x14\n\x0cpending_only\x18\x01 \x01(\x08\x12\x14\n\x0cindex_offset\x18\x04 \x01(\x04\x12\x18\n\x10num_max_invoices\x18\x05 \x01(\x04\x12\x10\n\x08reversed\x18\x06 \x01(\x08\"n\n\x13ListInvoiceResponse\x12 \n\x08invoices\x18\x01 \x03(\x0b\x32\x0e.lnrpc.Invoice\x12\x19\n\x11last_index_offset\x18\x02 \x01(\x04\x12\x1a\n\x12\x66irst_index_offset\x18\x03 \x01(\x04\">\n\x13InvoiceSubscription\x12\x11\n\tadd_index\x18\x01 \x01(\x04\x12\x14\n\x0csettle_index\x18\x02 \x01(\x04\"\xe0\x03\n\x07Payment\x12\x14\n\x0cpayment_hash\x18\x01 \x01(\t\x12\x11\n\x05value\x18\x02 \x01(\x03\x42\x02\x18\x01\x12\x19\n\rcreation_date\x18\x03 \x01(\x03\x42\x02\x18\x01\x12\x0f\n\x03\x66\x65\x65\x18\x05 \x01(\x03\x42\x02\x18\x01\x12\x18\n\x10payment_preimage\x18\x06 \x01(\t\x12\x11\n\tvalue_sat\x18\x07 \x01(\x03\x12\x12\n\nvalue_msat\x18\x08 \x01(\x03\x12\x17\n\x0fpayment_request\x18\t \x01(\t\x12,\n\x06status\x18\n \x01(\x0e\x32\x1c.lnrpc.Payment.PaymentStatus\x12\x0f\n\x07\x66\x65\x65_sat\x18\x0b \x01(\x03\x12\x10\n\x08\x66\x65\x65_msat\x18\x0c \x01(\x03\x12\x18\n\x10\x63reation_time_ns\x18\r \x01(\x03\x12!\n\x05htlcs\x18\x0e \x03(\x0b\x32\x12.lnrpc.HTLCAttempt\x12\x15\n\rpayment_index\x18\x0f \x01(\x04\x12\x33\n\x0e\x66\x61ilure_reason\x18\x10 \x01(\x0e\x32\x1b.lnrpc.PaymentFailureReason\"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\x03J\x04\x08\x04\x10\x05\"\x8a\x02\n\x0bHTLCAttempt\x12\x12\n\nattempt_id\x18\x07 \x01(\x04\x12-\n\x06status\x18\x01 \x01(\x0e\x32\x1d.lnrpc.HTLCAttempt.HTLCStatus\x12\x1b\n\x05route\x18\x02 \x01(\x0b\x32\x0c.lnrpc.Route\x12\x17\n\x0f\x61ttempt_time_ns\x18\x03 \x01(\x03\x12\x17\n\x0fresolve_time_ns\x18\x04 \x01(\x03\x12\x1f\n\x07\x66\x61ilure\x18\x05 \x01(\x0b\x32\x0e.lnrpc.Failure\x12\x10\n\x08preimage\x18\x06 \x01(\x0c\"6\n\nHTLCStatus\x12\r\n\tIN_FLIGHT\x10\x00\x12\r\n\tSUCCEEDED\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\"o\n\x13ListPaymentsRequest\x12\x1a\n\x12include_incomplete\x18\x01 \x01(\x08\x12\x14\n\x0cindex_offset\x18\x02 \x01(\x04\x12\x14\n\x0cmax_payments\x18\x03 \x01(\x04\x12\x10\n\x08reversed\x18\x04 \x01(\x08\"o\n\x14ListPaymentsResponse\x12 \n\x08payments\x18\x01 \x03(\x0b\x32\x0e.lnrpc.Payment\x12\x1a\n\x12\x66irst_index_offset\x18\x02 \x01(\x04\x12\x19\n\x11last_index_offset\x18\x03 \x01(\x04\"S\n\x18\x44\x65leteAllPaymentsRequest\x12\x1c\n\x14\x66\x61iled_payments_only\x18\x01 \x01(\x08\x12\x19\n\x11\x66\x61iled_htlcs_only\x18\x02 \x01(\x08\"\x1b\n\x19\x44\x65leteAllPaymentsResponse\"\x86\x01\n\x15\x41\x62\x61ndonChannelRequest\x12*\n\rchannel_point\x18\x01 \x01(\x0b\x32\x13.lnrpc.ChannelPoint\x12!\n\x19pending_funding_shim_only\x18\x02 \x01(\x08\x12\x1e\n\x16i_know_what_i_am_doing\x18\x03 \x01(\x08\"\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\")\n\x12\x44\x65\x62ugLevelResponse\x12\x13\n\x0bsub_systems\x18\x01 \x01(\t\"\x1f\n\x0cPayReqString\x12\x0f\n\x07pay_req\x18\x01 \x01(\t\"\x86\x03\n\x06PayReq\x12\x13\n\x0b\x64\x65stination\x18\x01 \x01(\t\x12\x14\n\x0cpayment_hash\x18\x02 \x01(\t\x12\x14\n\x0cnum_satoshis\x18\x03 \x01(\x03\x12\x11\n\ttimestamp\x18\x04 \x01(\x03\x12\x0e\n\x06\x65xpiry\x18\x05 \x01(\x03\x12\x13\n\x0b\x64\x65scription\x18\x06 \x01(\t\x12\x18\n\x10\x64\x65scription_hash\x18\x07 \x01(\t\x12\x15\n\rfallback_addr\x18\x08 \x01(\t\x12\x13\n\x0b\x63ltv_expiry\x18\t \x01(\x03\x12%\n\x0broute_hints\x18\n \x03(\x0b\x32\x10.lnrpc.RouteHint\x12\x14\n\x0cpayment_addr\x18\x0b \x01(\x0c\x12\x10\n\x08num_msat\x18\x0c \x01(\x03\x12-\n\x08\x66\x65\x61tures\x18\r \x03(\x0b\x32\x1b.lnrpc.PayReq.FeaturesEntry\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\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0bis_required\x18\x03 \x01(\x08\x12\x10\n\x08is_known\x18\x04 \x01(\x08\"\x12\n\x10\x46\x65\x65ReportRequest\"|\n\x10\x43hannelFeeReport\x12\x13\n\x07\x63han_id\x18\x05 \x01(\x04\x42\x02\x30\x01\x12\x15\n\rchannel_point\x18\x01 \x01(\t\x12\x15\n\rbase_fee_msat\x18\x02 \x01(\x03\x12\x13\n\x0b\x66\x65\x65_per_mil\x18\x03 \x01(\x03\x12\x10\n\x08\x66\x65\x65_rate\x18\x04 \x01(\x01\"\x84\x01\n\x11\x46\x65\x65ReportResponse\x12-\n\x0c\x63hannel_fees\x18\x01 \x03(\x0b\x32\x17.lnrpc.ChannelFeeReport\x12\x13\n\x0b\x64\x61y_fee_sum\x18\x02 \x01(\x04\x12\x14\n\x0cweek_fee_sum\x18\x03 \x01(\x04\x12\x15\n\rmonth_fee_sum\x18\x04 \x01(\x04\"\xec\x01\n\x13PolicyUpdateRequest\x12\x10\n\x06global\x18\x01 \x01(\x08H\x00\x12)\n\nchan_point\x18\x02 \x01(\x0b\x32\x13.lnrpc.ChannelPointH\x00\x12\x15\n\rbase_fee_msat\x18\x03 \x01(\x03\x12\x10\n\x08\x66\x65\x65_rate\x18\x04 \x01(\x01\x12\x17\n\x0ftime_lock_delta\x18\x05 \x01(\r\x12\x15\n\rmax_htlc_msat\x18\x06 \x01(\x04\x12\x15\n\rmin_htlc_msat\x18\x07 \x01(\x04\x12\x1f\n\x17min_htlc_msat_specified\x18\x08 \x01(\x08\x42\x07\n\x05scope\"\x16\n\x14PolicyUpdateResponse\"n\n\x18\x46orwardingHistoryRequest\x12\x12\n\nstart_time\x18\x01 \x01(\x04\x12\x10\n\x08\x65nd_time\x18\x02 \x01(\x04\x12\x14\n\x0cindex_offset\x18\x03 \x01(\r\x12\x16\n\x0enum_max_events\x18\x04 \x01(\r\"\xda\x01\n\x0f\x46orwardingEvent\x12\x15\n\ttimestamp\x18\x01 \x01(\x04\x42\x02\x18\x01\x12\x16\n\nchan_id_in\x18\x02 \x01(\x04\x42\x02\x30\x01\x12\x17\n\x0b\x63han_id_out\x18\x04 \x01(\x04\x42\x02\x30\x01\x12\x0e\n\x06\x61mt_in\x18\x05 \x01(\x04\x12\x0f\n\x07\x61mt_out\x18\x06 \x01(\x04\x12\x0b\n\x03\x66\x65\x65\x18\x07 \x01(\x04\x12\x10\n\x08\x66\x65\x65_msat\x18\x08 \x01(\x04\x12\x13\n\x0b\x61mt_in_msat\x18\t \x01(\x04\x12\x14\n\x0c\x61mt_out_msat\x18\n \x01(\x04\x12\x14\n\x0ctimestamp_ns\x18\x0b \x01(\x04\"i\n\x19\x46orwardingHistoryResponse\x12\x31\n\x11\x66orwarding_events\x18\x01 \x03(\x0b\x32\x16.lnrpc.ForwardingEvent\x12\x19\n\x11last_offset_index\x18\x02 \x01(\r\"E\n\x1a\x45xportChannelBackupRequest\x12\'\n\nchan_point\x18\x01 \x01(\x0b\x32\x13.lnrpc.ChannelPoint\"M\n\rChannelBackup\x12\'\n\nchan_point\x18\x01 \x01(\x0b\x32\x13.lnrpc.ChannelPoint\x12\x13\n\x0b\x63han_backup\x18\x02 \x01(\x0c\"V\n\x0fMultiChanBackup\x12(\n\x0b\x63han_points\x18\x01 \x03(\x0b\x32\x13.lnrpc.ChannelPoint\x12\x19\n\x11multi_chan_backup\x18\x02 \x01(\x0c\"\x19\n\x17\x43hanBackupExportRequest\"{\n\x12\x43hanBackupSnapshot\x12\x32\n\x13single_chan_backups\x18\x01 \x01(\x0b\x32\x15.lnrpc.ChannelBackups\x12\x31\n\x11multi_chan_backup\x18\x02 \x01(\x0b\x32\x16.lnrpc.MultiChanBackup\"<\n\x0e\x43hannelBackups\x12*\n\x0c\x63han_backups\x18\x01 \x03(\x0b\x32\x14.lnrpc.ChannelBackup\"p\n\x18RestoreChanBackupRequest\x12-\n\x0c\x63han_backups\x18\x01 \x01(\x0b\x32\x15.lnrpc.ChannelBackupsH\x00\x12\x1b\n\x11multi_chan_backup\x18\x02 \x01(\x0cH\x00\x42\x08\n\x06\x62\x61\x63kup\"\x17\n\x15RestoreBackupResponse\"\x1b\n\x19\x43hannelBackupSubscription\"\x1a\n\x18VerifyChanBackupResponse\"4\n\x12MacaroonPermission\x12\x0e\n\x06\x65ntity\x18\x01 \x01(\t\x12\x0e\n\x06\x61\x63tion\x18\x02 \x01(\t\"Z\n\x13\x42\x61keMacaroonRequest\x12.\n\x0bpermissions\x18\x01 \x03(\x0b\x32\x19.lnrpc.MacaroonPermission\x12\x13\n\x0broot_key_id\x18\x02 \x01(\x04\"(\n\x14\x42\x61keMacaroonResponse\x12\x10\n\x08macaroon\x18\x01 \x01(\t\"\x18\n\x16ListMacaroonIDsRequest\"/\n\x17ListMacaroonIDsResponse\x12\x14\n\x0croot_key_ids\x18\x01 \x03(\x04\".\n\x17\x44\x65leteMacaroonIDRequest\x12\x13\n\x0broot_key_id\x18\x01 \x01(\x04\"+\n\x18\x44\x65leteMacaroonIDResponse\x12\x0f\n\x07\x64\x65leted\x18\x01 \x01(\x08\"H\n\x16MacaroonPermissionList\x12.\n\x0bpermissions\x18\x01 \x03(\x0b\x32\x19.lnrpc.MacaroonPermission\"\x18\n\x16ListPermissionsRequest\"\xc5\x01\n\x17ListPermissionsResponse\x12Q\n\x12method_permissions\x18\x01 \x03(\x0b\x32\x35.lnrpc.ListPermissionsResponse.MethodPermissionsEntry\x1aW\n\x16MethodPermissionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12,\n\x05value\x18\x02 \x01(\x0b\x32\x1d.lnrpc.MacaroonPermissionList:\x02\x38\x01\"\xd5\x07\n\x07\x46\x61ilure\x12(\n\x04\x63ode\x18\x01 \x01(\x0e\x32\x1a.lnrpc.Failure.FailureCode\x12,\n\x0e\x63hannel_update\x18\x03 \x01(\x0b\x32\x14.lnrpc.ChannelUpdate\x12\x11\n\thtlc_msat\x18\x04 \x01(\x04\x12\x15\n\ronion_sha_256\x18\x05 \x01(\x0c\x12\x13\n\x0b\x63ltv_expiry\x18\x06 \x01(\r\x12\r\n\x05\x66lags\x18\x07 \x01(\r\x12\x1c\n\x14\x66\x61ilure_source_index\x18\x08 \x01(\r\x12\x0e\n\x06height\x18\t \x01(\r\"\xef\x05\n\x0b\x46\x61ilureCode\x12\x0c\n\x08RESERVED\x10\x00\x12(\n$INCORRECT_OR_UNKNOWN_PAYMENT_DETAILS\x10\x01\x12\x1c\n\x18INCORRECT_PAYMENT_AMOUNT\x10\x02\x12\x1f\n\x1b\x46INAL_INCORRECT_CLTV_EXPIRY\x10\x03\x12\x1f\n\x1b\x46INAL_INCORRECT_HTLC_AMOUNT\x10\x04\x12\x19\n\x15\x46INAL_EXPIRY_TOO_SOON\x10\x05\x12\x11\n\rINVALID_REALM\x10\x06\x12\x13\n\x0f\x45XPIRY_TOO_SOON\x10\x07\x12\x19\n\x15INVALID_ONION_VERSION\x10\x08\x12\x16\n\x12INVALID_ONION_HMAC\x10\t\x12\x15\n\x11INVALID_ONION_KEY\x10\n\x12\x18\n\x14\x41MOUNT_BELOW_MINIMUM\x10\x0b\x12\x14\n\x10\x46\x45\x45_INSUFFICIENT\x10\x0c\x12\x19\n\x15INCORRECT_CLTV_EXPIRY\x10\r\x12\x14\n\x10\x43HANNEL_DISABLED\x10\x0e\x12\x1d\n\x19TEMPORARY_CHANNEL_FAILURE\x10\x0f\x12!\n\x1dREQUIRED_NODE_FEATURE_MISSING\x10\x10\x12$\n REQUIRED_CHANNEL_FEATURE_MISSING\x10\x11\x12\x15\n\x11UNKNOWN_NEXT_PEER\x10\x12\x12\x1a\n\x16TEMPORARY_NODE_FAILURE\x10\x13\x12\x1a\n\x16PERMANENT_NODE_FAILURE\x10\x14\x12\x1d\n\x19PERMANENT_CHANNEL_FAILURE\x10\x15\x12\x12\n\x0e\x45XPIRY_TOO_FAR\x10\x16\x12\x0f\n\x0bMPP_TIMEOUT\x10\x17\x12\x19\n\x15INVALID_ONION_PAYLOAD\x10\x18\x12\x15\n\x10INTERNAL_FAILURE\x10\xe5\x07\x12\x14\n\x0fUNKNOWN_FAILURE\x10\xe6\x07\x12\x17\n\x12UNREADABLE_FAILURE\x10\xe7\x07J\x04\x08\x02\x10\x03\"\x9a\x02\n\rChannelUpdate\x12\x11\n\tsignature\x18\x01 \x01(\x0c\x12\x12\n\nchain_hash\x18\x02 \x01(\x0c\x12\x13\n\x07\x63han_id\x18\x03 \x01(\x04\x42\x02\x30\x01\x12\x11\n\ttimestamp\x18\x04 \x01(\r\x12\x15\n\rmessage_flags\x18\n \x01(\r\x12\x15\n\rchannel_flags\x18\x05 \x01(\r\x12\x17\n\x0ftime_lock_delta\x18\x06 \x01(\r\x12\x19\n\x11htlc_minimum_msat\x18\x07 \x01(\x04\x12\x10\n\x08\x62\x61se_fee\x18\x08 \x01(\r\x12\x10\n\x08\x66\x65\x65_rate\x18\t \x01(\r\x12\x19\n\x11htlc_maximum_msat\x18\x0b \x01(\x04\x12\x19\n\x11\x65xtra_opaque_data\x18\x0c \x01(\x0c\"F\n\nMacaroonId\x12\r\n\x05nonce\x18\x01 \x01(\x0c\x12\x11\n\tstorageId\x18\x02 \x01(\x0c\x12\x16\n\x03ops\x18\x03 \x03(\x0b\x32\t.lnrpc.Op\"%\n\x02Op\x12\x0e\n\x06\x65ntity\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x63tions\x18\x02 \x03(\t*}\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\x0e\x43ommitmentType\x12\n\n\x06LEGACY\x10\x00\x12\x15\n\x11STATIC_REMOTE_KEY\x10\x01\x12\x0b\n\x07\x41NCHORS\x10\x02\x12\x1c\n\x17UNKNOWN_COMMITMENT_TYPE\x10\xe7\x07*a\n\tInitiator\x12\x15\n\x11INITIATOR_UNKNOWN\x10\x00\x12\x13\n\x0fINITIATOR_LOCAL\x10\x01\x12\x14\n\x10INITIATOR_REMOTE\x10\x02\x12\x12\n\x0eINITIATOR_BOTH\x10\x03*`\n\x0eResolutionType\x12\x10\n\x0cTYPE_UNKNOWN\x10\x00\x12\n\n\x06\x41NCHOR\x10\x01\x12\x11\n\rINCOMING_HTLC\x10\x02\x12\x11\n\rOUTGOING_HTLC\x10\x03\x12\n\n\x06\x43OMMIT\x10\x04*q\n\x11ResolutionOutcome\x12\x13\n\x0fOUTCOME_UNKNOWN\x10\x00\x12\x0b\n\x07\x43LAIMED\x10\x01\x12\r\n\tUNCLAIMED\x10\x02\x12\r\n\tABANDONED\x10\x03\x12\x0f\n\x0b\x46IRST_STAGE\x10\x04\x12\x0b\n\x07TIMEOUT\x10\x05*9\n\x0eNodeMetricType\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x1a\n\x16\x42\x45TWEENNESS_CENTRALITY\x10\x01*;\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*\xd9\x01\n\x14PaymentFailureReason\x12\x17\n\x13\x46\x41ILURE_REASON_NONE\x10\x00\x12\x1a\n\x16\x46\x41ILURE_REASON_TIMEOUT\x10\x01\x12\x1b\n\x17\x46\x41ILURE_REASON_NO_ROUTE\x10\x02\x12\x18\n\x14\x46\x41ILURE_REASON_ERROR\x10\x03\x12,\n(FAILURE_REASON_INCORRECT_PAYMENT_DETAILS\x10\x04\x12\'\n#FAILURE_REASON_INSUFFICIENT_BALANCE\x10\x05*\xcf\x04\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\x12\x16\n\x12WUMBO_CHANNELS_REQ\x10\x12\x12\x16\n\x12WUMBO_CHANNELS_OPT\x10\x13\x12\x0f\n\x0b\x41NCHORS_REQ\x10\x14\x12\x0f\n\x0b\x41NCHORS_OPT\x10\x15\x12\x1d\n\x19\x41NCHORS_ZERO_FEE_HTLC_REQ\x10\x16\x12\x1d\n\x19\x41NCHORS_ZERO_FEE_HTLC_OPT\x10\x17\x12\x0b\n\x07\x41MP_REQ\x10\x1e\x12\x0b\n\x07\x41MP_OPT\x10\x1f\x32\xc9!\n\tLightning\x12J\n\rWalletBalance\x12\x1b.lnrpc.WalletBalanceRequest\x1a\x1c.lnrpc.WalletBalanceResponse\x12M\n\x0e\x43hannelBalance\x12\x1c.lnrpc.ChannelBalanceRequest\x1a\x1d.lnrpc.ChannelBalanceResponse\x12K\n\x0fGetTransactions\x12\x1d.lnrpc.GetTransactionsRequest\x1a\x19.lnrpc.TransactionDetails\x12\x44\n\x0b\x45stimateFee\x12\x19.lnrpc.EstimateFeeRequest\x1a\x1a.lnrpc.EstimateFeeResponse\x12>\n\tSendCoins\x12\x17.lnrpc.SendCoinsRequest\x1a\x18.lnrpc.SendCoinsResponse\x12\x44\n\x0bListUnspent\x12\x19.lnrpc.ListUnspentRequest\x1a\x1a.lnrpc.ListUnspentResponse\x12L\n\x15SubscribeTransactions\x12\x1d.lnrpc.GetTransactionsRequest\x1a\x12.lnrpc.Transaction0\x01\x12;\n\x08SendMany\x12\x16.lnrpc.SendManyRequest\x1a\x17.lnrpc.SendManyResponse\x12\x41\n\nNewAddress\x12\x18.lnrpc.NewAddressRequest\x1a\x19.lnrpc.NewAddressResponse\x12\x44\n\x0bSignMessage\x12\x19.lnrpc.SignMessageRequest\x1a\x1a.lnrpc.SignMessageResponse\x12J\n\rVerifyMessage\x12\x1b.lnrpc.VerifyMessageRequest\x1a\x1c.lnrpc.VerifyMessageResponse\x12\x44\n\x0b\x43onnectPeer\x12\x19.lnrpc.ConnectPeerRequest\x1a\x1a.lnrpc.ConnectPeerResponse\x12M\n\x0e\x44isconnectPeer\x12\x1c.lnrpc.DisconnectPeerRequest\x1a\x1d.lnrpc.DisconnectPeerResponse\x12>\n\tListPeers\x12\x17.lnrpc.ListPeersRequest\x1a\x18.lnrpc.ListPeersResponse\x12G\n\x13SubscribePeerEvents\x12\x1c.lnrpc.PeerEventSubscription\x1a\x10.lnrpc.PeerEvent0\x01\x12\x38\n\x07GetInfo\x12\x15.lnrpc.GetInfoRequest\x1a\x16.lnrpc.GetInfoResponse\x12P\n\x0fGetRecoveryInfo\x12\x1d.lnrpc.GetRecoveryInfoRequest\x1a\x1e.lnrpc.GetRecoveryInfoResponse\x12P\n\x0fPendingChannels\x12\x1d.lnrpc.PendingChannelsRequest\x1a\x1e.lnrpc.PendingChannelsResponse\x12G\n\x0cListChannels\x12\x1a.lnrpc.ListChannelsRequest\x1a\x1b.lnrpc.ListChannelsResponse\x12V\n\x16SubscribeChannelEvents\x12\x1f.lnrpc.ChannelEventSubscription\x1a\x19.lnrpc.ChannelEventUpdate0\x01\x12M\n\x0e\x43losedChannels\x12\x1c.lnrpc.ClosedChannelsRequest\x1a\x1d.lnrpc.ClosedChannelsResponse\x12\x41\n\x0fOpenChannelSync\x12\x19.lnrpc.OpenChannelRequest\x1a\x13.lnrpc.ChannelPoint\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\x46\n\x0c\x43loseChannel\x12\x1a.lnrpc.CloseChannelRequest\x1a\x18.lnrpc.CloseStatusUpdate0\x01\x12M\n\x0e\x41\x62\x61ndonChannel\x12\x1c.lnrpc.AbandonChannelRequest\x1a\x1d.lnrpc.AbandonChannelResponse\x12?\n\x0bSendPayment\x12\x12.lnrpc.SendRequest\x1a\x13.lnrpc.SendResponse\"\x03\x88\x02\x01(\x01\x30\x01\x12:\n\x0fSendPaymentSync\x12\x12.lnrpc.SendRequest\x1a\x13.lnrpc.SendResponse\x12\x46\n\x0bSendToRoute\x12\x19.lnrpc.SendToRouteRequest\x1a\x13.lnrpc.SendResponse\"\x03\x88\x02\x01(\x01\x30\x01\x12\x41\n\x0fSendToRouteSync\x12\x19.lnrpc.SendToRouteRequest\x1a\x13.lnrpc.SendResponse\x12\x37\n\nAddInvoice\x12\x0e.lnrpc.Invoice\x1a\x19.lnrpc.AddInvoiceResponse\x12\x45\n\x0cListInvoices\x12\x19.lnrpc.ListInvoiceRequest\x1a\x1a.lnrpc.ListInvoiceResponse\x12\x33\n\rLookupInvoice\x12\x12.lnrpc.PaymentHash\x1a\x0e.lnrpc.Invoice\x12\x41\n\x11SubscribeInvoices\x12\x1a.lnrpc.InvoiceSubscription\x1a\x0e.lnrpc.Invoice0\x01\x12\x32\n\x0c\x44\x65\x63odePayReq\x12\x13.lnrpc.PayReqString\x1a\r.lnrpc.PayReq\x12G\n\x0cListPayments\x12\x1a.lnrpc.ListPaymentsRequest\x1a\x1b.lnrpc.ListPaymentsResponse\x12V\n\x11\x44\x65leteAllPayments\x12\x1f.lnrpc.DeleteAllPaymentsRequest\x1a .lnrpc.DeleteAllPaymentsResponse\x12@\n\rDescribeGraph\x12\x1a.lnrpc.ChannelGraphRequest\x1a\x13.lnrpc.ChannelGraph\x12G\n\x0eGetNodeMetrics\x12\x19.lnrpc.NodeMetricsRequest\x1a\x1a.lnrpc.NodeMetricsResponse\x12\x39\n\x0bGetChanInfo\x12\x16.lnrpc.ChanInfoRequest\x1a\x12.lnrpc.ChannelEdge\x12\x36\n\x0bGetNodeInfo\x12\x16.lnrpc.NodeInfoRequest\x1a\x0f.lnrpc.NodeInfo\x12\x44\n\x0bQueryRoutes\x12\x19.lnrpc.QueryRoutesRequest\x1a\x1a.lnrpc.QueryRoutesResponse\x12?\n\x0eGetNetworkInfo\x12\x19.lnrpc.NetworkInfoRequest\x1a\x12.lnrpc.NetworkInfo\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\x12>\n\tFeeReport\x12\x17.lnrpc.FeeReportRequest\x1a\x18.lnrpc.FeeReportResponse\x12N\n\x13UpdateChannelPolicy\x12\x1a.lnrpc.PolicyUpdateRequest\x1a\x1b.lnrpc.PolicyUpdateResponse\x12V\n\x11\x46orwardingHistory\x12\x1f.lnrpc.ForwardingHistoryRequest\x1a .lnrpc.ForwardingHistoryResponse\x12N\n\x13\x45xportChannelBackup\x12!.lnrpc.ExportChannelBackupRequest\x1a\x14.lnrpc.ChannelBackup\x12T\n\x17\x45xportAllChannelBackups\x12\x1e.lnrpc.ChanBackupExportRequest\x1a\x19.lnrpc.ChanBackupSnapshot\x12N\n\x10VerifyChanBackup\x12\x19.lnrpc.ChanBackupSnapshot\x1a\x1f.lnrpc.VerifyChanBackupResponse\x12V\n\x15RestoreChannelBackups\x12\x1f.lnrpc.RestoreChanBackupRequest\x1a\x1c.lnrpc.RestoreBackupResponse\x12X\n\x17SubscribeChannelBackups\x12 .lnrpc.ChannelBackupSubscription\x1a\x19.lnrpc.ChanBackupSnapshot0\x01\x12G\n\x0c\x42\x61keMacaroon\x12\x1a.lnrpc.BakeMacaroonRequest\x1a\x1b.lnrpc.BakeMacaroonResponse\x12P\n\x0fListMacaroonIDs\x12\x1d.lnrpc.ListMacaroonIDsRequest\x1a\x1e.lnrpc.ListMacaroonIDsResponse\x12S\n\x10\x44\x65leteMacaroonID\x12\x1e.lnrpc.DeleteMacaroonIDRequest\x1a\x1f.lnrpc.DeleteMacaroonIDResponse\x12P\n\x0fListPermissions\x12\x1d.lnrpc.ListPermissionsRequest\x1a\x1e.lnrpc.ListPermissionsResponseB\'Z%github.com/lightningnetwork/lnd/lnrpcb\x06proto3' -) - -_ADDRESSTYPE = _descriptor.EnumDescriptor( - name='AddressType', - full_name='lnrpc.AddressType', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='WITNESS_PUBKEY_HASH', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='NESTED_PUBKEY_HASH', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='UNUSED_WITNESS_PUBKEY_HASH', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='UNUSED_NESTED_PUBKEY_HASH', index=3, number=3, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=24176, - serialized_end=24301, -) -_sym_db.RegisterEnumDescriptor(_ADDRESSTYPE) - -AddressType = enum_type_wrapper.EnumTypeWrapper(_ADDRESSTYPE) -_COMMITMENTTYPE = _descriptor.EnumDescriptor( - name='CommitmentType', - full_name='lnrpc.CommitmentType', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='LEGACY', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='STATIC_REMOTE_KEY', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='ANCHORS', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='UNKNOWN_COMMITMENT_TYPE', index=3, number=999, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=24303, - serialized_end=24397, -) -_sym_db.RegisterEnumDescriptor(_COMMITMENTTYPE) - -CommitmentType = enum_type_wrapper.EnumTypeWrapper(_COMMITMENTTYPE) -_INITIATOR = _descriptor.EnumDescriptor( - name='Initiator', - full_name='lnrpc.Initiator', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='INITIATOR_UNKNOWN', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='INITIATOR_LOCAL', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='INITIATOR_REMOTE', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='INITIATOR_BOTH', index=3, number=3, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=24399, - serialized_end=24496, -) -_sym_db.RegisterEnumDescriptor(_INITIATOR) - -Initiator = enum_type_wrapper.EnumTypeWrapper(_INITIATOR) -_RESOLUTIONTYPE = _descriptor.EnumDescriptor( - name='ResolutionType', - full_name='lnrpc.ResolutionType', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='TYPE_UNKNOWN', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='ANCHOR', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='INCOMING_HTLC', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='OUTGOING_HTLC', index=3, number=3, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='COMMIT', index=4, number=4, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=24498, - serialized_end=24594, -) -_sym_db.RegisterEnumDescriptor(_RESOLUTIONTYPE) - -ResolutionType = enum_type_wrapper.EnumTypeWrapper(_RESOLUTIONTYPE) -_RESOLUTIONOUTCOME = _descriptor.EnumDescriptor( - name='ResolutionOutcome', - full_name='lnrpc.ResolutionOutcome', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='OUTCOME_UNKNOWN', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='CLAIMED', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='UNCLAIMED', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='ABANDONED', index=3, number=3, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FIRST_STAGE', index=4, number=4, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='TIMEOUT', index=5, number=5, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=24596, - serialized_end=24709, -) -_sym_db.RegisterEnumDescriptor(_RESOLUTIONOUTCOME) - -ResolutionOutcome = enum_type_wrapper.EnumTypeWrapper(_RESOLUTIONOUTCOME) -_NODEMETRICTYPE = _descriptor.EnumDescriptor( - name='NodeMetricType', - full_name='lnrpc.NodeMetricType', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='UNKNOWN', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='BETWEENNESS_CENTRALITY', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=24711, - serialized_end=24768, -) -_sym_db.RegisterEnumDescriptor(_NODEMETRICTYPE) - -NodeMetricType = enum_type_wrapper.EnumTypeWrapper(_NODEMETRICTYPE) -_INVOICEHTLCSTATE = _descriptor.EnumDescriptor( - name='InvoiceHTLCState', - full_name='lnrpc.InvoiceHTLCState', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='ACCEPTED', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='SETTLED', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='CANCELED', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=24770, - serialized_end=24829, -) -_sym_db.RegisterEnumDescriptor(_INVOICEHTLCSTATE) - -InvoiceHTLCState = enum_type_wrapper.EnumTypeWrapper(_INVOICEHTLCSTATE) -_PAYMENTFAILUREREASON = _descriptor.EnumDescriptor( - name='PaymentFailureReason', - full_name='lnrpc.PaymentFailureReason', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='FAILURE_REASON_NONE', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FAILURE_REASON_TIMEOUT', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FAILURE_REASON_NO_ROUTE', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FAILURE_REASON_ERROR', index=3, number=3, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FAILURE_REASON_INCORRECT_PAYMENT_DETAILS', index=4, number=4, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FAILURE_REASON_INSUFFICIENT_BALANCE', index=5, number=5, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=24832, - serialized_end=25049, -) -_sym_db.RegisterEnumDescriptor(_PAYMENTFAILUREREASON) - -PaymentFailureReason = enum_type_wrapper.EnumTypeWrapper(_PAYMENTFAILUREREASON) -_FEATUREBIT = _descriptor.EnumDescriptor( - name='FeatureBit', - full_name='lnrpc.FeatureBit', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='DATALOSS_PROTECT_REQ', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='DATALOSS_PROTECT_OPT', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='INITIAL_ROUING_SYNC', index=2, number=3, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='UPFRONT_SHUTDOWN_SCRIPT_REQ', index=3, number=4, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='UPFRONT_SHUTDOWN_SCRIPT_OPT', index=4, number=5, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='GOSSIP_QUERIES_REQ', index=5, number=6, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='GOSSIP_QUERIES_OPT', index=6, number=7, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='TLV_ONION_REQ', index=7, number=8, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='TLV_ONION_OPT', index=8, number=9, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='EXT_GOSSIP_QUERIES_REQ', index=9, number=10, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='EXT_GOSSIP_QUERIES_OPT', index=10, number=11, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='STATIC_REMOTE_KEY_REQ', index=11, number=12, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='STATIC_REMOTE_KEY_OPT', index=12, number=13, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='PAYMENT_ADDR_REQ', index=13, number=14, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='PAYMENT_ADDR_OPT', index=14, number=15, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='MPP_REQ', index=15, number=16, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='MPP_OPT', index=16, number=17, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='WUMBO_CHANNELS_REQ', index=17, number=18, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='WUMBO_CHANNELS_OPT', index=18, number=19, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='ANCHORS_REQ', index=19, number=20, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='ANCHORS_OPT', index=20, number=21, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='ANCHORS_ZERO_FEE_HTLC_REQ', index=21, number=22, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='ANCHORS_ZERO_FEE_HTLC_OPT', index=22, number=23, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='AMP_REQ', index=23, number=30, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='AMP_OPT', index=24, number=31, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=25052, - serialized_end=25643, -) -_sym_db.RegisterEnumDescriptor(_FEATUREBIT) - -FeatureBit = enum_type_wrapper.EnumTypeWrapper(_FEATUREBIT) -WITNESS_PUBKEY_HASH = 0 -NESTED_PUBKEY_HASH = 1 -UNUSED_WITNESS_PUBKEY_HASH = 2 -UNUSED_NESTED_PUBKEY_HASH = 3 -LEGACY = 0 -STATIC_REMOTE_KEY = 1 -ANCHORS = 2 -UNKNOWN_COMMITMENT_TYPE = 999 -INITIATOR_UNKNOWN = 0 -INITIATOR_LOCAL = 1 -INITIATOR_REMOTE = 2 -INITIATOR_BOTH = 3 -TYPE_UNKNOWN = 0 -ANCHOR = 1 -INCOMING_HTLC = 2 -OUTGOING_HTLC = 3 -COMMIT = 4 -OUTCOME_UNKNOWN = 0 -CLAIMED = 1 -UNCLAIMED = 2 -ABANDONED = 3 -FIRST_STAGE = 4 -TIMEOUT = 5 -UNKNOWN = 0 -BETWEENNESS_CENTRALITY = 1 -ACCEPTED = 0 -SETTLED = 1 -CANCELED = 2 -FAILURE_REASON_NONE = 0 -FAILURE_REASON_TIMEOUT = 1 -FAILURE_REASON_NO_ROUTE = 2 -FAILURE_REASON_ERROR = 3 -FAILURE_REASON_INCORRECT_PAYMENT_DETAILS = 4 -FAILURE_REASON_INSUFFICIENT_BALANCE = 5 -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 -WUMBO_CHANNELS_REQ = 18 -WUMBO_CHANNELS_OPT = 19 -ANCHORS_REQ = 20 -ANCHORS_OPT = 21 -ANCHORS_ZERO_FEE_HTLC_REQ = 22 -ANCHORS_ZERO_FEE_HTLC_OPT = 23 -AMP_REQ = 30 -AMP_OPT = 31 - - -_CHANNELCLOSESUMMARY_CLOSURETYPE = _descriptor.EnumDescriptor( - name='ClosureType', - full_name='lnrpc.ChannelCloseSummary.ClosureType', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='COOPERATIVE_CLOSE', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='LOCAL_FORCE_CLOSE', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='REMOTE_FORCE_CLOSE', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='BREACH_CLOSE', index=3, number=3, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FUNDING_CANCELED', index=4, number=4, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='ABANDONED', index=5, number=5, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=5397, - serialized_end=5535, -) -_sym_db.RegisterEnumDescriptor(_CHANNELCLOSESUMMARY_CLOSURETYPE) - -_PEER_SYNCTYPE = _descriptor.EnumDescriptor( - name='SyncType', - full_name='lnrpc.Peer.SyncType', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='UNKNOWN_SYNC', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='ACTIVE_SYNC', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='PASSIVE_SYNC', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='PINNED_SYNC', index=3, number=3, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=6330, - serialized_end=6410, -) -_sym_db.RegisterEnumDescriptor(_PEER_SYNCTYPE) - -_PEEREVENT_EVENTTYPE = _descriptor.EnumDescriptor( - name='EventType', - full_name='lnrpc.PeerEvent.EventType', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='PEER_ONLINE', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='PEER_OFFLINE', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=6654, - serialized_end=6700, -) -_sym_db.RegisterEnumDescriptor(_PEEREVENT_EVENTTYPE) - -_PENDINGCHANNELSRESPONSE_FORCECLOSEDCHANNEL_ANCHORSTATE = _descriptor.EnumDescriptor( - name='AnchorState', - full_name='lnrpc.PendingChannelsResponse.ForceClosedChannel.AnchorState', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='LIMBO', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='RECOVERED', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='LOST', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=11512, - serialized_end=11561, -) -_sym_db.RegisterEnumDescriptor(_PENDINGCHANNELSRESPONSE_FORCECLOSEDCHANNEL_ANCHORSTATE) - -_CHANNELEVENTUPDATE_UPDATETYPE = _descriptor.EnumDescriptor( - name='UpdateType', - full_name='lnrpc.ChannelEventUpdate.UpdateType', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='OPEN_CHANNEL', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='CLOSED_CHANNEL', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='ACTIVE_CHANNEL', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='INACTIVE_CHANNEL', index=3, number=3, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='PENDING_OPEN_CHANNEL', index=4, number=4, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=11910, - serialized_end=12028, -) -_sym_db.RegisterEnumDescriptor(_CHANNELEVENTUPDATE_UPDATETYPE) - -_INVOICE_INVOICESTATE = _descriptor.EnumDescriptor( - name='InvoiceState', - full_name='lnrpc.Invoice.InvoiceState', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='OPEN', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='SETTLED', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='CANCELED', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='ACCEPTED', index=3, number=3, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=17677, - serialized_end=17742, -) -_sym_db.RegisterEnumDescriptor(_INVOICE_INVOICESTATE) - -_PAYMENT_PAYMENTSTATUS = _descriptor.EnumDescriptor( - name='PaymentStatus', - full_name='lnrpc.Payment.PaymentStatus', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='UNKNOWN', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='IN_FLIGHT', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='SUCCEEDED', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FAILED', index=3, number=3, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=19070, - serialized_end=19140, -) -_sym_db.RegisterEnumDescriptor(_PAYMENT_PAYMENTSTATUS) - -_HTLCATTEMPT_HTLCSTATUS = _descriptor.EnumDescriptor( - name='HTLCStatus', - full_name='lnrpc.HTLCAttempt.HTLCStatus', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='IN_FLIGHT', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='SUCCEEDED', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FAILED', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=19361, - serialized_end=19415, -) -_sym_db.RegisterEnumDescriptor(_HTLCATTEMPT_HTLCSTATUS) - -_FAILURE_FAILURECODE = _descriptor.EnumDescriptor( - name='FailureCode', - full_name='lnrpc.Failure.FailureCode', - filename=None, - file=DESCRIPTOR, - create_key=_descriptor._internal_create_key, - values=[ - _descriptor.EnumValueDescriptor( - name='RESERVED', index=0, number=0, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='INCORRECT_OR_UNKNOWN_PAYMENT_DETAILS', index=1, number=1, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='INCORRECT_PAYMENT_AMOUNT', index=2, number=2, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FINAL_INCORRECT_CLTV_EXPIRY', index=3, number=3, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FINAL_INCORRECT_HTLC_AMOUNT', index=4, number=4, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FINAL_EXPIRY_TOO_SOON', index=5, number=5, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='INVALID_REALM', index=6, number=6, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='EXPIRY_TOO_SOON', index=7, number=7, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='INVALID_ONION_VERSION', index=8, number=8, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='INVALID_ONION_HMAC', index=9, number=9, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='INVALID_ONION_KEY', index=10, number=10, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='AMOUNT_BELOW_MINIMUM', index=11, number=11, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='FEE_INSUFFICIENT', index=12, number=12, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='INCORRECT_CLTV_EXPIRY', index=13, number=13, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='CHANNEL_DISABLED', index=14, number=14, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='TEMPORARY_CHANNEL_FAILURE', index=15, number=15, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='REQUIRED_NODE_FEATURE_MISSING', index=16, number=16, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='REQUIRED_CHANNEL_FEATURE_MISSING', index=17, number=17, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='UNKNOWN_NEXT_PEER', index=18, number=18, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='TEMPORARY_NODE_FAILURE', index=19, number=19, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='PERMANENT_NODE_FAILURE', index=20, number=20, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='PERMANENT_CHANNEL_FAILURE', index=21, number=21, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='EXPIRY_TOO_FAR', index=22, number=22, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='MPP_TIMEOUT', index=23, number=23, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='INVALID_ONION_PAYLOAD', index=24, number=24, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='INTERNAL_FAILURE', index=25, number=997, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='UNKNOWN_FAILURE', index=26, number=998, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - _descriptor.EnumValueDescriptor( - name='UNREADABLE_FAILURE', index=27, number=999, - serialized_options=None, - type=None, - create_key=_descriptor._internal_create_key), - ], - containing_type=None, - serialized_options=None, - serialized_start=23021, - serialized_end=23772, -) -_sym_db.RegisterEnumDescriptor(_FAILURE_FAILURECODE) - - -_UTXO = _descriptor.Descriptor( - name='Utxo', - full_name='lnrpc.Utxo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='address_type', full_name='lnrpc.Utxo.address_type', 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='address', full_name='lnrpc.Utxo.address', index=1, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='amount_sat', full_name='lnrpc.Utxo.amount_sat', 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='pk_script', full_name='lnrpc.Utxo.pk_script', index=3, - number=4, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='outpoint', full_name='lnrpc.Utxo.outpoint', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='confirmations', full_name='lnrpc.Utxo.confirmations', index=5, - number=6, 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=21, - serialized_end=183, -) - - -_TRANSACTION = _descriptor.Descriptor( - name='Transaction', - full_name='lnrpc.Transaction', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='tx_hash', full_name='lnrpc.Transaction.tx_hash', 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='amount', full_name='lnrpc.Transaction.amount', index=1, - 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, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='num_confirmations', full_name='lnrpc.Transaction.num_confirmations', index=2, - number=3, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='block_hash', full_name='lnrpc.Transaction.block_hash', index=3, - number=4, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='block_height', full_name='lnrpc.Transaction.block_height', index=4, - number=5, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='time_stamp', full_name='lnrpc.Transaction.time_stamp', index=5, - number=6, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='total_fees', full_name='lnrpc.Transaction.total_fees', index=6, - number=7, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='dest_addresses', full_name='lnrpc.Transaction.dest_addresses', index=7, - number=8, 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='raw_tx_hex', full_name='lnrpc.Transaction.raw_tx_hex', index=8, - number=9, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='label', full_name='lnrpc.Transaction.label', index=9, - number=10, 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=186, - serialized_end=400, -) - - -_GETTRANSACTIONSREQUEST = _descriptor.Descriptor( - name='GetTransactionsRequest', - full_name='lnrpc.GetTransactionsRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='start_height', full_name='lnrpc.GetTransactionsRequest.start_height', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='end_height', full_name='lnrpc.GetTransactionsRequest.end_height', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='account', full_name='lnrpc.GetTransactionsRequest.account', index=2, - number=3, 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=402, - serialized_end=485, -) - - -_TRANSACTIONDETAILS = _descriptor.Descriptor( - name='TransactionDetails', - full_name='lnrpc.TransactionDetails', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='transactions', full_name='lnrpc.TransactionDetails.transactions', index=0, - number=1, 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=487, - serialized_end=549, -) - - -_FEELIMIT = _descriptor.Descriptor( - name='FeeLimit', - full_name='lnrpc.FeeLimit', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='fixed', full_name='lnrpc.FeeLimit.fixed', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - 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, create_key=_descriptor._internal_create_key), - _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, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name='limit', full_name='lnrpc.FeeLimit.limit', - index=0, containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[]), - ], - serialized_start=551, - serialized_end=628, -) - - -_SENDREQUEST_DESTCUSTOMRECORDSENTRY = _descriptor.Descriptor( - name='DestCustomRecordsEntry', - full_name='lnrpc.SendRequest.DestCustomRecordsEntry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - 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, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=b'8\001', - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1097, - serialized_end=1153, -) - -_SENDREQUEST = _descriptor.Descriptor( - name='SendRequest', - full_name='lnrpc.SendRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='dest', full_name='lnrpc.SendRequest.dest', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='dest_string', full_name='lnrpc.SendRequest.dest_string', index=1, - 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=b'\030\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='amt', full_name='lnrpc.SendRequest.amt', 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - 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, create_key=_descriptor._internal_create_key), - _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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - 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=b'\030\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - 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, create_key=_descriptor._internal_create_key), - _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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - 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, create_key=_descriptor._internal_create_key), - _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, create_key=_descriptor._internal_create_key), - _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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='payment_addr', full_name='lnrpc.SendRequest.payment_addr', index=15, - number=16, 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[_SENDREQUEST_DESTCUSTOMRECORDSENTRY, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=631, - serialized_end=1153, -) - - -_SENDRESPONSE = _descriptor.Descriptor( - name='SendResponse', - full_name='lnrpc.SendResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='payment_error', full_name='lnrpc.SendResponse.payment_error', 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='payment_preimage', full_name='lnrpc.SendResponse.payment_preimage', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='payment_route', full_name='lnrpc.SendResponse.payment_route', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='payment_hash', full_name='lnrpc.SendResponse.payment_hash', 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1155, - serialized_end=1277, -) - - -_SENDTOROUTEREQUEST = _descriptor.Descriptor( - name='SendToRouteRequest', - full_name='lnrpc.SendToRouteRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='payment_hash', full_name='lnrpc.SendToRouteRequest.payment_hash', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='payment_hash_string', full_name='lnrpc.SendToRouteRequest.payment_hash_string', index=1, - 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=b'\030\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='route', full_name='lnrpc.SendToRouteRequest.route', index=2, - number=4, 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1279, - serialized_end=1389, -) - - -_CHANNELACCEPTREQUEST = _descriptor.Descriptor( - name='ChannelAcceptRequest', - full_name='lnrpc.ChannelAcceptRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='node_pubkey', full_name='lnrpc.ChannelAcceptRequest.node_pubkey', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='chain_hash', full_name='lnrpc.ChannelAcceptRequest.chain_hash', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='pending_chan_id', full_name='lnrpc.ChannelAcceptRequest.pending_chan_id', index=2, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='funding_amt', full_name='lnrpc.ChannelAcceptRequest.funding_amt', index=3, - number=4, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='push_amt', full_name='lnrpc.ChannelAcceptRequest.push_amt', index=4, - number=5, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='dust_limit', full_name='lnrpc.ChannelAcceptRequest.dust_limit', index=5, - number=6, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='max_value_in_flight', full_name='lnrpc.ChannelAcceptRequest.max_value_in_flight', 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='channel_reserve', full_name='lnrpc.ChannelAcceptRequest.channel_reserve', index=7, - number=8, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='min_htlc', full_name='lnrpc.ChannelAcceptRequest.min_htlc', index=8, - 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=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='fee_per_kw', full_name='lnrpc.ChannelAcceptRequest.fee_per_kw', 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='csv_delay', full_name='lnrpc.ChannelAcceptRequest.csv_delay', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='max_accepted_htlcs', full_name='lnrpc.ChannelAcceptRequest.max_accepted_htlcs', index=11, - number=12, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='channel_flags', full_name='lnrpc.ChannelAcceptRequest.channel_flags', index=12, - number=13, 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1392, - serialized_end=1701, -) - - -_CHANNELACCEPTRESPONSE = _descriptor.Descriptor( - name='ChannelAcceptResponse', - full_name='lnrpc.ChannelAcceptResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='accept', full_name='lnrpc.ChannelAcceptResponse.accept', index=0, - number=1, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='pending_chan_id', full_name='lnrpc.ChannelAcceptResponse.pending_chan_id', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='error', full_name='lnrpc.ChannelAcceptResponse.error', index=2, - number=3, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='upfront_shutdown', full_name='lnrpc.ChannelAcceptResponse.upfront_shutdown', index=3, - number=4, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='csv_delay', full_name='lnrpc.ChannelAcceptResponse.csv_delay', index=4, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='reserve_sat', full_name='lnrpc.ChannelAcceptResponse.reserve_sat', index=5, - number=6, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='in_flight_max_msat', full_name='lnrpc.ChannelAcceptResponse.in_flight_max_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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='max_htlc_count', full_name='lnrpc.ChannelAcceptResponse.max_htlc_count', index=7, - number=8, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='min_htlc_in', full_name='lnrpc.ChannelAcceptResponse.min_htlc_in', index=8, - 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=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='min_accept_depth', full_name='lnrpc.ChannelAcceptResponse.min_accept_depth', index=9, - 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1704, - serialized_end=1948, -) - - -_CHANNELPOINT = _descriptor.Descriptor( - name='ChannelPoint', - full_name='lnrpc.ChannelPoint', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='funding_txid_bytes', full_name='lnrpc.ChannelPoint.funding_txid_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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='funding_txid_str', full_name='lnrpc.ChannelPoint.funding_txid_str', index=1, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='output_index', full_name='lnrpc.ChannelPoint.output_index', index=2, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name='funding_txid', full_name='lnrpc.ChannelPoint.funding_txid', - index=0, containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[]), - ], - serialized_start=1950, - serialized_end=2060, -) - - -_OUTPOINT = _descriptor.Descriptor( - name='OutPoint', - full_name='lnrpc.OutPoint', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='txid_bytes', full_name='lnrpc.OutPoint.txid_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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='txid_str', full_name='lnrpc.OutPoint.txid_str', index=1, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='output_index', full_name='lnrpc.OutPoint.output_index', index=2, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2062, - serialized_end=2132, -) - - -_LIGHTNINGADDRESS = _descriptor.Descriptor( - name='LightningAddress', - full_name='lnrpc.LightningAddress', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='pubkey', full_name='lnrpc.LightningAddress.pubkey', 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='host', full_name='lnrpc.LightningAddress.host', index=1, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2134, - serialized_end=2182, -) - - -_ESTIMATEFEEREQUEST_ADDRTOAMOUNTENTRY = _descriptor.Descriptor( - name='AddrToAmountEntry', - full_name='lnrpc.EstimateFeeRequest.AddrToAmountEntry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='key', full_name='lnrpc.EstimateFeeRequest.AddrToAmountEntry.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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='value', full_name='lnrpc.EstimateFeeRequest.AddrToAmountEntry.value', index=1, - 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, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=b'8\001', - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2341, - serialized_end=2392, -) - -_ESTIMATEFEEREQUEST = _descriptor.Descriptor( - name='EstimateFeeRequest', - full_name='lnrpc.EstimateFeeRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='AddrToAmount', full_name='lnrpc.EstimateFeeRequest.AddrToAmount', index=0, - number=1, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='target_conf', full_name='lnrpc.EstimateFeeRequest.target_conf', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='min_confs', full_name='lnrpc.EstimateFeeRequest.min_confs', index=2, - number=3, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='spend_unconfirmed', full_name='lnrpc.EstimateFeeRequest.spend_unconfirmed', index=3, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[_ESTIMATEFEEREQUEST_ADDRTOAMOUNTENTRY, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2185, - serialized_end=2392, -) - - -_ESTIMATEFEERESPONSE = _descriptor.Descriptor( - name='EstimateFeeResponse', - full_name='lnrpc.EstimateFeeResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='fee_sat', full_name='lnrpc.EstimateFeeResponse.fee_sat', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='feerate_sat_per_byte', full_name='lnrpc.EstimateFeeResponse.feerate_sat_per_byte', index=1, - 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, - is_extension=False, extension_scope=None, - serialized_options=b'\030\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='sat_per_vbyte', full_name='lnrpc.EstimateFeeResponse.sat_per_vbyte', index=2, - number=3, 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2394, - serialized_end=2489, -) - - -_SENDMANYREQUEST_ADDRTOAMOUNTENTRY = _descriptor.Descriptor( - name='AddrToAmountEntry', - full_name='lnrpc.SendManyRequest.AddrToAmountEntry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='key', full_name='lnrpc.SendManyRequest.AddrToAmountEntry.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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='value', full_name='lnrpc.SendManyRequest.AddrToAmountEntry.value', index=1, - 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, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=b'8\001', - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2341, - serialized_end=2392, -) - -_SENDMANYREQUEST = _descriptor.Descriptor( - name='SendManyRequest', - full_name='lnrpc.SendManyRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='AddrToAmount', full_name='lnrpc.SendManyRequest.AddrToAmount', index=0, - number=1, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='target_conf', full_name='lnrpc.SendManyRequest.target_conf', index=1, - number=3, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='sat_per_vbyte', full_name='lnrpc.SendManyRequest.sat_per_vbyte', index=2, - number=4, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='sat_per_byte', full_name='lnrpc.SendManyRequest.sat_per_byte', 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=b'\030\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='label', full_name='lnrpc.SendManyRequest.label', index=4, - 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='min_confs', full_name='lnrpc.SendManyRequest.min_confs', index=5, - 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='spend_unconfirmed', full_name='lnrpc.SendManyRequest.spend_unconfirmed', index=6, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[_SENDMANYREQUEST_ADDRTOAMOUNTENTRY, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2492, - serialized_end=2757, -) - - -_SENDMANYRESPONSE = _descriptor.Descriptor( - name='SendManyResponse', - full_name='lnrpc.SendManyResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='txid', full_name='lnrpc.SendManyResponse.txid', 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2759, - serialized_end=2791, -) - - -_SENDCOINSREQUEST = _descriptor.Descriptor( - name='SendCoinsRequest', - full_name='lnrpc.SendCoinsRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='addr', full_name='lnrpc.SendCoinsRequest.addr', 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='amount', full_name='lnrpc.SendCoinsRequest.amount', index=1, - 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, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='target_conf', full_name='lnrpc.SendCoinsRequest.target_conf', index=2, - number=3, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='sat_per_vbyte', full_name='lnrpc.SendCoinsRequest.sat_per_vbyte', index=3, - number=4, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='sat_per_byte', full_name='lnrpc.SendCoinsRequest.sat_per_byte', index=4, - 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=b'\030\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='send_all', full_name='lnrpc.SendCoinsRequest.send_all', index=5, - number=6, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='label', full_name='lnrpc.SendCoinsRequest.label', index=6, - number=7, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='min_confs', full_name='lnrpc.SendCoinsRequest.min_confs', index=7, - number=8, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='spend_unconfirmed', full_name='lnrpc.SendCoinsRequest.spend_unconfirmed', 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2794, - serialized_end=2991, -) - - -_SENDCOINSRESPONSE = _descriptor.Descriptor( - name='SendCoinsResponse', - full_name='lnrpc.SendCoinsResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='txid', full_name='lnrpc.SendCoinsResponse.txid', 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2993, - serialized_end=3026, -) - - -_LISTUNSPENTREQUEST = _descriptor.Descriptor( - name='ListUnspentRequest', - full_name='lnrpc.ListUnspentRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='min_confs', full_name='lnrpc.ListUnspentRequest.min_confs', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='max_confs', full_name='lnrpc.ListUnspentRequest.max_confs', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='account', full_name='lnrpc.ListUnspentRequest.account', index=2, - number=3, 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3028, - serialized_end=3103, -) - - -_LISTUNSPENTRESPONSE = _descriptor.Descriptor( - name='ListUnspentResponse', - full_name='lnrpc.ListUnspentResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='utxos', full_name='lnrpc.ListUnspentResponse.utxos', index=0, - number=1, 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3105, - serialized_end=3154, -) - - -_NEWADDRESSREQUEST = _descriptor.Descriptor( - name='NewAddressRequest', - full_name='lnrpc.NewAddressRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='type', full_name='lnrpc.NewAddressRequest.type', 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='account', full_name='lnrpc.NewAddressRequest.account', index=1, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3156, - serialized_end=3226, -) - - -_NEWADDRESSRESPONSE = _descriptor.Descriptor( - name='NewAddressResponse', - full_name='lnrpc.NewAddressResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='address', full_name='lnrpc.NewAddressResponse.address', 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3228, - serialized_end=3265, -) - - -_SIGNMESSAGEREQUEST = _descriptor.Descriptor( - name='SignMessageRequest', - full_name='lnrpc.SignMessageRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='msg', full_name='lnrpc.SignMessageRequest.msg', 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3267, - serialized_end=3300, -) - - -_SIGNMESSAGERESPONSE = _descriptor.Descriptor( - name='SignMessageResponse', - full_name='lnrpc.SignMessageResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='signature', full_name='lnrpc.SignMessageResponse.signature', 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3302, - serialized_end=3342, -) - - -_VERIFYMESSAGEREQUEST = _descriptor.Descriptor( - name='VerifyMessageRequest', - full_name='lnrpc.VerifyMessageRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='msg', full_name='lnrpc.VerifyMessageRequest.msg', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='signature', full_name='lnrpc.VerifyMessageRequest.signature', index=1, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3344, - serialized_end=3398, -) - - -_VERIFYMESSAGERESPONSE = _descriptor.Descriptor( - name='VerifyMessageResponse', - full_name='lnrpc.VerifyMessageResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='valid', full_name='lnrpc.VerifyMessageResponse.valid', index=0, - number=1, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='pubkey', full_name='lnrpc.VerifyMessageResponse.pubkey', index=1, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3400, - serialized_end=3454, -) - - -_CONNECTPEERREQUEST = _descriptor.Descriptor( - name='ConnectPeerRequest', - full_name='lnrpc.ConnectPeerRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='addr', full_name='lnrpc.ConnectPeerRequest.addr', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='perm', full_name='lnrpc.ConnectPeerRequest.perm', index=1, - number=2, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='timeout', full_name='lnrpc.ConnectPeerRequest.timeout', index=2, - number=3, 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3456, - serialized_end=3546, -) - - -_CONNECTPEERRESPONSE = _descriptor.Descriptor( - name='ConnectPeerResponse', - full_name='lnrpc.ConnectPeerResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3548, - serialized_end=3569, -) - - -_DISCONNECTPEERREQUEST = _descriptor.Descriptor( - name='DisconnectPeerRequest', - full_name='lnrpc.DisconnectPeerRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='pub_key', full_name='lnrpc.DisconnectPeerRequest.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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3571, - serialized_end=3611, -) - - -_DISCONNECTPEERRESPONSE = _descriptor.Descriptor( - name='DisconnectPeerResponse', - full_name='lnrpc.DisconnectPeerResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3613, - serialized_end=3637, -) - - -_HTLC = _descriptor.Descriptor( - name='HTLC', - full_name='lnrpc.HTLC', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='incoming', full_name='lnrpc.HTLC.incoming', index=0, - number=1, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='amount', full_name='lnrpc.HTLC.amount', index=1, - 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, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='hash_lock', full_name='lnrpc.HTLC.hash_lock', index=2, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='expiration_height', full_name='lnrpc.HTLC.expiration_height', index=3, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='htlc_index', full_name='lnrpc.HTLC.htlc_index', index=4, - number=5, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='forwarding_channel', full_name='lnrpc.HTLC.forwarding_channel', index=5, - number=6, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='forwarding_htlc_index', full_name='lnrpc.HTLC.forwarding_htlc_index', 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3640, - serialized_end=3805, -) - - -_CHANNELCONSTRAINTS = _descriptor.Descriptor( - name='ChannelConstraints', - full_name='lnrpc.ChannelConstraints', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='csv_delay', full_name='lnrpc.ChannelConstraints.csv_delay', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='chan_reserve_sat', full_name='lnrpc.ChannelConstraints.chan_reserve_sat', index=1, - number=2, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='dust_limit_sat', full_name='lnrpc.ChannelConstraints.dust_limit_sat', index=2, - number=3, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='max_pending_amt_msat', full_name='lnrpc.ChannelConstraints.max_pending_amt_msat', index=3, - number=4, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='min_htlc_msat', full_name='lnrpc.ChannelConstraints.min_htlc_msat', index=4, - number=5, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='max_accepted_htlcs', full_name='lnrpc.ChannelConstraints.max_accepted_htlcs', index=5, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3808, - serialized_end=3978, -) - - -_CHANNEL = _descriptor.Descriptor( - name='Channel', - full_name='lnrpc.Channel', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='active', full_name='lnrpc.Channel.active', index=0, - number=1, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='remote_pubkey', full_name='lnrpc.Channel.remote_pubkey', index=1, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='channel_point', full_name='lnrpc.Channel.channel_point', index=2, - number=3, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='chan_id', full_name='lnrpc.Channel.chan_id', index=3, - number=4, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='capacity', full_name='lnrpc.Channel.capacity', index=4, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='local_balance', full_name='lnrpc.Channel.local_balance', index=5, - number=6, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='remote_balance', full_name='lnrpc.Channel.remote_balance', index=6, - number=7, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='commit_fee', full_name='lnrpc.Channel.commit_fee', index=7, - number=8, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='commit_weight', full_name='lnrpc.Channel.commit_weight', index=8, - number=9, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='fee_per_kw', full_name='lnrpc.Channel.fee_per_kw', index=9, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='unsettled_balance', full_name='lnrpc.Channel.unsettled_balance', index=10, - number=11, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='total_satoshis_sent', full_name='lnrpc.Channel.total_satoshis_sent', 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='total_satoshis_received', full_name='lnrpc.Channel.total_satoshis_received', 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='num_updates', full_name='lnrpc.Channel.num_updates', index=13, - 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=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='pending_htlcs', full_name='lnrpc.Channel.pending_htlcs', index=14, - number=15, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='csv_delay', full_name='lnrpc.Channel.csv_delay', index=15, - number=16, 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=b'\030\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='private', full_name='lnrpc.Channel.private', index=16, - number=17, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='initiator', full_name='lnrpc.Channel.initiator', index=17, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='chan_status_flags', full_name='lnrpc.Channel.chan_status_flags', index=18, - number=19, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='local_chan_reserve_sat', full_name='lnrpc.Channel.local_chan_reserve_sat', index=19, - number=20, 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=b'\030\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='remote_chan_reserve_sat', full_name='lnrpc.Channel.remote_chan_reserve_sat', index=20, - number=21, 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=b'\030\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='static_remote_key', full_name='lnrpc.Channel.static_remote_key', index=21, - number=22, 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', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='commitment_type', full_name='lnrpc.Channel.commitment_type', index=22, - number=26, 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='lifetime', full_name='lnrpc.Channel.lifetime', index=23, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='uptime', full_name='lnrpc.Channel.uptime', index=24, - number=24, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='close_address', full_name='lnrpc.Channel.close_address', index=25, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='push_amount_sat', full_name='lnrpc.Channel.push_amount_sat', index=26, - number=27, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='thaw_height', full_name='lnrpc.Channel.thaw_height', index=27, - number=28, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='local_constraints', full_name='lnrpc.Channel.local_constraints', index=28, - number=29, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='remote_constraints', full_name='lnrpc.Channel.remote_constraints', index=29, - number=30, 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=3981, - serialized_end=4797, -) - - -_LISTCHANNELSREQUEST = _descriptor.Descriptor( - name='ListChannelsRequest', - full_name='lnrpc.ListChannelsRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='active_only', full_name='lnrpc.ListChannelsRequest.active_only', index=0, - number=1, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='inactive_only', full_name='lnrpc.ListChannelsRequest.inactive_only', index=1, - number=2, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='public_only', full_name='lnrpc.ListChannelsRequest.public_only', index=2, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='private_only', full_name='lnrpc.ListChannelsRequest.private_only', index=3, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='peer', full_name='lnrpc.ListChannelsRequest.peer', 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=4799, - serialized_end=4921, -) - - -_LISTCHANNELSRESPONSE = _descriptor.Descriptor( - name='ListChannelsResponse', - full_name='lnrpc.ListChannelsResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='channels', full_name='lnrpc.ListChannelsResponse.channels', index=0, - 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=4923, - serialized_end=4979, -) - - -_CHANNELCLOSESUMMARY = _descriptor.Descriptor( - name='ChannelCloseSummary', - full_name='lnrpc.ChannelCloseSummary', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='channel_point', full_name='lnrpc.ChannelCloseSummary.channel_point', 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='chan_id', full_name='lnrpc.ChannelCloseSummary.chan_id', index=1, - number=2, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='chain_hash', full_name='lnrpc.ChannelCloseSummary.chain_hash', index=2, - number=3, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='closing_tx_hash', full_name='lnrpc.ChannelCloseSummary.closing_tx_hash', index=3, - number=4, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='remote_pubkey', full_name='lnrpc.ChannelCloseSummary.remote_pubkey', 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='capacity', full_name='lnrpc.ChannelCloseSummary.capacity', index=5, - number=6, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='close_height', full_name='lnrpc.ChannelCloseSummary.close_height', index=6, - number=7, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='settled_balance', full_name='lnrpc.ChannelCloseSummary.settled_balance', index=7, - number=8, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='time_locked_balance', full_name='lnrpc.ChannelCloseSummary.time_locked_balance', index=8, - number=9, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='close_type', full_name='lnrpc.ChannelCloseSummary.close_type', index=9, - number=10, 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='open_initiator', full_name='lnrpc.ChannelCloseSummary.open_initiator', index=10, - number=11, 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='close_initiator', full_name='lnrpc.ChannelCloseSummary.close_initiator', index=11, - number=12, 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='resolutions', full_name='lnrpc.ChannelCloseSummary.resolutions', 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _CHANNELCLOSESUMMARY_CLOSURETYPE, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=4982, - serialized_end=5535, -) - - -_RESOLUTION = _descriptor.Descriptor( - name='Resolution', - full_name='lnrpc.Resolution', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='resolution_type', full_name='lnrpc.Resolution.resolution_type', 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='outcome', full_name='lnrpc.Resolution.outcome', 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='outpoint', full_name='lnrpc.Resolution.outpoint', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='amount_sat', full_name='lnrpc.Resolution.amount_sat', index=3, - number=4, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='sweep_txid', full_name='lnrpc.Resolution.sweep_txid', 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=5538, - serialized_end=5716, -) - - -_CLOSEDCHANNELSREQUEST = _descriptor.Descriptor( - name='ClosedChannelsRequest', - full_name='lnrpc.ClosedChannelsRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='cooperative', full_name='lnrpc.ClosedChannelsRequest.cooperative', index=0, - number=1, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='local_force', full_name='lnrpc.ClosedChannelsRequest.local_force', index=1, - number=2, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='remote_force', full_name='lnrpc.ClosedChannelsRequest.remote_force', index=2, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='breach', full_name='lnrpc.ClosedChannelsRequest.breach', index=3, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='funding_canceled', full_name='lnrpc.ClosedChannelsRequest.funding_canceled', index=4, - number=5, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='abandoned', full_name='lnrpc.ClosedChannelsRequest.abandoned', index=5, - number=6, 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=5719, - serialized_end=5867, -) - - -_CLOSEDCHANNELSRESPONSE = _descriptor.Descriptor( - name='ClosedChannelsResponse', - full_name='lnrpc.ClosedChannelsResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='channels', full_name='lnrpc.ClosedChannelsResponse.channels', index=0, - number=1, 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=5869, - serialized_end=5939, -) - - -_PEER_FEATURESENTRY = _descriptor.Descriptor( - name='FeaturesEntry', - full_name='lnrpc.Peer.FeaturesEntry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - 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, create_key=_descriptor._internal_create_key), - _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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=b'8\001', - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=6265, - serialized_end=6328, -) - -_PEER = _descriptor.Descriptor( - name='Peer', - full_name='lnrpc.Peer', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='pub_key', full_name='lnrpc.Peer.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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='address', full_name='lnrpc.Peer.address', index=1, - number=3, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='bytes_sent', full_name='lnrpc.Peer.bytes_sent', index=2, - number=4, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='bytes_recv', full_name='lnrpc.Peer.bytes_recv', index=3, - number=5, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='sat_sent', full_name='lnrpc.Peer.sat_sent', index=4, - number=6, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='sat_recv', full_name='lnrpc.Peer.sat_recv', index=5, - number=7, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='inbound', full_name='lnrpc.Peer.inbound', index=6, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='ping_time', full_name='lnrpc.Peer.ping_time', index=7, - number=9, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='sync_type', full_name='lnrpc.Peer.sync_type', index=8, - number=10, 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='errors', full_name='lnrpc.Peer.errors', index=10, - number=12, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='flap_count', full_name='lnrpc.Peer.flap_count', index=11, - number=13, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='last_flap_ns', full_name='lnrpc.Peer.last_flap_ns', index=12, - number=14, 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[_PEER_FEATURESENTRY, ], - enum_types=[ - _PEER_SYNCTYPE, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=5942, - serialized_end=6410, -) - - -_TIMESTAMPEDERROR = _descriptor.Descriptor( - name='TimestampedError', - full_name='lnrpc.TimestampedError', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='timestamp', full_name='lnrpc.TimestampedError.timestamp', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='error', full_name='lnrpc.TimestampedError.error', index=1, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=6412, - serialized_end=6464, -) - - -_LISTPEERSREQUEST = _descriptor.Descriptor( - name='ListPeersRequest', - full_name='lnrpc.ListPeersRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='latest_error', full_name='lnrpc.ListPeersRequest.latest_error', index=0, - number=1, 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=6466, - serialized_end=6506, -) - - -_LISTPEERSRESPONSE = _descriptor.Descriptor( - name='ListPeersResponse', - full_name='lnrpc.ListPeersResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='peers', full_name='lnrpc.ListPeersResponse.peers', index=0, - number=1, 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=6508, - serialized_end=6555, -) - - -_PEEREVENTSUBSCRIPTION = _descriptor.Descriptor( - name='PeerEventSubscription', - full_name='lnrpc.PeerEventSubscription', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=6557, - serialized_end=6580, -) - - -_PEEREVENT = _descriptor.Descriptor( - name='PeerEvent', - full_name='lnrpc.PeerEvent', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _PEEREVENT_EVENTTYPE, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=6582, - serialized_end=6700, -) - - -_GETINFOREQUEST = _descriptor.Descriptor( - name='GetInfoRequest', - full_name='lnrpc.GetInfoRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=6702, - serialized_end=6718, -) - - -_GETINFORESPONSE_FEATURESENTRY = _descriptor.Descriptor( - name='FeaturesEntry', - full_name='lnrpc.GetInfoResponse.FeaturesEntry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - 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, create_key=_descriptor._internal_create_key), - _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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=b'8\001', - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=6265, - serialized_end=6328, -) - -_GETINFORESPONSE = _descriptor.Descriptor( - name='GetInfoResponse', - full_name='lnrpc.GetInfoResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='commit_hash', full_name='lnrpc.GetInfoResponse.commit_hash', index=1, - number=20, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='identity_pubkey', full_name='lnrpc.GetInfoResponse.identity_pubkey', index=2, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='alias', full_name='lnrpc.GetInfoResponse.alias', index=3, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='color', full_name='lnrpc.GetInfoResponse.color', index=4, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='num_pending_channels', full_name='lnrpc.GetInfoResponse.num_pending_channels', index=5, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='num_active_channels', full_name='lnrpc.GetInfoResponse.num_active_channels', index=6, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='num_inactive_channels', full_name='lnrpc.GetInfoResponse.num_inactive_channels', index=7, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='num_peers', full_name='lnrpc.GetInfoResponse.num_peers', index=8, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='block_height', full_name='lnrpc.GetInfoResponse.block_height', index=9, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='block_hash', full_name='lnrpc.GetInfoResponse.block_hash', index=10, - 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='best_header_timestamp', full_name='lnrpc.GetInfoResponse.best_header_timestamp', index=11, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='synced_to_chain', full_name='lnrpc.GetInfoResponse.synced_to_chain', index=12, - 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='synced_to_graph', full_name='lnrpc.GetInfoResponse.synced_to_graph', index=13, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='testnet', full_name='lnrpc.GetInfoResponse.testnet', index=14, - 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', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='chains', full_name='lnrpc.GetInfoResponse.chains', index=15, - 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='uris', full_name='lnrpc.GetInfoResponse.uris', index=16, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='features', full_name='lnrpc.GetInfoResponse.features', index=17, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[_GETINFORESPONSE_FEATURESENTRY, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=6721, - serialized_end=7255, -) - - -_GETRECOVERYINFOREQUEST = _descriptor.Descriptor( - name='GetRecoveryInfoRequest', - full_name='lnrpc.GetRecoveryInfoRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=7257, - serialized_end=7281, -) - - -_GETRECOVERYINFORESPONSE = _descriptor.Descriptor( - name='GetRecoveryInfoResponse', - full_name='lnrpc.GetRecoveryInfoResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='recovery_mode', full_name='lnrpc.GetRecoveryInfoResponse.recovery_mode', index=0, - number=1, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='recovery_finished', full_name='lnrpc.GetRecoveryInfoResponse.recovery_finished', index=1, - number=2, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='progress', full_name='lnrpc.GetRecoveryInfoResponse.progress', index=2, - number=3, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=7283, - serialized_end=7376, -) - - -_CHAIN = _descriptor.Descriptor( - name='Chain', - full_name='lnrpc.Chain', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='chain', full_name='lnrpc.Chain.chain', 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='network', full_name='lnrpc.Chain.network', index=1, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=7378, - serialized_end=7417, -) - - -_CONFIRMATIONUPDATE = _descriptor.Descriptor( - name='ConfirmationUpdate', - full_name='lnrpc.ConfirmationUpdate', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='block_sha', full_name='lnrpc.ConfirmationUpdate.block_sha', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='block_height', full_name='lnrpc.ConfirmationUpdate.block_height', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='num_confs_left', full_name='lnrpc.ConfirmationUpdate.num_confs_left', index=2, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=7419, - serialized_end=7504, -) - - -_CHANNELOPENUPDATE = _descriptor.Descriptor( - name='ChannelOpenUpdate', - full_name='lnrpc.ChannelOpenUpdate', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='channel_point', full_name='lnrpc.ChannelOpenUpdate.channel_point', 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=7506, - serialized_end=7569, -) - - -_CHANNELCLOSEUPDATE = _descriptor.Descriptor( - name='ChannelCloseUpdate', - full_name='lnrpc.ChannelCloseUpdate', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='closing_txid', full_name='lnrpc.ChannelCloseUpdate.closing_txid', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='success', full_name='lnrpc.ChannelCloseUpdate.success', index=1, - number=2, 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=7571, - serialized_end=7630, -) - - -_CLOSECHANNELREQUEST = _descriptor.Descriptor( - name='CloseChannelRequest', - full_name='lnrpc.CloseChannelRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='channel_point', full_name='lnrpc.CloseChannelRequest.channel_point', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='force', full_name='lnrpc.CloseChannelRequest.force', index=1, - number=2, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='target_conf', full_name='lnrpc.CloseChannelRequest.target_conf', index=2, - number=3, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='sat_per_byte', full_name='lnrpc.CloseChannelRequest.sat_per_byte', 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=b'\030\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='sat_per_vbyte', full_name='lnrpc.CloseChannelRequest.sat_per_vbyte', index=5, - number=6, 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=7633, - serialized_end=7809, -) - - -_CLOSESTATUSUPDATE = _descriptor.Descriptor( - name='CloseStatusUpdate', - full_name='lnrpc.CloseStatusUpdate', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='close_pending', full_name='lnrpc.CloseStatusUpdate.close_pending', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='chan_close', full_name='lnrpc.CloseStatusUpdate.chan_close', index=1, - 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name='update', full_name='lnrpc.CloseStatusUpdate.update', - index=0, containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[]), - ], - serialized_start=7811, - serialized_end=7936, -) - - -_PENDINGUPDATE = _descriptor.Descriptor( - name='PendingUpdate', - full_name='lnrpc.PendingUpdate', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='txid', full_name='lnrpc.PendingUpdate.txid', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='output_index', full_name='lnrpc.PendingUpdate.output_index', index=1, - number=2, 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=7938, - serialized_end=7989, -) - - -_READYFORPSBTFUNDING = _descriptor.Descriptor( - name='ReadyForPsbtFunding', - full_name='lnrpc.ReadyForPsbtFunding', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='funding_address', full_name='lnrpc.ReadyForPsbtFunding.funding_address', 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='funding_amount', full_name='lnrpc.ReadyForPsbtFunding.funding_amount', index=1, - 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, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='psbt', full_name='lnrpc.ReadyForPsbtFunding.psbt', index=2, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=7991, - serialized_end=8075, -) - - -_OPENCHANNELREQUEST = _descriptor.Descriptor( - name='OpenChannelRequest', - full_name='lnrpc.OpenChannelRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='sat_per_vbyte', full_name='lnrpc.OpenChannelRequest.sat_per_vbyte', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='node_pubkey', full_name='lnrpc.OpenChannelRequest.node_pubkey', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='node_pubkey_string', full_name='lnrpc.OpenChannelRequest.node_pubkey_string', index=2, - number=3, 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=b'\030\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='local_funding_amount', full_name='lnrpc.OpenChannelRequest.local_funding_amount', 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='push_sat', full_name='lnrpc.OpenChannelRequest.push_sat', index=4, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='target_conf', full_name='lnrpc.OpenChannelRequest.target_conf', index=5, - number=6, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='sat_per_byte', full_name='lnrpc.OpenChannelRequest.sat_per_byte', index=6, - number=7, 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=b'\030\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='private', full_name='lnrpc.OpenChannelRequest.private', 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='min_htlc_msat', full_name='lnrpc.OpenChannelRequest.min_htlc_msat', index=8, - number=9, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='remote_csv_delay', full_name='lnrpc.OpenChannelRequest.remote_csv_delay', index=9, - 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='min_confs', full_name='lnrpc.OpenChannelRequest.min_confs', index=10, - number=11, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='spend_unconfirmed', full_name='lnrpc.OpenChannelRequest.spend_unconfirmed', index=11, - number=12, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='close_address', full_name='lnrpc.OpenChannelRequest.close_address', index=12, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='funding_shim', full_name='lnrpc.OpenChannelRequest.funding_shim', index=13, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='remote_max_value_in_flight_msat', full_name='lnrpc.OpenChannelRequest.remote_max_value_in_flight_msat', index=14, - number=15, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='remote_max_htlcs', full_name='lnrpc.OpenChannelRequest.remote_max_htlcs', index=15, - number=16, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='max_local_csv', full_name='lnrpc.OpenChannelRequest.max_local_csv', index=16, - number=17, 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=8078, - serialized_end=8536, -) - - -_OPENSTATUSUPDATE = _descriptor.Descriptor( - name='OpenStatusUpdate', - full_name='lnrpc.OpenStatusUpdate', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='chan_pending', full_name='lnrpc.OpenStatusUpdate.chan_pending', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='chan_open', full_name='lnrpc.OpenStatusUpdate.chan_open', index=1, - 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='psbt_fund', full_name='lnrpc.OpenStatusUpdate.psbt_fund', index=2, - 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='pending_chan_id', full_name='lnrpc.OpenStatusUpdate.pending_chan_id', 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name='update', full_name='lnrpc.OpenStatusUpdate.update', - index=0, containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[]), - ], - serialized_start=8539, - serialized_end=8734, -) - - -_KEYLOCATOR = _descriptor.Descriptor( - name='KeyLocator', - full_name='lnrpc.KeyLocator', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - 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, create_key=_descriptor._internal_create_key), - _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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=8736, - serialized_end=8787, -) - - -_KEYDESCRIPTOR = _descriptor.Descriptor( - name='KeyDescriptor', - full_name='lnrpc.KeyDescriptor', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - 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, create_key=_descriptor._internal_create_key), - _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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=8789, - serialized_end=8863, -) - - -_CHANPOINTSHIM = _descriptor.Descriptor( - name='ChanPointShim', - full_name='lnrpc.ChanPointShim', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - 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, create_key=_descriptor._internal_create_key), - _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, create_key=_descriptor._internal_create_key), - _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, create_key=_descriptor._internal_create_key), - _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, create_key=_descriptor._internal_create_key), - _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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='thaw_height', full_name='lnrpc.ChanPointShim.thaw_height', index=5, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=8866, - serialized_end=9042, -) - - -_PSBTSHIM = _descriptor.Descriptor( - name='PsbtShim', - full_name='lnrpc.PsbtShim', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='pending_chan_id', full_name='lnrpc.PsbtShim.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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='base_psbt', full_name='lnrpc.PsbtShim.base_psbt', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='no_publish', full_name='lnrpc.PsbtShim.no_publish', index=2, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=9044, - serialized_end=9118, -) - - -_FUNDINGSHIM = _descriptor.Descriptor( - name='FundingShim', - full_name='lnrpc.FundingShim', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='psbt_shim', full_name='lnrpc.FundingShim.psbt_shim', 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, create_key=_descriptor._internal_create_key), - ], - 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, - create_key=_descriptor._internal_create_key, - fields=[]), - ], - serialized_start=9120, - serialized_end=9228, -) - - -_FUNDINGSHIMCANCEL = _descriptor.Descriptor( - name='FundingShimCancel', - full_name='lnrpc.FundingShimCancel', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=9230, - serialized_end=9274, -) - - -_FUNDINGPSBTVERIFY = _descriptor.Descriptor( - name='FundingPsbtVerify', - full_name='lnrpc.FundingPsbtVerify', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='funded_psbt', full_name='lnrpc.FundingPsbtVerify.funded_psbt', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='pending_chan_id', full_name='lnrpc.FundingPsbtVerify.pending_chan_id', 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=9276, - serialized_end=9341, -) - - -_FUNDINGPSBTFINALIZE = _descriptor.Descriptor( - name='FundingPsbtFinalize', - full_name='lnrpc.FundingPsbtFinalize', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='signed_psbt', full_name='lnrpc.FundingPsbtFinalize.signed_psbt', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='pending_chan_id', full_name='lnrpc.FundingPsbtFinalize.pending_chan_id', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='final_raw_tx', full_name='lnrpc.FundingPsbtFinalize.final_raw_tx', index=2, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=9343, - serialized_end=9432, -) - - -_FUNDINGTRANSITIONMSG = _descriptor.Descriptor( - name='FundingTransitionMsg', - full_name='lnrpc.FundingTransitionMsg', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - 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, create_key=_descriptor._internal_create_key), - _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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='psbt_verify', full_name='lnrpc.FundingTransitionMsg.psbt_verify', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='psbt_finalize', full_name='lnrpc.FundingTransitionMsg.psbt_finalize', index=3, - number=4, 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, create_key=_descriptor._internal_create_key), - ], - 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, - create_key=_descriptor._internal_create_key, - fields=[]), - ], - serialized_start=9435, - serialized_end=9664, -) - - -_FUNDINGSTATESTEPRESP = _descriptor.Descriptor( - name='FundingStateStepResp', - full_name='lnrpc.FundingStateStepResp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=9666, - serialized_end=9688, -) - - -_PENDINGHTLC = _descriptor.Descriptor( - name='PendingHTLC', - full_name='lnrpc.PendingHTLC', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='incoming', full_name='lnrpc.PendingHTLC.incoming', index=0, - number=1, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='amount', full_name='lnrpc.PendingHTLC.amount', index=1, - 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, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='outpoint', full_name='lnrpc.PendingHTLC.outpoint', index=2, - number=3, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='maturity_height', full_name='lnrpc.PendingHTLC.maturity_height', index=3, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='blocks_til_maturity', full_name='lnrpc.PendingHTLC.blocks_til_maturity', index=4, - number=5, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='stage', full_name='lnrpc.PendingHTLC.stage', index=5, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=9691, - serialized_end=9825, -) - - -_PENDINGCHANNELSREQUEST = _descriptor.Descriptor( - name='PendingChannelsRequest', - full_name='lnrpc.PendingChannelsRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=9827, - serialized_end=9851, -) - - -_PENDINGCHANNELSRESPONSE_PENDINGCHANNEL = _descriptor.Descriptor( - name='PendingChannel', - full_name='lnrpc.PendingChannelsResponse.PendingChannel', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='remote_node_pub', full_name='lnrpc.PendingChannelsResponse.PendingChannel.remote_node_pub', 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='channel_point', full_name='lnrpc.PendingChannelsResponse.PendingChannel.channel_point', index=1, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='capacity', full_name='lnrpc.PendingChannelsResponse.PendingChannel.capacity', 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='local_balance', full_name='lnrpc.PendingChannelsResponse.PendingChannel.local_balance', 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='remote_balance', full_name='lnrpc.PendingChannelsResponse.PendingChannel.remote_balance', index=4, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='local_chan_reserve_sat', full_name='lnrpc.PendingChannelsResponse.PendingChannel.local_chan_reserve_sat', index=5, - number=6, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='remote_chan_reserve_sat', full_name='lnrpc.PendingChannelsResponse.PendingChannel.remote_chan_reserve_sat', index=6, - number=7, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='initiator', full_name='lnrpc.PendingChannelsResponse.PendingChannel.initiator', index=7, - number=8, 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='commitment_type', full_name='lnrpc.PendingChannelsResponse.PendingChannel.commitment_type', index=8, - number=9, 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=10252, - serialized_end=10531, -) - -_PENDINGCHANNELSRESPONSE_PENDINGOPENCHANNEL = _descriptor.Descriptor( - name='PendingOpenChannel', - full_name='lnrpc.PendingChannelsResponse.PendingOpenChannel', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='channel', full_name='lnrpc.PendingChannelsResponse.PendingOpenChannel.channel', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='confirmation_height', full_name='lnrpc.PendingChannelsResponse.PendingOpenChannel.confirmation_height', index=1, - number=2, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='commit_fee', full_name='lnrpc.PendingChannelsResponse.PendingOpenChannel.commit_fee', index=2, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='commit_weight', full_name='lnrpc.PendingChannelsResponse.PendingOpenChannel.commit_weight', 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='fee_per_kw', full_name='lnrpc.PendingChannelsResponse.PendingOpenChannel.fee_per_kw', index=4, - number=6, 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=10534, - serialized_end=10710, -) - -_PENDINGCHANNELSRESPONSE_WAITINGCLOSECHANNEL = _descriptor.Descriptor( - name='WaitingCloseChannel', - full_name='lnrpc.PendingChannelsResponse.WaitingCloseChannel', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='channel', full_name='lnrpc.PendingChannelsResponse.WaitingCloseChannel.channel', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='limbo_balance', full_name='lnrpc.PendingChannelsResponse.WaitingCloseChannel.limbo_balance', index=1, - 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, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='commitments', full_name='lnrpc.PendingChannelsResponse.WaitingCloseChannel.commitments', 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=10713, - serialized_end=10886, -) - -_PENDINGCHANNELSRESPONSE_COMMITMENTS = _descriptor.Descriptor( - name='Commitments', - full_name='lnrpc.PendingChannelsResponse.Commitments', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='local_txid', full_name='lnrpc.PendingChannelsResponse.Commitments.local_txid', 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='remote_txid', full_name='lnrpc.PendingChannelsResponse.Commitments.remote_txid', index=1, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='remote_pending_txid', full_name='lnrpc.PendingChannelsResponse.Commitments.remote_pending_txid', index=2, - number=3, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='local_commit_fee_sat', full_name='lnrpc.PendingChannelsResponse.Commitments.local_commit_fee_sat', index=3, - number=4, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='remote_commit_fee_sat', full_name='lnrpc.PendingChannelsResponse.Commitments.remote_commit_fee_sat', index=4, - number=5, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='remote_pending_commit_fee_sat', full_name='lnrpc.PendingChannelsResponse.Commitments.remote_pending_commit_fee_sat', index=5, - number=6, 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=10889, - serialized_end=11072, -) - -_PENDINGCHANNELSRESPONSE_CLOSEDCHANNEL = _descriptor.Descriptor( - name='ClosedChannel', - full_name='lnrpc.PendingChannelsResponse.ClosedChannel', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='channel', full_name='lnrpc.PendingChannelsResponse.ClosedChannel.channel', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='closing_txid', full_name='lnrpc.PendingChannelsResponse.ClosedChannel.closing_txid', index=1, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=11074, - serialized_end=11175, -) - -_PENDINGCHANNELSRESPONSE_FORCECLOSEDCHANNEL = _descriptor.Descriptor( - name='ForceClosedChannel', - full_name='lnrpc.PendingChannelsResponse.ForceClosedChannel', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='channel', full_name='lnrpc.PendingChannelsResponse.ForceClosedChannel.channel', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='closing_txid', full_name='lnrpc.PendingChannelsResponse.ForceClosedChannel.closing_txid', index=1, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='limbo_balance', full_name='lnrpc.PendingChannelsResponse.ForceClosedChannel.limbo_balance', 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='maturity_height', full_name='lnrpc.PendingChannelsResponse.ForceClosedChannel.maturity_height', index=3, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='blocks_til_maturity', full_name='lnrpc.PendingChannelsResponse.ForceClosedChannel.blocks_til_maturity', index=4, - number=5, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='recovered_balance', full_name='lnrpc.PendingChannelsResponse.ForceClosedChannel.recovered_balance', index=5, - number=6, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='pending_htlcs', full_name='lnrpc.PendingChannelsResponse.ForceClosedChannel.pending_htlcs', index=6, - number=8, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='anchor', full_name='lnrpc.PendingChannelsResponse.ForceClosedChannel.anchor', index=7, - number=9, 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _PENDINGCHANNELSRESPONSE_FORCECLOSEDCHANNEL_ANCHORSTATE, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=11178, - serialized_end=11561, -) - -_PENDINGCHANNELSRESPONSE = _descriptor.Descriptor( - name='PendingChannelsResponse', - full_name='lnrpc.PendingChannelsResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='total_limbo_balance', full_name='lnrpc.PendingChannelsResponse.total_limbo_balance', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='pending_open_channels', full_name='lnrpc.PendingChannelsResponse.pending_open_channels', index=1, - number=2, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='pending_closing_channels', full_name='lnrpc.PendingChannelsResponse.pending_closing_channels', index=2, - number=3, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='pending_force_closing_channels', full_name='lnrpc.PendingChannelsResponse.pending_force_closing_channels', index=3, - number=4, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='waiting_close_channels', full_name='lnrpc.PendingChannelsResponse.waiting_close_channels', index=4, - number=5, 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[_PENDINGCHANNELSRESPONSE_PENDINGCHANNEL, _PENDINGCHANNELSRESPONSE_PENDINGOPENCHANNEL, _PENDINGCHANNELSRESPONSE_WAITINGCLOSECHANNEL, _PENDINGCHANNELSRESPONSE_COMMITMENTS, _PENDINGCHANNELSRESPONSE_CLOSEDCHANNEL, _PENDINGCHANNELSRESPONSE_FORCECLOSEDCHANNEL, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=9854, - serialized_end=11561, -) - - -_CHANNELEVENTSUBSCRIPTION = _descriptor.Descriptor( - name='ChannelEventSubscription', - full_name='lnrpc.ChannelEventSubscription', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=11563, - serialized_end=11589, -) - - -_CHANNELEVENTUPDATE = _descriptor.Descriptor( - name='ChannelEventUpdate', - full_name='lnrpc.ChannelEventUpdate', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='open_channel', full_name='lnrpc.ChannelEventUpdate.open_channel', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='closed_channel', full_name='lnrpc.ChannelEventUpdate.closed_channel', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='active_channel', full_name='lnrpc.ChannelEventUpdate.active_channel', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='inactive_channel', full_name='lnrpc.ChannelEventUpdate.inactive_channel', index=3, - number=4, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='pending_open_channel', full_name='lnrpc.ChannelEventUpdate.pending_open_channel', index=4, - number=6, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='type', full_name='lnrpc.ChannelEventUpdate.type', index=5, - number=5, 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _CHANNELEVENTUPDATE_UPDATETYPE, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name='channel', full_name='lnrpc.ChannelEventUpdate.channel', - index=0, containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[]), - ], - serialized_start=11592, - serialized_end=12039, -) - - -_WALLETACCOUNTBALANCE = _descriptor.Descriptor( - name='WalletAccountBalance', - full_name='lnrpc.WalletAccountBalance', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='confirmed_balance', full_name='lnrpc.WalletAccountBalance.confirmed_balance', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='unconfirmed_balance', full_name='lnrpc.WalletAccountBalance.unconfirmed_balance', index=1, - 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, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=12041, - serialized_end=12119, -) - - -_WALLETBALANCEREQUEST = _descriptor.Descriptor( - name='WalletBalanceRequest', - full_name='lnrpc.WalletBalanceRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=12121, - serialized_end=12143, -) - - -_WALLETBALANCERESPONSE_ACCOUNTBALANCEENTRY = _descriptor.Descriptor( - name='AccountBalanceEntry', - full_name='lnrpc.WalletBalanceResponse.AccountBalanceEntry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='key', full_name='lnrpc.WalletBalanceResponse.AccountBalanceEntry.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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='value', full_name='lnrpc.WalletBalanceResponse.AccountBalanceEntry.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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=b'8\001', - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=12325, - serialized_end=12407, -) - -_WALLETBALANCERESPONSE = _descriptor.Descriptor( - name='WalletBalanceResponse', - full_name='lnrpc.WalletBalanceResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='total_balance', full_name='lnrpc.WalletBalanceResponse.total_balance', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='confirmed_balance', full_name='lnrpc.WalletBalanceResponse.confirmed_balance', index=1, - 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, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='unconfirmed_balance', full_name='lnrpc.WalletBalanceResponse.unconfirmed_balance', 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='account_balance', full_name='lnrpc.WalletBalanceResponse.account_balance', index=3, - number=4, 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[_WALLETBALANCERESPONSE_ACCOUNTBALANCEENTRY, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=12146, - serialized_end=12407, -) - - -_AMOUNT = _descriptor.Descriptor( - name='Amount', - full_name='lnrpc.Amount', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='sat', full_name='lnrpc.Amount.sat', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='msat', full_name='lnrpc.Amount.msat', index=1, - number=2, 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=12409, - serialized_end=12444, -) - - -_CHANNELBALANCEREQUEST = _descriptor.Descriptor( - name='ChannelBalanceRequest', - full_name='lnrpc.ChannelBalanceRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=12446, - serialized_end=12469, -) - - -_CHANNELBALANCERESPONSE = _descriptor.Descriptor( - name='ChannelBalanceResponse', - full_name='lnrpc.ChannelBalanceResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='balance', full_name='lnrpc.ChannelBalanceResponse.balance', 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=b'\030\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='pending_open_balance', full_name='lnrpc.ChannelBalanceResponse.pending_open_balance', index=1, - 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, - is_extension=False, extension_scope=None, - serialized_options=b'\030\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='local_balance', full_name='lnrpc.ChannelBalanceResponse.local_balance', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='remote_balance', full_name='lnrpc.ChannelBalanceResponse.remote_balance', index=3, - number=4, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='unsettled_local_balance', full_name='lnrpc.ChannelBalanceResponse.unsettled_local_balance', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='unsettled_remote_balance', full_name='lnrpc.ChannelBalanceResponse.unsettled_remote_balance', index=5, - number=6, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='pending_open_local_balance', full_name='lnrpc.ChannelBalanceResponse.pending_open_local_balance', index=6, - number=7, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='pending_open_remote_balance', full_name='lnrpc.ChannelBalanceResponse.pending_open_remote_balance', index=7, - 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=12472, - serialized_end=12828, -) - - -_QUERYROUTESREQUEST_DESTCUSTOMRECORDSENTRY = _descriptor.Descriptor( - name='DestCustomRecordsEntry', - full_name='lnrpc.QueryRoutesRequest.DestCustomRecordsEntry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - 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, create_key=_descriptor._internal_create_key), - _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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=b'8\001', - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1097, - serialized_end=1153, -) - -_QUERYROUTESREQUEST = _descriptor.Descriptor( - name='QueryRoutesRequest', - full_name='lnrpc.QueryRoutesRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='pub_key', full_name='lnrpc.QueryRoutesRequest.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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='amt', full_name='lnrpc.QueryRoutesRequest.amt', index=1, - 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, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - 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, create_key=_descriptor._internal_create_key), - _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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - 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, create_key=_descriptor._internal_create_key), - _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, create_key=_descriptor._internal_create_key), - _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, create_key=_descriptor._internal_create_key), - _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, create_key=_descriptor._internal_create_key), - _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, create_key=_descriptor._internal_create_key), - _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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[_QUERYROUTESREQUEST_DESTCUSTOMRECORDSENTRY, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=12831, - serialized_end=13423, -) - - -_NODEPAIR = _descriptor.Descriptor( - name='NodePair', - full_name='lnrpc.NodePair', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='from', full_name='lnrpc.NodePair.from', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='to', full_name='lnrpc.NodePair.to', 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=13425, - serialized_end=13461, -) - - -_EDGELOCATOR = _descriptor.Descriptor( - name='EdgeLocator', - full_name='lnrpc.EdgeLocator', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='channel_id', full_name='lnrpc.EdgeLocator.channel_id', 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=b'0\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='direction_reverse', full_name='lnrpc.EdgeLocator.direction_reverse', index=1, - number=2, 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=13463, - serialized_end=13527, -) - - -_QUERYROUTESRESPONSE = _descriptor.Descriptor( - name='QueryRoutesResponse', - full_name='lnrpc.QueryRoutesResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='routes', full_name='lnrpc.QueryRoutesResponse.routes', index=0, - number=1, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='success_prob', full_name='lnrpc.QueryRoutesResponse.success_prob', index=1, - number=2, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=13529, - serialized_end=13602, -) - - -_HOP_CUSTOMRECORDSENTRY = _descriptor.Descriptor( - name='CustomRecordsEntry', - full_name='lnrpc.Hop.CustomRecordsEntry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - 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, create_key=_descriptor._internal_create_key), - _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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=b'8\001', - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=13937, - serialized_end=13989, -) - -_HOP = _descriptor.Descriptor( - name='Hop', - full_name='lnrpc.Hop', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='chan_id', full_name='lnrpc.Hop.chan_id', 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=b'0\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='chan_capacity', full_name='lnrpc.Hop.chan_capacity', index=1, - 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, - is_extension=False, extension_scope=None, - serialized_options=b'\030\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='amt_to_forward', full_name='lnrpc.Hop.amt_to_forward', 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=b'\030\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='fee', full_name='lnrpc.Hop.fee', 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=b'\030\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='expiry', full_name='lnrpc.Hop.expiry', index=4, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='amt_to_forward_msat', full_name='lnrpc.Hop.amt_to_forward_msat', index=5, - number=6, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='fee_msat', full_name='lnrpc.Hop.fee_msat', index=6, - number=7, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='pub_key', full_name='lnrpc.Hop.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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='tlv_payload', full_name='lnrpc.Hop.tlv_payload', 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, create_key=_descriptor._internal_create_key), - _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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='amp_record', full_name='lnrpc.Hop.amp_record', index=10, - number=12, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='custom_records', full_name='lnrpc.Hop.custom_records', index=11, - 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[_HOP_CUSTOMRECORDSENTRY, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=13605, - serialized_end=13989, -) - - -_MPPRECORD = _descriptor.Descriptor( - name='MPPRecord', - full_name='lnrpc.MPPRecord', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=13991, - serialized_end=14048, -) - - -_AMPRECORD = _descriptor.Descriptor( - name='AMPRecord', - full_name='lnrpc.AMPRecord', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='root_share', full_name='lnrpc.AMPRecord.root_share', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='set_id', full_name='lnrpc.AMPRecord.set_id', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='child_index', full_name='lnrpc.AMPRecord.child_index', index=2, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=14050, - serialized_end=14118, -) - - -_ROUTE = _descriptor.Descriptor( - name='Route', - full_name='lnrpc.Route', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='total_time_lock', full_name='lnrpc.Route.total_time_lock', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='total_fees', full_name='lnrpc.Route.total_fees', index=1, - 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, - is_extension=False, extension_scope=None, - serialized_options=b'\030\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='total_amt', full_name='lnrpc.Route.total_amt', 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=b'\030\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='hops', full_name='lnrpc.Route.hops', index=3, - number=4, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='total_fees_msat', full_name='lnrpc.Route.total_fees_msat', index=4, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='total_amt_msat', full_name='lnrpc.Route.total_amt_msat', index=5, - number=6, 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=14121, - serialized_end=14275, -) - - -_NODEINFOREQUEST = _descriptor.Descriptor( - name='NodeInfoRequest', - full_name='lnrpc.NodeInfoRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='pub_key', full_name='lnrpc.NodeInfoRequest.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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='include_channels', full_name='lnrpc.NodeInfoRequest.include_channels', index=1, - number=2, 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=14277, - serialized_end=14337, -) - - -_NODEINFO = _descriptor.Descriptor( - name='NodeInfo', - full_name='lnrpc.NodeInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='node', full_name='lnrpc.NodeInfo.node', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='num_channels', full_name='lnrpc.NodeInfo.num_channels', index=1, - number=2, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='total_capacity', full_name='lnrpc.NodeInfo.total_capacity', 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='channels', full_name='lnrpc.NodeInfo.channels', index=3, - number=4, 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=14340, - serialized_end=14470, -) - - -_LIGHTNINGNODE_FEATURESENTRY = _descriptor.Descriptor( - name='FeaturesEntry', - full_name='lnrpc.LightningNode.FeaturesEntry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - 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, create_key=_descriptor._internal_create_key), - _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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=b'8\001', - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=6265, - serialized_end=6328, -) - -_LIGHTNINGNODE = _descriptor.Descriptor( - name='LightningNode', - full_name='lnrpc.LightningNode', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='last_update', full_name='lnrpc.LightningNode.last_update', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='pub_key', full_name='lnrpc.LightningNode.pub_key', index=1, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='alias', full_name='lnrpc.LightningNode.alias', index=2, - number=3, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='addresses', full_name='lnrpc.LightningNode.addresses', index=3, - number=4, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='color', full_name='lnrpc.LightningNode.color', 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[_LIGHTNINGNODE_FEATURESENTRY, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=14473, - serialized_end=14714, -) - - -_NODEADDRESS = _descriptor.Descriptor( - name='NodeAddress', - full_name='lnrpc.NodeAddress', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='network', full_name='lnrpc.NodeAddress.network', 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='addr', full_name='lnrpc.NodeAddress.addr', index=1, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=14716, - serialized_end=14760, -) - - -_ROUTINGPOLICY = _descriptor.Descriptor( - name='RoutingPolicy', - full_name='lnrpc.RoutingPolicy', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='time_lock_delta', full_name='lnrpc.RoutingPolicy.time_lock_delta', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='min_htlc', full_name='lnrpc.RoutingPolicy.min_htlc', index=1, - 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, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='fee_base_msat', full_name='lnrpc.RoutingPolicy.fee_base_msat', 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='fee_rate_milli_msat', full_name='lnrpc.RoutingPolicy.fee_rate_milli_msat', 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='disabled', full_name='lnrpc.RoutingPolicy.disabled', index=4, - number=5, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='max_htlc_msat', full_name='lnrpc.RoutingPolicy.max_htlc_msat', index=5, - number=6, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='last_update', full_name='lnrpc.RoutingPolicy.last_update', index=6, - number=7, 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=14763, - serialized_end=14935, -) - - -_CHANNELEDGE = _descriptor.Descriptor( - name='ChannelEdge', - full_name='lnrpc.ChannelEdge', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='channel_id', full_name='lnrpc.ChannelEdge.channel_id', 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=b'0\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='chan_point', full_name='lnrpc.ChannelEdge.chan_point', index=1, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='last_update', full_name='lnrpc.ChannelEdge.last_update', index=2, - 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=b'\030\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='node1_pub', full_name='lnrpc.ChannelEdge.node1_pub', index=3, - number=4, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='node2_pub', full_name='lnrpc.ChannelEdge.node2_pub', 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='capacity', full_name='lnrpc.ChannelEdge.capacity', index=5, - number=6, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='node1_policy', full_name='lnrpc.ChannelEdge.node1_policy', index=6, - number=7, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='node2_policy', full_name='lnrpc.ChannelEdge.node2_policy', index=7, - 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=14938, - serialized_end=15164, -) - - -_CHANNELGRAPHREQUEST = _descriptor.Descriptor( - name='ChannelGraphRequest', - full_name='lnrpc.ChannelGraphRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='include_unannounced', full_name='lnrpc.ChannelGraphRequest.include_unannounced', index=0, - number=1, 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=15166, - serialized_end=15216, -) - - -_CHANNELGRAPH = _descriptor.Descriptor( - name='ChannelGraph', - full_name='lnrpc.ChannelGraph', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='nodes', full_name='lnrpc.ChannelGraph.nodes', index=0, - number=1, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='edges', full_name='lnrpc.ChannelGraph.edges', index=1, - number=2, 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=15218, - serialized_end=15304, -) - - -_NODEMETRICSREQUEST = _descriptor.Descriptor( - name='NodeMetricsRequest', - full_name='lnrpc.NodeMetricsRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='types', full_name='lnrpc.NodeMetricsRequest.types', index=0, - number=1, 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=15306, - serialized_end=15364, -) - - -_NODEMETRICSRESPONSE_BETWEENNESSCENTRALITYENTRY = _descriptor.Descriptor( - name='BetweennessCentralityEntry', - full_name='lnrpc.NodeMetricsResponse.BetweennessCentralityEntry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='key', full_name='lnrpc.NodeMetricsResponse.BetweennessCentralityEntry.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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='value', full_name='lnrpc.NodeMetricsResponse.BetweennessCentralityEntry.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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=b'8\001', - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=15477, - serialized_end=15557, -) - -_NODEMETRICSRESPONSE = _descriptor.Descriptor( - name='NodeMetricsResponse', - full_name='lnrpc.NodeMetricsResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='betweenness_centrality', full_name='lnrpc.NodeMetricsResponse.betweenness_centrality', index=0, - number=1, 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[_NODEMETRICSRESPONSE_BETWEENNESSCENTRALITYENTRY, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=15367, - serialized_end=15557, -) - - -_FLOATMETRIC = _descriptor.Descriptor( - name='FloatMetric', - full_name='lnrpc.FloatMetric', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='value', full_name='lnrpc.FloatMetric.value', index=0, - number=1, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='normalized_value', full_name='lnrpc.FloatMetric.normalized_value', index=1, - number=2, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=15559, - serialized_end=15613, -) - - -_CHANINFOREQUEST = _descriptor.Descriptor( - name='ChanInfoRequest', - full_name='lnrpc.ChanInfoRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='chan_id', full_name='lnrpc.ChanInfoRequest.chan_id', 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=b'0\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=15615, - serialized_end=15653, -) - - -_NETWORKINFOREQUEST = _descriptor.Descriptor( - name='NetworkInfoRequest', - full_name='lnrpc.NetworkInfoRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=15655, - serialized_end=15675, -) - - -_NETWORKINFO = _descriptor.Descriptor( - name='NetworkInfo', - full_name='lnrpc.NetworkInfo', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='graph_diameter', full_name='lnrpc.NetworkInfo.graph_diameter', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='avg_out_degree', full_name='lnrpc.NetworkInfo.avg_out_degree', index=1, - number=2, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='max_out_degree', full_name='lnrpc.NetworkInfo.max_out_degree', index=2, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='num_nodes', full_name='lnrpc.NetworkInfo.num_nodes', index=3, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='num_channels', full_name='lnrpc.NetworkInfo.num_channels', index=4, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='total_network_capacity', full_name='lnrpc.NetworkInfo.total_network_capacity', index=5, - number=6, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='avg_channel_size', full_name='lnrpc.NetworkInfo.avg_channel_size', index=6, - number=7, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='min_channel_size', full_name='lnrpc.NetworkInfo.min_channel_size', index=7, - number=8, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='max_channel_size', full_name='lnrpc.NetworkInfo.max_channel_size', index=8, - number=9, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='median_channel_size_sat', full_name='lnrpc.NetworkInfo.median_channel_size_sat', index=9, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='num_zombie_chans', full_name='lnrpc.NetworkInfo.num_zombie_chans', index=10, - number=11, 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=15678, - serialized_end=15973, -) - - -_STOPREQUEST = _descriptor.Descriptor( - name='StopRequest', - full_name='lnrpc.StopRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=15975, - serialized_end=15988, -) - - -_STOPRESPONSE = _descriptor.Descriptor( - name='StopResponse', - full_name='lnrpc.StopResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=15990, - serialized_end=16004, -) - - -_GRAPHTOPOLOGYSUBSCRIPTION = _descriptor.Descriptor( - name='GraphTopologySubscription', - full_name='lnrpc.GraphTopologySubscription', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=16006, - serialized_end=16033, -) - - -_GRAPHTOPOLOGYUPDATE = _descriptor.Descriptor( - name='GraphTopologyUpdate', - full_name='lnrpc.GraphTopologyUpdate', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='node_updates', full_name='lnrpc.GraphTopologyUpdate.node_updates', index=0, - number=1, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='channel_updates', full_name='lnrpc.GraphTopologyUpdate.channel_updates', index=1, - number=2, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='closed_chans', full_name='lnrpc.GraphTopologyUpdate.closed_chans', index=2, - number=3, 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=16036, - serialized_end=16199, -) - - -_NODEUPDATE_FEATURESENTRY = _descriptor.Descriptor( - name='FeaturesEntry', - full_name='lnrpc.NodeUpdate.FeaturesEntry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='key', full_name='lnrpc.NodeUpdate.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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='value', full_name='lnrpc.NodeUpdate.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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=b'8\001', - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=6265, - serialized_end=6328, -) - -_NODEUPDATE = _descriptor.Descriptor( - name='NodeUpdate', - full_name='lnrpc.NodeUpdate', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='addresses', full_name='lnrpc.NodeUpdate.addresses', index=0, - number=1, 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=b'\030\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='identity_key', full_name='lnrpc.NodeUpdate.identity_key', index=1, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='global_features', full_name='lnrpc.NodeUpdate.global_features', index=2, - 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=b'\030\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='alias', full_name='lnrpc.NodeUpdate.alias', index=3, - number=4, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='color', full_name='lnrpc.NodeUpdate.color', 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='node_addresses', full_name='lnrpc.NodeUpdate.node_addresses', index=5, - 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=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='features', full_name='lnrpc.NodeUpdate.features', index=6, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[_NODEUPDATE_FEATURESENTRY, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=16202, - serialized_end=16478, -) - - -_CHANNELEDGEUPDATE = _descriptor.Descriptor( - name='ChannelEdgeUpdate', - full_name='lnrpc.ChannelEdgeUpdate', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='chan_id', full_name='lnrpc.ChannelEdgeUpdate.chan_id', 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=b'0\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='chan_point', full_name='lnrpc.ChannelEdgeUpdate.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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='capacity', full_name='lnrpc.ChannelEdgeUpdate.capacity', 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='routing_policy', full_name='lnrpc.ChannelEdgeUpdate.routing_policy', index=3, - number=4, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='advertising_node', full_name='lnrpc.ChannelEdgeUpdate.advertising_node', 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='connecting_node', full_name='lnrpc.ChannelEdgeUpdate.connecting_node', index=5, - 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=16481, - serialized_end=16677, -) - - -_CLOSEDCHANNELUPDATE = _descriptor.Descriptor( - name='ClosedChannelUpdate', - full_name='lnrpc.ClosedChannelUpdate', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='chan_id', full_name='lnrpc.ClosedChannelUpdate.chan_id', 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=b'0\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='capacity', full_name='lnrpc.ClosedChannelUpdate.capacity', index=1, - 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, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='closed_height', full_name='lnrpc.ClosedChannelUpdate.closed_height', index=2, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='chan_point', full_name='lnrpc.ClosedChannelUpdate.chan_point', index=3, - number=4, 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=16679, - serialized_end=16803, -) - - -_HOPHINT = _descriptor.Descriptor( - name='HopHint', - full_name='lnrpc.HopHint', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='node_id', full_name='lnrpc.HopHint.node_id', 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='chan_id', full_name='lnrpc.HopHint.chan_id', index=1, - number=2, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='fee_base_msat', full_name='lnrpc.HopHint.fee_base_msat', index=2, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='fee_proportional_millionths', full_name='lnrpc.HopHint.fee_proportional_millionths', index=3, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='cltv_expiry_delta', full_name='lnrpc.HopHint.cltv_expiry_delta', index=4, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=16806, - serialized_end=16940, -) - - -_ROUTEHINT = _descriptor.Descriptor( - name='RouteHint', - full_name='lnrpc.RouteHint', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='hop_hints', full_name='lnrpc.RouteHint.hop_hints', index=0, - number=1, 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=16942, - serialized_end=16988, -) - - -_INVOICE_FEATURESENTRY = _descriptor.Descriptor( - name='FeaturesEntry', - full_name='lnrpc.Invoice.FeaturesEntry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - 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, create_key=_descriptor._internal_create_key), - _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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=b'8\001', - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=6265, - serialized_end=6328, -) - -_INVOICE = _descriptor.Descriptor( - name='Invoice', - full_name='lnrpc.Invoice', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='memo', full_name='lnrpc.Invoice.memo', 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='settled', full_name='lnrpc.Invoice.settled', index=5, - number=6, 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', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='creation_date', full_name='lnrpc.Invoice.creation_date', index=6, - number=7, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='settle_date', full_name='lnrpc.Invoice.settle_date', index=7, - number=8, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='payment_request', full_name='lnrpc.Invoice.payment_request', index=8, - number=9, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='description_hash', full_name='lnrpc.Invoice.description_hash', index=9, - number=10, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='expiry', full_name='lnrpc.Invoice.expiry', index=10, - number=11, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='fallback_addr', full_name='lnrpc.Invoice.fallback_addr', index=11, - number=12, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='cltv_expiry', full_name='lnrpc.Invoice.cltv_expiry', index=12, - number=13, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='route_hints', full_name='lnrpc.Invoice.route_hints', 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='private', full_name='lnrpc.Invoice.private', index=14, - number=15, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='add_index', full_name='lnrpc.Invoice.add_index', index=15, - number=16, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='settle_index', full_name='lnrpc.Invoice.settle_index', index=16, - number=17, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='amt_paid', full_name='lnrpc.Invoice.amt_paid', index=17, - number=18, 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=b'\030\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='amt_paid_sat', full_name='lnrpc.Invoice.amt_paid_sat', index=18, - number=19, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='amt_paid_msat', full_name='lnrpc.Invoice.amt_paid_msat', index=19, - number=20, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='state', full_name='lnrpc.Invoice.state', index=20, - number=21, 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='htlcs', full_name='lnrpc.Invoice.htlcs', index=21, - number=22, 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, create_key=_descriptor._internal_create_key), - _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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='payment_addr', full_name='lnrpc.Invoice.payment_addr', index=24, - number=26, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='is_amp', full_name='lnrpc.Invoice.is_amp', index=25, - number=27, 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[_INVOICE_FEATURESENTRY, ], - enum_types=[ - _INVOICE_INVOICESTATE, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=16991, - serialized_end=17748, -) - - -_INVOICEHTLC_CUSTOMRECORDSENTRY = _descriptor.Descriptor( - name='CustomRecordsEntry', - full_name='lnrpc.InvoiceHTLC.CustomRecordsEntry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - 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, create_key=_descriptor._internal_create_key), - _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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=b'8\001', - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=13937, - serialized_end=13989, -) - -_INVOICEHTLC = _descriptor.Descriptor( - name='InvoiceHTLC', - full_name='lnrpc.InvoiceHTLC', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='chan_id', full_name='lnrpc.InvoiceHTLC.chan_id', 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=b'0\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='htlc_index', full_name='lnrpc.InvoiceHTLC.htlc_index', index=1, - number=2, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='amt_msat', full_name='lnrpc.InvoiceHTLC.amt_msat', index=2, - number=3, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='accept_height', full_name='lnrpc.InvoiceHTLC.accept_height', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='accept_time', full_name='lnrpc.InvoiceHTLC.accept_time', index=4, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='resolve_time', full_name='lnrpc.InvoiceHTLC.resolve_time', index=5, - number=6, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='expiry_height', full_name='lnrpc.InvoiceHTLC.expiry_height', index=6, - 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='state', full_name='lnrpc.InvoiceHTLC.state', index=7, - number=8, 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='amp', full_name='lnrpc.InvoiceHTLC.amp', index=10, - number=11, 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[_INVOICEHTLC_CUSTOMRECORDSENTRY, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=17751, - serialized_end=18122, -) - - -_AMP = _descriptor.Descriptor( - name='AMP', - full_name='lnrpc.AMP', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='root_share', full_name='lnrpc.AMP.root_share', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='set_id', full_name='lnrpc.AMP.set_id', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='child_index', full_name='lnrpc.AMP.child_index', index=2, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='hash', full_name='lnrpc.AMP.hash', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='preimage', full_name='lnrpc.AMP.preimage', 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=18124, - serialized_end=18218, -) - - -_ADDINVOICERESPONSE = _descriptor.Descriptor( - name='AddInvoiceResponse', - full_name='lnrpc.AddInvoiceResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='r_hash', full_name='lnrpc.AddInvoiceResponse.r_hash', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='payment_request', full_name='lnrpc.AddInvoiceResponse.payment_request', index=1, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='add_index', full_name='lnrpc.AddInvoiceResponse.add_index', index=2, - number=16, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='payment_addr', full_name='lnrpc.AddInvoiceResponse.payment_addr', index=3, - number=17, 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=18220, - serialized_end=18322, -) - - -_PAYMENTHASH = _descriptor.Descriptor( - name='PaymentHash', - full_name='lnrpc.PaymentHash', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='r_hash_str', full_name='lnrpc.PaymentHash.r_hash_str', 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=b'\030\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='r_hash', full_name='lnrpc.PaymentHash.r_hash', 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=18324, - serialized_end=18377, -) - - -_LISTINVOICEREQUEST = _descriptor.Descriptor( - name='ListInvoiceRequest', - full_name='lnrpc.ListInvoiceRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='pending_only', full_name='lnrpc.ListInvoiceRequest.pending_only', index=0, - number=1, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='index_offset', full_name='lnrpc.ListInvoiceRequest.index_offset', index=1, - number=4, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='num_max_invoices', full_name='lnrpc.ListInvoiceRequest.num_max_invoices', index=2, - number=5, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='reversed', full_name='lnrpc.ListInvoiceRequest.reversed', index=3, - number=6, 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=18379, - serialized_end=18487, -) - - -_LISTINVOICERESPONSE = _descriptor.Descriptor( - name='ListInvoiceResponse', - full_name='lnrpc.ListInvoiceResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='invoices', full_name='lnrpc.ListInvoiceResponse.invoices', index=0, - number=1, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='last_index_offset', full_name='lnrpc.ListInvoiceResponse.last_index_offset', index=1, - number=2, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='first_index_offset', full_name='lnrpc.ListInvoiceResponse.first_index_offset', index=2, - number=3, 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=18489, - serialized_end=18599, -) - - -_INVOICESUBSCRIPTION = _descriptor.Descriptor( - name='InvoiceSubscription', - full_name='lnrpc.InvoiceSubscription', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='add_index', full_name='lnrpc.InvoiceSubscription.add_index', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='settle_index', full_name='lnrpc.InvoiceSubscription.settle_index', index=1, - number=2, 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=18601, - serialized_end=18663, -) - - -_PAYMENT = _descriptor.Descriptor( - name='Payment', - full_name='lnrpc.Payment', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='payment_hash', full_name='lnrpc.Payment.payment_hash', 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='value', full_name='lnrpc.Payment.value', index=1, - 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, - is_extension=False, extension_scope=None, - serialized_options=b'\030\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='creation_date', full_name='lnrpc.Payment.creation_date', 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=b'\030\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='fee', full_name='lnrpc.Payment.fee', 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=b'\030\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='payment_preimage', full_name='lnrpc.Payment.payment_preimage', index=4, - 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='value_sat', full_name='lnrpc.Payment.value_sat', index=5, - number=7, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='value_msat', full_name='lnrpc.Payment.value_msat', index=6, - number=8, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='payment_request', full_name='lnrpc.Payment.payment_request', index=7, - number=9, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='status', full_name='lnrpc.Payment.status', index=8, - number=10, 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='fee_sat', full_name='lnrpc.Payment.fee_sat', index=9, - number=11, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='fee_msat', full_name='lnrpc.Payment.fee_msat', index=10, - 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='creation_time_ns', full_name='lnrpc.Payment.creation_time_ns', index=11, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='htlcs', full_name='lnrpc.Payment.htlcs', index=12, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='payment_index', full_name='lnrpc.Payment.payment_index', index=13, - number=15, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='failure_reason', full_name='lnrpc.Payment.failure_reason', index=14, - number=16, 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _PAYMENT_PAYMENTSTATUS, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=18666, - serialized_end=19146, -) - - -_HTLCATTEMPT = _descriptor.Descriptor( - name='HTLCAttempt', - full_name='lnrpc.HTLCAttempt', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='attempt_id', full_name='lnrpc.HTLCAttempt.attempt_id', index=0, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='status', full_name='lnrpc.HTLCAttempt.status', index=1, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='route', full_name='lnrpc.HTLCAttempt.route', index=2, - 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='attempt_time_ns', full_name='lnrpc.HTLCAttempt.attempt_time_ns', index=3, - 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='resolve_time_ns', full_name='lnrpc.HTLCAttempt.resolve_time_ns', index=4, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='failure', full_name='lnrpc.HTLCAttempt.failure', index=5, - 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='preimage', full_name='lnrpc.HTLCAttempt.preimage', index=6, - number=6, 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _HTLCATTEMPT_HTLCSTATUS, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=19149, - serialized_end=19415, -) - - -_LISTPAYMENTSREQUEST = _descriptor.Descriptor( - name='ListPaymentsRequest', - full_name='lnrpc.ListPaymentsRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='include_incomplete', full_name='lnrpc.ListPaymentsRequest.include_incomplete', index=0, - number=1, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='index_offset', full_name='lnrpc.ListPaymentsRequest.index_offset', index=1, - number=2, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='max_payments', full_name='lnrpc.ListPaymentsRequest.max_payments', index=2, - number=3, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='reversed', full_name='lnrpc.ListPaymentsRequest.reversed', index=3, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=19417, - serialized_end=19528, -) - - -_LISTPAYMENTSRESPONSE = _descriptor.Descriptor( - name='ListPaymentsResponse', - full_name='lnrpc.ListPaymentsResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='payments', full_name='lnrpc.ListPaymentsResponse.payments', index=0, - number=1, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='first_index_offset', full_name='lnrpc.ListPaymentsResponse.first_index_offset', index=1, - number=2, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='last_index_offset', full_name='lnrpc.ListPaymentsResponse.last_index_offset', index=2, - number=3, 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=19530, - serialized_end=19641, -) - - -_DELETEALLPAYMENTSREQUEST = _descriptor.Descriptor( - name='DeleteAllPaymentsRequest', - full_name='lnrpc.DeleteAllPaymentsRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='failed_payments_only', full_name='lnrpc.DeleteAllPaymentsRequest.failed_payments_only', index=0, - number=1, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='failed_htlcs_only', full_name='lnrpc.DeleteAllPaymentsRequest.failed_htlcs_only', index=1, - number=2, 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=19643, - serialized_end=19726, -) - - -_DELETEALLPAYMENTSRESPONSE = _descriptor.Descriptor( - name='DeleteAllPaymentsResponse', - full_name='lnrpc.DeleteAllPaymentsResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=19728, - serialized_end=19755, -) - - -_ABANDONCHANNELREQUEST = _descriptor.Descriptor( - name='AbandonChannelRequest', - full_name='lnrpc.AbandonChannelRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='channel_point', full_name='lnrpc.AbandonChannelRequest.channel_point', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='pending_funding_shim_only', full_name='lnrpc.AbandonChannelRequest.pending_funding_shim_only', index=1, - number=2, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='i_know_what_i_am_doing', full_name='lnrpc.AbandonChannelRequest.i_know_what_i_am_doing', index=2, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=19758, - serialized_end=19892, -) - - -_ABANDONCHANNELRESPONSE = _descriptor.Descriptor( - name='AbandonChannelResponse', - full_name='lnrpc.AbandonChannelResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=19894, - serialized_end=19918, -) - - -_DEBUGLEVELREQUEST = _descriptor.Descriptor( - name='DebugLevelRequest', - full_name='lnrpc.DebugLevelRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='show', full_name='lnrpc.DebugLevelRequest.show', index=0, - number=1, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='level_spec', full_name='lnrpc.DebugLevelRequest.level_spec', index=1, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=19920, - serialized_end=19973, -) - - -_DEBUGLEVELRESPONSE = _descriptor.Descriptor( - name='DebugLevelResponse', - full_name='lnrpc.DebugLevelResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='sub_systems', full_name='lnrpc.DebugLevelResponse.sub_systems', 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=19975, - serialized_end=20016, -) - - -_PAYREQSTRING = _descriptor.Descriptor( - name='PayReqString', - full_name='lnrpc.PayReqString', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='pay_req', full_name='lnrpc.PayReqString.pay_req', 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=20018, - serialized_end=20049, -) - - -_PAYREQ_FEATURESENTRY = _descriptor.Descriptor( - name='FeaturesEntry', - full_name='lnrpc.PayReq.FeaturesEntry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - 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, create_key=_descriptor._internal_create_key), - _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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=b'8\001', - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=6265, - serialized_end=6328, -) - -_PAYREQ = _descriptor.Descriptor( - name='PayReq', - full_name='lnrpc.PayReq', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='destination', full_name='lnrpc.PayReq.destination', 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='payment_hash', full_name='lnrpc.PayReq.payment_hash', index=1, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='num_satoshis', full_name='lnrpc.PayReq.num_satoshis', 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='timestamp', full_name='lnrpc.PayReq.timestamp', 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='expiry', full_name='lnrpc.PayReq.expiry', index=4, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='description', full_name='lnrpc.PayReq.description', index=5, - 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='description_hash', full_name='lnrpc.PayReq.description_hash', index=6, - number=7, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='fallback_addr', full_name='lnrpc.PayReq.fallback_addr', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='cltv_expiry', full_name='lnrpc.PayReq.cltv_expiry', index=8, - number=9, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='route_hints', full_name='lnrpc.PayReq.route_hints', 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, create_key=_descriptor._internal_create_key), - _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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[_PAYREQ_FEATURESENTRY, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=20052, - serialized_end=20442, -) - - -_FEATURE = _descriptor.Descriptor( - name='Feature', - full_name='lnrpc.Feature', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=20444, - serialized_end=20506, -) - - -_FEEREPORTREQUEST = _descriptor.Descriptor( - name='FeeReportRequest', - full_name='lnrpc.FeeReportRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=20508, - serialized_end=20526, -) - - -_CHANNELFEEREPORT = _descriptor.Descriptor( - name='ChannelFeeReport', - full_name='lnrpc.ChannelFeeReport', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='chan_id', full_name='lnrpc.ChannelFeeReport.chan_id', index=0, - number=5, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='channel_point', full_name='lnrpc.ChannelFeeReport.channel_point', 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='base_fee_msat', full_name='lnrpc.ChannelFeeReport.base_fee_msat', 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, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='fee_per_mil', full_name='lnrpc.ChannelFeeReport.fee_per_mil', index=3, - 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='fee_rate', full_name='lnrpc.ChannelFeeReport.fee_rate', index=4, - number=4, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=20528, - serialized_end=20652, -) - - -_FEEREPORTRESPONSE = _descriptor.Descriptor( - name='FeeReportResponse', - full_name='lnrpc.FeeReportResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='channel_fees', full_name='lnrpc.FeeReportResponse.channel_fees', index=0, - number=1, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='day_fee_sum', full_name='lnrpc.FeeReportResponse.day_fee_sum', index=1, - number=2, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='week_fee_sum', full_name='lnrpc.FeeReportResponse.week_fee_sum', index=2, - number=3, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='month_fee_sum', full_name='lnrpc.FeeReportResponse.month_fee_sum', index=3, - number=4, 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=20655, - serialized_end=20787, -) - - -_POLICYUPDATEREQUEST = _descriptor.Descriptor( - name='PolicyUpdateRequest', - full_name='lnrpc.PolicyUpdateRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='global', full_name='lnrpc.PolicyUpdateRequest.global', index=0, - number=1, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='chan_point', full_name='lnrpc.PolicyUpdateRequest.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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='base_fee_msat', full_name='lnrpc.PolicyUpdateRequest.base_fee_msat', 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='fee_rate', full_name='lnrpc.PolicyUpdateRequest.fee_rate', index=3, - number=4, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='time_lock_delta', full_name='lnrpc.PolicyUpdateRequest.time_lock_delta', index=4, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='max_htlc_msat', full_name='lnrpc.PolicyUpdateRequest.max_htlc_msat', index=5, - number=6, 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, create_key=_descriptor._internal_create_key), - _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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name='scope', full_name='lnrpc.PolicyUpdateRequest.scope', - index=0, containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[]), - ], - serialized_start=20790, - serialized_end=21026, -) - - -_POLICYUPDATERESPONSE = _descriptor.Descriptor( - name='PolicyUpdateResponse', - full_name='lnrpc.PolicyUpdateResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=21028, - serialized_end=21050, -) - - -_FORWARDINGHISTORYREQUEST = _descriptor.Descriptor( - name='ForwardingHistoryRequest', - full_name='lnrpc.ForwardingHistoryRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='start_time', full_name='lnrpc.ForwardingHistoryRequest.start_time', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='end_time', full_name='lnrpc.ForwardingHistoryRequest.end_time', index=1, - number=2, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='index_offset', full_name='lnrpc.ForwardingHistoryRequest.index_offset', index=2, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='num_max_events', full_name='lnrpc.ForwardingHistoryRequest.num_max_events', index=3, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=21052, - serialized_end=21162, -) - - -_FORWARDINGEVENT = _descriptor.Descriptor( - name='ForwardingEvent', - full_name='lnrpc.ForwardingEvent', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='timestamp', full_name='lnrpc.ForwardingEvent.timestamp', 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=b'\030\001', file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='chan_id_in', full_name='lnrpc.ForwardingEvent.chan_id_in', index=1, - number=2, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='chan_id_out', full_name='lnrpc.ForwardingEvent.chan_id_out', index=2, - number=4, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='amt_in', full_name='lnrpc.ForwardingEvent.amt_in', index=3, - number=5, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='amt_out', full_name='lnrpc.ForwardingEvent.amt_out', index=4, - number=6, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='fee', full_name='lnrpc.ForwardingEvent.fee', index=5, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='fee_msat', full_name='lnrpc.ForwardingEvent.fee_msat', index=6, - number=8, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='amt_in_msat', full_name='lnrpc.ForwardingEvent.amt_in_msat', index=7, - 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=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='amt_out_msat', full_name='lnrpc.ForwardingEvent.amt_out_msat', index=8, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='timestamp_ns', full_name='lnrpc.ForwardingEvent.timestamp_ns', index=9, - number=11, 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=21165, - serialized_end=21383, -) - - -_FORWARDINGHISTORYRESPONSE = _descriptor.Descriptor( - name='ForwardingHistoryResponse', - full_name='lnrpc.ForwardingHistoryResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='forwarding_events', full_name='lnrpc.ForwardingHistoryResponse.forwarding_events', index=0, - number=1, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='last_offset_index', full_name='lnrpc.ForwardingHistoryResponse.last_offset_index', index=1, - number=2, 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=21385, - serialized_end=21490, -) - - -_EXPORTCHANNELBACKUPREQUEST = _descriptor.Descriptor( - name='ExportChannelBackupRequest', - full_name='lnrpc.ExportChannelBackupRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='chan_point', full_name='lnrpc.ExportChannelBackupRequest.chan_point', 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=21492, - serialized_end=21561, -) - - -_CHANNELBACKUP = _descriptor.Descriptor( - name='ChannelBackup', - full_name='lnrpc.ChannelBackup', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='chan_point', full_name='lnrpc.ChannelBackup.chan_point', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='chan_backup', full_name='lnrpc.ChannelBackup.chan_backup', 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=21563, - serialized_end=21640, -) - - -_MULTICHANBACKUP = _descriptor.Descriptor( - name='MultiChanBackup', - full_name='lnrpc.MultiChanBackup', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='chan_points', full_name='lnrpc.MultiChanBackup.chan_points', index=0, - number=1, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='multi_chan_backup', full_name='lnrpc.MultiChanBackup.multi_chan_backup', 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=21642, - serialized_end=21728, -) - - -_CHANBACKUPEXPORTREQUEST = _descriptor.Descriptor( - name='ChanBackupExportRequest', - full_name='lnrpc.ChanBackupExportRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=21730, - serialized_end=21755, -) - - -_CHANBACKUPSNAPSHOT = _descriptor.Descriptor( - name='ChanBackupSnapshot', - full_name='lnrpc.ChanBackupSnapshot', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='single_chan_backups', full_name='lnrpc.ChanBackupSnapshot.single_chan_backups', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='multi_chan_backup', full_name='lnrpc.ChanBackupSnapshot.multi_chan_backup', 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=21757, - serialized_end=21880, -) - - -_CHANNELBACKUPS = _descriptor.Descriptor( - name='ChannelBackups', - full_name='lnrpc.ChannelBackups', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='chan_backups', full_name='lnrpc.ChannelBackups.chan_backups', index=0, - number=1, 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=21882, - serialized_end=21942, -) - - -_RESTORECHANBACKUPREQUEST = _descriptor.Descriptor( - name='RestoreChanBackupRequest', - full_name='lnrpc.RestoreChanBackupRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='chan_backups', full_name='lnrpc.RestoreChanBackupRequest.chan_backups', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='multi_chan_backup', full_name='lnrpc.RestoreChanBackupRequest.multi_chan_backup', 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name='backup', full_name='lnrpc.RestoreChanBackupRequest.backup', - index=0, containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[]), - ], - serialized_start=21944, - serialized_end=22056, -) - - -_RESTOREBACKUPRESPONSE = _descriptor.Descriptor( - name='RestoreBackupResponse', - full_name='lnrpc.RestoreBackupResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=22058, - serialized_end=22081, -) - - -_CHANNELBACKUPSUBSCRIPTION = _descriptor.Descriptor( - name='ChannelBackupSubscription', - full_name='lnrpc.ChannelBackupSubscription', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=22083, - serialized_end=22110, -) - - -_VERIFYCHANBACKUPRESPONSE = _descriptor.Descriptor( - name='VerifyChanBackupResponse', - full_name='lnrpc.VerifyChanBackupResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=22112, - serialized_end=22138, -) - - -_MACAROONPERMISSION = _descriptor.Descriptor( - name='MacaroonPermission', - full_name='lnrpc.MacaroonPermission', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='entity', full_name='lnrpc.MacaroonPermission.entity', 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='action', full_name='lnrpc.MacaroonPermission.action', index=1, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=22140, - serialized_end=22192, -) - - -_BAKEMACAROONREQUEST = _descriptor.Descriptor( - name='BakeMacaroonRequest', - full_name='lnrpc.BakeMacaroonRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='permissions', full_name='lnrpc.BakeMacaroonRequest.permissions', index=0, - number=1, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='root_key_id', full_name='lnrpc.BakeMacaroonRequest.root_key_id', index=1, - number=2, 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=22194, - serialized_end=22284, -) - - -_BAKEMACAROONRESPONSE = _descriptor.Descriptor( - name='BakeMacaroonResponse', - full_name='lnrpc.BakeMacaroonResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='macaroon', full_name='lnrpc.BakeMacaroonResponse.macaroon', 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=22286, - serialized_end=22326, -) - - -_LISTMACAROONIDSREQUEST = _descriptor.Descriptor( - name='ListMacaroonIDsRequest', - full_name='lnrpc.ListMacaroonIDsRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=22328, - serialized_end=22352, -) - - -_LISTMACAROONIDSRESPONSE = _descriptor.Descriptor( - name='ListMacaroonIDsResponse', - full_name='lnrpc.ListMacaroonIDsResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='root_key_ids', full_name='lnrpc.ListMacaroonIDsResponse.root_key_ids', index=0, - number=1, type=4, cpp_type=4, 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=22354, - serialized_end=22401, -) - - -_DELETEMACAROONIDREQUEST = _descriptor.Descriptor( - name='DeleteMacaroonIDRequest', - full_name='lnrpc.DeleteMacaroonIDRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='root_key_id', full_name='lnrpc.DeleteMacaroonIDRequest.root_key_id', 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=22403, - serialized_end=22449, -) - - -_DELETEMACAROONIDRESPONSE = _descriptor.Descriptor( - name='DeleteMacaroonIDResponse', - full_name='lnrpc.DeleteMacaroonIDResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='deleted', full_name='lnrpc.DeleteMacaroonIDResponse.deleted', index=0, - number=1, 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=22451, - serialized_end=22494, -) - - -_MACAROONPERMISSIONLIST = _descriptor.Descriptor( - name='MacaroonPermissionList', - full_name='lnrpc.MacaroonPermissionList', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='permissions', full_name='lnrpc.MacaroonPermissionList.permissions', index=0, - number=1, 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=22496, - serialized_end=22568, -) - - -_LISTPERMISSIONSREQUEST = _descriptor.Descriptor( - name='ListPermissionsRequest', - full_name='lnrpc.ListPermissionsRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=22570, - serialized_end=22594, -) - - -_LISTPERMISSIONSRESPONSE_METHODPERMISSIONSENTRY = _descriptor.Descriptor( - name='MethodPermissionsEntry', - full_name='lnrpc.ListPermissionsResponse.MethodPermissionsEntry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='key', full_name='lnrpc.ListPermissionsResponse.MethodPermissionsEntry.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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='value', full_name='lnrpc.ListPermissionsResponse.MethodPermissionsEntry.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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=b'8\001', - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=22707, - serialized_end=22794, -) - -_LISTPERMISSIONSRESPONSE = _descriptor.Descriptor( - name='ListPermissionsResponse', - full_name='lnrpc.ListPermissionsResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='method_permissions', full_name='lnrpc.ListPermissionsResponse.method_permissions', index=0, - number=1, 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[_LISTPERMISSIONSRESPONSE_METHODPERMISSIONSENTRY, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=22597, - serialized_end=22794, -) - - -_FAILURE = _descriptor.Descriptor( - name='Failure', - full_name='lnrpc.Failure', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='code', full_name='lnrpc.Failure.code', 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='channel_update', full_name='lnrpc.Failure.channel_update', index=1, - 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='htlc_msat', full_name='lnrpc.Failure.htlc_msat', index=2, - number=4, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='onion_sha_256', full_name='lnrpc.Failure.onion_sha_256', index=3, - 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='cltv_expiry', full_name='lnrpc.Failure.cltv_expiry', index=4, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='flags', full_name='lnrpc.Failure.flags', index=5, - number=7, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='failure_source_index', full_name='lnrpc.Failure.failure_source_index', index=6, - number=8, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='height', full_name='lnrpc.Failure.height', index=7, - number=9, 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - _FAILURE_FAILURECODE, - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=22797, - serialized_end=23778, -) - - -_CHANNELUPDATE = _descriptor.Descriptor( - name='ChannelUpdate', - full_name='lnrpc.ChannelUpdate', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='signature', full_name='lnrpc.ChannelUpdate.signature', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='chain_hash', full_name='lnrpc.ChannelUpdate.chain_hash', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='chan_id', full_name='lnrpc.ChannelUpdate.chan_id', index=2, - number=3, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='timestamp', full_name='lnrpc.ChannelUpdate.timestamp', index=3, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='message_flags', full_name='lnrpc.ChannelUpdate.message_flags', index=4, - 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='channel_flags', full_name='lnrpc.ChannelUpdate.channel_flags', index=5, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='time_lock_delta', full_name='lnrpc.ChannelUpdate.time_lock_delta', index=6, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='htlc_minimum_msat', full_name='lnrpc.ChannelUpdate.htlc_minimum_msat', index=7, - 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='base_fee', full_name='lnrpc.ChannelUpdate.base_fee', index=8, - number=8, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='fee_rate', full_name='lnrpc.ChannelUpdate.fee_rate', index=9, - number=9, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='htlc_maximum_msat', full_name='lnrpc.ChannelUpdate.htlc_maximum_msat', index=10, - number=11, 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='extra_opaque_data', full_name='lnrpc.ChannelUpdate.extra_opaque_data', index=11, - number=12, 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=23781, - serialized_end=24063, -) - - -_MACAROONID = _descriptor.Descriptor( - name='MacaroonId', - full_name='lnrpc.MacaroonId', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='nonce', full_name='lnrpc.MacaroonId.nonce', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='storageId', full_name='lnrpc.MacaroonId.storageId', 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, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='ops', full_name='lnrpc.MacaroonId.ops', index=2, - number=3, 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, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=24065, - serialized_end=24135, -) - - -_OP = _descriptor.Descriptor( - name='Op', - full_name='lnrpc.Op', - filename=None, - file=DESCRIPTOR, - containing_type=None, - create_key=_descriptor._internal_create_key, - fields=[ - _descriptor.FieldDescriptor( - name='entity', full_name='lnrpc.Op.entity', 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - _descriptor.FieldDescriptor( - name='actions', full_name='lnrpc.Op.actions', index=1, - number=2, 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, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=24137, - serialized_end=24174, -) - -_UTXO.fields_by_name['address_type'].enum_type = _ADDRESSTYPE -_UTXO.fields_by_name['outpoint'].message_type = _OUTPOINT -_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_DESTCUSTOMRECORDSENTRY.containing_type = _SENDREQUEST -_SENDREQUEST.fields_by_name['fee_limit'].message_type = _FEELIMIT -_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( - _CHANNELPOINT.fields_by_name['funding_txid_bytes']) -_CHANNELPOINT.fields_by_name['funding_txid_bytes'].containing_oneof = _CHANNELPOINT.oneofs_by_name['funding_txid'] -_CHANNELPOINT.oneofs_by_name['funding_txid'].fields.append( - _CHANNELPOINT.fields_by_name['funding_txid_str']) -_CHANNELPOINT.fields_by_name['funding_txid_str'].containing_oneof = _CHANNELPOINT.oneofs_by_name['funding_txid'] -_ESTIMATEFEEREQUEST_ADDRTOAMOUNTENTRY.containing_type = _ESTIMATEFEEREQUEST -_ESTIMATEFEEREQUEST.fields_by_name['AddrToAmount'].message_type = _ESTIMATEFEEREQUEST_ADDRTOAMOUNTENTRY -_SENDMANYREQUEST_ADDRTOAMOUNTENTRY.containing_type = _SENDMANYREQUEST -_SENDMANYREQUEST.fields_by_name['AddrToAmount'].message_type = _SENDMANYREQUEST_ADDRTOAMOUNTENTRY -_LISTUNSPENTRESPONSE.fields_by_name['utxos'].message_type = _UTXO -_NEWADDRESSREQUEST.fields_by_name['type'].enum_type = _ADDRESSTYPE -_CONNECTPEERREQUEST.fields_by_name['addr'].message_type = _LIGHTNINGADDRESS -_CHANNEL.fields_by_name['pending_htlcs'].message_type = _HTLC -_CHANNEL.fields_by_name['commitment_type'].enum_type = _COMMITMENTTYPE -_CHANNEL.fields_by_name['local_constraints'].message_type = _CHANNELCONSTRAINTS -_CHANNEL.fields_by_name['remote_constraints'].message_type = _CHANNELCONSTRAINTS -_LISTCHANNELSRESPONSE.fields_by_name['channels'].message_type = _CHANNEL -_CHANNELCLOSESUMMARY.fields_by_name['close_type'].enum_type = _CHANNELCLOSESUMMARY_CLOSURETYPE -_CHANNELCLOSESUMMARY.fields_by_name['open_initiator'].enum_type = _INITIATOR -_CHANNELCLOSESUMMARY.fields_by_name['close_initiator'].enum_type = _INITIATOR -_CHANNELCLOSESUMMARY.fields_by_name['resolutions'].message_type = _RESOLUTION -_CHANNELCLOSESUMMARY_CLOSURETYPE.containing_type = _CHANNELCLOSESUMMARY -_RESOLUTION.fields_by_name['resolution_type'].enum_type = _RESOLUTIONTYPE -_RESOLUTION.fields_by_name['outcome'].enum_type = _RESOLUTIONOUTCOME -_RESOLUTION.fields_by_name['outpoint'].message_type = _OUTPOINT -_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.fields_by_name['errors'].message_type = _TIMESTAMPEDERROR -_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 -_CLOSESTATUSUPDATE.fields_by_name['chan_close'].message_type = _CHANNELCLOSEUPDATE -_CLOSESTATUSUPDATE.oneofs_by_name['update'].fields.append( - _CLOSESTATUSUPDATE.fields_by_name['close_pending']) -_CLOSESTATUSUPDATE.fields_by_name['close_pending'].containing_oneof = _CLOSESTATUSUPDATE.oneofs_by_name['update'] -_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.fields_by_name['psbt_fund'].message_type = _READYFORPSBTFUNDING -_OPENSTATUSUPDATE.oneofs_by_name['update'].fields.append( - _OPENSTATUSUPDATE.fields_by_name['chan_pending']) -_OPENSTATUSUPDATE.fields_by_name['chan_pending'].containing_oneof = _OPENSTATUSUPDATE.oneofs_by_name['update'] -_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'] -_OPENSTATUSUPDATE.oneofs_by_name['update'].fields.append( - _OPENSTATUSUPDATE.fields_by_name['psbt_fund']) -_OPENSTATUSUPDATE.fields_by_name['psbt_fund'].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.fields_by_name['psbt_shim'].message_type = _PSBTSHIM -_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'] -_FUNDINGSHIM.oneofs_by_name['shim'].fields.append( - _FUNDINGSHIM.fields_by_name['psbt_shim']) -_FUNDINGSHIM.fields_by_name['psbt_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.fields_by_name['psbt_verify'].message_type = _FUNDINGPSBTVERIFY -_FUNDINGTRANSITIONMSG.fields_by_name['psbt_finalize'].message_type = _FUNDINGPSBTFINALIZE -_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'] -_FUNDINGTRANSITIONMSG.oneofs_by_name['trigger'].fields.append( - _FUNDINGTRANSITIONMSG.fields_by_name['psbt_verify']) -_FUNDINGTRANSITIONMSG.fields_by_name['psbt_verify'].containing_oneof = _FUNDINGTRANSITIONMSG.oneofs_by_name['trigger'] -_FUNDINGTRANSITIONMSG.oneofs_by_name['trigger'].fields.append( - _FUNDINGTRANSITIONMSG.fields_by_name['psbt_finalize']) -_FUNDINGTRANSITIONMSG.fields_by_name['psbt_finalize'].containing_oneof = _FUNDINGTRANSITIONMSG.oneofs_by_name['trigger'] -_PENDINGCHANNELSRESPONSE_PENDINGCHANNEL.fields_by_name['initiator'].enum_type = _INITIATOR -_PENDINGCHANNELSRESPONSE_PENDINGCHANNEL.fields_by_name['commitment_type'].enum_type = _COMMITMENTTYPE -_PENDINGCHANNELSRESPONSE_PENDINGCHANNEL.containing_type = _PENDINGCHANNELSRESPONSE -_PENDINGCHANNELSRESPONSE_PENDINGOPENCHANNEL.fields_by_name['channel'].message_type = _PENDINGCHANNELSRESPONSE_PENDINGCHANNEL -_PENDINGCHANNELSRESPONSE_PENDINGOPENCHANNEL.containing_type = _PENDINGCHANNELSRESPONSE -_PENDINGCHANNELSRESPONSE_WAITINGCLOSECHANNEL.fields_by_name['channel'].message_type = _PENDINGCHANNELSRESPONSE_PENDINGCHANNEL -_PENDINGCHANNELSRESPONSE_WAITINGCLOSECHANNEL.fields_by_name['commitments'].message_type = _PENDINGCHANNELSRESPONSE_COMMITMENTS -_PENDINGCHANNELSRESPONSE_WAITINGCLOSECHANNEL.containing_type = _PENDINGCHANNELSRESPONSE -_PENDINGCHANNELSRESPONSE_COMMITMENTS.containing_type = _PENDINGCHANNELSRESPONSE -_PENDINGCHANNELSRESPONSE_CLOSEDCHANNEL.fields_by_name['channel'].message_type = _PENDINGCHANNELSRESPONSE_PENDINGCHANNEL -_PENDINGCHANNELSRESPONSE_CLOSEDCHANNEL.containing_type = _PENDINGCHANNELSRESPONSE -_PENDINGCHANNELSRESPONSE_FORCECLOSEDCHANNEL.fields_by_name['channel'].message_type = _PENDINGCHANNELSRESPONSE_PENDINGCHANNEL -_PENDINGCHANNELSRESPONSE_FORCECLOSEDCHANNEL.fields_by_name['pending_htlcs'].message_type = _PENDINGHTLC -_PENDINGCHANNELSRESPONSE_FORCECLOSEDCHANNEL.fields_by_name['anchor'].enum_type = _PENDINGCHANNELSRESPONSE_FORCECLOSEDCHANNEL_ANCHORSTATE -_PENDINGCHANNELSRESPONSE_FORCECLOSEDCHANNEL.containing_type = _PENDINGCHANNELSRESPONSE -_PENDINGCHANNELSRESPONSE_FORCECLOSEDCHANNEL_ANCHORSTATE.containing_type = _PENDINGCHANNELSRESPONSE_FORCECLOSEDCHANNEL -_PENDINGCHANNELSRESPONSE.fields_by_name['pending_open_channels'].message_type = _PENDINGCHANNELSRESPONSE_PENDINGOPENCHANNEL -_PENDINGCHANNELSRESPONSE.fields_by_name['pending_closing_channels'].message_type = _PENDINGCHANNELSRESPONSE_CLOSEDCHANNEL -_PENDINGCHANNELSRESPONSE.fields_by_name['pending_force_closing_channels'].message_type = _PENDINGCHANNELSRESPONSE_FORCECLOSEDCHANNEL -_PENDINGCHANNELSRESPONSE.fields_by_name['waiting_close_channels'].message_type = _PENDINGCHANNELSRESPONSE_WAITINGCLOSECHANNEL -_CHANNELEVENTUPDATE.fields_by_name['open_channel'].message_type = _CHANNEL -_CHANNELEVENTUPDATE.fields_by_name['closed_channel'].message_type = _CHANNELCLOSESUMMARY -_CHANNELEVENTUPDATE.fields_by_name['active_channel'].message_type = _CHANNELPOINT -_CHANNELEVENTUPDATE.fields_by_name['inactive_channel'].message_type = _CHANNELPOINT -_CHANNELEVENTUPDATE.fields_by_name['pending_open_channel'].message_type = _PENDINGUPDATE -_CHANNELEVENTUPDATE.fields_by_name['type'].enum_type = _CHANNELEVENTUPDATE_UPDATETYPE -_CHANNELEVENTUPDATE_UPDATETYPE.containing_type = _CHANNELEVENTUPDATE -_CHANNELEVENTUPDATE.oneofs_by_name['channel'].fields.append( - _CHANNELEVENTUPDATE.fields_by_name['open_channel']) -_CHANNELEVENTUPDATE.fields_by_name['open_channel'].containing_oneof = _CHANNELEVENTUPDATE.oneofs_by_name['channel'] -_CHANNELEVENTUPDATE.oneofs_by_name['channel'].fields.append( - _CHANNELEVENTUPDATE.fields_by_name['closed_channel']) -_CHANNELEVENTUPDATE.fields_by_name['closed_channel'].containing_oneof = _CHANNELEVENTUPDATE.oneofs_by_name['channel'] -_CHANNELEVENTUPDATE.oneofs_by_name['channel'].fields.append( - _CHANNELEVENTUPDATE.fields_by_name['active_channel']) -_CHANNELEVENTUPDATE.fields_by_name['active_channel'].containing_oneof = _CHANNELEVENTUPDATE.oneofs_by_name['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'] -_CHANNELEVENTUPDATE.oneofs_by_name['channel'].fields.append( - _CHANNELEVENTUPDATE.fields_by_name['pending_open_channel']) -_CHANNELEVENTUPDATE.fields_by_name['pending_open_channel'].containing_oneof = _CHANNELEVENTUPDATE.oneofs_by_name['channel'] -_WALLETBALANCERESPONSE_ACCOUNTBALANCEENTRY.fields_by_name['value'].message_type = _WALLETACCOUNTBALANCE -_WALLETBALANCERESPONSE_ACCOUNTBALANCEENTRY.containing_type = _WALLETBALANCERESPONSE -_WALLETBALANCERESPONSE.fields_by_name['account_balance'].message_type = _WALLETBALANCERESPONSE_ACCOUNTBALANCEENTRY -_CHANNELBALANCERESPONSE.fields_by_name['local_balance'].message_type = _AMOUNT -_CHANNELBALANCERESPONSE.fields_by_name['remote_balance'].message_type = _AMOUNT -_CHANNELBALANCERESPONSE.fields_by_name['unsettled_local_balance'].message_type = _AMOUNT -_CHANNELBALANCERESPONSE.fields_by_name['unsettled_remote_balance'].message_type = _AMOUNT -_CHANNELBALANCERESPONSE.fields_by_name['pending_open_local_balance'].message_type = _AMOUNT -_CHANNELBALANCERESPONSE.fields_by_name['pending_open_remote_balance'].message_type = _AMOUNT -_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['amp_record'].message_type = _AMPRECORD -_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 -_CHANNELGRAPH.fields_by_name['edges'].message_type = _CHANNELEDGE -_NODEMETRICSREQUEST.fields_by_name['types'].enum_type = _NODEMETRICTYPE -_NODEMETRICSRESPONSE_BETWEENNESSCENTRALITYENTRY.fields_by_name['value'].message_type = _FLOATMETRIC -_NODEMETRICSRESPONSE_BETWEENNESSCENTRALITYENTRY.containing_type = _NODEMETRICSRESPONSE -_NODEMETRICSRESPONSE.fields_by_name['betweenness_centrality'].message_type = _NODEMETRICSRESPONSE_BETWEENNESSCENTRALITYENTRY -_GRAPHTOPOLOGYUPDATE.fields_by_name['node_updates'].message_type = _NODEUPDATE -_GRAPHTOPOLOGYUPDATE.fields_by_name['channel_updates'].message_type = _CHANNELEDGEUPDATE -_GRAPHTOPOLOGYUPDATE.fields_by_name['closed_chans'].message_type = _CLOSEDCHANNELUPDATE -_NODEUPDATE_FEATURESENTRY.fields_by_name['value'].message_type = _FEATURE -_NODEUPDATE_FEATURESENTRY.containing_type = _NODEUPDATE -_NODEUPDATE.fields_by_name['node_addresses'].message_type = _NODEADDRESS -_NODEUPDATE.fields_by_name['features'].message_type = _NODEUPDATE_FEATURESENTRY -_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 -_INVOICEHTLC.fields_by_name['amp'].message_type = _AMP -_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.fields_by_name['failure_reason'].enum_type = _PAYMENTFAILUREREASON -_PAYMENT_PAYMENTSTATUS.containing_type = _PAYMENT -_HTLCATTEMPT.fields_by_name['status'].enum_type = _HTLCATTEMPT_HTLCSTATUS -_HTLCATTEMPT.fields_by_name['route'].message_type = _ROUTE -_HTLCATTEMPT.fields_by_name['failure'].message_type = _FAILURE -_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( - _POLICYUPDATEREQUEST.fields_by_name['global']) -_POLICYUPDATEREQUEST.fields_by_name['global'].containing_oneof = _POLICYUPDATEREQUEST.oneofs_by_name['scope'] -_POLICYUPDATEREQUEST.oneofs_by_name['scope'].fields.append( - _POLICYUPDATEREQUEST.fields_by_name['chan_point']) -_POLICYUPDATEREQUEST.fields_by_name['chan_point'].containing_oneof = _POLICYUPDATEREQUEST.oneofs_by_name['scope'] -_FORWARDINGHISTORYRESPONSE.fields_by_name['forwarding_events'].message_type = _FORWARDINGEVENT -_EXPORTCHANNELBACKUPREQUEST.fields_by_name['chan_point'].message_type = _CHANNELPOINT -_CHANNELBACKUP.fields_by_name['chan_point'].message_type = _CHANNELPOINT -_MULTICHANBACKUP.fields_by_name['chan_points'].message_type = _CHANNELPOINT -_CHANBACKUPSNAPSHOT.fields_by_name['single_chan_backups'].message_type = _CHANNELBACKUPS -_CHANBACKUPSNAPSHOT.fields_by_name['multi_chan_backup'].message_type = _MULTICHANBACKUP -_CHANNELBACKUPS.fields_by_name['chan_backups'].message_type = _CHANNELBACKUP -_RESTORECHANBACKUPREQUEST.fields_by_name['chan_backups'].message_type = _CHANNELBACKUPS -_RESTORECHANBACKUPREQUEST.oneofs_by_name['backup'].fields.append( - _RESTORECHANBACKUPREQUEST.fields_by_name['chan_backups']) -_RESTORECHANBACKUPREQUEST.fields_by_name['chan_backups'].containing_oneof = _RESTORECHANBACKUPREQUEST.oneofs_by_name['backup'] -_RESTORECHANBACKUPREQUEST.oneofs_by_name['backup'].fields.append( - _RESTORECHANBACKUPREQUEST.fields_by_name['multi_chan_backup']) -_RESTORECHANBACKUPREQUEST.fields_by_name['multi_chan_backup'].containing_oneof = _RESTORECHANBACKUPREQUEST.oneofs_by_name['backup'] -_BAKEMACAROONREQUEST.fields_by_name['permissions'].message_type = _MACAROONPERMISSION -_MACAROONPERMISSIONLIST.fields_by_name['permissions'].message_type = _MACAROONPERMISSION -_LISTPERMISSIONSRESPONSE_METHODPERMISSIONSENTRY.fields_by_name['value'].message_type = _MACAROONPERMISSIONLIST -_LISTPERMISSIONSRESPONSE_METHODPERMISSIONSENTRY.containing_type = _LISTPERMISSIONSRESPONSE -_LISTPERMISSIONSRESPONSE.fields_by_name['method_permissions'].message_type = _LISTPERMISSIONSRESPONSE_METHODPERMISSIONSENTRY -_FAILURE.fields_by_name['code'].enum_type = _FAILURE_FAILURECODE -_FAILURE.fields_by_name['channel_update'].message_type = _CHANNELUPDATE -_FAILURE_FAILURECODE.containing_type = _FAILURE -_MACAROONID.fields_by_name['ops'].message_type = _OP -DESCRIPTOR.message_types_by_name['Utxo'] = _UTXO -DESCRIPTOR.message_types_by_name['Transaction'] = _TRANSACTION -DESCRIPTOR.message_types_by_name['GetTransactionsRequest'] = _GETTRANSACTIONSREQUEST -DESCRIPTOR.message_types_by_name['TransactionDetails'] = _TRANSACTIONDETAILS -DESCRIPTOR.message_types_by_name['FeeLimit'] = _FEELIMIT -DESCRIPTOR.message_types_by_name['SendRequest'] = _SENDREQUEST -DESCRIPTOR.message_types_by_name['SendResponse'] = _SENDRESPONSE -DESCRIPTOR.message_types_by_name['SendToRouteRequest'] = _SENDTOROUTEREQUEST -DESCRIPTOR.message_types_by_name['ChannelAcceptRequest'] = _CHANNELACCEPTREQUEST -DESCRIPTOR.message_types_by_name['ChannelAcceptResponse'] = _CHANNELACCEPTRESPONSE -DESCRIPTOR.message_types_by_name['ChannelPoint'] = _CHANNELPOINT -DESCRIPTOR.message_types_by_name['OutPoint'] = _OUTPOINT -DESCRIPTOR.message_types_by_name['LightningAddress'] = _LIGHTNINGADDRESS -DESCRIPTOR.message_types_by_name['EstimateFeeRequest'] = _ESTIMATEFEEREQUEST -DESCRIPTOR.message_types_by_name['EstimateFeeResponse'] = _ESTIMATEFEERESPONSE -DESCRIPTOR.message_types_by_name['SendManyRequest'] = _SENDMANYREQUEST -DESCRIPTOR.message_types_by_name['SendManyResponse'] = _SENDMANYRESPONSE -DESCRIPTOR.message_types_by_name['SendCoinsRequest'] = _SENDCOINSREQUEST -DESCRIPTOR.message_types_by_name['SendCoinsResponse'] = _SENDCOINSRESPONSE -DESCRIPTOR.message_types_by_name['ListUnspentRequest'] = _LISTUNSPENTREQUEST -DESCRIPTOR.message_types_by_name['ListUnspentResponse'] = _LISTUNSPENTRESPONSE -DESCRIPTOR.message_types_by_name['NewAddressRequest'] = _NEWADDRESSREQUEST -DESCRIPTOR.message_types_by_name['NewAddressResponse'] = _NEWADDRESSRESPONSE -DESCRIPTOR.message_types_by_name['SignMessageRequest'] = _SIGNMESSAGEREQUEST -DESCRIPTOR.message_types_by_name['SignMessageResponse'] = _SIGNMESSAGERESPONSE -DESCRIPTOR.message_types_by_name['VerifyMessageRequest'] = _VERIFYMESSAGEREQUEST -DESCRIPTOR.message_types_by_name['VerifyMessageResponse'] = _VERIFYMESSAGERESPONSE -DESCRIPTOR.message_types_by_name['ConnectPeerRequest'] = _CONNECTPEERREQUEST -DESCRIPTOR.message_types_by_name['ConnectPeerResponse'] = _CONNECTPEERRESPONSE -DESCRIPTOR.message_types_by_name['DisconnectPeerRequest'] = _DISCONNECTPEERREQUEST -DESCRIPTOR.message_types_by_name['DisconnectPeerResponse'] = _DISCONNECTPEERRESPONSE -DESCRIPTOR.message_types_by_name['HTLC'] = _HTLC -DESCRIPTOR.message_types_by_name['ChannelConstraints'] = _CHANNELCONSTRAINTS -DESCRIPTOR.message_types_by_name['Channel'] = _CHANNEL -DESCRIPTOR.message_types_by_name['ListChannelsRequest'] = _LISTCHANNELSREQUEST -DESCRIPTOR.message_types_by_name['ListChannelsResponse'] = _LISTCHANNELSRESPONSE -DESCRIPTOR.message_types_by_name['ChannelCloseSummary'] = _CHANNELCLOSESUMMARY -DESCRIPTOR.message_types_by_name['Resolution'] = _RESOLUTION -DESCRIPTOR.message_types_by_name['ClosedChannelsRequest'] = _CLOSEDCHANNELSREQUEST -DESCRIPTOR.message_types_by_name['ClosedChannelsResponse'] = _CLOSEDCHANNELSRESPONSE -DESCRIPTOR.message_types_by_name['Peer'] = _PEER -DESCRIPTOR.message_types_by_name['TimestampedError'] = _TIMESTAMPEDERROR -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['GetRecoveryInfoRequest'] = _GETRECOVERYINFOREQUEST -DESCRIPTOR.message_types_by_name['GetRecoveryInfoResponse'] = _GETRECOVERYINFORESPONSE -DESCRIPTOR.message_types_by_name['Chain'] = _CHAIN -DESCRIPTOR.message_types_by_name['ConfirmationUpdate'] = _CONFIRMATIONUPDATE -DESCRIPTOR.message_types_by_name['ChannelOpenUpdate'] = _CHANNELOPENUPDATE -DESCRIPTOR.message_types_by_name['ChannelCloseUpdate'] = _CHANNELCLOSEUPDATE -DESCRIPTOR.message_types_by_name['CloseChannelRequest'] = _CLOSECHANNELREQUEST -DESCRIPTOR.message_types_by_name['CloseStatusUpdate'] = _CLOSESTATUSUPDATE -DESCRIPTOR.message_types_by_name['PendingUpdate'] = _PENDINGUPDATE -DESCRIPTOR.message_types_by_name['ReadyForPsbtFunding'] = _READYFORPSBTFUNDING -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['PsbtShim'] = _PSBTSHIM -DESCRIPTOR.message_types_by_name['FundingShim'] = _FUNDINGSHIM -DESCRIPTOR.message_types_by_name['FundingShimCancel'] = _FUNDINGSHIMCANCEL -DESCRIPTOR.message_types_by_name['FundingPsbtVerify'] = _FUNDINGPSBTVERIFY -DESCRIPTOR.message_types_by_name['FundingPsbtFinalize'] = _FUNDINGPSBTFINALIZE -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 -DESCRIPTOR.message_types_by_name['ChannelEventSubscription'] = _CHANNELEVENTSUBSCRIPTION -DESCRIPTOR.message_types_by_name['ChannelEventUpdate'] = _CHANNELEVENTUPDATE -DESCRIPTOR.message_types_by_name['WalletAccountBalance'] = _WALLETACCOUNTBALANCE -DESCRIPTOR.message_types_by_name['WalletBalanceRequest'] = _WALLETBALANCEREQUEST -DESCRIPTOR.message_types_by_name['WalletBalanceResponse'] = _WALLETBALANCERESPONSE -DESCRIPTOR.message_types_by_name['Amount'] = _AMOUNT -DESCRIPTOR.message_types_by_name['ChannelBalanceRequest'] = _CHANNELBALANCEREQUEST -DESCRIPTOR.message_types_by_name['ChannelBalanceResponse'] = _CHANNELBALANCERESPONSE -DESCRIPTOR.message_types_by_name['QueryRoutesRequest'] = _QUERYROUTESREQUEST -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['AMPRecord'] = _AMPRECORD -DESCRIPTOR.message_types_by_name['Route'] = _ROUTE -DESCRIPTOR.message_types_by_name['NodeInfoRequest'] = _NODEINFOREQUEST -DESCRIPTOR.message_types_by_name['NodeInfo'] = _NODEINFO -DESCRIPTOR.message_types_by_name['LightningNode'] = _LIGHTNINGNODE -DESCRIPTOR.message_types_by_name['NodeAddress'] = _NODEADDRESS -DESCRIPTOR.message_types_by_name['RoutingPolicy'] = _ROUTINGPOLICY -DESCRIPTOR.message_types_by_name['ChannelEdge'] = _CHANNELEDGE -DESCRIPTOR.message_types_by_name['ChannelGraphRequest'] = _CHANNELGRAPHREQUEST -DESCRIPTOR.message_types_by_name['ChannelGraph'] = _CHANNELGRAPH -DESCRIPTOR.message_types_by_name['NodeMetricsRequest'] = _NODEMETRICSREQUEST -DESCRIPTOR.message_types_by_name['NodeMetricsResponse'] = _NODEMETRICSRESPONSE -DESCRIPTOR.message_types_by_name['FloatMetric'] = _FLOATMETRIC -DESCRIPTOR.message_types_by_name['ChanInfoRequest'] = _CHANINFOREQUEST -DESCRIPTOR.message_types_by_name['NetworkInfoRequest'] = _NETWORKINFOREQUEST -DESCRIPTOR.message_types_by_name['NetworkInfo'] = _NETWORKINFO -DESCRIPTOR.message_types_by_name['StopRequest'] = _STOPREQUEST -DESCRIPTOR.message_types_by_name['StopResponse'] = _STOPRESPONSE -DESCRIPTOR.message_types_by_name['GraphTopologySubscription'] = _GRAPHTOPOLOGYSUBSCRIPTION -DESCRIPTOR.message_types_by_name['GraphTopologyUpdate'] = _GRAPHTOPOLOGYUPDATE -DESCRIPTOR.message_types_by_name['NodeUpdate'] = _NODEUPDATE -DESCRIPTOR.message_types_by_name['ChannelEdgeUpdate'] = _CHANNELEDGEUPDATE -DESCRIPTOR.message_types_by_name['ClosedChannelUpdate'] = _CLOSEDCHANNELUPDATE -DESCRIPTOR.message_types_by_name['HopHint'] = _HOPHINT -DESCRIPTOR.message_types_by_name['RouteHint'] = _ROUTEHINT -DESCRIPTOR.message_types_by_name['Invoice'] = _INVOICE -DESCRIPTOR.message_types_by_name['InvoiceHTLC'] = _INVOICEHTLC -DESCRIPTOR.message_types_by_name['AMP'] = _AMP -DESCRIPTOR.message_types_by_name['AddInvoiceResponse'] = _ADDINVOICERESPONSE -DESCRIPTOR.message_types_by_name['PaymentHash'] = _PAYMENTHASH -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 -DESCRIPTOR.message_types_by_name['DeleteAllPaymentsResponse'] = _DELETEALLPAYMENTSRESPONSE -DESCRIPTOR.message_types_by_name['AbandonChannelRequest'] = _ABANDONCHANNELREQUEST -DESCRIPTOR.message_types_by_name['AbandonChannelResponse'] = _ABANDONCHANNELRESPONSE -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 -DESCRIPTOR.message_types_by_name['PolicyUpdateRequest'] = _POLICYUPDATEREQUEST -DESCRIPTOR.message_types_by_name['PolicyUpdateResponse'] = _POLICYUPDATERESPONSE -DESCRIPTOR.message_types_by_name['ForwardingHistoryRequest'] = _FORWARDINGHISTORYREQUEST -DESCRIPTOR.message_types_by_name['ForwardingEvent'] = _FORWARDINGEVENT -DESCRIPTOR.message_types_by_name['ForwardingHistoryResponse'] = _FORWARDINGHISTORYRESPONSE -DESCRIPTOR.message_types_by_name['ExportChannelBackupRequest'] = _EXPORTCHANNELBACKUPREQUEST -DESCRIPTOR.message_types_by_name['ChannelBackup'] = _CHANNELBACKUP -DESCRIPTOR.message_types_by_name['MultiChanBackup'] = _MULTICHANBACKUP -DESCRIPTOR.message_types_by_name['ChanBackupExportRequest'] = _CHANBACKUPEXPORTREQUEST -DESCRIPTOR.message_types_by_name['ChanBackupSnapshot'] = _CHANBACKUPSNAPSHOT -DESCRIPTOR.message_types_by_name['ChannelBackups'] = _CHANNELBACKUPS -DESCRIPTOR.message_types_by_name['RestoreChanBackupRequest'] = _RESTORECHANBACKUPREQUEST -DESCRIPTOR.message_types_by_name['RestoreBackupResponse'] = _RESTOREBACKUPRESPONSE -DESCRIPTOR.message_types_by_name['ChannelBackupSubscription'] = _CHANNELBACKUPSUBSCRIPTION -DESCRIPTOR.message_types_by_name['VerifyChanBackupResponse'] = _VERIFYCHANBACKUPRESPONSE -DESCRIPTOR.message_types_by_name['MacaroonPermission'] = _MACAROONPERMISSION -DESCRIPTOR.message_types_by_name['BakeMacaroonRequest'] = _BAKEMACAROONREQUEST -DESCRIPTOR.message_types_by_name['BakeMacaroonResponse'] = _BAKEMACAROONRESPONSE -DESCRIPTOR.message_types_by_name['ListMacaroonIDsRequest'] = _LISTMACAROONIDSREQUEST -DESCRIPTOR.message_types_by_name['ListMacaroonIDsResponse'] = _LISTMACAROONIDSRESPONSE -DESCRIPTOR.message_types_by_name['DeleteMacaroonIDRequest'] = _DELETEMACAROONIDREQUEST -DESCRIPTOR.message_types_by_name['DeleteMacaroonIDResponse'] = _DELETEMACAROONIDRESPONSE -DESCRIPTOR.message_types_by_name['MacaroonPermissionList'] = _MACAROONPERMISSIONLIST -DESCRIPTOR.message_types_by_name['ListPermissionsRequest'] = _LISTPERMISSIONSREQUEST -DESCRIPTOR.message_types_by_name['ListPermissionsResponse'] = _LISTPERMISSIONSRESPONSE -DESCRIPTOR.message_types_by_name['Failure'] = _FAILURE -DESCRIPTOR.message_types_by_name['ChannelUpdate'] = _CHANNELUPDATE -DESCRIPTOR.message_types_by_name['MacaroonId'] = _MACAROONID -DESCRIPTOR.message_types_by_name['Op'] = _OP -DESCRIPTOR.enum_types_by_name['AddressType'] = _ADDRESSTYPE -DESCRIPTOR.enum_types_by_name['CommitmentType'] = _COMMITMENTTYPE -DESCRIPTOR.enum_types_by_name['Initiator'] = _INITIATOR -DESCRIPTOR.enum_types_by_name['ResolutionType'] = _RESOLUTIONTYPE -DESCRIPTOR.enum_types_by_name['ResolutionOutcome'] = _RESOLUTIONOUTCOME -DESCRIPTOR.enum_types_by_name['NodeMetricType'] = _NODEMETRICTYPE -DESCRIPTOR.enum_types_by_name['InvoiceHTLCState'] = _INVOICEHTLCSTATE -DESCRIPTOR.enum_types_by_name['PaymentFailureReason'] = _PAYMENTFAILUREREASON -DESCRIPTOR.enum_types_by_name['FeatureBit'] = _FEATUREBIT -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -Utxo = _reflection.GeneratedProtocolMessageType('Utxo', (_message.Message,), { - 'DESCRIPTOR' : _UTXO, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.Utxo) - }) -_sym_db.RegisterMessage(Utxo) - -Transaction = _reflection.GeneratedProtocolMessageType('Transaction', (_message.Message,), { - 'DESCRIPTOR' : _TRANSACTION, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.Transaction) - }) -_sym_db.RegisterMessage(Transaction) - -GetTransactionsRequest = _reflection.GeneratedProtocolMessageType('GetTransactionsRequest', (_message.Message,), { - 'DESCRIPTOR' : _GETTRANSACTIONSREQUEST, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.GetTransactionsRequest) - }) -_sym_db.RegisterMessage(GetTransactionsRequest) - -TransactionDetails = _reflection.GeneratedProtocolMessageType('TransactionDetails', (_message.Message,), { - 'DESCRIPTOR' : _TRANSACTIONDETAILS, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.TransactionDetails) - }) -_sym_db.RegisterMessage(TransactionDetails) - -FeeLimit = _reflection.GeneratedProtocolMessageType('FeeLimit', (_message.Message,), { - 'DESCRIPTOR' : _FEELIMIT, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.FeeLimit) - }) -_sym_db.RegisterMessage(FeeLimit) - -SendRequest = _reflection.GeneratedProtocolMessageType('SendRequest', (_message.Message,), { - - 'DestCustomRecordsEntry' : _reflection.GeneratedProtocolMessageType('DestCustomRecordsEntry', (_message.Message,), { - 'DESCRIPTOR' : _SENDREQUEST_DESTCUSTOMRECORDSENTRY, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.SendRequest.DestCustomRecordsEntry) - }) - , - 'DESCRIPTOR' : _SENDREQUEST, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.SendRequest) - }) -_sym_db.RegisterMessage(SendRequest) -_sym_db.RegisterMessage(SendRequest.DestCustomRecordsEntry) - -SendResponse = _reflection.GeneratedProtocolMessageType('SendResponse', (_message.Message,), { - 'DESCRIPTOR' : _SENDRESPONSE, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.SendResponse) - }) -_sym_db.RegisterMessage(SendResponse) - -SendToRouteRequest = _reflection.GeneratedProtocolMessageType('SendToRouteRequest', (_message.Message,), { - 'DESCRIPTOR' : _SENDTOROUTEREQUEST, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.SendToRouteRequest) - }) -_sym_db.RegisterMessage(SendToRouteRequest) - -ChannelAcceptRequest = _reflection.GeneratedProtocolMessageType('ChannelAcceptRequest', (_message.Message,), { - 'DESCRIPTOR' : _CHANNELACCEPTREQUEST, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.ChannelAcceptRequest) - }) -_sym_db.RegisterMessage(ChannelAcceptRequest) - -ChannelAcceptResponse = _reflection.GeneratedProtocolMessageType('ChannelAcceptResponse', (_message.Message,), { - 'DESCRIPTOR' : _CHANNELACCEPTRESPONSE, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.ChannelAcceptResponse) - }) -_sym_db.RegisterMessage(ChannelAcceptResponse) - -ChannelPoint = _reflection.GeneratedProtocolMessageType('ChannelPoint', (_message.Message,), { - 'DESCRIPTOR' : _CHANNELPOINT, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.ChannelPoint) - }) -_sym_db.RegisterMessage(ChannelPoint) - -OutPoint = _reflection.GeneratedProtocolMessageType('OutPoint', (_message.Message,), { - 'DESCRIPTOR' : _OUTPOINT, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.OutPoint) - }) -_sym_db.RegisterMessage(OutPoint) - -LightningAddress = _reflection.GeneratedProtocolMessageType('LightningAddress', (_message.Message,), { - 'DESCRIPTOR' : _LIGHTNINGADDRESS, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.LightningAddress) - }) -_sym_db.RegisterMessage(LightningAddress) - -EstimateFeeRequest = _reflection.GeneratedProtocolMessageType('EstimateFeeRequest', (_message.Message,), { - - 'AddrToAmountEntry' : _reflection.GeneratedProtocolMessageType('AddrToAmountEntry', (_message.Message,), { - 'DESCRIPTOR' : _ESTIMATEFEEREQUEST_ADDRTOAMOUNTENTRY, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.EstimateFeeRequest.AddrToAmountEntry) - }) - , - 'DESCRIPTOR' : _ESTIMATEFEEREQUEST, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.EstimateFeeRequest) - }) -_sym_db.RegisterMessage(EstimateFeeRequest) -_sym_db.RegisterMessage(EstimateFeeRequest.AddrToAmountEntry) - -EstimateFeeResponse = _reflection.GeneratedProtocolMessageType('EstimateFeeResponse', (_message.Message,), { - 'DESCRIPTOR' : _ESTIMATEFEERESPONSE, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.EstimateFeeResponse) - }) -_sym_db.RegisterMessage(EstimateFeeResponse) - -SendManyRequest = _reflection.GeneratedProtocolMessageType('SendManyRequest', (_message.Message,), { - - 'AddrToAmountEntry' : _reflection.GeneratedProtocolMessageType('AddrToAmountEntry', (_message.Message,), { - 'DESCRIPTOR' : _SENDMANYREQUEST_ADDRTOAMOUNTENTRY, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.SendManyRequest.AddrToAmountEntry) - }) - , - 'DESCRIPTOR' : _SENDMANYREQUEST, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.SendManyRequest) - }) -_sym_db.RegisterMessage(SendManyRequest) -_sym_db.RegisterMessage(SendManyRequest.AddrToAmountEntry) - -SendManyResponse = _reflection.GeneratedProtocolMessageType('SendManyResponse', (_message.Message,), { - 'DESCRIPTOR' : _SENDMANYRESPONSE, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.SendManyResponse) - }) -_sym_db.RegisterMessage(SendManyResponse) - -SendCoinsRequest = _reflection.GeneratedProtocolMessageType('SendCoinsRequest', (_message.Message,), { - 'DESCRIPTOR' : _SENDCOINSREQUEST, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.SendCoinsRequest) - }) -_sym_db.RegisterMessage(SendCoinsRequest) - -SendCoinsResponse = _reflection.GeneratedProtocolMessageType('SendCoinsResponse', (_message.Message,), { - 'DESCRIPTOR' : _SENDCOINSRESPONSE, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.SendCoinsResponse) - }) -_sym_db.RegisterMessage(SendCoinsResponse) - -ListUnspentRequest = _reflection.GeneratedProtocolMessageType('ListUnspentRequest', (_message.Message,), { - 'DESCRIPTOR' : _LISTUNSPENTREQUEST, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.ListUnspentRequest) - }) -_sym_db.RegisterMessage(ListUnspentRequest) - -ListUnspentResponse = _reflection.GeneratedProtocolMessageType('ListUnspentResponse', (_message.Message,), { - 'DESCRIPTOR' : _LISTUNSPENTRESPONSE, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.ListUnspentResponse) - }) -_sym_db.RegisterMessage(ListUnspentResponse) - -NewAddressRequest = _reflection.GeneratedProtocolMessageType('NewAddressRequest', (_message.Message,), { - 'DESCRIPTOR' : _NEWADDRESSREQUEST, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.NewAddressRequest) - }) -_sym_db.RegisterMessage(NewAddressRequest) - -NewAddressResponse = _reflection.GeneratedProtocolMessageType('NewAddressResponse', (_message.Message,), { - 'DESCRIPTOR' : _NEWADDRESSRESPONSE, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.NewAddressResponse) - }) -_sym_db.RegisterMessage(NewAddressResponse) - -SignMessageRequest = _reflection.GeneratedProtocolMessageType('SignMessageRequest', (_message.Message,), { - 'DESCRIPTOR' : _SIGNMESSAGEREQUEST, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.SignMessageRequest) - }) -_sym_db.RegisterMessage(SignMessageRequest) - -SignMessageResponse = _reflection.GeneratedProtocolMessageType('SignMessageResponse', (_message.Message,), { - 'DESCRIPTOR' : _SIGNMESSAGERESPONSE, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.SignMessageResponse) - }) -_sym_db.RegisterMessage(SignMessageResponse) - -VerifyMessageRequest = _reflection.GeneratedProtocolMessageType('VerifyMessageRequest', (_message.Message,), { - 'DESCRIPTOR' : _VERIFYMESSAGEREQUEST, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.VerifyMessageRequest) - }) -_sym_db.RegisterMessage(VerifyMessageRequest) - -VerifyMessageResponse = _reflection.GeneratedProtocolMessageType('VerifyMessageResponse', (_message.Message,), { - 'DESCRIPTOR' : _VERIFYMESSAGERESPONSE, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.VerifyMessageResponse) - }) -_sym_db.RegisterMessage(VerifyMessageResponse) - -ConnectPeerRequest = _reflection.GeneratedProtocolMessageType('ConnectPeerRequest', (_message.Message,), { - 'DESCRIPTOR' : _CONNECTPEERREQUEST, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.ConnectPeerRequest) - }) -_sym_db.RegisterMessage(ConnectPeerRequest) - -ConnectPeerResponse = _reflection.GeneratedProtocolMessageType('ConnectPeerResponse', (_message.Message,), { - 'DESCRIPTOR' : _CONNECTPEERRESPONSE, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.ConnectPeerResponse) - }) -_sym_db.RegisterMessage(ConnectPeerResponse) - -DisconnectPeerRequest = _reflection.GeneratedProtocolMessageType('DisconnectPeerRequest', (_message.Message,), { - 'DESCRIPTOR' : _DISCONNECTPEERREQUEST, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.DisconnectPeerRequest) - }) -_sym_db.RegisterMessage(DisconnectPeerRequest) - -DisconnectPeerResponse = _reflection.GeneratedProtocolMessageType('DisconnectPeerResponse', (_message.Message,), { - 'DESCRIPTOR' : _DISCONNECTPEERRESPONSE, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.DisconnectPeerResponse) - }) -_sym_db.RegisterMessage(DisconnectPeerResponse) - -HTLC = _reflection.GeneratedProtocolMessageType('HTLC', (_message.Message,), { - 'DESCRIPTOR' : _HTLC, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.HTLC) - }) -_sym_db.RegisterMessage(HTLC) - -ChannelConstraints = _reflection.GeneratedProtocolMessageType('ChannelConstraints', (_message.Message,), { - 'DESCRIPTOR' : _CHANNELCONSTRAINTS, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.ChannelConstraints) - }) -_sym_db.RegisterMessage(ChannelConstraints) - -Channel = _reflection.GeneratedProtocolMessageType('Channel', (_message.Message,), { - 'DESCRIPTOR' : _CHANNEL, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.Channel) - }) -_sym_db.RegisterMessage(Channel) - -ListChannelsRequest = _reflection.GeneratedProtocolMessageType('ListChannelsRequest', (_message.Message,), { - 'DESCRIPTOR' : _LISTCHANNELSREQUEST, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.ListChannelsRequest) - }) -_sym_db.RegisterMessage(ListChannelsRequest) - -ListChannelsResponse = _reflection.GeneratedProtocolMessageType('ListChannelsResponse', (_message.Message,), { - 'DESCRIPTOR' : _LISTCHANNELSRESPONSE, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.ListChannelsResponse) - }) -_sym_db.RegisterMessage(ListChannelsResponse) - -ChannelCloseSummary = _reflection.GeneratedProtocolMessageType('ChannelCloseSummary', (_message.Message,), { - 'DESCRIPTOR' : _CHANNELCLOSESUMMARY, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.ChannelCloseSummary) - }) -_sym_db.RegisterMessage(ChannelCloseSummary) - -Resolution = _reflection.GeneratedProtocolMessageType('Resolution', (_message.Message,), { - 'DESCRIPTOR' : _RESOLUTION, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.Resolution) - }) -_sym_db.RegisterMessage(Resolution) - -ClosedChannelsRequest = _reflection.GeneratedProtocolMessageType('ClosedChannelsRequest', (_message.Message,), { - 'DESCRIPTOR' : _CLOSEDCHANNELSREQUEST, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.ClosedChannelsRequest) - }) -_sym_db.RegisterMessage(ClosedChannelsRequest) - -ClosedChannelsResponse = _reflection.GeneratedProtocolMessageType('ClosedChannelsResponse', (_message.Message,), { - 'DESCRIPTOR' : _CLOSEDCHANNELSRESPONSE, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.ClosedChannelsResponse) - }) -_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) - -TimestampedError = _reflection.GeneratedProtocolMessageType('TimestampedError', (_message.Message,), { - 'DESCRIPTOR' : _TIMESTAMPEDERROR, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.TimestampedError) - }) -_sym_db.RegisterMessage(TimestampedError) - -ListPeersRequest = _reflection.GeneratedProtocolMessageType('ListPeersRequest', (_message.Message,), { - 'DESCRIPTOR' : _LISTPEERSREQUEST, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.ListPeersRequest) - }) -_sym_db.RegisterMessage(ListPeersRequest) - -ListPeersResponse = _reflection.GeneratedProtocolMessageType('ListPeersResponse', (_message.Message,), { - 'DESCRIPTOR' : _LISTPEERSRESPONSE, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.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' - # @@protoc_insertion_point(class_scope:lnrpc.GetInfoRequest) - }) -_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) - -GetRecoveryInfoRequest = _reflection.GeneratedProtocolMessageType('GetRecoveryInfoRequest', (_message.Message,), { - 'DESCRIPTOR' : _GETRECOVERYINFOREQUEST, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.GetRecoveryInfoRequest) - }) -_sym_db.RegisterMessage(GetRecoveryInfoRequest) - -GetRecoveryInfoResponse = _reflection.GeneratedProtocolMessageType('GetRecoveryInfoResponse', (_message.Message,), { - 'DESCRIPTOR' : _GETRECOVERYINFORESPONSE, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.GetRecoveryInfoResponse) - }) -_sym_db.RegisterMessage(GetRecoveryInfoResponse) - -Chain = _reflection.GeneratedProtocolMessageType('Chain', (_message.Message,), { - 'DESCRIPTOR' : _CHAIN, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.Chain) - }) -_sym_db.RegisterMessage(Chain) - -ConfirmationUpdate = _reflection.GeneratedProtocolMessageType('ConfirmationUpdate', (_message.Message,), { - 'DESCRIPTOR' : _CONFIRMATIONUPDATE, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.ConfirmationUpdate) - }) -_sym_db.RegisterMessage(ConfirmationUpdate) - -ChannelOpenUpdate = _reflection.GeneratedProtocolMessageType('ChannelOpenUpdate', (_message.Message,), { - 'DESCRIPTOR' : _CHANNELOPENUPDATE, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.ChannelOpenUpdate) - }) -_sym_db.RegisterMessage(ChannelOpenUpdate) - -ChannelCloseUpdate = _reflection.GeneratedProtocolMessageType('ChannelCloseUpdate', (_message.Message,), { - 'DESCRIPTOR' : _CHANNELCLOSEUPDATE, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.ChannelCloseUpdate) - }) -_sym_db.RegisterMessage(ChannelCloseUpdate) - -CloseChannelRequest = _reflection.GeneratedProtocolMessageType('CloseChannelRequest', (_message.Message,), { - 'DESCRIPTOR' : _CLOSECHANNELREQUEST, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.CloseChannelRequest) - }) -_sym_db.RegisterMessage(CloseChannelRequest) - -CloseStatusUpdate = _reflection.GeneratedProtocolMessageType('CloseStatusUpdate', (_message.Message,), { - 'DESCRIPTOR' : _CLOSESTATUSUPDATE, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.CloseStatusUpdate) - }) -_sym_db.RegisterMessage(CloseStatusUpdate) - -PendingUpdate = _reflection.GeneratedProtocolMessageType('PendingUpdate', (_message.Message,), { - 'DESCRIPTOR' : _PENDINGUPDATE, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.PendingUpdate) - }) -_sym_db.RegisterMessage(PendingUpdate) - -ReadyForPsbtFunding = _reflection.GeneratedProtocolMessageType('ReadyForPsbtFunding', (_message.Message,), { - 'DESCRIPTOR' : _READYFORPSBTFUNDING, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.ReadyForPsbtFunding) - }) -_sym_db.RegisterMessage(ReadyForPsbtFunding) - -OpenChannelRequest = _reflection.GeneratedProtocolMessageType('OpenChannelRequest', (_message.Message,), { - 'DESCRIPTOR' : _OPENCHANNELREQUEST, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.OpenChannelRequest) - }) -_sym_db.RegisterMessage(OpenChannelRequest) - -OpenStatusUpdate = _reflection.GeneratedProtocolMessageType('OpenStatusUpdate', (_message.Message,), { - 'DESCRIPTOR' : _OPENSTATUSUPDATE, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.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) - -PsbtShim = _reflection.GeneratedProtocolMessageType('PsbtShim', (_message.Message,), { - 'DESCRIPTOR' : _PSBTSHIM, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.PsbtShim) - }) -_sym_db.RegisterMessage(PsbtShim) - -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) - -FundingPsbtVerify = _reflection.GeneratedProtocolMessageType('FundingPsbtVerify', (_message.Message,), { - 'DESCRIPTOR' : _FUNDINGPSBTVERIFY, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.FundingPsbtVerify) - }) -_sym_db.RegisterMessage(FundingPsbtVerify) - -FundingPsbtFinalize = _reflection.GeneratedProtocolMessageType('FundingPsbtFinalize', (_message.Message,), { - 'DESCRIPTOR' : _FUNDINGPSBTFINALIZE, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.FundingPsbtFinalize) - }) -_sym_db.RegisterMessage(FundingPsbtFinalize) - -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' - # @@protoc_insertion_point(class_scope:lnrpc.PendingHTLC) - }) -_sym_db.RegisterMessage(PendingHTLC) - -PendingChannelsRequest = _reflection.GeneratedProtocolMessageType('PendingChannelsRequest', (_message.Message,), { - 'DESCRIPTOR' : _PENDINGCHANNELSREQUEST, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.PendingChannelsRequest) - }) -_sym_db.RegisterMessage(PendingChannelsRequest) - -PendingChannelsResponse = _reflection.GeneratedProtocolMessageType('PendingChannelsResponse', (_message.Message,), { - - 'PendingChannel' : _reflection.GeneratedProtocolMessageType('PendingChannel', (_message.Message,), { - 'DESCRIPTOR' : _PENDINGCHANNELSRESPONSE_PENDINGCHANNEL, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.PendingChannelsResponse.PendingChannel) - }) - , - - 'PendingOpenChannel' : _reflection.GeneratedProtocolMessageType('PendingOpenChannel', (_message.Message,), { - 'DESCRIPTOR' : _PENDINGCHANNELSRESPONSE_PENDINGOPENCHANNEL, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.PendingChannelsResponse.PendingOpenChannel) - }) - , - - 'WaitingCloseChannel' : _reflection.GeneratedProtocolMessageType('WaitingCloseChannel', (_message.Message,), { - 'DESCRIPTOR' : _PENDINGCHANNELSRESPONSE_WAITINGCLOSECHANNEL, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.PendingChannelsResponse.WaitingCloseChannel) - }) - , - - 'Commitments' : _reflection.GeneratedProtocolMessageType('Commitments', (_message.Message,), { - 'DESCRIPTOR' : _PENDINGCHANNELSRESPONSE_COMMITMENTS, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.PendingChannelsResponse.Commitments) - }) - , - - 'ClosedChannel' : _reflection.GeneratedProtocolMessageType('ClosedChannel', (_message.Message,), { - 'DESCRIPTOR' : _PENDINGCHANNELSRESPONSE_CLOSEDCHANNEL, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.PendingChannelsResponse.ClosedChannel) - }) - , - - 'ForceClosedChannel' : _reflection.GeneratedProtocolMessageType('ForceClosedChannel', (_message.Message,), { - 'DESCRIPTOR' : _PENDINGCHANNELSRESPONSE_FORCECLOSEDCHANNEL, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.PendingChannelsResponse.ForceClosedChannel) - }) - , - 'DESCRIPTOR' : _PENDINGCHANNELSRESPONSE, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.PendingChannelsResponse) - }) -_sym_db.RegisterMessage(PendingChannelsResponse) -_sym_db.RegisterMessage(PendingChannelsResponse.PendingChannel) -_sym_db.RegisterMessage(PendingChannelsResponse.PendingOpenChannel) -_sym_db.RegisterMessage(PendingChannelsResponse.WaitingCloseChannel) -_sym_db.RegisterMessage(PendingChannelsResponse.Commitments) -_sym_db.RegisterMessage(PendingChannelsResponse.ClosedChannel) -_sym_db.RegisterMessage(PendingChannelsResponse.ForceClosedChannel) - -ChannelEventSubscription = _reflection.GeneratedProtocolMessageType('ChannelEventSubscription', (_message.Message,), { - 'DESCRIPTOR' : _CHANNELEVENTSUBSCRIPTION, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.ChannelEventSubscription) - }) -_sym_db.RegisterMessage(ChannelEventSubscription) - -ChannelEventUpdate = _reflection.GeneratedProtocolMessageType('ChannelEventUpdate', (_message.Message,), { - 'DESCRIPTOR' : _CHANNELEVENTUPDATE, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.ChannelEventUpdate) - }) -_sym_db.RegisterMessage(ChannelEventUpdate) - -WalletAccountBalance = _reflection.GeneratedProtocolMessageType('WalletAccountBalance', (_message.Message,), { - 'DESCRIPTOR' : _WALLETACCOUNTBALANCE, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.WalletAccountBalance) - }) -_sym_db.RegisterMessage(WalletAccountBalance) - -WalletBalanceRequest = _reflection.GeneratedProtocolMessageType('WalletBalanceRequest', (_message.Message,), { - 'DESCRIPTOR' : _WALLETBALANCEREQUEST, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.WalletBalanceRequest) - }) -_sym_db.RegisterMessage(WalletBalanceRequest) - -WalletBalanceResponse = _reflection.GeneratedProtocolMessageType('WalletBalanceResponse', (_message.Message,), { - - 'AccountBalanceEntry' : _reflection.GeneratedProtocolMessageType('AccountBalanceEntry', (_message.Message,), { - 'DESCRIPTOR' : _WALLETBALANCERESPONSE_ACCOUNTBALANCEENTRY, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.WalletBalanceResponse.AccountBalanceEntry) - }) - , - 'DESCRIPTOR' : _WALLETBALANCERESPONSE, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.WalletBalanceResponse) - }) -_sym_db.RegisterMessage(WalletBalanceResponse) -_sym_db.RegisterMessage(WalletBalanceResponse.AccountBalanceEntry) - -Amount = _reflection.GeneratedProtocolMessageType('Amount', (_message.Message,), { - 'DESCRIPTOR' : _AMOUNT, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.Amount) - }) -_sym_db.RegisterMessage(Amount) - -ChannelBalanceRequest = _reflection.GeneratedProtocolMessageType('ChannelBalanceRequest', (_message.Message,), { - 'DESCRIPTOR' : _CHANNELBALANCEREQUEST, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.ChannelBalanceRequest) - }) -_sym_db.RegisterMessage(ChannelBalanceRequest) - -ChannelBalanceResponse = _reflection.GeneratedProtocolMessageType('ChannelBalanceResponse', (_message.Message,), { - 'DESCRIPTOR' : _CHANNELBALANCERESPONSE, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.ChannelBalanceResponse) - }) -_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, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.NodePair) - }) -_sym_db.RegisterMessage(NodePair) - -EdgeLocator = _reflection.GeneratedProtocolMessageType('EdgeLocator', (_message.Message,), { - 'DESCRIPTOR' : _EDGELOCATOR, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.EdgeLocator) - }) -_sym_db.RegisterMessage(EdgeLocator) - -QueryRoutesResponse = _reflection.GeneratedProtocolMessageType('QueryRoutesResponse', (_message.Message,), { - 'DESCRIPTOR' : _QUERYROUTESRESPONSE, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.QueryRoutesResponse) - }) -_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) - -AMPRecord = _reflection.GeneratedProtocolMessageType('AMPRecord', (_message.Message,), { - 'DESCRIPTOR' : _AMPRECORD, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.AMPRecord) - }) -_sym_db.RegisterMessage(AMPRecord) - -Route = _reflection.GeneratedProtocolMessageType('Route', (_message.Message,), { - 'DESCRIPTOR' : _ROUTE, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.Route) - }) -_sym_db.RegisterMessage(Route) - -NodeInfoRequest = _reflection.GeneratedProtocolMessageType('NodeInfoRequest', (_message.Message,), { - 'DESCRIPTOR' : _NODEINFOREQUEST, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.NodeInfoRequest) - }) -_sym_db.RegisterMessage(NodeInfoRequest) - -NodeInfo = _reflection.GeneratedProtocolMessageType('NodeInfo', (_message.Message,), { - 'DESCRIPTOR' : _NODEINFO, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.NodeInfo) - }) -_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, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.NodeAddress) - }) -_sym_db.RegisterMessage(NodeAddress) - -RoutingPolicy = _reflection.GeneratedProtocolMessageType('RoutingPolicy', (_message.Message,), { - 'DESCRIPTOR' : _ROUTINGPOLICY, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.RoutingPolicy) - }) -_sym_db.RegisterMessage(RoutingPolicy) - -ChannelEdge = _reflection.GeneratedProtocolMessageType('ChannelEdge', (_message.Message,), { - 'DESCRIPTOR' : _CHANNELEDGE, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.ChannelEdge) - }) -_sym_db.RegisterMessage(ChannelEdge) - -ChannelGraphRequest = _reflection.GeneratedProtocolMessageType('ChannelGraphRequest', (_message.Message,), { - 'DESCRIPTOR' : _CHANNELGRAPHREQUEST, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.ChannelGraphRequest) - }) -_sym_db.RegisterMessage(ChannelGraphRequest) - -ChannelGraph = _reflection.GeneratedProtocolMessageType('ChannelGraph', (_message.Message,), { - 'DESCRIPTOR' : _CHANNELGRAPH, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.ChannelGraph) - }) -_sym_db.RegisterMessage(ChannelGraph) - -NodeMetricsRequest = _reflection.GeneratedProtocolMessageType('NodeMetricsRequest', (_message.Message,), { - 'DESCRIPTOR' : _NODEMETRICSREQUEST, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.NodeMetricsRequest) - }) -_sym_db.RegisterMessage(NodeMetricsRequest) - -NodeMetricsResponse = _reflection.GeneratedProtocolMessageType('NodeMetricsResponse', (_message.Message,), { - - 'BetweennessCentralityEntry' : _reflection.GeneratedProtocolMessageType('BetweennessCentralityEntry', (_message.Message,), { - 'DESCRIPTOR' : _NODEMETRICSRESPONSE_BETWEENNESSCENTRALITYENTRY, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.NodeMetricsResponse.BetweennessCentralityEntry) - }) - , - 'DESCRIPTOR' : _NODEMETRICSRESPONSE, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.NodeMetricsResponse) - }) -_sym_db.RegisterMessage(NodeMetricsResponse) -_sym_db.RegisterMessage(NodeMetricsResponse.BetweennessCentralityEntry) - -FloatMetric = _reflection.GeneratedProtocolMessageType('FloatMetric', (_message.Message,), { - 'DESCRIPTOR' : _FLOATMETRIC, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.FloatMetric) - }) -_sym_db.RegisterMessage(FloatMetric) - -ChanInfoRequest = _reflection.GeneratedProtocolMessageType('ChanInfoRequest', (_message.Message,), { - 'DESCRIPTOR' : _CHANINFOREQUEST, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.ChanInfoRequest) - }) -_sym_db.RegisterMessage(ChanInfoRequest) - -NetworkInfoRequest = _reflection.GeneratedProtocolMessageType('NetworkInfoRequest', (_message.Message,), { - 'DESCRIPTOR' : _NETWORKINFOREQUEST, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.NetworkInfoRequest) - }) -_sym_db.RegisterMessage(NetworkInfoRequest) - -NetworkInfo = _reflection.GeneratedProtocolMessageType('NetworkInfo', (_message.Message,), { - 'DESCRIPTOR' : _NETWORKINFO, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.NetworkInfo) - }) -_sym_db.RegisterMessage(NetworkInfo) - -StopRequest = _reflection.GeneratedProtocolMessageType('StopRequest', (_message.Message,), { - 'DESCRIPTOR' : _STOPREQUEST, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.StopRequest) - }) -_sym_db.RegisterMessage(StopRequest) - -StopResponse = _reflection.GeneratedProtocolMessageType('StopResponse', (_message.Message,), { - 'DESCRIPTOR' : _STOPRESPONSE, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.StopResponse) - }) -_sym_db.RegisterMessage(StopResponse) - -GraphTopologySubscription = _reflection.GeneratedProtocolMessageType('GraphTopologySubscription', (_message.Message,), { - 'DESCRIPTOR' : _GRAPHTOPOLOGYSUBSCRIPTION, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.GraphTopologySubscription) - }) -_sym_db.RegisterMessage(GraphTopologySubscription) - -GraphTopologyUpdate = _reflection.GeneratedProtocolMessageType('GraphTopologyUpdate', (_message.Message,), { - 'DESCRIPTOR' : _GRAPHTOPOLOGYUPDATE, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.GraphTopologyUpdate) - }) -_sym_db.RegisterMessage(GraphTopologyUpdate) - -NodeUpdate = _reflection.GeneratedProtocolMessageType('NodeUpdate', (_message.Message,), { - - 'FeaturesEntry' : _reflection.GeneratedProtocolMessageType('FeaturesEntry', (_message.Message,), { - 'DESCRIPTOR' : _NODEUPDATE_FEATURESENTRY, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.NodeUpdate.FeaturesEntry) - }) - , - 'DESCRIPTOR' : _NODEUPDATE, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.NodeUpdate) - }) -_sym_db.RegisterMessage(NodeUpdate) -_sym_db.RegisterMessage(NodeUpdate.FeaturesEntry) - -ChannelEdgeUpdate = _reflection.GeneratedProtocolMessageType('ChannelEdgeUpdate', (_message.Message,), { - 'DESCRIPTOR' : _CHANNELEDGEUPDATE, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.ChannelEdgeUpdate) - }) -_sym_db.RegisterMessage(ChannelEdgeUpdate) - -ClosedChannelUpdate = _reflection.GeneratedProtocolMessageType('ClosedChannelUpdate', (_message.Message,), { - 'DESCRIPTOR' : _CLOSEDCHANNELUPDATE, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.ClosedChannelUpdate) - }) -_sym_db.RegisterMessage(ClosedChannelUpdate) - -HopHint = _reflection.GeneratedProtocolMessageType('HopHint', (_message.Message,), { - 'DESCRIPTOR' : _HOPHINT, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.HopHint) - }) -_sym_db.RegisterMessage(HopHint) - -RouteHint = _reflection.GeneratedProtocolMessageType('RouteHint', (_message.Message,), { - 'DESCRIPTOR' : _ROUTEHINT, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.RouteHint) - }) -_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) - -AMP = _reflection.GeneratedProtocolMessageType('AMP', (_message.Message,), { - 'DESCRIPTOR' : _AMP, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.AMP) - }) -_sym_db.RegisterMessage(AMP) - -AddInvoiceResponse = _reflection.GeneratedProtocolMessageType('AddInvoiceResponse', (_message.Message,), { - 'DESCRIPTOR' : _ADDINVOICERESPONSE, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.AddInvoiceResponse) - }) -_sym_db.RegisterMessage(AddInvoiceResponse) - -PaymentHash = _reflection.GeneratedProtocolMessageType('PaymentHash', (_message.Message,), { - 'DESCRIPTOR' : _PAYMENTHASH, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.PaymentHash) - }) -_sym_db.RegisterMessage(PaymentHash) - -ListInvoiceRequest = _reflection.GeneratedProtocolMessageType('ListInvoiceRequest', (_message.Message,), { - 'DESCRIPTOR' : _LISTINVOICEREQUEST, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.ListInvoiceRequest) - }) -_sym_db.RegisterMessage(ListInvoiceRequest) - -ListInvoiceResponse = _reflection.GeneratedProtocolMessageType('ListInvoiceResponse', (_message.Message,), { - 'DESCRIPTOR' : _LISTINVOICERESPONSE, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.ListInvoiceResponse) - }) -_sym_db.RegisterMessage(ListInvoiceResponse) - -InvoiceSubscription = _reflection.GeneratedProtocolMessageType('InvoiceSubscription', (_message.Message,), { - 'DESCRIPTOR' : _INVOICESUBSCRIPTION, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.InvoiceSubscription) - }) -_sym_db.RegisterMessage(InvoiceSubscription) - -Payment = _reflection.GeneratedProtocolMessageType('Payment', (_message.Message,), { - 'DESCRIPTOR' : _PAYMENT, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.Payment) - }) -_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' - # @@protoc_insertion_point(class_scope:lnrpc.ListPaymentsRequest) - }) -_sym_db.RegisterMessage(ListPaymentsRequest) - -ListPaymentsResponse = _reflection.GeneratedProtocolMessageType('ListPaymentsResponse', (_message.Message,), { - 'DESCRIPTOR' : _LISTPAYMENTSRESPONSE, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.ListPaymentsResponse) - }) -_sym_db.RegisterMessage(ListPaymentsResponse) - -DeleteAllPaymentsRequest = _reflection.GeneratedProtocolMessageType('DeleteAllPaymentsRequest', (_message.Message,), { - 'DESCRIPTOR' : _DELETEALLPAYMENTSREQUEST, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.DeleteAllPaymentsRequest) - }) -_sym_db.RegisterMessage(DeleteAllPaymentsRequest) - -DeleteAllPaymentsResponse = _reflection.GeneratedProtocolMessageType('DeleteAllPaymentsResponse', (_message.Message,), { - 'DESCRIPTOR' : _DELETEALLPAYMENTSRESPONSE, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.DeleteAllPaymentsResponse) - }) -_sym_db.RegisterMessage(DeleteAllPaymentsResponse) - -AbandonChannelRequest = _reflection.GeneratedProtocolMessageType('AbandonChannelRequest', (_message.Message,), { - 'DESCRIPTOR' : _ABANDONCHANNELREQUEST, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.AbandonChannelRequest) - }) -_sym_db.RegisterMessage(AbandonChannelRequest) - -AbandonChannelResponse = _reflection.GeneratedProtocolMessageType('AbandonChannelResponse', (_message.Message,), { - 'DESCRIPTOR' : _ABANDONCHANNELRESPONSE, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.AbandonChannelResponse) - }) -_sym_db.RegisterMessage(AbandonChannelResponse) - -DebugLevelRequest = _reflection.GeneratedProtocolMessageType('DebugLevelRequest', (_message.Message,), { - 'DESCRIPTOR' : _DEBUGLEVELREQUEST, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.DebugLevelRequest) - }) -_sym_db.RegisterMessage(DebugLevelRequest) - -DebugLevelResponse = _reflection.GeneratedProtocolMessageType('DebugLevelResponse', (_message.Message,), { - 'DESCRIPTOR' : _DEBUGLEVELRESPONSE, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.DebugLevelResponse) - }) -_sym_db.RegisterMessage(DebugLevelResponse) - -PayReqString = _reflection.GeneratedProtocolMessageType('PayReqString', (_message.Message,), { - 'DESCRIPTOR' : _PAYREQSTRING, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.PayReqString) - }) -_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, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.FeeReportRequest) - }) -_sym_db.RegisterMessage(FeeReportRequest) - -ChannelFeeReport = _reflection.GeneratedProtocolMessageType('ChannelFeeReport', (_message.Message,), { - 'DESCRIPTOR' : _CHANNELFEEREPORT, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.ChannelFeeReport) - }) -_sym_db.RegisterMessage(ChannelFeeReport) - -FeeReportResponse = _reflection.GeneratedProtocolMessageType('FeeReportResponse', (_message.Message,), { - 'DESCRIPTOR' : _FEEREPORTRESPONSE, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.FeeReportResponse) - }) -_sym_db.RegisterMessage(FeeReportResponse) - -PolicyUpdateRequest = _reflection.GeneratedProtocolMessageType('PolicyUpdateRequest', (_message.Message,), { - 'DESCRIPTOR' : _POLICYUPDATEREQUEST, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.PolicyUpdateRequest) - }) -_sym_db.RegisterMessage(PolicyUpdateRequest) - -PolicyUpdateResponse = _reflection.GeneratedProtocolMessageType('PolicyUpdateResponse', (_message.Message,), { - 'DESCRIPTOR' : _POLICYUPDATERESPONSE, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.PolicyUpdateResponse) - }) -_sym_db.RegisterMessage(PolicyUpdateResponse) - -ForwardingHistoryRequest = _reflection.GeneratedProtocolMessageType('ForwardingHistoryRequest', (_message.Message,), { - 'DESCRIPTOR' : _FORWARDINGHISTORYREQUEST, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.ForwardingHistoryRequest) - }) -_sym_db.RegisterMessage(ForwardingHistoryRequest) - -ForwardingEvent = _reflection.GeneratedProtocolMessageType('ForwardingEvent', (_message.Message,), { - 'DESCRIPTOR' : _FORWARDINGEVENT, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.ForwardingEvent) - }) -_sym_db.RegisterMessage(ForwardingEvent) - -ForwardingHistoryResponse = _reflection.GeneratedProtocolMessageType('ForwardingHistoryResponse', (_message.Message,), { - 'DESCRIPTOR' : _FORWARDINGHISTORYRESPONSE, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.ForwardingHistoryResponse) - }) -_sym_db.RegisterMessage(ForwardingHistoryResponse) - -ExportChannelBackupRequest = _reflection.GeneratedProtocolMessageType('ExportChannelBackupRequest', (_message.Message,), { - 'DESCRIPTOR' : _EXPORTCHANNELBACKUPREQUEST, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.ExportChannelBackupRequest) - }) -_sym_db.RegisterMessage(ExportChannelBackupRequest) - -ChannelBackup = _reflection.GeneratedProtocolMessageType('ChannelBackup', (_message.Message,), { - 'DESCRIPTOR' : _CHANNELBACKUP, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.ChannelBackup) - }) -_sym_db.RegisterMessage(ChannelBackup) - -MultiChanBackup = _reflection.GeneratedProtocolMessageType('MultiChanBackup', (_message.Message,), { - 'DESCRIPTOR' : _MULTICHANBACKUP, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.MultiChanBackup) - }) -_sym_db.RegisterMessage(MultiChanBackup) - -ChanBackupExportRequest = _reflection.GeneratedProtocolMessageType('ChanBackupExportRequest', (_message.Message,), { - 'DESCRIPTOR' : _CHANBACKUPEXPORTREQUEST, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.ChanBackupExportRequest) - }) -_sym_db.RegisterMessage(ChanBackupExportRequest) - -ChanBackupSnapshot = _reflection.GeneratedProtocolMessageType('ChanBackupSnapshot', (_message.Message,), { - 'DESCRIPTOR' : _CHANBACKUPSNAPSHOT, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.ChanBackupSnapshot) - }) -_sym_db.RegisterMessage(ChanBackupSnapshot) - -ChannelBackups = _reflection.GeneratedProtocolMessageType('ChannelBackups', (_message.Message,), { - 'DESCRIPTOR' : _CHANNELBACKUPS, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.ChannelBackups) - }) -_sym_db.RegisterMessage(ChannelBackups) - -RestoreChanBackupRequest = _reflection.GeneratedProtocolMessageType('RestoreChanBackupRequest', (_message.Message,), { - 'DESCRIPTOR' : _RESTORECHANBACKUPREQUEST, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.RestoreChanBackupRequest) - }) -_sym_db.RegisterMessage(RestoreChanBackupRequest) - -RestoreBackupResponse = _reflection.GeneratedProtocolMessageType('RestoreBackupResponse', (_message.Message,), { - 'DESCRIPTOR' : _RESTOREBACKUPRESPONSE, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.RestoreBackupResponse) - }) -_sym_db.RegisterMessage(RestoreBackupResponse) - -ChannelBackupSubscription = _reflection.GeneratedProtocolMessageType('ChannelBackupSubscription', (_message.Message,), { - 'DESCRIPTOR' : _CHANNELBACKUPSUBSCRIPTION, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.ChannelBackupSubscription) - }) -_sym_db.RegisterMessage(ChannelBackupSubscription) - -VerifyChanBackupResponse = _reflection.GeneratedProtocolMessageType('VerifyChanBackupResponse', (_message.Message,), { - 'DESCRIPTOR' : _VERIFYCHANBACKUPRESPONSE, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.VerifyChanBackupResponse) - }) -_sym_db.RegisterMessage(VerifyChanBackupResponse) - -MacaroonPermission = _reflection.GeneratedProtocolMessageType('MacaroonPermission', (_message.Message,), { - 'DESCRIPTOR' : _MACAROONPERMISSION, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.MacaroonPermission) - }) -_sym_db.RegisterMessage(MacaroonPermission) - -BakeMacaroonRequest = _reflection.GeneratedProtocolMessageType('BakeMacaroonRequest', (_message.Message,), { - 'DESCRIPTOR' : _BAKEMACAROONREQUEST, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.BakeMacaroonRequest) - }) -_sym_db.RegisterMessage(BakeMacaroonRequest) - -BakeMacaroonResponse = _reflection.GeneratedProtocolMessageType('BakeMacaroonResponse', (_message.Message,), { - 'DESCRIPTOR' : _BAKEMACAROONRESPONSE, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.BakeMacaroonResponse) - }) -_sym_db.RegisterMessage(BakeMacaroonResponse) - -ListMacaroonIDsRequest = _reflection.GeneratedProtocolMessageType('ListMacaroonIDsRequest', (_message.Message,), { - 'DESCRIPTOR' : _LISTMACAROONIDSREQUEST, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.ListMacaroonIDsRequest) - }) -_sym_db.RegisterMessage(ListMacaroonIDsRequest) - -ListMacaroonIDsResponse = _reflection.GeneratedProtocolMessageType('ListMacaroonIDsResponse', (_message.Message,), { - 'DESCRIPTOR' : _LISTMACAROONIDSRESPONSE, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.ListMacaroonIDsResponse) - }) -_sym_db.RegisterMessage(ListMacaroonIDsResponse) - -DeleteMacaroonIDRequest = _reflection.GeneratedProtocolMessageType('DeleteMacaroonIDRequest', (_message.Message,), { - 'DESCRIPTOR' : _DELETEMACAROONIDREQUEST, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.DeleteMacaroonIDRequest) - }) -_sym_db.RegisterMessage(DeleteMacaroonIDRequest) - -DeleteMacaroonIDResponse = _reflection.GeneratedProtocolMessageType('DeleteMacaroonIDResponse', (_message.Message,), { - 'DESCRIPTOR' : _DELETEMACAROONIDRESPONSE, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.DeleteMacaroonIDResponse) - }) -_sym_db.RegisterMessage(DeleteMacaroonIDResponse) - -MacaroonPermissionList = _reflection.GeneratedProtocolMessageType('MacaroonPermissionList', (_message.Message,), { - 'DESCRIPTOR' : _MACAROONPERMISSIONLIST, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.MacaroonPermissionList) - }) -_sym_db.RegisterMessage(MacaroonPermissionList) - -ListPermissionsRequest = _reflection.GeneratedProtocolMessageType('ListPermissionsRequest', (_message.Message,), { - 'DESCRIPTOR' : _LISTPERMISSIONSREQUEST, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.ListPermissionsRequest) - }) -_sym_db.RegisterMessage(ListPermissionsRequest) - -ListPermissionsResponse = _reflection.GeneratedProtocolMessageType('ListPermissionsResponse', (_message.Message,), { - - 'MethodPermissionsEntry' : _reflection.GeneratedProtocolMessageType('MethodPermissionsEntry', (_message.Message,), { - 'DESCRIPTOR' : _LISTPERMISSIONSRESPONSE_METHODPERMISSIONSENTRY, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.ListPermissionsResponse.MethodPermissionsEntry) - }) - , - 'DESCRIPTOR' : _LISTPERMISSIONSRESPONSE, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.ListPermissionsResponse) - }) -_sym_db.RegisterMessage(ListPermissionsResponse) -_sym_db.RegisterMessage(ListPermissionsResponse.MethodPermissionsEntry) - -Failure = _reflection.GeneratedProtocolMessageType('Failure', (_message.Message,), { - 'DESCRIPTOR' : _FAILURE, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.Failure) - }) -_sym_db.RegisterMessage(Failure) - -ChannelUpdate = _reflection.GeneratedProtocolMessageType('ChannelUpdate', (_message.Message,), { - 'DESCRIPTOR' : _CHANNELUPDATE, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.ChannelUpdate) - }) -_sym_db.RegisterMessage(ChannelUpdate) - -MacaroonId = _reflection.GeneratedProtocolMessageType('MacaroonId', (_message.Message,), { - 'DESCRIPTOR' : _MACAROONID, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.MacaroonId) - }) -_sym_db.RegisterMessage(MacaroonId) - -Op = _reflection.GeneratedProtocolMessageType('Op', (_message.Message,), { - 'DESCRIPTOR' : _OP, - '__module__' : 'rpc_pb2' - # @@protoc_insertion_point(class_scope:lnrpc.Op) - }) -_sym_db.RegisterMessage(Op) - - -DESCRIPTOR._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 -_ESTIMATEFEERESPONSE.fields_by_name['feerate_sat_per_byte']._options = None -_SENDMANYREQUEST_ADDRTOAMOUNTENTRY._options = None -_SENDMANYREQUEST.fields_by_name['sat_per_byte']._options = None -_SENDCOINSREQUEST.fields_by_name['sat_per_byte']._options = None -_CHANNEL.fields_by_name['chan_id']._options = None -_CHANNEL.fields_by_name['csv_delay']._options = None -_CHANNEL.fields_by_name['local_chan_reserve_sat']._options = None -_CHANNEL.fields_by_name['remote_chan_reserve_sat']._options = None -_CHANNEL.fields_by_name['static_remote_key']._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 -_CLOSECHANNELREQUEST.fields_by_name['sat_per_byte']._options = None -_OPENCHANNELREQUEST.fields_by_name['node_pubkey_string']._options = None -_OPENCHANNELREQUEST.fields_by_name['sat_per_byte']._options = None -_PENDINGCHANNELSRESPONSE.fields_by_name['pending_closing_channels']._options = None -_WALLETBALANCERESPONSE_ACCOUNTBALANCEENTRY._options = None -_CHANNELBALANCERESPONSE.fields_by_name['balance']._options = None -_CHANNELBALANCERESPONSE.fields_by_name['pending_open_balance']._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['chan_capacity']._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 -_NODEMETRICSRESPONSE_BETWEENNESSCENTRALITYENTRY._options = None -_CHANINFOREQUEST.fields_by_name['chan_id']._options = None -_NODEUPDATE_FEATURESENTRY._options = None -_NODEUPDATE.fields_by_name['addresses']._options = None -_NODEUPDATE.fields_by_name['global_features']._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_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['fee']._options = None -_PAYREQ_FEATURESENTRY._options = None -_CHANNELFEEREPORT.fields_by_name['chan_id']._options = None -_FORWARDINGEVENT.fields_by_name['timestamp']._options = None -_FORWARDINGEVENT.fields_by_name['chan_id_in']._options = None -_FORWARDINGEVENT.fields_by_name['chan_id_out']._options = None -_LISTPERMISSIONSRESPONSE_METHODPERMISSIONSENTRY._options = None -_CHANNELUPDATE.fields_by_name['chan_id']._options = None - -_LIGHTNING = _descriptor.ServiceDescriptor( - name='Lightning', - full_name='lnrpc.Lightning', - file=DESCRIPTOR, - index=0, - serialized_options=None, - create_key=_descriptor._internal_create_key, - serialized_start=25646, - serialized_end=29943, - methods=[ - _descriptor.MethodDescriptor( - name='WalletBalance', - full_name='lnrpc.Lightning.WalletBalance', - index=0, - containing_service=None, - input_type=_WALLETBALANCEREQUEST, - output_type=_WALLETBALANCERESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='ChannelBalance', - full_name='lnrpc.Lightning.ChannelBalance', - index=1, - containing_service=None, - input_type=_CHANNELBALANCEREQUEST, - output_type=_CHANNELBALANCERESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='GetTransactions', - full_name='lnrpc.Lightning.GetTransactions', - index=2, - containing_service=None, - input_type=_GETTRANSACTIONSREQUEST, - output_type=_TRANSACTIONDETAILS, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='EstimateFee', - full_name='lnrpc.Lightning.EstimateFee', - index=3, - containing_service=None, - input_type=_ESTIMATEFEEREQUEST, - output_type=_ESTIMATEFEERESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SendCoins', - full_name='lnrpc.Lightning.SendCoins', - index=4, - containing_service=None, - input_type=_SENDCOINSREQUEST, - output_type=_SENDCOINSRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='ListUnspent', - full_name='lnrpc.Lightning.ListUnspent', - index=5, - containing_service=None, - input_type=_LISTUNSPENTREQUEST, - output_type=_LISTUNSPENTRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SubscribeTransactions', - full_name='lnrpc.Lightning.SubscribeTransactions', - index=6, - containing_service=None, - input_type=_GETTRANSACTIONSREQUEST, - output_type=_TRANSACTION, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SendMany', - full_name='lnrpc.Lightning.SendMany', - index=7, - containing_service=None, - input_type=_SENDMANYREQUEST, - output_type=_SENDMANYRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='NewAddress', - full_name='lnrpc.Lightning.NewAddress', - index=8, - containing_service=None, - input_type=_NEWADDRESSREQUEST, - output_type=_NEWADDRESSRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SignMessage', - full_name='lnrpc.Lightning.SignMessage', - index=9, - containing_service=None, - input_type=_SIGNMESSAGEREQUEST, - output_type=_SIGNMESSAGERESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='VerifyMessage', - full_name='lnrpc.Lightning.VerifyMessage', - index=10, - containing_service=None, - input_type=_VERIFYMESSAGEREQUEST, - output_type=_VERIFYMESSAGERESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='ConnectPeer', - full_name='lnrpc.Lightning.ConnectPeer', - index=11, - containing_service=None, - input_type=_CONNECTPEERREQUEST, - output_type=_CONNECTPEERRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='DisconnectPeer', - full_name='lnrpc.Lightning.DisconnectPeer', - index=12, - containing_service=None, - input_type=_DISCONNECTPEERREQUEST, - output_type=_DISCONNECTPEERRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='ListPeers', - full_name='lnrpc.Lightning.ListPeers', - index=13, - containing_service=None, - input_type=_LISTPEERSREQUEST, - output_type=_LISTPEERSRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SubscribePeerEvents', - full_name='lnrpc.Lightning.SubscribePeerEvents', - index=14, - containing_service=None, - input_type=_PEEREVENTSUBSCRIPTION, - output_type=_PEEREVENT, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='GetInfo', - full_name='lnrpc.Lightning.GetInfo', - index=15, - containing_service=None, - input_type=_GETINFOREQUEST, - output_type=_GETINFORESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='GetRecoveryInfo', - full_name='lnrpc.Lightning.GetRecoveryInfo', - index=16, - containing_service=None, - input_type=_GETRECOVERYINFOREQUEST, - output_type=_GETRECOVERYINFORESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='PendingChannels', - full_name='lnrpc.Lightning.PendingChannels', - index=17, - containing_service=None, - input_type=_PENDINGCHANNELSREQUEST, - output_type=_PENDINGCHANNELSRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='ListChannels', - full_name='lnrpc.Lightning.ListChannels', - index=18, - containing_service=None, - input_type=_LISTCHANNELSREQUEST, - output_type=_LISTCHANNELSRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SubscribeChannelEvents', - full_name='lnrpc.Lightning.SubscribeChannelEvents', - index=19, - containing_service=None, - input_type=_CHANNELEVENTSUBSCRIPTION, - output_type=_CHANNELEVENTUPDATE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='ClosedChannels', - full_name='lnrpc.Lightning.ClosedChannels', - index=20, - containing_service=None, - input_type=_CLOSEDCHANNELSREQUEST, - output_type=_CLOSEDCHANNELSRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='OpenChannelSync', - full_name='lnrpc.Lightning.OpenChannelSync', - index=21, - containing_service=None, - input_type=_OPENCHANNELREQUEST, - output_type=_CHANNELPOINT, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='OpenChannel', - full_name='lnrpc.Lightning.OpenChannel', - index=22, - containing_service=None, - input_type=_OPENCHANNELREQUEST, - output_type=_OPENSTATUSUPDATE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='FundingStateStep', - full_name='lnrpc.Lightning.FundingStateStep', - index=23, - containing_service=None, - input_type=_FUNDINGTRANSITIONMSG, - output_type=_FUNDINGSTATESTEPRESP, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='ChannelAcceptor', - full_name='lnrpc.Lightning.ChannelAcceptor', - index=24, - containing_service=None, - input_type=_CHANNELACCEPTRESPONSE, - output_type=_CHANNELACCEPTREQUEST, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='CloseChannel', - full_name='lnrpc.Lightning.CloseChannel', - index=25, - containing_service=None, - input_type=_CLOSECHANNELREQUEST, - output_type=_CLOSESTATUSUPDATE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='AbandonChannel', - full_name='lnrpc.Lightning.AbandonChannel', - index=26, - containing_service=None, - input_type=_ABANDONCHANNELREQUEST, - output_type=_ABANDONCHANNELRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SendPayment', - full_name='lnrpc.Lightning.SendPayment', - index=27, - containing_service=None, - input_type=_SENDREQUEST, - output_type=_SENDRESPONSE, - serialized_options=b'\210\002\001', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SendPaymentSync', - full_name='lnrpc.Lightning.SendPaymentSync', - index=28, - containing_service=None, - input_type=_SENDREQUEST, - output_type=_SENDRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SendToRoute', - full_name='lnrpc.Lightning.SendToRoute', - index=29, - containing_service=None, - input_type=_SENDTOROUTEREQUEST, - output_type=_SENDRESPONSE, - serialized_options=b'\210\002\001', - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SendToRouteSync', - full_name='lnrpc.Lightning.SendToRouteSync', - index=30, - containing_service=None, - input_type=_SENDTOROUTEREQUEST, - output_type=_SENDRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='AddInvoice', - full_name='lnrpc.Lightning.AddInvoice', - index=31, - containing_service=None, - input_type=_INVOICE, - output_type=_ADDINVOICERESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='ListInvoices', - full_name='lnrpc.Lightning.ListInvoices', - index=32, - containing_service=None, - input_type=_LISTINVOICEREQUEST, - output_type=_LISTINVOICERESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='LookupInvoice', - full_name='lnrpc.Lightning.LookupInvoice', - index=33, - containing_service=None, - input_type=_PAYMENTHASH, - output_type=_INVOICE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SubscribeInvoices', - full_name='lnrpc.Lightning.SubscribeInvoices', - index=34, - containing_service=None, - input_type=_INVOICESUBSCRIPTION, - output_type=_INVOICE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='DecodePayReq', - full_name='lnrpc.Lightning.DecodePayReq', - index=35, - containing_service=None, - input_type=_PAYREQSTRING, - output_type=_PAYREQ, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='ListPayments', - full_name='lnrpc.Lightning.ListPayments', - index=36, - containing_service=None, - input_type=_LISTPAYMENTSREQUEST, - output_type=_LISTPAYMENTSRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='DeleteAllPayments', - full_name='lnrpc.Lightning.DeleteAllPayments', - index=37, - containing_service=None, - input_type=_DELETEALLPAYMENTSREQUEST, - output_type=_DELETEALLPAYMENTSRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='DescribeGraph', - full_name='lnrpc.Lightning.DescribeGraph', - index=38, - containing_service=None, - input_type=_CHANNELGRAPHREQUEST, - output_type=_CHANNELGRAPH, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='GetNodeMetrics', - full_name='lnrpc.Lightning.GetNodeMetrics', - index=39, - containing_service=None, - input_type=_NODEMETRICSREQUEST, - output_type=_NODEMETRICSRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='GetChanInfo', - full_name='lnrpc.Lightning.GetChanInfo', - index=40, - containing_service=None, - input_type=_CHANINFOREQUEST, - output_type=_CHANNELEDGE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='GetNodeInfo', - full_name='lnrpc.Lightning.GetNodeInfo', - index=41, - containing_service=None, - input_type=_NODEINFOREQUEST, - output_type=_NODEINFO, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='QueryRoutes', - full_name='lnrpc.Lightning.QueryRoutes', - index=42, - containing_service=None, - input_type=_QUERYROUTESREQUEST, - output_type=_QUERYROUTESRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='GetNetworkInfo', - full_name='lnrpc.Lightning.GetNetworkInfo', - index=43, - containing_service=None, - input_type=_NETWORKINFOREQUEST, - output_type=_NETWORKINFO, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='StopDaemon', - full_name='lnrpc.Lightning.StopDaemon', - index=44, - containing_service=None, - input_type=_STOPREQUEST, - output_type=_STOPRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SubscribeChannelGraph', - full_name='lnrpc.Lightning.SubscribeChannelGraph', - index=45, - containing_service=None, - input_type=_GRAPHTOPOLOGYSUBSCRIPTION, - output_type=_GRAPHTOPOLOGYUPDATE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='DebugLevel', - full_name='lnrpc.Lightning.DebugLevel', - index=46, - containing_service=None, - input_type=_DEBUGLEVELREQUEST, - output_type=_DEBUGLEVELRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='FeeReport', - full_name='lnrpc.Lightning.FeeReport', - index=47, - containing_service=None, - input_type=_FEEREPORTREQUEST, - output_type=_FEEREPORTRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='UpdateChannelPolicy', - full_name='lnrpc.Lightning.UpdateChannelPolicy', - index=48, - containing_service=None, - input_type=_POLICYUPDATEREQUEST, - output_type=_POLICYUPDATERESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='ForwardingHistory', - full_name='lnrpc.Lightning.ForwardingHistory', - index=49, - containing_service=None, - input_type=_FORWARDINGHISTORYREQUEST, - output_type=_FORWARDINGHISTORYRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='ExportChannelBackup', - full_name='lnrpc.Lightning.ExportChannelBackup', - index=50, - containing_service=None, - input_type=_EXPORTCHANNELBACKUPREQUEST, - output_type=_CHANNELBACKUP, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='ExportAllChannelBackups', - full_name='lnrpc.Lightning.ExportAllChannelBackups', - index=51, - containing_service=None, - input_type=_CHANBACKUPEXPORTREQUEST, - output_type=_CHANBACKUPSNAPSHOT, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='VerifyChanBackup', - full_name='lnrpc.Lightning.VerifyChanBackup', - index=52, - containing_service=None, - input_type=_CHANBACKUPSNAPSHOT, - output_type=_VERIFYCHANBACKUPRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='RestoreChannelBackups', - full_name='lnrpc.Lightning.RestoreChannelBackups', - index=53, - containing_service=None, - input_type=_RESTORECHANBACKUPREQUEST, - output_type=_RESTOREBACKUPRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='SubscribeChannelBackups', - full_name='lnrpc.Lightning.SubscribeChannelBackups', - index=54, - containing_service=None, - input_type=_CHANNELBACKUPSUBSCRIPTION, - output_type=_CHANBACKUPSNAPSHOT, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='BakeMacaroon', - full_name='lnrpc.Lightning.BakeMacaroon', - index=55, - containing_service=None, - input_type=_BAKEMACAROONREQUEST, - output_type=_BAKEMACAROONRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='ListMacaroonIDs', - full_name='lnrpc.Lightning.ListMacaroonIDs', - index=56, - containing_service=None, - input_type=_LISTMACAROONIDSREQUEST, - output_type=_LISTMACAROONIDSRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='DeleteMacaroonID', - full_name='lnrpc.Lightning.DeleteMacaroonID', - index=57, - containing_service=None, - input_type=_DELETEMACAROONIDREQUEST, - output_type=_DELETEMACAROONIDRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), - _descriptor.MethodDescriptor( - name='ListPermissions', - full_name='lnrpc.Lightning.ListPermissions', - index=58, - containing_service=None, - input_type=_LISTPERMISSIONSREQUEST, - output_type=_LISTPERMISSIONSRESPONSE, - serialized_options=None, - create_key=_descriptor._internal_create_key, - ), -]) -_sym_db.RegisterServiceDescriptor(_LIGHTNING) - -DESCRIPTOR.services_by_name['Lightning'] = _LIGHTNING - -# @@protoc_insertion_point(module_scope) diff --git a/charge_lnd/grpc_generated/rpc_pb2_grpc.py b/charge_lnd/grpc_generated/rpc_pb2_grpc.py deleted file mode 100644 index f453bd6..0000000 --- a/charge_lnd/grpc_generated/rpc_pb2_grpc.py +++ /dev/null @@ -1,2329 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -"""Client and server classes corresponding to protobuf-defined services.""" -import grpc - -from . import rpc_pb2 as rpc__pb2 - - -class LightningStub(object): - """ - Comments in this file will be directly parsed into the API - Documentation as descriptions of the associated method, message, or field. - These descriptions should go right above the definition of the object, and - can be in either block or // comment format. - - An RPC method can be matched to an lncli command by placing a line in the - beginning of the description in exactly the following format: - lncli: `methodname` - - Failure to specify the exact name of the command will cause documentation - generation to fail. - - More information on how exactly the gRPC documentation is generated from - this proto file can be found here: - https://github.com/lightninglabs/lightning-api - - Lightning is the main RPC server of the daemon. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.WalletBalance = channel.unary_unary( - '/lnrpc.Lightning/WalletBalance', - request_serializer=rpc__pb2.WalletBalanceRequest.SerializeToString, - response_deserializer=rpc__pb2.WalletBalanceResponse.FromString, - ) - self.ChannelBalance = channel.unary_unary( - '/lnrpc.Lightning/ChannelBalance', - request_serializer=rpc__pb2.ChannelBalanceRequest.SerializeToString, - response_deserializer=rpc__pb2.ChannelBalanceResponse.FromString, - ) - self.GetTransactions = channel.unary_unary( - '/lnrpc.Lightning/GetTransactions', - request_serializer=rpc__pb2.GetTransactionsRequest.SerializeToString, - response_deserializer=rpc__pb2.TransactionDetails.FromString, - ) - self.EstimateFee = channel.unary_unary( - '/lnrpc.Lightning/EstimateFee', - request_serializer=rpc__pb2.EstimateFeeRequest.SerializeToString, - response_deserializer=rpc__pb2.EstimateFeeResponse.FromString, - ) - self.SendCoins = channel.unary_unary( - '/lnrpc.Lightning/SendCoins', - request_serializer=rpc__pb2.SendCoinsRequest.SerializeToString, - response_deserializer=rpc__pb2.SendCoinsResponse.FromString, - ) - self.ListUnspent = channel.unary_unary( - '/lnrpc.Lightning/ListUnspent', - request_serializer=rpc__pb2.ListUnspentRequest.SerializeToString, - response_deserializer=rpc__pb2.ListUnspentResponse.FromString, - ) - self.SubscribeTransactions = channel.unary_stream( - '/lnrpc.Lightning/SubscribeTransactions', - request_serializer=rpc__pb2.GetTransactionsRequest.SerializeToString, - response_deserializer=rpc__pb2.Transaction.FromString, - ) - self.SendMany = channel.unary_unary( - '/lnrpc.Lightning/SendMany', - request_serializer=rpc__pb2.SendManyRequest.SerializeToString, - response_deserializer=rpc__pb2.SendManyResponse.FromString, - ) - self.NewAddress = channel.unary_unary( - '/lnrpc.Lightning/NewAddress', - request_serializer=rpc__pb2.NewAddressRequest.SerializeToString, - response_deserializer=rpc__pb2.NewAddressResponse.FromString, - ) - self.SignMessage = channel.unary_unary( - '/lnrpc.Lightning/SignMessage', - request_serializer=rpc__pb2.SignMessageRequest.SerializeToString, - response_deserializer=rpc__pb2.SignMessageResponse.FromString, - ) - self.VerifyMessage = channel.unary_unary( - '/lnrpc.Lightning/VerifyMessage', - request_serializer=rpc__pb2.VerifyMessageRequest.SerializeToString, - response_deserializer=rpc__pb2.VerifyMessageResponse.FromString, - ) - self.ConnectPeer = channel.unary_unary( - '/lnrpc.Lightning/ConnectPeer', - request_serializer=rpc__pb2.ConnectPeerRequest.SerializeToString, - response_deserializer=rpc__pb2.ConnectPeerResponse.FromString, - ) - self.DisconnectPeer = channel.unary_unary( - '/lnrpc.Lightning/DisconnectPeer', - request_serializer=rpc__pb2.DisconnectPeerRequest.SerializeToString, - response_deserializer=rpc__pb2.DisconnectPeerResponse.FromString, - ) - self.ListPeers = channel.unary_unary( - '/lnrpc.Lightning/ListPeers', - 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, - response_deserializer=rpc__pb2.GetInfoResponse.FromString, - ) - self.GetRecoveryInfo = channel.unary_unary( - '/lnrpc.Lightning/GetRecoveryInfo', - request_serializer=rpc__pb2.GetRecoveryInfoRequest.SerializeToString, - response_deserializer=rpc__pb2.GetRecoveryInfoResponse.FromString, - ) - self.PendingChannels = channel.unary_unary( - '/lnrpc.Lightning/PendingChannels', - request_serializer=rpc__pb2.PendingChannelsRequest.SerializeToString, - response_deserializer=rpc__pb2.PendingChannelsResponse.FromString, - ) - self.ListChannels = channel.unary_unary( - '/lnrpc.Lightning/ListChannels', - request_serializer=rpc__pb2.ListChannelsRequest.SerializeToString, - response_deserializer=rpc__pb2.ListChannelsResponse.FromString, - ) - self.SubscribeChannelEvents = channel.unary_stream( - '/lnrpc.Lightning/SubscribeChannelEvents', - request_serializer=rpc__pb2.ChannelEventSubscription.SerializeToString, - response_deserializer=rpc__pb2.ChannelEventUpdate.FromString, - ) - self.ClosedChannels = channel.unary_unary( - '/lnrpc.Lightning/ClosedChannels', - request_serializer=rpc__pb2.ClosedChannelsRequest.SerializeToString, - response_deserializer=rpc__pb2.ClosedChannelsResponse.FromString, - ) - self.OpenChannelSync = channel.unary_unary( - '/lnrpc.Lightning/OpenChannelSync', - request_serializer=rpc__pb2.OpenChannelRequest.SerializeToString, - response_deserializer=rpc__pb2.ChannelPoint.FromString, - ) - self.OpenChannel = channel.unary_stream( - '/lnrpc.Lightning/OpenChannel', - 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, - response_deserializer=rpc__pb2.ChannelAcceptRequest.FromString, - ) - self.CloseChannel = channel.unary_stream( - '/lnrpc.Lightning/CloseChannel', - request_serializer=rpc__pb2.CloseChannelRequest.SerializeToString, - response_deserializer=rpc__pb2.CloseStatusUpdate.FromString, - ) - self.AbandonChannel = channel.unary_unary( - '/lnrpc.Lightning/AbandonChannel', - request_serializer=rpc__pb2.AbandonChannelRequest.SerializeToString, - response_deserializer=rpc__pb2.AbandonChannelResponse.FromString, - ) - self.SendPayment = channel.stream_stream( - '/lnrpc.Lightning/SendPayment', - request_serializer=rpc__pb2.SendRequest.SerializeToString, - response_deserializer=rpc__pb2.SendResponse.FromString, - ) - self.SendPaymentSync = channel.unary_unary( - '/lnrpc.Lightning/SendPaymentSync', - request_serializer=rpc__pb2.SendRequest.SerializeToString, - response_deserializer=rpc__pb2.SendResponse.FromString, - ) - self.SendToRoute = channel.stream_stream( - '/lnrpc.Lightning/SendToRoute', - request_serializer=rpc__pb2.SendToRouteRequest.SerializeToString, - response_deserializer=rpc__pb2.SendResponse.FromString, - ) - self.SendToRouteSync = channel.unary_unary( - '/lnrpc.Lightning/SendToRouteSync', - request_serializer=rpc__pb2.SendToRouteRequest.SerializeToString, - response_deserializer=rpc__pb2.SendResponse.FromString, - ) - self.AddInvoice = channel.unary_unary( - '/lnrpc.Lightning/AddInvoice', - request_serializer=rpc__pb2.Invoice.SerializeToString, - response_deserializer=rpc__pb2.AddInvoiceResponse.FromString, - ) - self.ListInvoices = channel.unary_unary( - '/lnrpc.Lightning/ListInvoices', - request_serializer=rpc__pb2.ListInvoiceRequest.SerializeToString, - response_deserializer=rpc__pb2.ListInvoiceResponse.FromString, - ) - self.LookupInvoice = channel.unary_unary( - '/lnrpc.Lightning/LookupInvoice', - request_serializer=rpc__pb2.PaymentHash.SerializeToString, - response_deserializer=rpc__pb2.Invoice.FromString, - ) - self.SubscribeInvoices = channel.unary_stream( - '/lnrpc.Lightning/SubscribeInvoices', - request_serializer=rpc__pb2.InvoiceSubscription.SerializeToString, - response_deserializer=rpc__pb2.Invoice.FromString, - ) - self.DecodePayReq = channel.unary_unary( - '/lnrpc.Lightning/DecodePayReq', - request_serializer=rpc__pb2.PayReqString.SerializeToString, - response_deserializer=rpc__pb2.PayReq.FromString, - ) - self.ListPayments = channel.unary_unary( - '/lnrpc.Lightning/ListPayments', - request_serializer=rpc__pb2.ListPaymentsRequest.SerializeToString, - response_deserializer=rpc__pb2.ListPaymentsResponse.FromString, - ) - self.DeleteAllPayments = channel.unary_unary( - '/lnrpc.Lightning/DeleteAllPayments', - request_serializer=rpc__pb2.DeleteAllPaymentsRequest.SerializeToString, - response_deserializer=rpc__pb2.DeleteAllPaymentsResponse.FromString, - ) - self.DescribeGraph = channel.unary_unary( - '/lnrpc.Lightning/DescribeGraph', - request_serializer=rpc__pb2.ChannelGraphRequest.SerializeToString, - response_deserializer=rpc__pb2.ChannelGraph.FromString, - ) - self.GetNodeMetrics = channel.unary_unary( - '/lnrpc.Lightning/GetNodeMetrics', - request_serializer=rpc__pb2.NodeMetricsRequest.SerializeToString, - response_deserializer=rpc__pb2.NodeMetricsResponse.FromString, - ) - self.GetChanInfo = channel.unary_unary( - '/lnrpc.Lightning/GetChanInfo', - request_serializer=rpc__pb2.ChanInfoRequest.SerializeToString, - response_deserializer=rpc__pb2.ChannelEdge.FromString, - ) - self.GetNodeInfo = channel.unary_unary( - '/lnrpc.Lightning/GetNodeInfo', - request_serializer=rpc__pb2.NodeInfoRequest.SerializeToString, - response_deserializer=rpc__pb2.NodeInfo.FromString, - ) - self.QueryRoutes = channel.unary_unary( - '/lnrpc.Lightning/QueryRoutes', - request_serializer=rpc__pb2.QueryRoutesRequest.SerializeToString, - response_deserializer=rpc__pb2.QueryRoutesResponse.FromString, - ) - self.GetNetworkInfo = channel.unary_unary( - '/lnrpc.Lightning/GetNetworkInfo', - request_serializer=rpc__pb2.NetworkInfoRequest.SerializeToString, - response_deserializer=rpc__pb2.NetworkInfo.FromString, - ) - self.StopDaemon = channel.unary_unary( - '/lnrpc.Lightning/StopDaemon', - request_serializer=rpc__pb2.StopRequest.SerializeToString, - response_deserializer=rpc__pb2.StopResponse.FromString, - ) - self.SubscribeChannelGraph = channel.unary_stream( - '/lnrpc.Lightning/SubscribeChannelGraph', - request_serializer=rpc__pb2.GraphTopologySubscription.SerializeToString, - response_deserializer=rpc__pb2.GraphTopologyUpdate.FromString, - ) - self.DebugLevel = channel.unary_unary( - '/lnrpc.Lightning/DebugLevel', - request_serializer=rpc__pb2.DebugLevelRequest.SerializeToString, - response_deserializer=rpc__pb2.DebugLevelResponse.FromString, - ) - self.FeeReport = channel.unary_unary( - '/lnrpc.Lightning/FeeReport', - request_serializer=rpc__pb2.FeeReportRequest.SerializeToString, - response_deserializer=rpc__pb2.FeeReportResponse.FromString, - ) - self.UpdateChannelPolicy = channel.unary_unary( - '/lnrpc.Lightning/UpdateChannelPolicy', - request_serializer=rpc__pb2.PolicyUpdateRequest.SerializeToString, - response_deserializer=rpc__pb2.PolicyUpdateResponse.FromString, - ) - self.ForwardingHistory = channel.unary_unary( - '/lnrpc.Lightning/ForwardingHistory', - request_serializer=rpc__pb2.ForwardingHistoryRequest.SerializeToString, - response_deserializer=rpc__pb2.ForwardingHistoryResponse.FromString, - ) - self.ExportChannelBackup = channel.unary_unary( - '/lnrpc.Lightning/ExportChannelBackup', - request_serializer=rpc__pb2.ExportChannelBackupRequest.SerializeToString, - response_deserializer=rpc__pb2.ChannelBackup.FromString, - ) - self.ExportAllChannelBackups = channel.unary_unary( - '/lnrpc.Lightning/ExportAllChannelBackups', - request_serializer=rpc__pb2.ChanBackupExportRequest.SerializeToString, - response_deserializer=rpc__pb2.ChanBackupSnapshot.FromString, - ) - self.VerifyChanBackup = channel.unary_unary( - '/lnrpc.Lightning/VerifyChanBackup', - request_serializer=rpc__pb2.ChanBackupSnapshot.SerializeToString, - response_deserializer=rpc__pb2.VerifyChanBackupResponse.FromString, - ) - self.RestoreChannelBackups = channel.unary_unary( - '/lnrpc.Lightning/RestoreChannelBackups', - request_serializer=rpc__pb2.RestoreChanBackupRequest.SerializeToString, - response_deserializer=rpc__pb2.RestoreBackupResponse.FromString, - ) - self.SubscribeChannelBackups = channel.unary_stream( - '/lnrpc.Lightning/SubscribeChannelBackups', - request_serializer=rpc__pb2.ChannelBackupSubscription.SerializeToString, - response_deserializer=rpc__pb2.ChanBackupSnapshot.FromString, - ) - self.BakeMacaroon = channel.unary_unary( - '/lnrpc.Lightning/BakeMacaroon', - request_serializer=rpc__pb2.BakeMacaroonRequest.SerializeToString, - response_deserializer=rpc__pb2.BakeMacaroonResponse.FromString, - ) - self.ListMacaroonIDs = channel.unary_unary( - '/lnrpc.Lightning/ListMacaroonIDs', - request_serializer=rpc__pb2.ListMacaroonIDsRequest.SerializeToString, - response_deserializer=rpc__pb2.ListMacaroonIDsResponse.FromString, - ) - self.DeleteMacaroonID = channel.unary_unary( - '/lnrpc.Lightning/DeleteMacaroonID', - request_serializer=rpc__pb2.DeleteMacaroonIDRequest.SerializeToString, - response_deserializer=rpc__pb2.DeleteMacaroonIDResponse.FromString, - ) - self.ListPermissions = channel.unary_unary( - '/lnrpc.Lightning/ListPermissions', - request_serializer=rpc__pb2.ListPermissionsRequest.SerializeToString, - response_deserializer=rpc__pb2.ListPermissionsResponse.FromString, - ) - - -class LightningServicer(object): - """ - Comments in this file will be directly parsed into the API - Documentation as descriptions of the associated method, message, or field. - These descriptions should go right above the definition of the object, and - can be in either block or // comment format. - - An RPC method can be matched to an lncli command by placing a line in the - beginning of the description in exactly the following format: - lncli: `methodname` - - Failure to specify the exact name of the command will cause documentation - generation to fail. - - More information on how exactly the gRPC documentation is generated from - this proto file can be found here: - https://github.com/lightninglabs/lightning-api - - Lightning is the main RPC server of the daemon. - """ - - def WalletBalance(self, request, context): - """lncli: `walletbalance` - WalletBalance returns total unspent outputs(confirmed and unconfirmed), all - confirmed unspent outputs and all unconfirmed unspent outputs under control - of the wallet. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ChannelBalance(self, request, context): - """lncli: `channelbalance` - ChannelBalance returns a report on the total funds across all open channels, - categorized in local/remote, pending local/remote and unsettled local/remote - balances. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetTransactions(self, request, context): - """lncli: `listchaintxns` - GetTransactions returns a list describing all the known transactions - relevant to the wallet. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def EstimateFee(self, request, context): - """lncli: `estimatefee` - EstimateFee asks the chain backend to estimate the fee rate and total fees - for a transaction that pays to multiple specified outputs. - - When using REST, the `AddrToAmount` map type can be set by appending - `&AddrToAmount[
]=` to the URL. Unfortunately this - map type doesn't appear in the REST API documentation because of a bug in - the grpc-gateway library. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def SendCoins(self, request, context): - """lncli: `sendcoins` - SendCoins executes a request to send coins to a particular address. Unlike - SendMany, this RPC call only allows creating a single output at a time. If - neither target_conf, or sat_per_vbyte are set, then the internal wallet will - consult its fee model to determine a fee for the default confirmation - target. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ListUnspent(self, request, context): - """lncli: `listunspent` - Deprecated, use walletrpc.ListUnspent instead. - - ListUnspent returns a list of all utxos spendable by the wallet with a - number of confirmations between the specified minimum and maximum. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def SubscribeTransactions(self, request, context): - """ - SubscribeTransactions creates a uni-directional stream from the server to - the client in which any newly discovered transactions relevant to the - wallet are sent over. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def SendMany(self, request, context): - """lncli: `sendmany` - SendMany handles a request for a transaction that creates multiple specified - outputs in parallel. If neither target_conf, or sat_per_vbyte are set, then - the internal wallet will consult its fee model to determine a fee for the - default confirmation target. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def NewAddress(self, request, context): - """lncli: `newaddress` - NewAddress creates a new address under control of the local wallet. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def SignMessage(self, request, context): - """lncli: `signmessage` - SignMessage signs a message with this node's private key. The returned - signature string is `zbase32` encoded and pubkey recoverable, meaning that - only the message digest and signature are needed for verification. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def VerifyMessage(self, request, context): - """lncli: `verifymessage` - VerifyMessage verifies a signature over a msg. The signature must be - zbase32 encoded and signed by an active node in the resident node's - channel database. In addition to returning the validity of the signature, - VerifyMessage also returns the recovered pubkey from the signature. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ConnectPeer(self, request, context): - """lncli: `connect` - ConnectPeer attempts to establish a connection to a remote peer. This is at - the networking level, and is used for communication between nodes. This is - distinct from establishing a channel with a peer. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def DisconnectPeer(self, request, context): - """lncli: `disconnect` - DisconnectPeer attempts to disconnect one peer from another identified by a - given pubKey. In the case that we currently have a pending or active channel - with the target peer, then this action will be not be allowed. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ListPeers(self, request, context): - """lncli: `listpeers` - ListPeers returns a verbose listing of all currently active peers. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - 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 - it's identity pubkey, alias, the chains it is connected to, and information - concerning the number of open+pending channels. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetRecoveryInfo(self, request, context): - """* lncli: `getrecoveryinfo` - GetRecoveryInfo returns information concerning the recovery mode including - whether it's in a recovery mode, whether the recovery is finished, and the - progress made so far. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def PendingChannels(self, request, context): - """TODO(roasbeef): merge with below with bool? - - lncli: `pendingchannels` - PendingChannels returns a list of all the channels that are currently - considered "pending". A channel is pending if it has finished the funding - workflow and is waiting for confirmations for the funding txn, or is in the - process of closure, either initiated cooperatively or non-cooperatively. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ListChannels(self, request, context): - """lncli: `listchannels` - ListChannels returns a description of all the open channels that this node - is a participant in. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def SubscribeChannelEvents(self, request, context): - """ - SubscribeChannelEvents creates a uni-directional stream from the server to - the client in which any updates relevant to the state of the channels are - sent over. Events include new active channels, inactive channels, and closed - channels. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ClosedChannels(self, request, context): - """lncli: `closedchannels` - ClosedChannels returns a description of all the closed channels that - this node was a participant in. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def OpenChannelSync(self, request, context): - """ - OpenChannelSync is a synchronous version of the OpenChannel RPC call. This - call is meant to be consumed by clients to the REST proxy. As with all - other sync calls, all byte slices are intended to be populated as hex - encoded strings. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def OpenChannel(self, request, context): - """lncli: `openchannel` - OpenChannel attempts to open a singly funded channel specified in the - 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. 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!') - raise NotImplementedError('Method not implemented!') - - def ChannelAcceptor(self, request_iterator, context): - """ - ChannelAcceptor dispatches a bi-directional streaming RPC in which - OpenChannel requests are sent to the client and the client responds with - a boolean that tells LND whether or not to accept the channel. This allows - node operators to specify their own criteria for accepting inbound channels - through a single persistent connection. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def CloseChannel(self, request, context): - """lncli: `closechannel` - CloseChannel attempts to close an active channel identified by its channel - outpoint (ChannelPoint). The actions of this method can additionally be - augmented to attempt a force close after a timeout period in the case of an - inactive peer. If a non-force close (cooperative closure) is requested, - then the user can specify either a target number of blocks until the - closure transaction is confirmed, or a manual fee rate. If neither are - specified, then a default lax, block confirmation target is used. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def AbandonChannel(self, request, context): - """lncli: `abandonchannel` - AbandonChannel removes all channel state from the database except for a - close summary. This method can be used to get rid of permanently unusable - channels due to bugs fixed in newer versions of lnd. This method can also be - used to remove externally funded channels where the funding transaction was - never broadcast. Only available for non-externally funded channels in dev - build. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def SendPayment(self, request_iterator, context): - """lncli: `sendpayment` - Deprecated, use routerrpc.SendPaymentV2. SendPayment dispatches a - bi-directional streaming RPC for sending payments through the Lightning - Network. A single RPC invocation creates a persistent bi-directional - stream allowing clients to rapidly send payments through the Lightning - Network with a single persistent connection. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def SendPaymentSync(self, request, context): - """ - SendPaymentSync is the synchronous non-streaming version of SendPayment. - This RPC is intended to be consumed by clients of the REST proxy. - Additionally, this RPC expects the destination's public key and the payment - hash (if any) to be encoded as hex strings. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def SendToRoute(self, request_iterator, context): - """lncli: `sendtoroute` - Deprecated, use routerrpc.SendToRouteV2. SendToRoute is a bi-directional - streaming RPC for sending payment through the Lightning Network. This - method differs from SendPayment in that it allows users to specify a full - route manually. This can be used for things like rebalancing, and atomic - swaps. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def SendToRouteSync(self, request, context): - """ - SendToRouteSync is a synchronous version of SendToRoute. It Will block - until the payment either fails or succeeds. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def AddInvoice(self, request, context): - """lncli: `addinvoice` - AddInvoice attempts to add a new invoice to the invoice database. Any - duplicated invoices are rejected, therefore all invoices *must* have a - unique payment preimage. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ListInvoices(self, request, context): - """lncli: `listinvoices` - ListInvoices returns a list of all the invoices currently stored within the - database. Any active debug invoices are ignored. It has full support for - paginated responses, allowing users to query for specific invoices through - their add_index. This can be done by using either the first_index_offset or - last_index_offset fields included in the response as the index_offset of the - next request. By default, the first 100 invoices created will be returned. - Backwards pagination is also supported through the Reversed flag. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def LookupInvoice(self, request, context): - """lncli: `lookupinvoice` - LookupInvoice attempts to look up an invoice according to its payment hash. - The passed payment hash *must* be exactly 32 bytes, if not, an error is - returned. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def SubscribeInvoices(self, request, context): - """ - SubscribeInvoices returns a uni-directional stream (server -> client) for - 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 - 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 - of these fields can be set. If no fields are set, then we'll only send out - the latest add/settle events. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def DecodePayReq(self, request, context): - """lncli: `decodepayreq` - DecodePayReq takes an encoded payment request string and attempts to decode - it, returning a full description of the conditions encoded within the - payment request. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ListPayments(self, request, context): - """lncli: `listpayments` - ListPayments returns a list of all outgoing payments. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def DeleteAllPayments(self, request, context): - """ - DeleteAllPayments deletes all outgoing payments from DB. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def DescribeGraph(self, request, context): - """lncli: `describegraph` - 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 - the node directional specific routing policy which includes: the time lock - delta, fee information, etc. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetNodeMetrics(self, request, context): - """lncli: `getnodemetrics` - GetNodeMetrics returns node metrics calculated from the graph. Currently - the only supported metric is betweenness centrality of individual nodes. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetChanInfo(self, request, context): - """lncli: `getchaninfo` - GetChanInfo returns the latest authenticated network announcement for the - given channel identified by its channel ID: an 8-byte integer which - uniquely identifies the location of transaction's funding output within the - blockchain. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetNodeInfo(self, request, context): - """lncli: `getnodeinfo` - GetNodeInfo returns the latest advertised, aggregated, and authenticated - channel information for the specified node identified by its public key. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def QueryRoutes(self, request, context): - """lncli: `queryroutes` - QueryRoutes attempts to query the daemon's Channel Router for a possible - route to a target destination capable of carrying a specific amount of - satoshis. The returned route contains the full details required to craft and - send an HTLC, also including the necessary information that should be - present within the Sphinx packet encapsulated within the HTLC. - - When using REST, the `dest_custom_records` map type can be set by appending - `&dest_custom_records[]=` - to the URL. Unfortunately this map type doesn't appear in the REST API - documentation because of a bug in the grpc-gateway library. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetNetworkInfo(self, request, context): - """lncli: `getnetworkinfo` - GetNetworkInfo returns some basic stats about the known channel graph from - the point of view of the node. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def StopDaemon(self, request, context): - """lncli: `stop` - StopDaemon will send a shutdown request to the interrupt handler, triggering - a graceful shutdown of the daemon. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def SubscribeChannelGraph(self, request, context): - """ - SubscribeChannelGraph launches a streaming RPC that allows the caller to - receive notifications upon any changes to the channel graph topology from - the point of view of the responding node. Events notified include: new - nodes coming online, nodes updating their authenticated attributes, new - channels being advertised, updates in the routing policy for a directional - channel edge, and when channels are closed on-chain. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def DebugLevel(self, request, context): - """lncli: `debuglevel` - DebugLevel allows a caller to programmatically set the logging verbosity of - lnd. The logging can be targeted according to a coarse daemon-wide logging - level, or in a granular fashion to specify the logging for a target - sub-system. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def FeeReport(self, request, context): - """lncli: `feereport` - FeeReport allows the caller to obtain a report detailing the current fee - schedule enforced by the node globally for each channel. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpdateChannelPolicy(self, request, context): - """lncli: `updatechanpolicy` - UpdateChannelPolicy allows the caller to update the fee schedule and - channel policies for all channels globally, or a particular channel. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ForwardingHistory(self, request, context): - """lncli: `fwdinghistory` - ForwardingHistory allows the caller to query the htlcswitch for a record of - all HTLCs forwarded within the target time range, and integer offset - within that time range, for a maximum number of events. If no maximum number - of events is specified, up to 100 events will be returned. If no time-range - is specified, then events will be returned in the order that they occured. - - 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 - 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. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ExportChannelBackup(self, request, context): - """lncli: `exportchanbackup` - ExportChannelBackup attempts to return an encrypted static channel backup - for the target channel identified by it channel point. The backup is - encrypted with a key generated from the aezeed seed of the user. The - returned backup can either be restored using the RestoreChannelBackup - method once lnd is running, or via the InitWallet and UnlockWallet methods - from the WalletUnlocker service. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ExportAllChannelBackups(self, request, context): - """ - ExportAllChannelBackups returns static channel backups for all existing - channels known to lnd. A set of regular singular static channel backups for - each channel are returned. Additionally, a multi-channel backup is returned - as well, which contains a single encrypted blob containing the backups of - each channel. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def VerifyChanBackup(self, request, context): - """ - VerifyChanBackup allows a caller to verify the integrity of a channel backup - snapshot. This method will accept either a packed Single or a packed Multi. - Specifying both will result in an error. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def RestoreChannelBackups(self, request, context): - """lncli: `restorechanbackup` - RestoreChannelBackups accepts a set of singular channel backups, or a - single encrypted multi-chan backup and attempts to recover any funds - remaining within the channel. If we are able to unpack the backup, then the - new channel will be shown under listchannels, as well as pending channels. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def SubscribeChannelBackups(self, request, context): - """ - SubscribeChannelBackups allows a client to sub-subscribe to the most up to - date information concerning the state of all channel backups. Each time a - new channel is added, we return the new set of channels, along with a - multi-chan backup containing the backup info for all channels. Each time a - channel is closed, we send a new update, which contains new new chan back - ups, but the updated set of encrypted multi-chan backups with the closed - channel(s) removed. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def BakeMacaroon(self, request, context): - """lncli: `bakemacaroon` - BakeMacaroon allows the creation of a new macaroon with custom read and - write permissions. No first-party caveats are added since this can be done - offline. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ListMacaroonIDs(self, request, context): - """lncli: `listmacaroonids` - ListMacaroonIDs returns all root key IDs that are in use. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def DeleteMacaroonID(self, request, context): - """lncli: `deletemacaroonid` - DeleteMacaroonID deletes the specified macaroon ID and invalidates all - macaroons derived from that ID. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ListPermissions(self, request, context): - """lncli: `listpermissions` - ListPermissions lists all RPC method URIs and their required macaroon - permissions to access them. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_LightningServicer_to_server(servicer, server): - rpc_method_handlers = { - 'WalletBalance': grpc.unary_unary_rpc_method_handler( - servicer.WalletBalance, - request_deserializer=rpc__pb2.WalletBalanceRequest.FromString, - response_serializer=rpc__pb2.WalletBalanceResponse.SerializeToString, - ), - 'ChannelBalance': grpc.unary_unary_rpc_method_handler( - servicer.ChannelBalance, - request_deserializer=rpc__pb2.ChannelBalanceRequest.FromString, - response_serializer=rpc__pb2.ChannelBalanceResponse.SerializeToString, - ), - 'GetTransactions': grpc.unary_unary_rpc_method_handler( - servicer.GetTransactions, - request_deserializer=rpc__pb2.GetTransactionsRequest.FromString, - response_serializer=rpc__pb2.TransactionDetails.SerializeToString, - ), - 'EstimateFee': grpc.unary_unary_rpc_method_handler( - servicer.EstimateFee, - request_deserializer=rpc__pb2.EstimateFeeRequest.FromString, - response_serializer=rpc__pb2.EstimateFeeResponse.SerializeToString, - ), - 'SendCoins': grpc.unary_unary_rpc_method_handler( - servicer.SendCoins, - request_deserializer=rpc__pb2.SendCoinsRequest.FromString, - response_serializer=rpc__pb2.SendCoinsResponse.SerializeToString, - ), - 'ListUnspent': grpc.unary_unary_rpc_method_handler( - servicer.ListUnspent, - request_deserializer=rpc__pb2.ListUnspentRequest.FromString, - response_serializer=rpc__pb2.ListUnspentResponse.SerializeToString, - ), - 'SubscribeTransactions': grpc.unary_stream_rpc_method_handler( - servicer.SubscribeTransactions, - request_deserializer=rpc__pb2.GetTransactionsRequest.FromString, - response_serializer=rpc__pb2.Transaction.SerializeToString, - ), - 'SendMany': grpc.unary_unary_rpc_method_handler( - servicer.SendMany, - request_deserializer=rpc__pb2.SendManyRequest.FromString, - response_serializer=rpc__pb2.SendManyResponse.SerializeToString, - ), - 'NewAddress': grpc.unary_unary_rpc_method_handler( - servicer.NewAddress, - request_deserializer=rpc__pb2.NewAddressRequest.FromString, - response_serializer=rpc__pb2.NewAddressResponse.SerializeToString, - ), - 'SignMessage': grpc.unary_unary_rpc_method_handler( - servicer.SignMessage, - request_deserializer=rpc__pb2.SignMessageRequest.FromString, - response_serializer=rpc__pb2.SignMessageResponse.SerializeToString, - ), - 'VerifyMessage': grpc.unary_unary_rpc_method_handler( - servicer.VerifyMessage, - request_deserializer=rpc__pb2.VerifyMessageRequest.FromString, - response_serializer=rpc__pb2.VerifyMessageResponse.SerializeToString, - ), - 'ConnectPeer': grpc.unary_unary_rpc_method_handler( - servicer.ConnectPeer, - request_deserializer=rpc__pb2.ConnectPeerRequest.FromString, - response_serializer=rpc__pb2.ConnectPeerResponse.SerializeToString, - ), - 'DisconnectPeer': grpc.unary_unary_rpc_method_handler( - servicer.DisconnectPeer, - request_deserializer=rpc__pb2.DisconnectPeerRequest.FromString, - response_serializer=rpc__pb2.DisconnectPeerResponse.SerializeToString, - ), - 'ListPeers': grpc.unary_unary_rpc_method_handler( - servicer.ListPeers, - 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, - response_serializer=rpc__pb2.GetInfoResponse.SerializeToString, - ), - 'GetRecoveryInfo': grpc.unary_unary_rpc_method_handler( - servicer.GetRecoveryInfo, - request_deserializer=rpc__pb2.GetRecoveryInfoRequest.FromString, - response_serializer=rpc__pb2.GetRecoveryInfoResponse.SerializeToString, - ), - 'PendingChannels': grpc.unary_unary_rpc_method_handler( - servicer.PendingChannels, - request_deserializer=rpc__pb2.PendingChannelsRequest.FromString, - response_serializer=rpc__pb2.PendingChannelsResponse.SerializeToString, - ), - 'ListChannels': grpc.unary_unary_rpc_method_handler( - servicer.ListChannels, - request_deserializer=rpc__pb2.ListChannelsRequest.FromString, - response_serializer=rpc__pb2.ListChannelsResponse.SerializeToString, - ), - 'SubscribeChannelEvents': grpc.unary_stream_rpc_method_handler( - servicer.SubscribeChannelEvents, - request_deserializer=rpc__pb2.ChannelEventSubscription.FromString, - response_serializer=rpc__pb2.ChannelEventUpdate.SerializeToString, - ), - 'ClosedChannels': grpc.unary_unary_rpc_method_handler( - servicer.ClosedChannels, - request_deserializer=rpc__pb2.ClosedChannelsRequest.FromString, - response_serializer=rpc__pb2.ClosedChannelsResponse.SerializeToString, - ), - 'OpenChannelSync': grpc.unary_unary_rpc_method_handler( - servicer.OpenChannelSync, - request_deserializer=rpc__pb2.OpenChannelRequest.FromString, - response_serializer=rpc__pb2.ChannelPoint.SerializeToString, - ), - 'OpenChannel': grpc.unary_stream_rpc_method_handler( - servicer.OpenChannel, - 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, - response_serializer=rpc__pb2.ChannelAcceptRequest.SerializeToString, - ), - 'CloseChannel': grpc.unary_stream_rpc_method_handler( - servicer.CloseChannel, - request_deserializer=rpc__pb2.CloseChannelRequest.FromString, - response_serializer=rpc__pb2.CloseStatusUpdate.SerializeToString, - ), - 'AbandonChannel': grpc.unary_unary_rpc_method_handler( - servicer.AbandonChannel, - request_deserializer=rpc__pb2.AbandonChannelRequest.FromString, - response_serializer=rpc__pb2.AbandonChannelResponse.SerializeToString, - ), - 'SendPayment': grpc.stream_stream_rpc_method_handler( - servicer.SendPayment, - request_deserializer=rpc__pb2.SendRequest.FromString, - response_serializer=rpc__pb2.SendResponse.SerializeToString, - ), - 'SendPaymentSync': grpc.unary_unary_rpc_method_handler( - servicer.SendPaymentSync, - request_deserializer=rpc__pb2.SendRequest.FromString, - response_serializer=rpc__pb2.SendResponse.SerializeToString, - ), - 'SendToRoute': grpc.stream_stream_rpc_method_handler( - servicer.SendToRoute, - request_deserializer=rpc__pb2.SendToRouteRequest.FromString, - response_serializer=rpc__pb2.SendResponse.SerializeToString, - ), - 'SendToRouteSync': grpc.unary_unary_rpc_method_handler( - servicer.SendToRouteSync, - request_deserializer=rpc__pb2.SendToRouteRequest.FromString, - response_serializer=rpc__pb2.SendResponse.SerializeToString, - ), - 'AddInvoice': grpc.unary_unary_rpc_method_handler( - servicer.AddInvoice, - request_deserializer=rpc__pb2.Invoice.FromString, - response_serializer=rpc__pb2.AddInvoiceResponse.SerializeToString, - ), - 'ListInvoices': grpc.unary_unary_rpc_method_handler( - servicer.ListInvoices, - request_deserializer=rpc__pb2.ListInvoiceRequest.FromString, - response_serializer=rpc__pb2.ListInvoiceResponse.SerializeToString, - ), - 'LookupInvoice': grpc.unary_unary_rpc_method_handler( - servicer.LookupInvoice, - request_deserializer=rpc__pb2.PaymentHash.FromString, - response_serializer=rpc__pb2.Invoice.SerializeToString, - ), - 'SubscribeInvoices': grpc.unary_stream_rpc_method_handler( - servicer.SubscribeInvoices, - request_deserializer=rpc__pb2.InvoiceSubscription.FromString, - response_serializer=rpc__pb2.Invoice.SerializeToString, - ), - 'DecodePayReq': grpc.unary_unary_rpc_method_handler( - servicer.DecodePayReq, - request_deserializer=rpc__pb2.PayReqString.FromString, - response_serializer=rpc__pb2.PayReq.SerializeToString, - ), - 'ListPayments': grpc.unary_unary_rpc_method_handler( - servicer.ListPayments, - request_deserializer=rpc__pb2.ListPaymentsRequest.FromString, - response_serializer=rpc__pb2.ListPaymentsResponse.SerializeToString, - ), - 'DeleteAllPayments': grpc.unary_unary_rpc_method_handler( - servicer.DeleteAllPayments, - request_deserializer=rpc__pb2.DeleteAllPaymentsRequest.FromString, - response_serializer=rpc__pb2.DeleteAllPaymentsResponse.SerializeToString, - ), - 'DescribeGraph': grpc.unary_unary_rpc_method_handler( - servicer.DescribeGraph, - request_deserializer=rpc__pb2.ChannelGraphRequest.FromString, - response_serializer=rpc__pb2.ChannelGraph.SerializeToString, - ), - 'GetNodeMetrics': grpc.unary_unary_rpc_method_handler( - servicer.GetNodeMetrics, - request_deserializer=rpc__pb2.NodeMetricsRequest.FromString, - response_serializer=rpc__pb2.NodeMetricsResponse.SerializeToString, - ), - 'GetChanInfo': grpc.unary_unary_rpc_method_handler( - servicer.GetChanInfo, - request_deserializer=rpc__pb2.ChanInfoRequest.FromString, - response_serializer=rpc__pb2.ChannelEdge.SerializeToString, - ), - 'GetNodeInfo': grpc.unary_unary_rpc_method_handler( - servicer.GetNodeInfo, - request_deserializer=rpc__pb2.NodeInfoRequest.FromString, - response_serializer=rpc__pb2.NodeInfo.SerializeToString, - ), - 'QueryRoutes': grpc.unary_unary_rpc_method_handler( - servicer.QueryRoutes, - request_deserializer=rpc__pb2.QueryRoutesRequest.FromString, - response_serializer=rpc__pb2.QueryRoutesResponse.SerializeToString, - ), - 'GetNetworkInfo': grpc.unary_unary_rpc_method_handler( - servicer.GetNetworkInfo, - request_deserializer=rpc__pb2.NetworkInfoRequest.FromString, - response_serializer=rpc__pb2.NetworkInfo.SerializeToString, - ), - 'StopDaemon': grpc.unary_unary_rpc_method_handler( - servicer.StopDaemon, - request_deserializer=rpc__pb2.StopRequest.FromString, - response_serializer=rpc__pb2.StopResponse.SerializeToString, - ), - 'SubscribeChannelGraph': grpc.unary_stream_rpc_method_handler( - servicer.SubscribeChannelGraph, - request_deserializer=rpc__pb2.GraphTopologySubscription.FromString, - response_serializer=rpc__pb2.GraphTopologyUpdate.SerializeToString, - ), - 'DebugLevel': grpc.unary_unary_rpc_method_handler( - servicer.DebugLevel, - request_deserializer=rpc__pb2.DebugLevelRequest.FromString, - response_serializer=rpc__pb2.DebugLevelResponse.SerializeToString, - ), - 'FeeReport': grpc.unary_unary_rpc_method_handler( - servicer.FeeReport, - request_deserializer=rpc__pb2.FeeReportRequest.FromString, - response_serializer=rpc__pb2.FeeReportResponse.SerializeToString, - ), - 'UpdateChannelPolicy': grpc.unary_unary_rpc_method_handler( - servicer.UpdateChannelPolicy, - request_deserializer=rpc__pb2.PolicyUpdateRequest.FromString, - response_serializer=rpc__pb2.PolicyUpdateResponse.SerializeToString, - ), - 'ForwardingHistory': grpc.unary_unary_rpc_method_handler( - servicer.ForwardingHistory, - request_deserializer=rpc__pb2.ForwardingHistoryRequest.FromString, - response_serializer=rpc__pb2.ForwardingHistoryResponse.SerializeToString, - ), - 'ExportChannelBackup': grpc.unary_unary_rpc_method_handler( - servicer.ExportChannelBackup, - request_deserializer=rpc__pb2.ExportChannelBackupRequest.FromString, - response_serializer=rpc__pb2.ChannelBackup.SerializeToString, - ), - 'ExportAllChannelBackups': grpc.unary_unary_rpc_method_handler( - servicer.ExportAllChannelBackups, - request_deserializer=rpc__pb2.ChanBackupExportRequest.FromString, - response_serializer=rpc__pb2.ChanBackupSnapshot.SerializeToString, - ), - 'VerifyChanBackup': grpc.unary_unary_rpc_method_handler( - servicer.VerifyChanBackup, - request_deserializer=rpc__pb2.ChanBackupSnapshot.FromString, - response_serializer=rpc__pb2.VerifyChanBackupResponse.SerializeToString, - ), - 'RestoreChannelBackups': grpc.unary_unary_rpc_method_handler( - servicer.RestoreChannelBackups, - request_deserializer=rpc__pb2.RestoreChanBackupRequest.FromString, - response_serializer=rpc__pb2.RestoreBackupResponse.SerializeToString, - ), - 'SubscribeChannelBackups': grpc.unary_stream_rpc_method_handler( - servicer.SubscribeChannelBackups, - request_deserializer=rpc__pb2.ChannelBackupSubscription.FromString, - response_serializer=rpc__pb2.ChanBackupSnapshot.SerializeToString, - ), - 'BakeMacaroon': grpc.unary_unary_rpc_method_handler( - servicer.BakeMacaroon, - request_deserializer=rpc__pb2.BakeMacaroonRequest.FromString, - response_serializer=rpc__pb2.BakeMacaroonResponse.SerializeToString, - ), - 'ListMacaroonIDs': grpc.unary_unary_rpc_method_handler( - servicer.ListMacaroonIDs, - request_deserializer=rpc__pb2.ListMacaroonIDsRequest.FromString, - response_serializer=rpc__pb2.ListMacaroonIDsResponse.SerializeToString, - ), - 'DeleteMacaroonID': grpc.unary_unary_rpc_method_handler( - servicer.DeleteMacaroonID, - request_deserializer=rpc__pb2.DeleteMacaroonIDRequest.FromString, - response_serializer=rpc__pb2.DeleteMacaroonIDResponse.SerializeToString, - ), - 'ListPermissions': grpc.unary_unary_rpc_method_handler( - servicer.ListPermissions, - request_deserializer=rpc__pb2.ListPermissionsRequest.FromString, - response_serializer=rpc__pb2.ListPermissionsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'lnrpc.Lightning', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) - - - # This class is part of an EXPERIMENTAL API. -class Lightning(object): - """ - Comments in this file will be directly parsed into the API - Documentation as descriptions of the associated method, message, or field. - These descriptions should go right above the definition of the object, and - can be in either block or // comment format. - - An RPC method can be matched to an lncli command by placing a line in the - beginning of the description in exactly the following format: - lncli: `methodname` - - Failure to specify the exact name of the command will cause documentation - generation to fail. - - More information on how exactly the gRPC documentation is generated from - this proto file can be found here: - https://github.com/lightninglabs/lightning-api - - Lightning is the main RPC server of the daemon. - """ - - @staticmethod - def WalletBalance(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/WalletBalance', - rpc__pb2.WalletBalanceRequest.SerializeToString, - rpc__pb2.WalletBalanceResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def ChannelBalance(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/ChannelBalance', - rpc__pb2.ChannelBalanceRequest.SerializeToString, - rpc__pb2.ChannelBalanceResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetTransactions(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/GetTransactions', - rpc__pb2.GetTransactionsRequest.SerializeToString, - rpc__pb2.TransactionDetails.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def EstimateFee(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/EstimateFee', - rpc__pb2.EstimateFeeRequest.SerializeToString, - rpc__pb2.EstimateFeeResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def SendCoins(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/SendCoins', - rpc__pb2.SendCoinsRequest.SerializeToString, - rpc__pb2.SendCoinsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def ListUnspent(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/ListUnspent', - rpc__pb2.ListUnspentRequest.SerializeToString, - rpc__pb2.ListUnspentResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def SubscribeTransactions(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_stream(request, target, '/lnrpc.Lightning/SubscribeTransactions', - rpc__pb2.GetTransactionsRequest.SerializeToString, - rpc__pb2.Transaction.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def SendMany(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/SendMany', - rpc__pb2.SendManyRequest.SerializeToString, - rpc__pb2.SendManyResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def NewAddress(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/NewAddress', - rpc__pb2.NewAddressRequest.SerializeToString, - rpc__pb2.NewAddressResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def SignMessage(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/SignMessage', - rpc__pb2.SignMessageRequest.SerializeToString, - rpc__pb2.SignMessageResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def VerifyMessage(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/VerifyMessage', - rpc__pb2.VerifyMessageRequest.SerializeToString, - rpc__pb2.VerifyMessageResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def ConnectPeer(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/ConnectPeer', - rpc__pb2.ConnectPeerRequest.SerializeToString, - rpc__pb2.ConnectPeerResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def DisconnectPeer(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/DisconnectPeer', - rpc__pb2.DisconnectPeerRequest.SerializeToString, - rpc__pb2.DisconnectPeerResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def ListPeers(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/ListPeers', - rpc__pb2.ListPeersRequest.SerializeToString, - rpc__pb2.ListPeersResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def SubscribePeerEvents(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_stream(request, target, '/lnrpc.Lightning/SubscribePeerEvents', - rpc__pb2.PeerEventSubscription.SerializeToString, - rpc__pb2.PeerEvent.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetInfo(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/GetInfo', - rpc__pb2.GetInfoRequest.SerializeToString, - rpc__pb2.GetInfoResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetRecoveryInfo(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/GetRecoveryInfo', - rpc__pb2.GetRecoveryInfoRequest.SerializeToString, - rpc__pb2.GetRecoveryInfoResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def PendingChannels(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/PendingChannels', - rpc__pb2.PendingChannelsRequest.SerializeToString, - rpc__pb2.PendingChannelsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def ListChannels(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/ListChannels', - rpc__pb2.ListChannelsRequest.SerializeToString, - rpc__pb2.ListChannelsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def SubscribeChannelEvents(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_stream(request, target, '/lnrpc.Lightning/SubscribeChannelEvents', - rpc__pb2.ChannelEventSubscription.SerializeToString, - rpc__pb2.ChannelEventUpdate.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def ClosedChannels(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/ClosedChannels', - rpc__pb2.ClosedChannelsRequest.SerializeToString, - rpc__pb2.ClosedChannelsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def OpenChannelSync(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/OpenChannelSync', - rpc__pb2.OpenChannelRequest.SerializeToString, - rpc__pb2.ChannelPoint.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def OpenChannel(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_stream(request, target, '/lnrpc.Lightning/OpenChannel', - rpc__pb2.OpenChannelRequest.SerializeToString, - rpc__pb2.OpenStatusUpdate.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def FundingStateStep(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/FundingStateStep', - rpc__pb2.FundingTransitionMsg.SerializeToString, - rpc__pb2.FundingStateStepResp.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def ChannelAcceptor(request_iterator, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.stream_stream(request_iterator, target, '/lnrpc.Lightning/ChannelAcceptor', - rpc__pb2.ChannelAcceptResponse.SerializeToString, - rpc__pb2.ChannelAcceptRequest.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def CloseChannel(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_stream(request, target, '/lnrpc.Lightning/CloseChannel', - rpc__pb2.CloseChannelRequest.SerializeToString, - rpc__pb2.CloseStatusUpdate.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def AbandonChannel(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/AbandonChannel', - rpc__pb2.AbandonChannelRequest.SerializeToString, - rpc__pb2.AbandonChannelResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def SendPayment(request_iterator, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.stream_stream(request_iterator, target, '/lnrpc.Lightning/SendPayment', - rpc__pb2.SendRequest.SerializeToString, - rpc__pb2.SendResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def SendPaymentSync(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/SendPaymentSync', - rpc__pb2.SendRequest.SerializeToString, - rpc__pb2.SendResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def SendToRoute(request_iterator, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.stream_stream(request_iterator, target, '/lnrpc.Lightning/SendToRoute', - rpc__pb2.SendToRouteRequest.SerializeToString, - rpc__pb2.SendResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def SendToRouteSync(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/SendToRouteSync', - rpc__pb2.SendToRouteRequest.SerializeToString, - rpc__pb2.SendResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def AddInvoice(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/AddInvoice', - rpc__pb2.Invoice.SerializeToString, - rpc__pb2.AddInvoiceResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def ListInvoices(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/ListInvoices', - rpc__pb2.ListInvoiceRequest.SerializeToString, - rpc__pb2.ListInvoiceResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def LookupInvoice(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/LookupInvoice', - rpc__pb2.PaymentHash.SerializeToString, - rpc__pb2.Invoice.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def SubscribeInvoices(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_stream(request, target, '/lnrpc.Lightning/SubscribeInvoices', - rpc__pb2.InvoiceSubscription.SerializeToString, - rpc__pb2.Invoice.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def DecodePayReq(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/DecodePayReq', - rpc__pb2.PayReqString.SerializeToString, - rpc__pb2.PayReq.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def ListPayments(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/ListPayments', - rpc__pb2.ListPaymentsRequest.SerializeToString, - rpc__pb2.ListPaymentsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def DeleteAllPayments(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/DeleteAllPayments', - rpc__pb2.DeleteAllPaymentsRequest.SerializeToString, - rpc__pb2.DeleteAllPaymentsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def DescribeGraph(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/DescribeGraph', - rpc__pb2.ChannelGraphRequest.SerializeToString, - rpc__pb2.ChannelGraph.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetNodeMetrics(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/GetNodeMetrics', - rpc__pb2.NodeMetricsRequest.SerializeToString, - rpc__pb2.NodeMetricsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetChanInfo(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/GetChanInfo', - rpc__pb2.ChanInfoRequest.SerializeToString, - rpc__pb2.ChannelEdge.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetNodeInfo(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/GetNodeInfo', - rpc__pb2.NodeInfoRequest.SerializeToString, - rpc__pb2.NodeInfo.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def QueryRoutes(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/QueryRoutes', - rpc__pb2.QueryRoutesRequest.SerializeToString, - rpc__pb2.QueryRoutesResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def GetNetworkInfo(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/GetNetworkInfo', - rpc__pb2.NetworkInfoRequest.SerializeToString, - rpc__pb2.NetworkInfo.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def StopDaemon(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/StopDaemon', - rpc__pb2.StopRequest.SerializeToString, - rpc__pb2.StopResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def SubscribeChannelGraph(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_stream(request, target, '/lnrpc.Lightning/SubscribeChannelGraph', - rpc__pb2.GraphTopologySubscription.SerializeToString, - rpc__pb2.GraphTopologyUpdate.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def DebugLevel(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/DebugLevel', - rpc__pb2.DebugLevelRequest.SerializeToString, - rpc__pb2.DebugLevelResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def FeeReport(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/FeeReport', - rpc__pb2.FeeReportRequest.SerializeToString, - rpc__pb2.FeeReportResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def UpdateChannelPolicy(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/UpdateChannelPolicy', - rpc__pb2.PolicyUpdateRequest.SerializeToString, - rpc__pb2.PolicyUpdateResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def ForwardingHistory(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/ForwardingHistory', - rpc__pb2.ForwardingHistoryRequest.SerializeToString, - rpc__pb2.ForwardingHistoryResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def ExportChannelBackup(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/ExportChannelBackup', - rpc__pb2.ExportChannelBackupRequest.SerializeToString, - rpc__pb2.ChannelBackup.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def ExportAllChannelBackups(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/ExportAllChannelBackups', - rpc__pb2.ChanBackupExportRequest.SerializeToString, - rpc__pb2.ChanBackupSnapshot.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def VerifyChanBackup(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/VerifyChanBackup', - rpc__pb2.ChanBackupSnapshot.SerializeToString, - rpc__pb2.VerifyChanBackupResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def RestoreChannelBackups(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/RestoreChannelBackups', - rpc__pb2.RestoreChanBackupRequest.SerializeToString, - rpc__pb2.RestoreBackupResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def SubscribeChannelBackups(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_stream(request, target, '/lnrpc.Lightning/SubscribeChannelBackups', - rpc__pb2.ChannelBackupSubscription.SerializeToString, - rpc__pb2.ChanBackupSnapshot.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def BakeMacaroon(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/BakeMacaroon', - rpc__pb2.BakeMacaroonRequest.SerializeToString, - rpc__pb2.BakeMacaroonResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def ListMacaroonIDs(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/ListMacaroonIDs', - rpc__pb2.ListMacaroonIDsRequest.SerializeToString, - rpc__pb2.ListMacaroonIDsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def DeleteMacaroonID(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/DeleteMacaroonID', - rpc__pb2.DeleteMacaroonIDRequest.SerializeToString, - rpc__pb2.DeleteMacaroonIDResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) - - @staticmethod - def ListPermissions(request, - target, - options=(), - channel_credentials=None, - call_credentials=None, - insecure=False, - compression=None, - wait_for_ready=None, - timeout=None, - metadata=None): - return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/ListPermissions', - rpc__pb2.ListPermissionsRequest.SerializeToString, - rpc__pb2.ListPermissionsResponse.FromString, - options, channel_credentials, - insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/charge_lnd/lnd.py b/charge_lnd/lnd.py index 6994a5f..dc17eb1 100644 --- a/charge_lnd/lnd.py +++ b/charge_lnd/lnd.py @@ -7,7 +7,7 @@ import re import time -from .grpc_generated import rpc_pb2_grpc as lnrpc, rpc_pb2 as ln +from .grpc_generated import lightning_pb2_grpc as lnrpc, lightning_pb2 as ln from .grpc_generated import router_pb2_grpc as routerrpc, router_pb2 as router MESSAGE_SIZE_MB = 50 * 1024 * 1024 @@ -156,7 +156,9 @@ def update_chan_policy(self, chanid, base_fee_msat, fee_ppm, min_htlc_msat, max_ min_htlc_msat=(min_htlc_msat if min_htlc_msat is not None else my_policy.min_htlc), min_htlc_msat_specified=min_htlc_msat is not None, max_htlc_msat=(max_htlc_msat if max_htlc_msat is not None else my_policy.max_htlc_msat), - time_lock_delta=(time_lock_delta if time_lock_delta is not None else my_policy.time_lock_delta) + time_lock_delta=(time_lock_delta if time_lock_delta is not None else my_policy.time_lock_delta), + inbound_base_fee_msat=my_policy.inbound_fee_base_msat, + inbound_fee_rate_ppm=my_policy.inbound_fee_rate_milli_msat )) def get_txns(self, start_height = None, end_height = None): diff --git a/requirements.txt b/requirements.txt index afb7b38..fdc40df 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ setuptools -googleapis-common-protos==1.56.0 -grpcio==1.53.2 -protobuf==3.20.2 +googleapis-common-protos==1.56.1 +grpcio==1.63.0 +protobuf==5.26.1 six==1.16.0 termcolor==1.1.0 colorama==0.4.4