diff --git a/.gitignore b/.gitignore index 79eba30..82b43cc 100644 --- a/.gitignore +++ b/.gitignore @@ -2,7 +2,7 @@ .idea/* .vscode/* venv/* -lndmanage/grpc_compiled/googleapis/* +lndmanage/grpc_compiled/googleapis lndmanage/grpc_compiled/*.proto # runtime data diff --git a/lndmanage/grpc_compiled/build_grpc.sh b/lndmanage/grpc_compiled/build_grpc.sh index c8f8af7..5d05484 100755 --- a/lndmanage/grpc_compiled/build_grpc.sh +++ b/lndmanage/grpc_compiled/build_grpc.sh @@ -1,31 +1,31 @@ #!/bin/bash # git clone https://github.com/googleapis/googleapis.git # pip install grpcio grpcio-tools googleapis-common-protos -tag="v0.13.1-beta" -wget "https://github.com/lightningnetwork/lnd/raw/${tag}/lnrpc/rpc.proto" -O rpc.proto -wget "https://github.com/lightningnetwork/lnd/raw/${tag}/lnrpc/routerrpc/router.proto" -O router.proto -wget "https://github.com/lightningnetwork/lnd/raw/${tag}/lnrpc/walletrpc/walletkit.proto" -O walletkit.proto -wget "https://github.com/lightningnetwork/lnd/raw/${tag}/lnrpc/signrpc/signer.proto" -O signer.proto +tag="v0.14.0-beta.rc3" +wget "https://raw.githubusercontent.com/lightningnetwork/lnd/${tag}/lnrpc/lightning.proto" -O lightning.proto +wget "https://raw.githubusercontent.com/lightningnetwork/lnd/${tag}/lnrpc/routerrpc/router.proto" -O router.proto +wget "https://raw.githubusercontent.com/lightningnetwork/lnd/${tag}/lnrpc/walletrpc/walletkit.proto" -O walletkit.proto +wget "https://raw.githubusercontent.com/lightningnetwork/lnd/${tag}/lnrpc/signrpc/signer.proto" -O signer.proto # change signerrpc dependency to match flat file structure sed -i -- 's@signrpc/@@g' walletkit.proto # build rpc -python -m grpc_tools.protoc --proto_path=googleapis:. --python_out=. --grpc_python_out=. rpc.proto +python -m grpc_tools.protoc --proto_path=googleapis:. --python_out=. --grpc_python_out=. lightning.proto python -m grpc_tools.protoc --proto_path=googleapis:. --python_out=. --grpc_python_out=. router.proto python -m grpc_tools.protoc --proto_path=googleapis:. --python_out=. --grpc_python_out=. walletkit.proto python -m grpc_tools.protoc --proto_path=googleapis:. --python_out=. --grpc_python_out=. signer.proto # fix import paths -sed -i -- 's@import rpc_pb2 as rpc__pb2@from lndmanage.grpc_compiled import rpc_pb2 as rpc__pb2@' rpc_pb2_grpc.py +sed -i -- 's@import lightning_pb2 as lightning__pb2@from lndmanage.grpc_compiled import lightning_pb2 as lightning__pb2@' lightning_pb2_grpc.py sed -i -- 's@import signer_pb2 as signer__pb2@from lndmanage.grpc_compiled import signer_pb2 as signer__pb2@' signer_pb2_grpc.py sed -i -- 's@import router_pb2 as router__pb2@from lndmanage.grpc_compiled import router_pb2 as router__pb2@' router_pb2_grpc.py -sed -i -- 's@import rpc_pb2 as rpc__pb2@from lndmanage.grpc_compiled import rpc_pb2 as rpc__pb2@' router_pb2_grpc.py -sed -i -- 's@import rpc_pb2 as rpc__pb2@from lndmanage.grpc_compiled import rpc_pb2 as rpc__pb2@' router_pb2.py +sed -i -- 's@import lightning_pb2 as lightning__pb2@from lndmanage.grpc_compiled import lightning_pb2 as lightning__pb2@' router_pb2_grpc.py +sed -i -- 's@import lightning_pb2 as lightning__pb2@from lndmanage.grpc_compiled import lightning_pb2 as lightning__pb2@' router_pb2.py -sed -i -- 's@import rpc_pb2 as rpc__pb2@from lndmanage.grpc_compiled import rpc_pb2 as rpc__pb2@' walletkit_pb2.py +sed -i -- 's@import lightning_pb2 as lightning__pb2@from lndmanage.grpc_compiled import lightning_pb2 as lightning__pb2@' walletkit_pb2.py sed -i -- 's@import signer_pb2 as signer__pb2@from lndmanage.grpc_compiled import signer_pb2 as signer__pb2@' walletkit_pb2.py sed -i -- 's@import signer_pb2 as signer__pb2@from lndmanage.grpc_compiled import signer_pb2 as signer__pb2@' walletkit_pb2_grpc.py diff --git a/lndmanage/grpc_compiled/rpc_pb2.py b/lndmanage/grpc_compiled/lightning_pb2.py similarity index 79% rename from lndmanage/grpc_compiled/rpc_pb2.py rename to lndmanage/grpc_compiled/lightning_pb2.py index 3196aeb..d698ff2 100644 --- a/lndmanage/grpc_compiled/rpc_pb2.py +++ b/lndmanage/grpc_compiled/lightning_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: rpc.proto +# source: lightning.proto from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor @@ -15,12 +15,12 @@ _sym_db = _symbol_database.Default() DESCRIPTOR = _descriptor.FileDescriptor( - name='rpc.proto', + name='lightning.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' + serialized_pb=b'\n\x0flightning.proto\x12\x05lnrpc\" \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\"\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\"\xe5\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\x12.\n\x0f\x63ommitment_type\x18\x0e \x01(\x0e\x32\x15.lnrpc.CommitmentType\"\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\"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\"\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\"\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\"\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\"\xad\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\"\xf9\x01\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\"J\n\x18\x42\x61tchOpenChannelResponse\x12.\n\x10pending_channels\x18\x01 \x03(\x0b\x32\x14.lnrpc.PendingUpdate\"\xfa\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\x12.\n\x0f\x63ommitment_type\x18\x12 \x01(\x0e\x32\x15.lnrpc.CommitmentType\"\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\"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\"\x18\n\x16PendingChannelsRequest\"\xcc\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\xb8\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\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\"\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\"\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\"\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\"{\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\"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\"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\"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\"\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\"|\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\"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\"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\"~\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\"\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\"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\"\xfa\x01\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\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\"`\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\"\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*}\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*x\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*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*\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\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\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\x42\'Z%github.com/lightningnetwork/lnd/lnrpcb\x06proto3' ) _ADDRESSTYPE = _descriptor.EnumDescriptor( @@ -53,8 +53,8 @@ _ADDRESSTYPE = _descriptor.EnumDescriptor( ], containing_type=None, serialized_options=None, - serialized_start=24176, - serialized_end=24301, + serialized_start=26655, + serialized_end=26780, ) _sym_db.RegisterEnumDescriptor(_ADDRESSTYPE) @@ -67,30 +67,35 @@ _COMMITMENTTYPE = _descriptor.EnumDescriptor( create_key=_descriptor._internal_create_key, values=[ _descriptor.EnumValueDescriptor( - name='LEGACY', index=0, number=0, + name='UNKNOWN_COMMITMENT_TYPE', 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, + name='LEGACY', index=1, number=1, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( - name='ANCHORS', index=2, number=2, + name='STATIC_REMOTE_KEY', 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, + name='ANCHORS', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='SCRIPT_ENFORCED_LEASE', index=4, number=4, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), ], containing_type=None, serialized_options=None, - serialized_start=24303, - serialized_end=24397, + serialized_start=26782, + serialized_end=26902, ) _sym_db.RegisterEnumDescriptor(_COMMITMENTTYPE) @@ -125,8 +130,8 @@ _INITIATOR = _descriptor.EnumDescriptor( ], containing_type=None, serialized_options=None, - serialized_start=24399, - serialized_end=24496, + serialized_start=26904, + serialized_end=27001, ) _sym_db.RegisterEnumDescriptor(_INITIATOR) @@ -166,8 +171,8 @@ _RESOLUTIONTYPE = _descriptor.EnumDescriptor( ], containing_type=None, serialized_options=None, - serialized_start=24498, - serialized_end=24594, + serialized_start=27003, + serialized_end=27099, ) _sym_db.RegisterEnumDescriptor(_RESOLUTIONTYPE) @@ -212,8 +217,8 @@ _RESOLUTIONOUTCOME = _descriptor.EnumDescriptor( ], containing_type=None, serialized_options=None, - serialized_start=24596, - serialized_end=24709, + serialized_start=27101, + serialized_end=27214, ) _sym_db.RegisterEnumDescriptor(_RESOLUTIONOUTCOME) @@ -238,8 +243,8 @@ _NODEMETRICTYPE = _descriptor.EnumDescriptor( ], containing_type=None, serialized_options=None, - serialized_start=24711, - serialized_end=24768, + serialized_start=27216, + serialized_end=27273, ) _sym_db.RegisterEnumDescriptor(_NODEMETRICTYPE) @@ -269,8 +274,8 @@ _INVOICEHTLCSTATE = _descriptor.EnumDescriptor( ], containing_type=None, serialized_options=None, - serialized_start=24770, - serialized_end=24829, + serialized_start=27275, + serialized_end=27334, ) _sym_db.RegisterEnumDescriptor(_INVOICEHTLCSTATE) @@ -315,8 +320,8 @@ _PAYMENTFAILUREREASON = _descriptor.EnumDescriptor( ], containing_type=None, serialized_options=None, - serialized_start=24832, - serialized_end=25049, + serialized_start=27337, + serialized_end=27554, ) _sym_db.RegisterEnumDescriptor(_PAYMENTFAILUREREASON) @@ -456,20 +461,62 @@ _FEATUREBIT = _descriptor.EnumDescriptor( ], containing_type=None, serialized_options=None, - serialized_start=25052, - serialized_end=25643, + serialized_start=27557, + serialized_end=28148, ) _sym_db.RegisterEnumDescriptor(_FEATUREBIT) FeatureBit = enum_type_wrapper.EnumTypeWrapper(_FEATUREBIT) +_UPDATEFAILURE = _descriptor.EnumDescriptor( + name='UpdateFailure', + full_name='lnrpc.UpdateFailure', + filename=None, + file=DESCRIPTOR, + create_key=_descriptor._internal_create_key, + values=[ + _descriptor.EnumValueDescriptor( + name='UPDATE_FAILURE_UNKNOWN', index=0, number=0, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UPDATE_FAILURE_PENDING', index=1, number=1, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UPDATE_FAILURE_NOT_FOUND', index=2, number=2, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UPDATE_FAILURE_INTERNAL_ERR', index=3, number=3, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='UPDATE_FAILURE_INVALID_PARAMETER', index=4, number=4, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), + ], + containing_type=None, + serialized_options=None, + serialized_start=28151, + serialized_end=28323, +) +_sym_db.RegisterEnumDescriptor(_UPDATEFAILURE) + +UpdateFailure = enum_type_wrapper.EnumTypeWrapper(_UPDATEFAILURE) 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 +UNKNOWN_COMMITMENT_TYPE = 0 +LEGACY = 1 +STATIC_REMOTE_KEY = 2 +ANCHORS = 3 +SCRIPT_ENFORCED_LEASE = 4 INITIATOR_UNKNOWN = 0 INITIATOR_LOCAL = 1 INITIATOR_REMOTE = 2 @@ -521,6 +568,11 @@ ANCHORS_ZERO_FEE_HTLC_REQ = 22 ANCHORS_ZERO_FEE_HTLC_OPT = 23 AMP_REQ = 30 AMP_OPT = 31 +UPDATE_FAILURE_UNKNOWN = 0 +UPDATE_FAILURE_PENDING = 1 +UPDATE_FAILURE_NOT_FOUND = 2 +UPDATE_FAILURE_INTERNAL_ERR = 3 +UPDATE_FAILURE_INVALID_PARAMETER = 4 _CHANNELCLOSESUMMARY_CLOSURETYPE = _descriptor.EnumDescriptor( @@ -563,8 +615,8 @@ _CHANNELCLOSESUMMARY_CLOSURETYPE = _descriptor.EnumDescriptor( ], containing_type=None, serialized_options=None, - serialized_start=5397, - serialized_end=5535, + serialized_start=5664, + serialized_end=5802, ) _sym_db.RegisterEnumDescriptor(_CHANNELCLOSESUMMARY_CLOSURETYPE) @@ -598,8 +650,8 @@ _PEER_SYNCTYPE = _descriptor.EnumDescriptor( ], containing_type=None, serialized_options=None, - serialized_start=6330, - serialized_end=6410, + serialized_start=6624, + serialized_end=6704, ) _sym_db.RegisterEnumDescriptor(_PEER_SYNCTYPE) @@ -623,8 +675,8 @@ _PEEREVENT_EVENTTYPE = _descriptor.EnumDescriptor( ], containing_type=None, serialized_options=None, - serialized_start=6654, - serialized_end=6700, + serialized_start=6948, + serialized_end=6994, ) _sym_db.RegisterEnumDescriptor(_PEEREVENT_EVENTTYPE) @@ -653,8 +705,8 @@ _PENDINGCHANNELSRESPONSE_FORCECLOSEDCHANNEL_ANCHORSTATE = _descriptor.EnumDescri ], containing_type=None, serialized_options=None, - serialized_start=11512, - serialized_end=11561, + serialized_start=12414, + serialized_end=12463, ) _sym_db.RegisterEnumDescriptor(_PENDINGCHANNELSRESPONSE_FORCECLOSEDCHANNEL_ANCHORSTATE) @@ -690,11 +742,16 @@ _CHANNELEVENTUPDATE_UPDATETYPE = _descriptor.EnumDescriptor( serialized_options=None, type=None, create_key=_descriptor._internal_create_key), + _descriptor.EnumValueDescriptor( + name='FULLY_RESOLVED_CHANNEL', index=5, number=5, + serialized_options=None, + type=None, + create_key=_descriptor._internal_create_key), ], containing_type=None, serialized_options=None, - serialized_start=11910, - serialized_end=12028, + serialized_start=12868, + serialized_end=13014, ) _sym_db.RegisterEnumDescriptor(_CHANNELEVENTUPDATE_UPDATETYPE) @@ -728,8 +785,8 @@ _INVOICE_INVOICESTATE = _descriptor.EnumDescriptor( ], containing_type=None, serialized_options=None, - serialized_start=17677, - serialized_end=17742, + serialized_start=18957, + serialized_end=19022, ) _sym_db.RegisterEnumDescriptor(_INVOICE_INVOICESTATE) @@ -763,8 +820,8 @@ _PAYMENT_PAYMENTSTATUS = _descriptor.EnumDescriptor( ], containing_type=None, serialized_options=None, - serialized_start=19070, - serialized_end=19140, + serialized_start=20350, + serialized_end=20420, ) _sym_db.RegisterEnumDescriptor(_PAYMENT_PAYMENTSTATUS) @@ -793,8 +850,8 @@ _HTLCATTEMPT_HTLCSTATUS = _descriptor.EnumDescriptor( ], containing_type=None, serialized_options=None, - serialized_start=19361, - serialized_end=19415, + serialized_start=20641, + serialized_end=20695, ) _sym_db.RegisterEnumDescriptor(_HTLCATTEMPT_HTLCSTATUS) @@ -948,12 +1005,154 @@ _FAILURE_FAILURECODE = _descriptor.EnumDescriptor( ], containing_type=None, serialized_options=None, - serialized_start=23021, - serialized_end=23772, + serialized_start=24591, + serialized_end=25342, ) _sym_db.RegisterEnumDescriptor(_FAILURE_FAILURECODE) +_SUBSCRIBECUSTOMMESSAGESREQUEST = _descriptor.Descriptor( + name='SubscribeCustomMessagesRequest', + full_name='lnrpc.SubscribeCustomMessagesRequest', + 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=26, + serialized_end=58, +) + + +_CUSTOMMESSAGE = _descriptor.Descriptor( + name='CustomMessage', + full_name='lnrpc.CustomMessage', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='peer', full_name='lnrpc.CustomMessage.peer', 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='type', full_name='lnrpc.CustomMessage.type', 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='data', full_name='lnrpc.CustomMessage.data', 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=60, + serialized_end=117, +) + + +_SENDCUSTOMMESSAGEREQUEST = _descriptor.Descriptor( + name='SendCustomMessageRequest', + full_name='lnrpc.SendCustomMessageRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='peer', full_name='lnrpc.SendCustomMessageRequest.peer', 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='type', full_name='lnrpc.SendCustomMessageRequest.type', 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='data', full_name='lnrpc.SendCustomMessageRequest.data', 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=119, + serialized_end=187, +) + + +_SENDCUSTOMMESSAGERESPONSE = _descriptor.Descriptor( + name='SendCustomMessageResponse', + full_name='lnrpc.SendCustomMessageResponse', + 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=189, + serialized_end=216, +) + + _UTXO = _descriptor.Descriptor( name='Utxo', full_name='lnrpc.Utxo', @@ -1016,8 +1215,8 @@ _UTXO = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=21, - serialized_end=183, + serialized_start=219, + serialized_end=381, ) @@ -1111,8 +1310,8 @@ _TRANSACTION = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=186, - serialized_end=400, + serialized_start=384, + serialized_end=598, ) @@ -1157,8 +1356,8 @@ _GETTRANSACTIONSREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=402, - serialized_end=485, + serialized_start=600, + serialized_end=683, ) @@ -1189,8 +1388,8 @@ _TRANSACTIONDETAILS = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=487, - serialized_end=549, + serialized_start=685, + serialized_end=747, ) @@ -1240,8 +1439,8 @@ _FEELIMIT = _descriptor.Descriptor( create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=551, - serialized_end=628, + serialized_start=749, + serialized_end=826, ) @@ -1279,8 +1478,8 @@ _SENDREQUEST_DESTCUSTOMRECORDSENTRY = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=1097, - serialized_end=1153, + serialized_start=1295, + serialized_end=1351, ) _SENDREQUEST = _descriptor.Descriptor( @@ -1415,8 +1614,8 @@ _SENDREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=631, - serialized_end=1153, + serialized_start=829, + serialized_end=1351, ) @@ -1468,8 +1667,8 @@ _SENDRESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=1155, - serialized_end=1277, + serialized_start=1353, + serialized_end=1475, ) @@ -1514,8 +1713,8 @@ _SENDTOROUTEREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=1279, - serialized_end=1389, + serialized_start=1477, + serialized_end=1587, ) @@ -1618,6 +1817,13 @@ _CHANNELACCEPTREQUEST = _descriptor.Descriptor( message_type=None, enum_type=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.ChannelAcceptRequest.commitment_type', index=13, + number=14, 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=[ ], @@ -1630,8 +1836,8 @@ _CHANNELACCEPTREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=1392, - serialized_end=1701, + serialized_start=1590, + serialized_end=1947, ) @@ -1725,8 +1931,8 @@ _CHANNELACCEPTRESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=1704, - serialized_end=1948, + serialized_start=1950, + serialized_end=2194, ) @@ -1776,8 +1982,8 @@ _CHANNELPOINT = _descriptor.Descriptor( create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=1950, - serialized_end=2060, + serialized_start=2196, + serialized_end=2306, ) @@ -1822,8 +2028,8 @@ _OUTPOINT = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=2062, - serialized_end=2132, + serialized_start=2308, + serialized_end=2378, ) @@ -1861,8 +2067,8 @@ _LIGHTNINGADDRESS = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=2134, - serialized_end=2182, + serialized_start=2380, + serialized_end=2428, ) @@ -1900,8 +2106,8 @@ _ESTIMATEFEEREQUEST_ADDRTOAMOUNTENTRY = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=2341, - serialized_end=2392, + serialized_start=2587, + serialized_end=2638, ) _ESTIMATEFEEREQUEST = _descriptor.Descriptor( @@ -1952,8 +2158,8 @@ _ESTIMATEFEEREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=2185, - serialized_end=2392, + serialized_start=2431, + serialized_end=2638, ) @@ -1998,8 +2204,8 @@ _ESTIMATEFEERESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=2394, - serialized_end=2489, + serialized_start=2640, + serialized_end=2735, ) @@ -2037,8 +2243,8 @@ _SENDMANYREQUEST_ADDRTOAMOUNTENTRY = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=2341, - serialized_end=2392, + serialized_start=2587, + serialized_end=2638, ) _SENDMANYREQUEST = _descriptor.Descriptor( @@ -2110,8 +2316,8 @@ _SENDMANYREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=2492, - serialized_end=2757, + serialized_start=2738, + serialized_end=3003, ) @@ -2142,8 +2348,8 @@ _SENDMANYRESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=2759, - serialized_end=2791, + serialized_start=3005, + serialized_end=3037, ) @@ -2230,8 +2436,8 @@ _SENDCOINSREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=2794, - serialized_end=2991, + serialized_start=3040, + serialized_end=3237, ) @@ -2262,8 +2468,8 @@ _SENDCOINSRESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=2993, - serialized_end=3026, + serialized_start=3239, + serialized_end=3272, ) @@ -2308,8 +2514,8 @@ _LISTUNSPENTREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=3028, - serialized_end=3103, + serialized_start=3274, + serialized_end=3349, ) @@ -2340,8 +2546,8 @@ _LISTUNSPENTRESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=3105, - serialized_end=3154, + serialized_start=3351, + serialized_end=3400, ) @@ -2379,8 +2585,8 @@ _NEWADDRESSREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=3156, - serialized_end=3226, + serialized_start=3402, + serialized_end=3472, ) @@ -2411,8 +2617,8 @@ _NEWADDRESSRESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=3228, - serialized_end=3265, + serialized_start=3474, + serialized_end=3511, ) @@ -2431,6 +2637,13 @@ _SIGNMESSAGEREQUEST = _descriptor.Descriptor( message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='single_hash', full_name='lnrpc.SignMessageRequest.single_hash', 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=[ ], @@ -2443,8 +2656,8 @@ _SIGNMESSAGEREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=3267, - serialized_end=3300, + serialized_start=3513, + serialized_end=3567, ) @@ -2475,8 +2688,8 @@ _SIGNMESSAGERESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=3302, - serialized_end=3342, + serialized_start=3569, + serialized_end=3609, ) @@ -2514,8 +2727,8 @@ _VERIFYMESSAGEREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=3344, - serialized_end=3398, + serialized_start=3611, + serialized_end=3665, ) @@ -2553,8 +2766,8 @@ _VERIFYMESSAGERESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=3400, - serialized_end=3454, + serialized_start=3667, + serialized_end=3721, ) @@ -2599,8 +2812,8 @@ _CONNECTPEERREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=3456, - serialized_end=3546, + serialized_start=3723, + serialized_end=3813, ) @@ -2624,8 +2837,8 @@ _CONNECTPEERRESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=3548, - serialized_end=3569, + serialized_start=3815, + serialized_end=3836, ) @@ -2656,8 +2869,8 @@ _DISCONNECTPEERREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=3571, - serialized_end=3611, + serialized_start=3838, + serialized_end=3878, ) @@ -2681,8 +2894,8 @@ _DISCONNECTPEERRESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=3613, - serialized_end=3637, + serialized_start=3880, + serialized_end=3904, ) @@ -2755,8 +2968,8 @@ _HTLC = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=3640, - serialized_end=3805, + serialized_start=3907, + serialized_end=4072, ) @@ -2822,8 +3035,8 @@ _CHANNELCONSTRAINTS = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=3808, - serialized_end=3978, + serialized_start=4075, + serialized_end=4245, ) @@ -3057,8 +3270,8 @@ _CHANNEL = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=3981, - serialized_end=4797, + serialized_start=4248, + serialized_end=5064, ) @@ -3117,8 +3330,8 @@ _LISTCHANNELSREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=4799, - serialized_end=4921, + serialized_start=5066, + serialized_end=5188, ) @@ -3149,8 +3362,8 @@ _LISTCHANNELSRESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=4923, - serialized_end=4979, + serialized_start=5190, + serialized_end=5246, ) @@ -3266,8 +3479,8 @@ _CHANNELCLOSESUMMARY = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=4982, - serialized_end=5535, + serialized_start=5249, + serialized_end=5802, ) @@ -3326,8 +3539,8 @@ _RESOLUTION = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=5538, - serialized_end=5716, + serialized_start=5805, + serialized_end=5983, ) @@ -3393,8 +3606,8 @@ _CLOSEDCHANNELSREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=5719, - serialized_end=5867, + serialized_start=5986, + serialized_end=6134, ) @@ -3425,8 +3638,8 @@ _CLOSEDCHANNELSRESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=5869, - serialized_end=5939, + serialized_start=6136, + serialized_end=6206, ) @@ -3464,8 +3677,8 @@ _PEER_FEATURESENTRY = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=6265, - serialized_end=6328, + serialized_start=6559, + serialized_end=6622, ) _PEER = _descriptor.Descriptor( @@ -3567,6 +3780,13 @@ _PEER = _descriptor.Descriptor( message_type=None, enum_type=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_ping_payload', full_name='lnrpc.Peer.last_ping_payload', 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), ], extensions=[ ], @@ -3580,8 +3800,8 @@ _PEER = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=5942, - serialized_end=6410, + serialized_start=6209, + serialized_end=6704, ) @@ -3619,8 +3839,8 @@ _TIMESTAMPEDERROR = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=6412, - serialized_end=6464, + serialized_start=6706, + serialized_end=6758, ) @@ -3651,8 +3871,8 @@ _LISTPEERSREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=6466, - serialized_end=6506, + serialized_start=6760, + serialized_end=6800, ) @@ -3683,8 +3903,8 @@ _LISTPEERSRESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=6508, - serialized_end=6555, + serialized_start=6802, + serialized_end=6849, ) @@ -3708,8 +3928,8 @@ _PEEREVENTSUBSCRIPTION = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=6557, - serialized_end=6580, + serialized_start=6851, + serialized_end=6874, ) @@ -3748,8 +3968,8 @@ _PEEREVENT = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=6582, - serialized_end=6700, + serialized_start=6876, + serialized_end=6994, ) @@ -3773,8 +3993,8 @@ _GETINFOREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=6702, - serialized_end=6718, + serialized_start=6996, + serialized_end=7012, ) @@ -3812,8 +4032,8 @@ _GETINFORESPONSE_FEATURESENTRY = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=6265, - serialized_end=6328, + serialized_start=6559, + serialized_end=6622, ) _GETINFORESPONSE = _descriptor.Descriptor( @@ -3962,8 +4182,8 @@ _GETINFORESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=6721, - serialized_end=7255, + serialized_start=7015, + serialized_end=7549, ) @@ -3987,8 +4207,8 @@ _GETRECOVERYINFOREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=7257, - serialized_end=7281, + serialized_start=7551, + serialized_end=7575, ) @@ -4033,8 +4253,8 @@ _GETRECOVERYINFORESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=7283, - serialized_end=7376, + serialized_start=7577, + serialized_end=7670, ) @@ -4072,8 +4292,8 @@ _CHAIN = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=7378, - serialized_end=7417, + serialized_start=7672, + serialized_end=7711, ) @@ -4118,8 +4338,8 @@ _CONFIRMATIONUPDATE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=7419, - serialized_end=7504, + serialized_start=7713, + serialized_end=7798, ) @@ -4150,8 +4370,8 @@ _CHANNELOPENUPDATE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=7506, - serialized_end=7569, + serialized_start=7800, + serialized_end=7863, ) @@ -4189,8 +4409,8 @@ _CHANNELCLOSEUPDATE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=7571, - serialized_end=7630, + serialized_start=7865, + serialized_end=7924, ) @@ -4256,8 +4476,8 @@ _CLOSECHANNELREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=7633, - serialized_end=7809, + serialized_start=7927, + serialized_end=8103, ) @@ -4300,8 +4520,8 @@ _CLOSESTATUSUPDATE = _descriptor.Descriptor( create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=7811, - serialized_end=7936, + serialized_start=8105, + serialized_end=8230, ) @@ -4339,8 +4559,8 @@ _PENDINGUPDATE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=7938, - serialized_end=7989, + serialized_start=8232, + serialized_end=8283, ) @@ -4385,8 +4605,195 @@ _READYFORPSBTFUNDING = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=7991, - serialized_end=8075, + serialized_start=8285, + serialized_end=8369, +) + + +_BATCHOPENCHANNELREQUEST = _descriptor.Descriptor( + name='BatchOpenChannelRequest', + full_name='lnrpc.BatchOpenChannelRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='channels', full_name='lnrpc.BatchOpenChannelRequest.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), + _descriptor.FieldDescriptor( + name='target_conf', full_name='lnrpc.BatchOpenChannelRequest.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='sat_per_vbyte', full_name='lnrpc.BatchOpenChannelRequest.sat_per_vbyte', 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='min_confs', full_name='lnrpc.BatchOpenChannelRequest.min_confs', 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='spend_unconfirmed', full_name='lnrpc.BatchOpenChannelRequest.spend_unconfirmed', 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='label', full_name='lnrpc.BatchOpenChannelRequest.label', 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=8372, + serialized_end=8545, +) + + +_BATCHOPENCHANNEL = _descriptor.Descriptor( + name='BatchOpenChannel', + full_name='lnrpc.BatchOpenChannel', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='node_pubkey', full_name='lnrpc.BatchOpenChannel.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='local_funding_amount', full_name='lnrpc.BatchOpenChannel.local_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='push_sat', full_name='lnrpc.BatchOpenChannel.push_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='private', full_name='lnrpc.BatchOpenChannel.private', 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='min_htlc_msat', full_name='lnrpc.BatchOpenChannel.min_htlc_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='remote_csv_delay', full_name='lnrpc.BatchOpenChannel.remote_csv_delay', 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), + _descriptor.FieldDescriptor( + name='close_address', full_name='lnrpc.BatchOpenChannel.close_address', 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='pending_chan_id', full_name='lnrpc.BatchOpenChannel.pending_chan_id', index=7, + number=8, 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='commitment_type', full_name='lnrpc.BatchOpenChannel.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=8548, + serialized_end=8797, +) + + +_BATCHOPENCHANNELRESPONSE = _descriptor.Descriptor( + name='BatchOpenChannelResponse', + full_name='lnrpc.BatchOpenChannelResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='pending_channels', full_name='lnrpc.BatchOpenChannelResponse.pending_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=8799, + serialized_end=8873, ) @@ -4517,6 +4924,13 @@ _OPENCHANNELREQUEST = _descriptor.Descriptor( message_type=None, enum_type=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.OpenChannelRequest.commitment_type', index=17, + number=18, 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=[ ], @@ -4529,8 +4943,8 @@ _OPENCHANNELREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=8078, - serialized_end=8536, + serialized_start=8876, + serialized_end=9382, ) @@ -4587,8 +5001,8 @@ _OPENSTATUSUPDATE = _descriptor.Descriptor( create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=8539, - serialized_end=8734, + serialized_start=9385, + serialized_end=9580, ) @@ -4626,8 +5040,8 @@ _KEYLOCATOR = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=8736, - serialized_end=8787, + serialized_start=9582, + serialized_end=9633, ) @@ -4665,8 +5079,8 @@ _KEYDESCRIPTOR = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=8789, - serialized_end=8863, + serialized_start=9635, + serialized_end=9709, ) @@ -4732,8 +5146,8 @@ _CHANPOINTSHIM = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=8866, - serialized_end=9042, + serialized_start=9712, + serialized_end=9888, ) @@ -4778,8 +5192,8 @@ _PSBTSHIM = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=9044, - serialized_end=9118, + serialized_start=9890, + serialized_end=9964, ) @@ -4822,8 +5236,8 @@ _FUNDINGSHIM = _descriptor.Descriptor( create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=9120, - serialized_end=9228, + serialized_start=9966, + serialized_end=10074, ) @@ -4854,8 +5268,8 @@ _FUNDINGSHIMCANCEL = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=9230, - serialized_end=9274, + serialized_start=10076, + serialized_end=10120, ) @@ -4881,6 +5295,13 @@ _FUNDINGPSBTVERIFY = _descriptor.Descriptor( message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='skip_finalize', full_name='lnrpc.FundingPsbtVerify.skip_finalize', 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=[ ], @@ -4893,8 +5314,8 @@ _FUNDINGPSBTVERIFY = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=9276, - serialized_end=9341, + serialized_start=10122, + serialized_end=10210, ) @@ -4939,8 +5360,8 @@ _FUNDINGPSBTFINALIZE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=9343, - serialized_end=9432, + serialized_start=10212, + serialized_end=10301, ) @@ -4997,8 +5418,8 @@ _FUNDINGTRANSITIONMSG = _descriptor.Descriptor( create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=9435, - serialized_end=9664, + serialized_start=10304, + serialized_end=10533, ) @@ -5022,8 +5443,8 @@ _FUNDINGSTATESTEPRESP = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=9666, - serialized_end=9688, + serialized_start=10535, + serialized_end=10557, ) @@ -5089,8 +5510,8 @@ _PENDINGHTLC = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=9691, - serialized_end=9825, + serialized_start=10560, + serialized_end=10694, ) @@ -5114,8 +5535,8 @@ _PENDINGCHANNELSREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=9827, - serialized_end=9851, + serialized_start=10696, + serialized_end=10720, ) @@ -5190,6 +5611,13 @@ _PENDINGCHANNELSRESPONSE_PENDINGCHANNEL = _descriptor.Descriptor( message_type=None, enum_type=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_forwarding_packages', full_name='lnrpc.PendingChannelsResponse.PendingChannel.num_forwarding_packages', 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), ], extensions=[ ], @@ -5202,8 +5630,8 @@ _PENDINGCHANNELSRESPONSE_PENDINGCHANNEL = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=10252, - serialized_end=10531, + serialized_start=11121, + serialized_end=11433, ) _PENDINGCHANNELSRESPONSE_PENDINGOPENCHANNEL = _descriptor.Descriptor( @@ -5261,8 +5689,8 @@ _PENDINGCHANNELSRESPONSE_PENDINGOPENCHANNEL = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=10534, - serialized_end=10710, + serialized_start=11436, + serialized_end=11612, ) _PENDINGCHANNELSRESPONSE_WAITINGCLOSECHANNEL = _descriptor.Descriptor( @@ -5306,8 +5734,8 @@ _PENDINGCHANNELSRESPONSE_WAITINGCLOSECHANNEL = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=10713, - serialized_end=10886, + serialized_start=11615, + serialized_end=11788, ) _PENDINGCHANNELSRESPONSE_COMMITMENTS = _descriptor.Descriptor( @@ -5372,8 +5800,8 @@ _PENDINGCHANNELSRESPONSE_COMMITMENTS = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=10889, - serialized_end=11072, + serialized_start=11791, + serialized_end=11974, ) _PENDINGCHANNELSRESPONSE_CLOSEDCHANNEL = _descriptor.Descriptor( @@ -5410,8 +5838,8 @@ _PENDINGCHANNELSRESPONSE_CLOSEDCHANNEL = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=11074, - serialized_end=11175, + serialized_start=11976, + serialized_end=12077, ) _PENDINGCHANNELSRESPONSE_FORCECLOSEDCHANNEL = _descriptor.Descriptor( @@ -5491,8 +5919,8 @@ _PENDINGCHANNELSRESPONSE_FORCECLOSEDCHANNEL = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=11178, - serialized_end=11561, + serialized_start=12080, + serialized_end=12463, ) _PENDINGCHANNELSRESPONSE = _descriptor.Descriptor( @@ -5550,8 +5978,8 @@ _PENDINGCHANNELSRESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=9854, - serialized_end=11561, + serialized_start=10723, + serialized_end=12463, ) @@ -5575,8 +6003,8 @@ _CHANNELEVENTSUBSCRIPTION = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=11563, - serialized_end=11589, + serialized_start=12465, + serialized_end=12491, ) @@ -5624,7 +6052,14 @@ _CHANNELEVENTUPDATE = _descriptor.Descriptor( 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, + name='fully_resolved_channel', full_name='lnrpc.ChannelEventUpdate.fully_resolved_channel', index=5, + 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='type', full_name='lnrpc.ChannelEventUpdate.type', index=6, 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, @@ -5648,8 +6083,8 @@ _CHANNELEVENTUPDATE = _descriptor.Descriptor( create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=11592, - serialized_end=12039, + serialized_start=12494, + serialized_end=13025, ) @@ -5687,8 +6122,8 @@ _WALLETACCOUNTBALANCE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=12041, - serialized_end=12119, + serialized_start=13027, + serialized_end=13105, ) @@ -5712,8 +6147,8 @@ _WALLETBALANCEREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=12121, - serialized_end=12143, + serialized_start=13107, + serialized_end=13129, ) @@ -5751,8 +6186,8 @@ _WALLETBALANCERESPONSE_ACCOUNTBALANCEENTRY = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=12325, - serialized_end=12407, + serialized_start=13311, + serialized_end=13393, ) _WALLETBALANCERESPONSE = _descriptor.Descriptor( @@ -5803,8 +6238,8 @@ _WALLETBALANCERESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=12146, - serialized_end=12407, + serialized_start=13132, + serialized_end=13393, ) @@ -5842,8 +6277,8 @@ _AMOUNT = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=12409, - serialized_end=12444, + serialized_start=13395, + serialized_end=13430, ) @@ -5867,8 +6302,8 @@ _CHANNELBALANCEREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=12446, - serialized_end=12469, + serialized_start=13432, + serialized_end=13455, ) @@ -5948,8 +6383,8 @@ _CHANNELBALANCERESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=12472, - serialized_end=12828, + serialized_start=13458, + serialized_end=13814, ) @@ -5987,8 +6422,8 @@ _QUERYROUTESREQUEST_DESTCUSTOMRECORDSENTRY = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=1097, - serialized_end=1153, + serialized_start=1295, + serialized_end=1351, ) _QUERYROUTESREQUEST = _descriptor.Descriptor( @@ -6123,8 +6558,8 @@ _QUERYROUTESREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=12831, - serialized_end=13423, + serialized_start=13817, + serialized_end=14409, ) @@ -6162,8 +6597,8 @@ _NODEPAIR = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=13425, - serialized_end=13461, + serialized_start=14411, + serialized_end=14447, ) @@ -6201,8 +6636,8 @@ _EDGELOCATOR = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=13463, - serialized_end=13527, + serialized_start=14449, + serialized_end=14513, ) @@ -6240,8 +6675,8 @@ _QUERYROUTESRESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=13529, - serialized_end=13602, + serialized_start=14515, + serialized_end=14588, ) @@ -6279,8 +6714,8 @@ _HOP_CUSTOMRECORDSENTRY = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=13937, - serialized_end=13989, + serialized_start=14923, + serialized_end=14975, ) _HOP = _descriptor.Descriptor( @@ -6387,8 +6822,8 @@ _HOP = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=13605, - serialized_end=13989, + serialized_start=14591, + serialized_end=14975, ) @@ -6426,8 +6861,8 @@ _MPPRECORD = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=13991, - serialized_end=14048, + serialized_start=14977, + serialized_end=15034, ) @@ -6472,8 +6907,8 @@ _AMPRECORD = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=14050, - serialized_end=14118, + serialized_start=15036, + serialized_end=15104, ) @@ -6539,8 +6974,8 @@ _ROUTE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=14121, - serialized_end=14275, + serialized_start=15107, + serialized_end=15261, ) @@ -6578,8 +7013,8 @@ _NODEINFOREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=14277, - serialized_end=14337, + serialized_start=15263, + serialized_end=15323, ) @@ -6631,8 +7066,8 @@ _NODEINFO = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=14340, - serialized_end=14470, + serialized_start=15326, + serialized_end=15456, ) @@ -6670,8 +7105,8 @@ _LIGHTNINGNODE_FEATURESENTRY = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=6265, - serialized_end=6328, + serialized_start=6559, + serialized_end=6622, ) _LIGHTNINGNODE = _descriptor.Descriptor( @@ -6736,8 +7171,8 @@ _LIGHTNINGNODE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=14473, - serialized_end=14714, + serialized_start=15459, + serialized_end=15700, ) @@ -6775,8 +7210,8 @@ _NODEADDRESS = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=14716, - serialized_end=14760, + serialized_start=15702, + serialized_end=15746, ) @@ -6849,8 +7284,8 @@ _ROUTINGPOLICY = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=14763, - serialized_end=14935, + serialized_start=15749, + serialized_end=15921, ) @@ -6930,8 +7365,8 @@ _CHANNELEDGE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=14938, - serialized_end=15164, + serialized_start=15924, + serialized_end=16150, ) @@ -6962,8 +7397,8 @@ _CHANNELGRAPHREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=15166, - serialized_end=15216, + serialized_start=16152, + serialized_end=16202, ) @@ -7001,8 +7436,8 @@ _CHANNELGRAPH = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=15218, - serialized_end=15304, + serialized_start=16204, + serialized_end=16290, ) @@ -7033,8 +7468,8 @@ _NODEMETRICSREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=15306, - serialized_end=15364, + serialized_start=16292, + serialized_end=16350, ) @@ -7072,8 +7507,8 @@ _NODEMETRICSRESPONSE_BETWEENNESSCENTRALITYENTRY = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=15477, - serialized_end=15557, + serialized_start=16463, + serialized_end=16543, ) _NODEMETRICSRESPONSE = _descriptor.Descriptor( @@ -7103,8 +7538,8 @@ _NODEMETRICSRESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=15367, - serialized_end=15557, + serialized_start=16353, + serialized_end=16543, ) @@ -7142,8 +7577,8 @@ _FLOATMETRIC = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=15559, - serialized_end=15613, + serialized_start=16545, + serialized_end=16599, ) @@ -7174,8 +7609,8 @@ _CHANINFOREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=15615, - serialized_end=15653, + serialized_start=16601, + serialized_end=16639, ) @@ -7199,8 +7634,8 @@ _NETWORKINFOREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=15655, - serialized_end=15675, + serialized_start=16641, + serialized_end=16661, ) @@ -7301,8 +7736,8 @@ _NETWORKINFO = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=15678, - serialized_end=15973, + serialized_start=16664, + serialized_end=16959, ) @@ -7326,8 +7761,8 @@ _STOPREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=15975, - serialized_end=15988, + serialized_start=16961, + serialized_end=16974, ) @@ -7351,8 +7786,8 @@ _STOPRESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=15990, - serialized_end=16004, + serialized_start=16976, + serialized_end=16990, ) @@ -7376,8 +7811,8 @@ _GRAPHTOPOLOGYSUBSCRIPTION = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=16006, - serialized_end=16033, + serialized_start=16992, + serialized_end=17019, ) @@ -7422,8 +7857,8 @@ _GRAPHTOPOLOGYUPDATE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=16036, - serialized_end=16199, + serialized_start=17022, + serialized_end=17185, ) @@ -7461,8 +7896,8 @@ _NODEUPDATE_FEATURESENTRY = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=6265, - serialized_end=6328, + serialized_start=6559, + serialized_end=6622, ) _NODEUPDATE = _descriptor.Descriptor( @@ -7534,8 +7969,8 @@ _NODEUPDATE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=16202, - serialized_end=16478, + serialized_start=17188, + serialized_end=17464, ) @@ -7601,8 +8036,8 @@ _CHANNELEDGEUPDATE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=16481, - serialized_end=16677, + serialized_start=17467, + serialized_end=17663, ) @@ -7654,8 +8089,8 @@ _CLOSEDCHANNELUPDATE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=16679, - serialized_end=16803, + serialized_start=17665, + serialized_end=17789, ) @@ -7714,8 +8149,40 @@ _HOPHINT = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=16806, - serialized_end=16940, + serialized_start=17792, + serialized_end=17926, +) + + +_SETID = _descriptor.Descriptor( + name='SetID', + full_name='lnrpc.SetID', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='set_id', full_name='lnrpc.SetID.set_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=17928, + serialized_end=17951, ) @@ -7746,8 +8213,61 @@ _ROUTEHINT = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=16942, - serialized_end=16988, + serialized_start=17953, + serialized_end=17999, +) + + +_AMPINVOICESTATE = _descriptor.Descriptor( + name='AMPInvoiceState', + full_name='lnrpc.AMPInvoiceState', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='state', full_name='lnrpc.AMPInvoiceState.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='settle_index', full_name='lnrpc.AMPInvoiceState.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), + _descriptor.FieldDescriptor( + name='settle_time', full_name='lnrpc.AMPInvoiceState.settle_time', 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_paid_msat', full_name='lnrpc.AMPInvoiceState.amt_paid_msat', 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), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=18001, + serialized_end=18124, ) @@ -7785,8 +8305,46 @@ _INVOICE_FEATURESENTRY = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=6265, - serialized_end=6328, + serialized_start=6559, + serialized_end=6622, +) + +_INVOICE_AMPINVOICESTATEENTRY = _descriptor.Descriptor( + name='AmpInvoiceStateEntry', + full_name='lnrpc.Invoice.AmpInvoiceStateEntry', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='key', full_name='lnrpc.Invoice.AmpInvoiceStateEntry.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.Invoice.AmpInvoiceStateEntry.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=18877, + serialized_end=18955, ) _INVOICE = _descriptor.Descriptor( @@ -7979,10 +8537,17 @@ _INVOICE = _descriptor.Descriptor( message_type=None, enum_type=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_invoice_state', full_name='lnrpc.Invoice.amp_invoice_state', index=26, + number=28, 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=[_INVOICE_FEATURESENTRY, ], + nested_types=[_INVOICE_FEATURESENTRY, _INVOICE_AMPINVOICESTATEENTRY, ], enum_types=[ _INVOICE_INVOICESTATE, ], @@ -7992,8 +8557,8 @@ _INVOICE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=16991, - serialized_end=17748, + serialized_start=18127, + serialized_end=19028, ) @@ -8031,8 +8596,8 @@ _INVOICEHTLC_CUSTOMRECORDSENTRY = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=13937, - serialized_end=13989, + serialized_start=14923, + serialized_end=14975, ) _INVOICEHTLC = _descriptor.Descriptor( @@ -8132,8 +8697,8 @@ _INVOICEHTLC = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=17751, - serialized_end=18122, + serialized_start=19031, + serialized_end=19402, ) @@ -8192,8 +8757,8 @@ _AMP = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=18124, - serialized_end=18218, + serialized_start=19404, + serialized_end=19498, ) @@ -8245,8 +8810,8 @@ _ADDINVOICERESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=18220, - serialized_end=18322, + serialized_start=19500, + serialized_end=19602, ) @@ -8284,8 +8849,8 @@ _PAYMENTHASH = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=18324, - serialized_end=18377, + serialized_start=19604, + serialized_end=19657, ) @@ -8337,8 +8902,8 @@ _LISTINVOICEREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=18379, - serialized_end=18487, + serialized_start=19659, + serialized_end=19767, ) @@ -8383,8 +8948,8 @@ _LISTINVOICERESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=18489, - serialized_end=18599, + serialized_start=19769, + serialized_end=19879, ) @@ -8422,8 +8987,8 @@ _INVOICESUBSCRIPTION = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=18601, - serialized_end=18663, + serialized_start=19881, + serialized_end=19943, ) @@ -8553,8 +9118,8 @@ _PAYMENT = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=18666, - serialized_end=19146, + serialized_start=19946, + serialized_end=20426, ) @@ -8628,8 +9193,8 @@ _HTLCATTEMPT = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=19149, - serialized_end=19415, + serialized_start=20429, + serialized_end=20695, ) @@ -8681,8 +9246,8 @@ _LISTPAYMENTSREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=19417, - serialized_end=19528, + serialized_start=20697, + serialized_end=20808, ) @@ -8727,8 +9292,47 @@ _LISTPAYMENTSRESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=19530, - serialized_end=19641, + serialized_start=20810, + serialized_end=20921, +) + + +_DELETEPAYMENTREQUEST = _descriptor.Descriptor( + name='DeletePaymentRequest', + full_name='lnrpc.DeletePaymentRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='payment_hash', full_name='lnrpc.DeletePaymentRequest.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='failed_htlcs_only', full_name='lnrpc.DeletePaymentRequest.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=20923, + serialized_end=20994, ) @@ -8766,8 +9370,33 @@ _DELETEALLPAYMENTSREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=19643, - serialized_end=19726, + serialized_start=20996, + serialized_end=21079, +) + + +_DELETEPAYMENTRESPONSE = _descriptor.Descriptor( + name='DeletePaymentResponse', + full_name='lnrpc.DeletePaymentResponse', + 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=21081, + serialized_end=21104, ) @@ -8791,8 +9420,8 @@ _DELETEALLPAYMENTSRESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=19728, - serialized_end=19755, + serialized_start=21106, + serialized_end=21133, ) @@ -8837,8 +9466,8 @@ _ABANDONCHANNELREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=19758, - serialized_end=19892, + serialized_start=21136, + serialized_end=21270, ) @@ -8862,8 +9491,8 @@ _ABANDONCHANNELRESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=19894, - serialized_end=19918, + serialized_start=21272, + serialized_end=21296, ) @@ -8901,8 +9530,8 @@ _DEBUGLEVELREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=19920, - serialized_end=19973, + serialized_start=21298, + serialized_end=21351, ) @@ -8933,8 +9562,8 @@ _DEBUGLEVELRESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=19975, - serialized_end=20016, + serialized_start=21353, + serialized_end=21394, ) @@ -8965,8 +9594,8 @@ _PAYREQSTRING = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=20018, - serialized_end=20049, + serialized_start=21396, + serialized_end=21427, ) @@ -9004,8 +9633,8 @@ _PAYREQ_FEATURESENTRY = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=6265, - serialized_end=6328, + serialized_start=6559, + serialized_end=6622, ) _PAYREQ = _descriptor.Descriptor( @@ -9119,8 +9748,8 @@ _PAYREQ = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=20052, - serialized_end=20442, + serialized_start=21430, + serialized_end=21820, ) @@ -9165,8 +9794,8 @@ _FEATURE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=20444, - serialized_end=20506, + serialized_start=21822, + serialized_end=21884, ) @@ -9190,8 +9819,8 @@ _FEEREPORTREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=20508, - serialized_end=20526, + serialized_start=21886, + serialized_end=21904, ) @@ -9250,8 +9879,8 @@ _CHANNELFEEREPORT = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=20528, - serialized_end=20652, + serialized_start=21906, + serialized_end=22030, ) @@ -9303,8 +9932,8 @@ _FEEREPORTRESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=20655, - serialized_end=20787, + serialized_start=22033, + serialized_end=22165, ) @@ -9389,19 +10018,40 @@ _POLICYUPDATEREQUEST = _descriptor.Descriptor( create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=20790, - serialized_end=21026, + serialized_start=22168, + serialized_end=22404, ) -_POLICYUPDATERESPONSE = _descriptor.Descriptor( - name='PolicyUpdateResponse', - full_name='lnrpc.PolicyUpdateResponse', +_FAILEDUPDATE = _descriptor.Descriptor( + name='FailedUpdate', + full_name='lnrpc.FailedUpdate', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ + _descriptor.FieldDescriptor( + name='outpoint', full_name='lnrpc.FailedUpdate.outpoint', 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='reason', full_name='lnrpc.FailedUpdate.reason', 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='update_error', full_name='lnrpc.FailedUpdate.update_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), ], extensions=[ ], @@ -9414,8 +10064,40 @@ _POLICYUPDATERESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=21028, - serialized_end=21050, + serialized_start=22406, + serialized_end=22515, +) + + +_POLICYUPDATERESPONSE = _descriptor.Descriptor( + name='PolicyUpdateResponse', + full_name='lnrpc.PolicyUpdateResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='failed_updates', full_name='lnrpc.PolicyUpdateResponse.failed_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), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=22517, + serialized_end=22584, ) @@ -9467,8 +10149,8 @@ _FORWARDINGHISTORYREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=21052, - serialized_end=21162, + serialized_start=22586, + serialized_end=22696, ) @@ -9562,8 +10244,8 @@ _FORWARDINGEVENT = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=21165, - serialized_end=21383, + serialized_start=22699, + serialized_end=22917, ) @@ -9601,8 +10283,8 @@ _FORWARDINGHISTORYRESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=21385, - serialized_end=21490, + serialized_start=22919, + serialized_end=23024, ) @@ -9633,8 +10315,8 @@ _EXPORTCHANNELBACKUPREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=21492, - serialized_end=21561, + serialized_start=23026, + serialized_end=23095, ) @@ -9672,8 +10354,8 @@ _CHANNELBACKUP = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=21563, - serialized_end=21640, + serialized_start=23097, + serialized_end=23174, ) @@ -9711,8 +10393,8 @@ _MULTICHANBACKUP = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=21642, - serialized_end=21728, + serialized_start=23176, + serialized_end=23262, ) @@ -9736,8 +10418,8 @@ _CHANBACKUPEXPORTREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=21730, - serialized_end=21755, + serialized_start=23264, + serialized_end=23289, ) @@ -9775,8 +10457,8 @@ _CHANBACKUPSNAPSHOT = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=21757, - serialized_end=21880, + serialized_start=23291, + serialized_end=23414, ) @@ -9807,8 +10489,8 @@ _CHANNELBACKUPS = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=21882, - serialized_end=21942, + serialized_start=23416, + serialized_end=23476, ) @@ -9851,8 +10533,8 @@ _RESTORECHANBACKUPREQUEST = _descriptor.Descriptor( create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=21944, - serialized_end=22056, + serialized_start=23478, + serialized_end=23590, ) @@ -9876,8 +10558,8 @@ _RESTOREBACKUPRESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=22058, - serialized_end=22081, + serialized_start=23592, + serialized_end=23615, ) @@ -9901,8 +10583,8 @@ _CHANNELBACKUPSUBSCRIPTION = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=22083, - serialized_end=22110, + serialized_start=23617, + serialized_end=23644, ) @@ -9926,8 +10608,8 @@ _VERIFYCHANBACKUPRESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=22112, - serialized_end=22138, + serialized_start=23646, + serialized_end=23672, ) @@ -9965,8 +10647,8 @@ _MACAROONPERMISSION = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=22140, - serialized_end=22192, + serialized_start=23674, + serialized_end=23726, ) @@ -9992,6 +10674,13 @@ _BAKEMACAROONREQUEST = _descriptor.Descriptor( message_type=None, enum_type=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_external_permissions', full_name='lnrpc.BakeMacaroonRequest.allow_external_permissions', 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=[ ], @@ -10004,8 +10693,8 @@ _BAKEMACAROONREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=22194, - serialized_end=22284, + serialized_start=23728, + serialized_end=23854, ) @@ -10036,8 +10725,8 @@ _BAKEMACAROONRESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=22286, - serialized_end=22326, + serialized_start=23856, + serialized_end=23896, ) @@ -10061,8 +10750,8 @@ _LISTMACAROONIDSREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=22328, - serialized_end=22352, + serialized_start=23898, + serialized_end=23922, ) @@ -10093,8 +10782,8 @@ _LISTMACAROONIDSRESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=22354, - serialized_end=22401, + serialized_start=23924, + serialized_end=23971, ) @@ -10125,8 +10814,8 @@ _DELETEMACAROONIDREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=22403, - serialized_end=22449, + serialized_start=23973, + serialized_end=24019, ) @@ -10157,8 +10846,8 @@ _DELETEMACAROONIDRESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=22451, - serialized_end=22494, + serialized_start=24021, + serialized_end=24064, ) @@ -10189,8 +10878,8 @@ _MACAROONPERMISSIONLIST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=22496, - serialized_end=22568, + serialized_start=24066, + serialized_end=24138, ) @@ -10214,8 +10903,8 @@ _LISTPERMISSIONSREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=22570, - serialized_end=22594, + serialized_start=24140, + serialized_end=24164, ) @@ -10253,8 +10942,8 @@ _LISTPERMISSIONSRESPONSE_METHODPERMISSIONSENTRY = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=22707, - serialized_end=22794, + serialized_start=24277, + serialized_end=24364, ) _LISTPERMISSIONSRESPONSE = _descriptor.Descriptor( @@ -10284,8 +10973,8 @@ _LISTPERMISSIONSRESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=22597, - serialized_end=22794, + serialized_start=24167, + serialized_end=24364, ) @@ -10366,8 +11055,8 @@ _FAILURE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=22797, - serialized_end=23778, + serialized_start=24367, + serialized_end=25348, ) @@ -10475,8 +11164,8 @@ _CHANNELUPDATE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=23781, - serialized_end=24063, + serialized_start=25351, + serialized_end=25633, ) @@ -10521,8 +11210,8 @@ _MACAROONID = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=24065, - serialized_end=24135, + serialized_start=25635, + serialized_end=25705, ) @@ -10560,8 +11249,393 @@ _OP = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=24137, - serialized_end=24174, + serialized_start=25707, + serialized_end=25744, +) + + +_CHECKMACPERMREQUEST = _descriptor.Descriptor( + name='CheckMacPermRequest', + full_name='lnrpc.CheckMacPermRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='macaroon', full_name='lnrpc.CheckMacPermRequest.macaroon', 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='permissions', full_name='lnrpc.CheckMacPermRequest.permissions', 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='fullMethod', full_name='lnrpc.CheckMacPermRequest.fullMethod', 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=25746, + serialized_end=25853, +) + + +_CHECKMACPERMRESPONSE = _descriptor.Descriptor( + name='CheckMacPermResponse', + full_name='lnrpc.CheckMacPermResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='valid', full_name='lnrpc.CheckMacPermResponse.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), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=25855, + serialized_end=25892, +) + + +_RPCMIDDLEWAREREQUEST = _descriptor.Descriptor( + name='RPCMiddlewareRequest', + full_name='lnrpc.RPCMiddlewareRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='request_id', full_name='lnrpc.RPCMiddlewareRequest.request_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='raw_macaroon', full_name='lnrpc.RPCMiddlewareRequest.raw_macaroon', 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='custom_caveat_condition', full_name='lnrpc.RPCMiddlewareRequest.custom_caveat_condition', 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='stream_auth', full_name='lnrpc.RPCMiddlewareRequest.stream_auth', 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='request', full_name='lnrpc.RPCMiddlewareRequest.request', 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='response', full_name='lnrpc.RPCMiddlewareRequest.response', 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='msg_id', full_name='lnrpc.RPCMiddlewareRequest.msg_id', 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=[ + _descriptor.OneofDescriptor( + name='intercept_type', full_name='lnrpc.RPCMiddlewareRequest.intercept_type', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=25895, + serialized_end=26145, +) + + +_STREAMAUTH = _descriptor.Descriptor( + name='StreamAuth', + full_name='lnrpc.StreamAuth', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='method_full_uri', full_name='lnrpc.StreamAuth.method_full_uri', 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=26147, + serialized_end=26184, +) + + +_RPCMESSAGE = _descriptor.Descriptor( + name='RPCMessage', + full_name='lnrpc.RPCMessage', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='method_full_uri', full_name='lnrpc.RPCMessage.method_full_uri', 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='stream_rpc', full_name='lnrpc.RPCMessage.stream_rpc', 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='type_name', full_name='lnrpc.RPCMessage.type_name', 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='serialized', full_name='lnrpc.RPCMessage.serialized', 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=26186, + serialized_end=26282, +) + + +_RPCMIDDLEWARERESPONSE = _descriptor.Descriptor( + name='RPCMiddlewareResponse', + full_name='lnrpc.RPCMiddlewareResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='ref_msg_id', full_name='lnrpc.RPCMiddlewareResponse.ref_msg_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='register', full_name='lnrpc.RPCMiddlewareResponse.register', 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='feedback', full_name='lnrpc.RPCMiddlewareResponse.feedback', 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=[ + _descriptor.OneofDescriptor( + name='middleware_message', full_name='lnrpc.RPCMiddlewareResponse.middleware_message', + index=0, containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[]), + ], + serialized_start=26285, + serialized_end=26447, +) + + +_MIDDLEWAREREGISTRATION = _descriptor.Descriptor( + name='MiddlewareRegistration', + full_name='lnrpc.MiddlewareRegistration', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='middleware_name', full_name='lnrpc.MiddlewareRegistration.middleware_name', 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='custom_macaroon_caveat_name', full_name='lnrpc.MiddlewareRegistration.custom_macaroon_caveat_name', 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='read_only_mode', full_name='lnrpc.MiddlewareRegistration.read_only_mode', 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=26449, + serialized_end=26559, +) + + +_INTERCEPTFEEDBACK = _descriptor.Descriptor( + name='InterceptFeedback', + full_name='lnrpc.InterceptFeedback', + filename=None, + file=DESCRIPTOR, + containing_type=None, + create_key=_descriptor._internal_create_key, + fields=[ + _descriptor.FieldDescriptor( + name='error', full_name='lnrpc.InterceptFeedback.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='replace_response', full_name='lnrpc.InterceptFeedback.replace_response', 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='replacement_serialized', full_name='lnrpc.InterceptFeedback.replacement_serialized', 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=26561, + serialized_end=26653, ) _UTXO.fields_by_name['address_type'].enum_type = _ADDRESSTYPE @@ -10582,6 +11656,7 @@ _SENDREQUEST.fields_by_name['dest_custom_records'].message_type = _SENDREQUEST_D _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 +_CHANNELACCEPTREQUEST.fields_by_name['commitment_type'].enum_type = _COMMITMENTTYPE _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'] @@ -10632,7 +11707,11 @@ _CLOSESTATUSUPDATE.fields_by_name['close_pending'].containing_oneof = _CLOSESTAT _CLOSESTATUSUPDATE.oneofs_by_name['update'].fields.append( _CLOSESTATUSUPDATE.fields_by_name['chan_close']) _CLOSESTATUSUPDATE.fields_by_name['chan_close'].containing_oneof = _CLOSESTATUSUPDATE.oneofs_by_name['update'] +_BATCHOPENCHANNELREQUEST.fields_by_name['channels'].message_type = _BATCHOPENCHANNEL +_BATCHOPENCHANNEL.fields_by_name['commitment_type'].enum_type = _COMMITMENTTYPE +_BATCHOPENCHANNELRESPONSE.fields_by_name['pending_channels'].message_type = _PENDINGUPDATE _OPENCHANNELREQUEST.fields_by_name['funding_shim'].message_type = _FUNDINGSHIM +_OPENCHANNELREQUEST.fields_by_name['commitment_type'].enum_type = _COMMITMENTTYPE _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 @@ -10697,6 +11776,7 @@ _CHANNELEVENTUPDATE.fields_by_name['closed_channel'].message_type = _CHANNELCLOS _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['fully_resolved_channel'].message_type = _CHANNELPOINT _CHANNELEVENTUPDATE.fields_by_name['type'].enum_type = _CHANNELEVENTUPDATE_UPDATETYPE _CHANNELEVENTUPDATE_UPDATETYPE.containing_type = _CHANNELEVENTUPDATE _CHANNELEVENTUPDATE.oneofs_by_name['channel'].fields.append( @@ -10714,6 +11794,9 @@ _CHANNELEVENTUPDATE.fields_by_name['inactive_channel'].containing_oneof = _CHANN _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'] +_CHANNELEVENTUPDATE.oneofs_by_name['channel'].fields.append( + _CHANNELEVENTUPDATE.fields_by_name['fully_resolved_channel']) +_CHANNELEVENTUPDATE.fields_by_name['fully_resolved_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 @@ -10761,12 +11844,16 @@ _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 +_AMPINVOICESTATE.fields_by_name['state'].enum_type = _INVOICEHTLCSTATE _INVOICE_FEATURESENTRY.fields_by_name['value'].message_type = _FEATURE _INVOICE_FEATURESENTRY.containing_type = _INVOICE +_INVOICE_AMPINVOICESTATEENTRY.fields_by_name['value'].message_type = _AMPINVOICESTATE +_INVOICE_AMPINVOICESTATEENTRY.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.fields_by_name['amp_invoice_state'].message_type = _INVOICE_AMPINVOICESTATEENTRY _INVOICE_INVOICESTATE.containing_type = _INVOICE _INVOICEHTLC_CUSTOMRECORDSENTRY.containing_type = _INVOICEHTLC _INVOICEHTLC.fields_by_name['state'].enum_type = _INVOICEHTLCSTATE @@ -10795,6 +11882,9 @@ _POLICYUPDATEREQUEST.fields_by_name['global'].containing_oneof = _POLICYUPDATERE _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'] +_FAILEDUPDATE.fields_by_name['outpoint'].message_type = _OUTPOINT +_FAILEDUPDATE.fields_by_name['reason'].enum_type = _UPDATEFAILURE +_POLICYUPDATERESPONSE.fields_by_name['failed_updates'].message_type = _FAILEDUPDATE _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 @@ -10818,6 +11908,31 @@ _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 +_CHECKMACPERMREQUEST.fields_by_name['permissions'].message_type = _MACAROONPERMISSION +_RPCMIDDLEWAREREQUEST.fields_by_name['stream_auth'].message_type = _STREAMAUTH +_RPCMIDDLEWAREREQUEST.fields_by_name['request'].message_type = _RPCMESSAGE +_RPCMIDDLEWAREREQUEST.fields_by_name['response'].message_type = _RPCMESSAGE +_RPCMIDDLEWAREREQUEST.oneofs_by_name['intercept_type'].fields.append( + _RPCMIDDLEWAREREQUEST.fields_by_name['stream_auth']) +_RPCMIDDLEWAREREQUEST.fields_by_name['stream_auth'].containing_oneof = _RPCMIDDLEWAREREQUEST.oneofs_by_name['intercept_type'] +_RPCMIDDLEWAREREQUEST.oneofs_by_name['intercept_type'].fields.append( + _RPCMIDDLEWAREREQUEST.fields_by_name['request']) +_RPCMIDDLEWAREREQUEST.fields_by_name['request'].containing_oneof = _RPCMIDDLEWAREREQUEST.oneofs_by_name['intercept_type'] +_RPCMIDDLEWAREREQUEST.oneofs_by_name['intercept_type'].fields.append( + _RPCMIDDLEWAREREQUEST.fields_by_name['response']) +_RPCMIDDLEWAREREQUEST.fields_by_name['response'].containing_oneof = _RPCMIDDLEWAREREQUEST.oneofs_by_name['intercept_type'] +_RPCMIDDLEWARERESPONSE.fields_by_name['register'].message_type = _MIDDLEWAREREGISTRATION +_RPCMIDDLEWARERESPONSE.fields_by_name['feedback'].message_type = _INTERCEPTFEEDBACK +_RPCMIDDLEWARERESPONSE.oneofs_by_name['middleware_message'].fields.append( + _RPCMIDDLEWARERESPONSE.fields_by_name['register']) +_RPCMIDDLEWARERESPONSE.fields_by_name['register'].containing_oneof = _RPCMIDDLEWARERESPONSE.oneofs_by_name['middleware_message'] +_RPCMIDDLEWARERESPONSE.oneofs_by_name['middleware_message'].fields.append( + _RPCMIDDLEWARERESPONSE.fields_by_name['feedback']) +_RPCMIDDLEWARERESPONSE.fields_by_name['feedback'].containing_oneof = _RPCMIDDLEWARERESPONSE.oneofs_by_name['middleware_message'] +DESCRIPTOR.message_types_by_name['SubscribeCustomMessagesRequest'] = _SUBSCRIBECUSTOMMESSAGESREQUEST +DESCRIPTOR.message_types_by_name['CustomMessage'] = _CUSTOMMESSAGE +DESCRIPTOR.message_types_by_name['SendCustomMessageRequest'] = _SENDCUSTOMMESSAGEREQUEST +DESCRIPTOR.message_types_by_name['SendCustomMessageResponse'] = _SENDCUSTOMMESSAGERESPONSE DESCRIPTOR.message_types_by_name['Utxo'] = _UTXO DESCRIPTOR.message_types_by_name['Transaction'] = _TRANSACTION DESCRIPTOR.message_types_by_name['GetTransactionsRequest'] = _GETTRANSACTIONSREQUEST @@ -10876,6 +11991,9 @@ 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['BatchOpenChannelRequest'] = _BATCHOPENCHANNELREQUEST +DESCRIPTOR.message_types_by_name['BatchOpenChannel'] = _BATCHOPENCHANNEL +DESCRIPTOR.message_types_by_name['BatchOpenChannelResponse'] = _BATCHOPENCHANNELRESPONSE DESCRIPTOR.message_types_by_name['OpenChannelRequest'] = _OPENCHANNELREQUEST DESCRIPTOR.message_types_by_name['OpenStatusUpdate'] = _OPENSTATUSUPDATE DESCRIPTOR.message_types_by_name['KeyLocator'] = _KEYLOCATOR @@ -10929,7 +12047,9 @@ 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['SetID'] = _SETID DESCRIPTOR.message_types_by_name['RouteHint'] = _ROUTEHINT +DESCRIPTOR.message_types_by_name['AMPInvoiceState'] = _AMPINVOICESTATE DESCRIPTOR.message_types_by_name['Invoice'] = _INVOICE DESCRIPTOR.message_types_by_name['InvoiceHTLC'] = _INVOICEHTLC DESCRIPTOR.message_types_by_name['AMP'] = _AMP @@ -10942,7 +12062,9 @@ 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['DeletePaymentRequest'] = _DELETEPAYMENTREQUEST DESCRIPTOR.message_types_by_name['DeleteAllPaymentsRequest'] = _DELETEALLPAYMENTSREQUEST +DESCRIPTOR.message_types_by_name['DeletePaymentResponse'] = _DELETEPAYMENTRESPONSE DESCRIPTOR.message_types_by_name['DeleteAllPaymentsResponse'] = _DELETEALLPAYMENTSRESPONSE DESCRIPTOR.message_types_by_name['AbandonChannelRequest'] = _ABANDONCHANNELREQUEST DESCRIPTOR.message_types_by_name['AbandonChannelResponse'] = _ABANDONCHANNELRESPONSE @@ -10955,6 +12077,7 @@ 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['FailedUpdate'] = _FAILEDUPDATE DESCRIPTOR.message_types_by_name['PolicyUpdateResponse'] = _POLICYUPDATERESPONSE DESCRIPTOR.message_types_by_name['ForwardingHistoryRequest'] = _FORWARDINGHISTORYREQUEST DESCRIPTOR.message_types_by_name['ForwardingEvent'] = _FORWARDINGEVENT @@ -10983,6 +12106,14 @@ 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.message_types_by_name['CheckMacPermRequest'] = _CHECKMACPERMREQUEST +DESCRIPTOR.message_types_by_name['CheckMacPermResponse'] = _CHECKMACPERMRESPONSE +DESCRIPTOR.message_types_by_name['RPCMiddlewareRequest'] = _RPCMIDDLEWAREREQUEST +DESCRIPTOR.message_types_by_name['StreamAuth'] = _STREAMAUTH +DESCRIPTOR.message_types_by_name['RPCMessage'] = _RPCMESSAGE +DESCRIPTOR.message_types_by_name['RPCMiddlewareResponse'] = _RPCMIDDLEWARERESPONSE +DESCRIPTOR.message_types_by_name['MiddlewareRegistration'] = _MIDDLEWAREREGISTRATION +DESCRIPTOR.message_types_by_name['InterceptFeedback'] = _INTERCEPTFEEDBACK DESCRIPTOR.enum_types_by_name['AddressType'] = _ADDRESSTYPE DESCRIPTOR.enum_types_by_name['CommitmentType'] = _COMMITMENTTYPE DESCRIPTOR.enum_types_by_name['Initiator'] = _INITIATOR @@ -10992,39 +12123,68 @@ 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 +DESCRIPTOR.enum_types_by_name['UpdateFailure'] = _UPDATEFAILURE _sym_db.RegisterFileDescriptor(DESCRIPTOR) +SubscribeCustomMessagesRequest = _reflection.GeneratedProtocolMessageType('SubscribeCustomMessagesRequest', (_message.Message,), { + 'DESCRIPTOR' : _SUBSCRIBECUSTOMMESSAGESREQUEST, + '__module__' : 'lightning_pb2' + # @@protoc_insertion_point(class_scope:lnrpc.SubscribeCustomMessagesRequest) + }) +_sym_db.RegisterMessage(SubscribeCustomMessagesRequest) + +CustomMessage = _reflection.GeneratedProtocolMessageType('CustomMessage', (_message.Message,), { + 'DESCRIPTOR' : _CUSTOMMESSAGE, + '__module__' : 'lightning_pb2' + # @@protoc_insertion_point(class_scope:lnrpc.CustomMessage) + }) +_sym_db.RegisterMessage(CustomMessage) + +SendCustomMessageRequest = _reflection.GeneratedProtocolMessageType('SendCustomMessageRequest', (_message.Message,), { + 'DESCRIPTOR' : _SENDCUSTOMMESSAGEREQUEST, + '__module__' : 'lightning_pb2' + # @@protoc_insertion_point(class_scope:lnrpc.SendCustomMessageRequest) + }) +_sym_db.RegisterMessage(SendCustomMessageRequest) + +SendCustomMessageResponse = _reflection.GeneratedProtocolMessageType('SendCustomMessageResponse', (_message.Message,), { + 'DESCRIPTOR' : _SENDCUSTOMMESSAGERESPONSE, + '__module__' : 'lightning_pb2' + # @@protoc_insertion_point(class_scope:lnrpc.SendCustomMessageResponse) + }) +_sym_db.RegisterMessage(SendCustomMessageResponse) + Utxo = _reflection.GeneratedProtocolMessageType('Utxo', (_message.Message,), { 'DESCRIPTOR' : _UTXO, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.Utxo) }) _sym_db.RegisterMessage(Utxo) Transaction = _reflection.GeneratedProtocolMessageType('Transaction', (_message.Message,), { 'DESCRIPTOR' : _TRANSACTION, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.Transaction) }) _sym_db.RegisterMessage(Transaction) GetTransactionsRequest = _reflection.GeneratedProtocolMessageType('GetTransactionsRequest', (_message.Message,), { 'DESCRIPTOR' : _GETTRANSACTIONSREQUEST, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.GetTransactionsRequest) }) _sym_db.RegisterMessage(GetTransactionsRequest) TransactionDetails = _reflection.GeneratedProtocolMessageType('TransactionDetails', (_message.Message,), { 'DESCRIPTOR' : _TRANSACTIONDETAILS, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.TransactionDetails) }) _sym_db.RegisterMessage(TransactionDetails) FeeLimit = _reflection.GeneratedProtocolMessageType('FeeLimit', (_message.Message,), { 'DESCRIPTOR' : _FEELIMIT, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.FeeLimit) }) _sym_db.RegisterMessage(FeeLimit) @@ -11033,12 +12193,12 @@ SendRequest = _reflection.GeneratedProtocolMessageType('SendRequest', (_message. 'DestCustomRecordsEntry' : _reflection.GeneratedProtocolMessageType('DestCustomRecordsEntry', (_message.Message,), { 'DESCRIPTOR' : _SENDREQUEST_DESTCUSTOMRECORDSENTRY, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.SendRequest.DestCustomRecordsEntry) }) , 'DESCRIPTOR' : _SENDREQUEST, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.SendRequest) }) _sym_db.RegisterMessage(SendRequest) @@ -11046,49 +12206,49 @@ _sym_db.RegisterMessage(SendRequest.DestCustomRecordsEntry) SendResponse = _reflection.GeneratedProtocolMessageType('SendResponse', (_message.Message,), { 'DESCRIPTOR' : _SENDRESPONSE, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.SendResponse) }) _sym_db.RegisterMessage(SendResponse) SendToRouteRequest = _reflection.GeneratedProtocolMessageType('SendToRouteRequest', (_message.Message,), { 'DESCRIPTOR' : _SENDTOROUTEREQUEST, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.SendToRouteRequest) }) _sym_db.RegisterMessage(SendToRouteRequest) ChannelAcceptRequest = _reflection.GeneratedProtocolMessageType('ChannelAcceptRequest', (_message.Message,), { 'DESCRIPTOR' : _CHANNELACCEPTREQUEST, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.ChannelAcceptRequest) }) _sym_db.RegisterMessage(ChannelAcceptRequest) ChannelAcceptResponse = _reflection.GeneratedProtocolMessageType('ChannelAcceptResponse', (_message.Message,), { 'DESCRIPTOR' : _CHANNELACCEPTRESPONSE, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.ChannelAcceptResponse) }) _sym_db.RegisterMessage(ChannelAcceptResponse) ChannelPoint = _reflection.GeneratedProtocolMessageType('ChannelPoint', (_message.Message,), { 'DESCRIPTOR' : _CHANNELPOINT, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.ChannelPoint) }) _sym_db.RegisterMessage(ChannelPoint) OutPoint = _reflection.GeneratedProtocolMessageType('OutPoint', (_message.Message,), { 'DESCRIPTOR' : _OUTPOINT, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.OutPoint) }) _sym_db.RegisterMessage(OutPoint) LightningAddress = _reflection.GeneratedProtocolMessageType('LightningAddress', (_message.Message,), { 'DESCRIPTOR' : _LIGHTNINGADDRESS, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.LightningAddress) }) _sym_db.RegisterMessage(LightningAddress) @@ -11097,12 +12257,12 @@ EstimateFeeRequest = _reflection.GeneratedProtocolMessageType('EstimateFeeReques 'AddrToAmountEntry' : _reflection.GeneratedProtocolMessageType('AddrToAmountEntry', (_message.Message,), { 'DESCRIPTOR' : _ESTIMATEFEEREQUEST_ADDRTOAMOUNTENTRY, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.EstimateFeeRequest.AddrToAmountEntry) }) , 'DESCRIPTOR' : _ESTIMATEFEEREQUEST, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.EstimateFeeRequest) }) _sym_db.RegisterMessage(EstimateFeeRequest) @@ -11110,7 +12270,7 @@ _sym_db.RegisterMessage(EstimateFeeRequest.AddrToAmountEntry) EstimateFeeResponse = _reflection.GeneratedProtocolMessageType('EstimateFeeResponse', (_message.Message,), { 'DESCRIPTOR' : _ESTIMATEFEERESPONSE, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.EstimateFeeResponse) }) _sym_db.RegisterMessage(EstimateFeeResponse) @@ -11119,12 +12279,12 @@ SendManyRequest = _reflection.GeneratedProtocolMessageType('SendManyRequest', (_ 'AddrToAmountEntry' : _reflection.GeneratedProtocolMessageType('AddrToAmountEntry', (_message.Message,), { 'DESCRIPTOR' : _SENDMANYREQUEST_ADDRTOAMOUNTENTRY, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.SendManyRequest.AddrToAmountEntry) }) , 'DESCRIPTOR' : _SENDMANYREQUEST, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.SendManyRequest) }) _sym_db.RegisterMessage(SendManyRequest) @@ -11132,168 +12292,168 @@ _sym_db.RegisterMessage(SendManyRequest.AddrToAmountEntry) SendManyResponse = _reflection.GeneratedProtocolMessageType('SendManyResponse', (_message.Message,), { 'DESCRIPTOR' : _SENDMANYRESPONSE, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.SendManyResponse) }) _sym_db.RegisterMessage(SendManyResponse) SendCoinsRequest = _reflection.GeneratedProtocolMessageType('SendCoinsRequest', (_message.Message,), { 'DESCRIPTOR' : _SENDCOINSREQUEST, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.SendCoinsRequest) }) _sym_db.RegisterMessage(SendCoinsRequest) SendCoinsResponse = _reflection.GeneratedProtocolMessageType('SendCoinsResponse', (_message.Message,), { 'DESCRIPTOR' : _SENDCOINSRESPONSE, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.SendCoinsResponse) }) _sym_db.RegisterMessage(SendCoinsResponse) ListUnspentRequest = _reflection.GeneratedProtocolMessageType('ListUnspentRequest', (_message.Message,), { 'DESCRIPTOR' : _LISTUNSPENTREQUEST, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.ListUnspentRequest) }) _sym_db.RegisterMessage(ListUnspentRequest) ListUnspentResponse = _reflection.GeneratedProtocolMessageType('ListUnspentResponse', (_message.Message,), { 'DESCRIPTOR' : _LISTUNSPENTRESPONSE, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.ListUnspentResponse) }) _sym_db.RegisterMessage(ListUnspentResponse) NewAddressRequest = _reflection.GeneratedProtocolMessageType('NewAddressRequest', (_message.Message,), { 'DESCRIPTOR' : _NEWADDRESSREQUEST, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.NewAddressRequest) }) _sym_db.RegisterMessage(NewAddressRequest) NewAddressResponse = _reflection.GeneratedProtocolMessageType('NewAddressResponse', (_message.Message,), { 'DESCRIPTOR' : _NEWADDRESSRESPONSE, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.NewAddressResponse) }) _sym_db.RegisterMessage(NewAddressResponse) SignMessageRequest = _reflection.GeneratedProtocolMessageType('SignMessageRequest', (_message.Message,), { 'DESCRIPTOR' : _SIGNMESSAGEREQUEST, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.SignMessageRequest) }) _sym_db.RegisterMessage(SignMessageRequest) SignMessageResponse = _reflection.GeneratedProtocolMessageType('SignMessageResponse', (_message.Message,), { 'DESCRIPTOR' : _SIGNMESSAGERESPONSE, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.SignMessageResponse) }) _sym_db.RegisterMessage(SignMessageResponse) VerifyMessageRequest = _reflection.GeneratedProtocolMessageType('VerifyMessageRequest', (_message.Message,), { 'DESCRIPTOR' : _VERIFYMESSAGEREQUEST, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.VerifyMessageRequest) }) _sym_db.RegisterMessage(VerifyMessageRequest) VerifyMessageResponse = _reflection.GeneratedProtocolMessageType('VerifyMessageResponse', (_message.Message,), { 'DESCRIPTOR' : _VERIFYMESSAGERESPONSE, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.VerifyMessageResponse) }) _sym_db.RegisterMessage(VerifyMessageResponse) ConnectPeerRequest = _reflection.GeneratedProtocolMessageType('ConnectPeerRequest', (_message.Message,), { 'DESCRIPTOR' : _CONNECTPEERREQUEST, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.ConnectPeerRequest) }) _sym_db.RegisterMessage(ConnectPeerRequest) ConnectPeerResponse = _reflection.GeneratedProtocolMessageType('ConnectPeerResponse', (_message.Message,), { 'DESCRIPTOR' : _CONNECTPEERRESPONSE, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.ConnectPeerResponse) }) _sym_db.RegisterMessage(ConnectPeerResponse) DisconnectPeerRequest = _reflection.GeneratedProtocolMessageType('DisconnectPeerRequest', (_message.Message,), { 'DESCRIPTOR' : _DISCONNECTPEERREQUEST, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.DisconnectPeerRequest) }) _sym_db.RegisterMessage(DisconnectPeerRequest) DisconnectPeerResponse = _reflection.GeneratedProtocolMessageType('DisconnectPeerResponse', (_message.Message,), { 'DESCRIPTOR' : _DISCONNECTPEERRESPONSE, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.DisconnectPeerResponse) }) _sym_db.RegisterMessage(DisconnectPeerResponse) HTLC = _reflection.GeneratedProtocolMessageType('HTLC', (_message.Message,), { 'DESCRIPTOR' : _HTLC, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.HTLC) }) _sym_db.RegisterMessage(HTLC) ChannelConstraints = _reflection.GeneratedProtocolMessageType('ChannelConstraints', (_message.Message,), { 'DESCRIPTOR' : _CHANNELCONSTRAINTS, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.ChannelConstraints) }) _sym_db.RegisterMessage(ChannelConstraints) Channel = _reflection.GeneratedProtocolMessageType('Channel', (_message.Message,), { 'DESCRIPTOR' : _CHANNEL, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.Channel) }) _sym_db.RegisterMessage(Channel) ListChannelsRequest = _reflection.GeneratedProtocolMessageType('ListChannelsRequest', (_message.Message,), { 'DESCRIPTOR' : _LISTCHANNELSREQUEST, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.ListChannelsRequest) }) _sym_db.RegisterMessage(ListChannelsRequest) ListChannelsResponse = _reflection.GeneratedProtocolMessageType('ListChannelsResponse', (_message.Message,), { 'DESCRIPTOR' : _LISTCHANNELSRESPONSE, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.ListChannelsResponse) }) _sym_db.RegisterMessage(ListChannelsResponse) ChannelCloseSummary = _reflection.GeneratedProtocolMessageType('ChannelCloseSummary', (_message.Message,), { 'DESCRIPTOR' : _CHANNELCLOSESUMMARY, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.ChannelCloseSummary) }) _sym_db.RegisterMessage(ChannelCloseSummary) Resolution = _reflection.GeneratedProtocolMessageType('Resolution', (_message.Message,), { 'DESCRIPTOR' : _RESOLUTION, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.Resolution) }) _sym_db.RegisterMessage(Resolution) ClosedChannelsRequest = _reflection.GeneratedProtocolMessageType('ClosedChannelsRequest', (_message.Message,), { 'DESCRIPTOR' : _CLOSEDCHANNELSREQUEST, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.ClosedChannelsRequest) }) _sym_db.RegisterMessage(ClosedChannelsRequest) ClosedChannelsResponse = _reflection.GeneratedProtocolMessageType('ClosedChannelsResponse', (_message.Message,), { 'DESCRIPTOR' : _CLOSEDCHANNELSRESPONSE, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.ClosedChannelsResponse) }) _sym_db.RegisterMessage(ClosedChannelsResponse) @@ -11302,12 +12462,12 @@ Peer = _reflection.GeneratedProtocolMessageType('Peer', (_message.Message,), { 'FeaturesEntry' : _reflection.GeneratedProtocolMessageType('FeaturesEntry', (_message.Message,), { 'DESCRIPTOR' : _PEER_FEATURESENTRY, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.Peer.FeaturesEntry) }) , 'DESCRIPTOR' : _PEER, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.Peer) }) _sym_db.RegisterMessage(Peer) @@ -11315,42 +12475,42 @@ _sym_db.RegisterMessage(Peer.FeaturesEntry) TimestampedError = _reflection.GeneratedProtocolMessageType('TimestampedError', (_message.Message,), { 'DESCRIPTOR' : _TIMESTAMPEDERROR, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.TimestampedError) }) _sym_db.RegisterMessage(TimestampedError) ListPeersRequest = _reflection.GeneratedProtocolMessageType('ListPeersRequest', (_message.Message,), { 'DESCRIPTOR' : _LISTPEERSREQUEST, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.ListPeersRequest) }) _sym_db.RegisterMessage(ListPeersRequest) ListPeersResponse = _reflection.GeneratedProtocolMessageType('ListPeersResponse', (_message.Message,), { 'DESCRIPTOR' : _LISTPEERSRESPONSE, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.ListPeersResponse) }) _sym_db.RegisterMessage(ListPeersResponse) PeerEventSubscription = _reflection.GeneratedProtocolMessageType('PeerEventSubscription', (_message.Message,), { 'DESCRIPTOR' : _PEEREVENTSUBSCRIPTION, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.PeerEventSubscription) }) _sym_db.RegisterMessage(PeerEventSubscription) PeerEvent = _reflection.GeneratedProtocolMessageType('PeerEvent', (_message.Message,), { 'DESCRIPTOR' : _PEEREVENT, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.PeerEvent) }) _sym_db.RegisterMessage(PeerEvent) GetInfoRequest = _reflection.GeneratedProtocolMessageType('GetInfoRequest', (_message.Message,), { 'DESCRIPTOR' : _GETINFOREQUEST, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.GetInfoRequest) }) _sym_db.RegisterMessage(GetInfoRequest) @@ -11359,12 +12519,12 @@ GetInfoResponse = _reflection.GeneratedProtocolMessageType('GetInfoResponse', (_ 'FeaturesEntry' : _reflection.GeneratedProtocolMessageType('FeaturesEntry', (_message.Message,), { 'DESCRIPTOR' : _GETINFORESPONSE_FEATURESENTRY, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.GetInfoResponse.FeaturesEntry) }) , 'DESCRIPTOR' : _GETINFORESPONSE, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.GetInfoResponse) }) _sym_db.RegisterMessage(GetInfoResponse) @@ -11372,168 +12532,189 @@ _sym_db.RegisterMessage(GetInfoResponse.FeaturesEntry) GetRecoveryInfoRequest = _reflection.GeneratedProtocolMessageType('GetRecoveryInfoRequest', (_message.Message,), { 'DESCRIPTOR' : _GETRECOVERYINFOREQUEST, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.GetRecoveryInfoRequest) }) _sym_db.RegisterMessage(GetRecoveryInfoRequest) GetRecoveryInfoResponse = _reflection.GeneratedProtocolMessageType('GetRecoveryInfoResponse', (_message.Message,), { 'DESCRIPTOR' : _GETRECOVERYINFORESPONSE, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.GetRecoveryInfoResponse) }) _sym_db.RegisterMessage(GetRecoveryInfoResponse) Chain = _reflection.GeneratedProtocolMessageType('Chain', (_message.Message,), { 'DESCRIPTOR' : _CHAIN, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.Chain) }) _sym_db.RegisterMessage(Chain) ConfirmationUpdate = _reflection.GeneratedProtocolMessageType('ConfirmationUpdate', (_message.Message,), { 'DESCRIPTOR' : _CONFIRMATIONUPDATE, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.ConfirmationUpdate) }) _sym_db.RegisterMessage(ConfirmationUpdate) ChannelOpenUpdate = _reflection.GeneratedProtocolMessageType('ChannelOpenUpdate', (_message.Message,), { 'DESCRIPTOR' : _CHANNELOPENUPDATE, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.ChannelOpenUpdate) }) _sym_db.RegisterMessage(ChannelOpenUpdate) ChannelCloseUpdate = _reflection.GeneratedProtocolMessageType('ChannelCloseUpdate', (_message.Message,), { 'DESCRIPTOR' : _CHANNELCLOSEUPDATE, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.ChannelCloseUpdate) }) _sym_db.RegisterMessage(ChannelCloseUpdate) CloseChannelRequest = _reflection.GeneratedProtocolMessageType('CloseChannelRequest', (_message.Message,), { 'DESCRIPTOR' : _CLOSECHANNELREQUEST, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.CloseChannelRequest) }) _sym_db.RegisterMessage(CloseChannelRequest) CloseStatusUpdate = _reflection.GeneratedProtocolMessageType('CloseStatusUpdate', (_message.Message,), { 'DESCRIPTOR' : _CLOSESTATUSUPDATE, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.CloseStatusUpdate) }) _sym_db.RegisterMessage(CloseStatusUpdate) PendingUpdate = _reflection.GeneratedProtocolMessageType('PendingUpdate', (_message.Message,), { 'DESCRIPTOR' : _PENDINGUPDATE, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.PendingUpdate) }) _sym_db.RegisterMessage(PendingUpdate) ReadyForPsbtFunding = _reflection.GeneratedProtocolMessageType('ReadyForPsbtFunding', (_message.Message,), { 'DESCRIPTOR' : _READYFORPSBTFUNDING, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.ReadyForPsbtFunding) }) _sym_db.RegisterMessage(ReadyForPsbtFunding) +BatchOpenChannelRequest = _reflection.GeneratedProtocolMessageType('BatchOpenChannelRequest', (_message.Message,), { + 'DESCRIPTOR' : _BATCHOPENCHANNELREQUEST, + '__module__' : 'lightning_pb2' + # @@protoc_insertion_point(class_scope:lnrpc.BatchOpenChannelRequest) + }) +_sym_db.RegisterMessage(BatchOpenChannelRequest) + +BatchOpenChannel = _reflection.GeneratedProtocolMessageType('BatchOpenChannel', (_message.Message,), { + 'DESCRIPTOR' : _BATCHOPENCHANNEL, + '__module__' : 'lightning_pb2' + # @@protoc_insertion_point(class_scope:lnrpc.BatchOpenChannel) + }) +_sym_db.RegisterMessage(BatchOpenChannel) + +BatchOpenChannelResponse = _reflection.GeneratedProtocolMessageType('BatchOpenChannelResponse', (_message.Message,), { + 'DESCRIPTOR' : _BATCHOPENCHANNELRESPONSE, + '__module__' : 'lightning_pb2' + # @@protoc_insertion_point(class_scope:lnrpc.BatchOpenChannelResponse) + }) +_sym_db.RegisterMessage(BatchOpenChannelResponse) + OpenChannelRequest = _reflection.GeneratedProtocolMessageType('OpenChannelRequest', (_message.Message,), { 'DESCRIPTOR' : _OPENCHANNELREQUEST, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.OpenChannelRequest) }) _sym_db.RegisterMessage(OpenChannelRequest) OpenStatusUpdate = _reflection.GeneratedProtocolMessageType('OpenStatusUpdate', (_message.Message,), { 'DESCRIPTOR' : _OPENSTATUSUPDATE, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.OpenStatusUpdate) }) _sym_db.RegisterMessage(OpenStatusUpdate) KeyLocator = _reflection.GeneratedProtocolMessageType('KeyLocator', (_message.Message,), { 'DESCRIPTOR' : _KEYLOCATOR, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.KeyLocator) }) _sym_db.RegisterMessage(KeyLocator) KeyDescriptor = _reflection.GeneratedProtocolMessageType('KeyDescriptor', (_message.Message,), { 'DESCRIPTOR' : _KEYDESCRIPTOR, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.KeyDescriptor) }) _sym_db.RegisterMessage(KeyDescriptor) ChanPointShim = _reflection.GeneratedProtocolMessageType('ChanPointShim', (_message.Message,), { 'DESCRIPTOR' : _CHANPOINTSHIM, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.ChanPointShim) }) _sym_db.RegisterMessage(ChanPointShim) PsbtShim = _reflection.GeneratedProtocolMessageType('PsbtShim', (_message.Message,), { 'DESCRIPTOR' : _PSBTSHIM, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.PsbtShim) }) _sym_db.RegisterMessage(PsbtShim) FundingShim = _reflection.GeneratedProtocolMessageType('FundingShim', (_message.Message,), { 'DESCRIPTOR' : _FUNDINGSHIM, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.FundingShim) }) _sym_db.RegisterMessage(FundingShim) FundingShimCancel = _reflection.GeneratedProtocolMessageType('FundingShimCancel', (_message.Message,), { 'DESCRIPTOR' : _FUNDINGSHIMCANCEL, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.FundingShimCancel) }) _sym_db.RegisterMessage(FundingShimCancel) FundingPsbtVerify = _reflection.GeneratedProtocolMessageType('FundingPsbtVerify', (_message.Message,), { 'DESCRIPTOR' : _FUNDINGPSBTVERIFY, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.FundingPsbtVerify) }) _sym_db.RegisterMessage(FundingPsbtVerify) FundingPsbtFinalize = _reflection.GeneratedProtocolMessageType('FundingPsbtFinalize', (_message.Message,), { 'DESCRIPTOR' : _FUNDINGPSBTFINALIZE, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.FundingPsbtFinalize) }) _sym_db.RegisterMessage(FundingPsbtFinalize) FundingTransitionMsg = _reflection.GeneratedProtocolMessageType('FundingTransitionMsg', (_message.Message,), { 'DESCRIPTOR' : _FUNDINGTRANSITIONMSG, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.FundingTransitionMsg) }) _sym_db.RegisterMessage(FundingTransitionMsg) FundingStateStepResp = _reflection.GeneratedProtocolMessageType('FundingStateStepResp', (_message.Message,), { 'DESCRIPTOR' : _FUNDINGSTATESTEPRESP, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.FundingStateStepResp) }) _sym_db.RegisterMessage(FundingStateStepResp) PendingHTLC = _reflection.GeneratedProtocolMessageType('PendingHTLC', (_message.Message,), { 'DESCRIPTOR' : _PENDINGHTLC, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.PendingHTLC) }) _sym_db.RegisterMessage(PendingHTLC) PendingChannelsRequest = _reflection.GeneratedProtocolMessageType('PendingChannelsRequest', (_message.Message,), { 'DESCRIPTOR' : _PENDINGCHANNELSREQUEST, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.PendingChannelsRequest) }) _sym_db.RegisterMessage(PendingChannelsRequest) @@ -11542,47 +12723,47 @@ PendingChannelsResponse = _reflection.GeneratedProtocolMessageType('PendingChann 'PendingChannel' : _reflection.GeneratedProtocolMessageType('PendingChannel', (_message.Message,), { 'DESCRIPTOR' : _PENDINGCHANNELSRESPONSE_PENDINGCHANNEL, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.PendingChannelsResponse.PendingChannel) }) , 'PendingOpenChannel' : _reflection.GeneratedProtocolMessageType('PendingOpenChannel', (_message.Message,), { 'DESCRIPTOR' : _PENDINGCHANNELSRESPONSE_PENDINGOPENCHANNEL, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.PendingChannelsResponse.PendingOpenChannel) }) , 'WaitingCloseChannel' : _reflection.GeneratedProtocolMessageType('WaitingCloseChannel', (_message.Message,), { 'DESCRIPTOR' : _PENDINGCHANNELSRESPONSE_WAITINGCLOSECHANNEL, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.PendingChannelsResponse.WaitingCloseChannel) }) , 'Commitments' : _reflection.GeneratedProtocolMessageType('Commitments', (_message.Message,), { 'DESCRIPTOR' : _PENDINGCHANNELSRESPONSE_COMMITMENTS, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.PendingChannelsResponse.Commitments) }) , 'ClosedChannel' : _reflection.GeneratedProtocolMessageType('ClosedChannel', (_message.Message,), { 'DESCRIPTOR' : _PENDINGCHANNELSRESPONSE_CLOSEDCHANNEL, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.PendingChannelsResponse.ClosedChannel) }) , 'ForceClosedChannel' : _reflection.GeneratedProtocolMessageType('ForceClosedChannel', (_message.Message,), { 'DESCRIPTOR' : _PENDINGCHANNELSRESPONSE_FORCECLOSEDCHANNEL, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.PendingChannelsResponse.ForceClosedChannel) }) , 'DESCRIPTOR' : _PENDINGCHANNELSRESPONSE, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.PendingChannelsResponse) }) _sym_db.RegisterMessage(PendingChannelsResponse) @@ -11595,28 +12776,28 @@ _sym_db.RegisterMessage(PendingChannelsResponse.ForceClosedChannel) ChannelEventSubscription = _reflection.GeneratedProtocolMessageType('ChannelEventSubscription', (_message.Message,), { 'DESCRIPTOR' : _CHANNELEVENTSUBSCRIPTION, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.ChannelEventSubscription) }) _sym_db.RegisterMessage(ChannelEventSubscription) ChannelEventUpdate = _reflection.GeneratedProtocolMessageType('ChannelEventUpdate', (_message.Message,), { 'DESCRIPTOR' : _CHANNELEVENTUPDATE, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.ChannelEventUpdate) }) _sym_db.RegisterMessage(ChannelEventUpdate) WalletAccountBalance = _reflection.GeneratedProtocolMessageType('WalletAccountBalance', (_message.Message,), { 'DESCRIPTOR' : _WALLETACCOUNTBALANCE, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.WalletAccountBalance) }) _sym_db.RegisterMessage(WalletAccountBalance) WalletBalanceRequest = _reflection.GeneratedProtocolMessageType('WalletBalanceRequest', (_message.Message,), { 'DESCRIPTOR' : _WALLETBALANCEREQUEST, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.WalletBalanceRequest) }) _sym_db.RegisterMessage(WalletBalanceRequest) @@ -11625,12 +12806,12 @@ WalletBalanceResponse = _reflection.GeneratedProtocolMessageType('WalletBalanceR 'AccountBalanceEntry' : _reflection.GeneratedProtocolMessageType('AccountBalanceEntry', (_message.Message,), { 'DESCRIPTOR' : _WALLETBALANCERESPONSE_ACCOUNTBALANCEENTRY, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.WalletBalanceResponse.AccountBalanceEntry) }) , 'DESCRIPTOR' : _WALLETBALANCERESPONSE, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.WalletBalanceResponse) }) _sym_db.RegisterMessage(WalletBalanceResponse) @@ -11638,21 +12819,21 @@ _sym_db.RegisterMessage(WalletBalanceResponse.AccountBalanceEntry) Amount = _reflection.GeneratedProtocolMessageType('Amount', (_message.Message,), { 'DESCRIPTOR' : _AMOUNT, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.Amount) }) _sym_db.RegisterMessage(Amount) ChannelBalanceRequest = _reflection.GeneratedProtocolMessageType('ChannelBalanceRequest', (_message.Message,), { 'DESCRIPTOR' : _CHANNELBALANCEREQUEST, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.ChannelBalanceRequest) }) _sym_db.RegisterMessage(ChannelBalanceRequest) ChannelBalanceResponse = _reflection.GeneratedProtocolMessageType('ChannelBalanceResponse', (_message.Message,), { 'DESCRIPTOR' : _CHANNELBALANCERESPONSE, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.ChannelBalanceResponse) }) _sym_db.RegisterMessage(ChannelBalanceResponse) @@ -11661,12 +12842,12 @@ QueryRoutesRequest = _reflection.GeneratedProtocolMessageType('QueryRoutesReques 'DestCustomRecordsEntry' : _reflection.GeneratedProtocolMessageType('DestCustomRecordsEntry', (_message.Message,), { 'DESCRIPTOR' : _QUERYROUTESREQUEST_DESTCUSTOMRECORDSENTRY, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.QueryRoutesRequest.DestCustomRecordsEntry) }) , 'DESCRIPTOR' : _QUERYROUTESREQUEST, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.QueryRoutesRequest) }) _sym_db.RegisterMessage(QueryRoutesRequest) @@ -11674,21 +12855,21 @@ _sym_db.RegisterMessage(QueryRoutesRequest.DestCustomRecordsEntry) NodePair = _reflection.GeneratedProtocolMessageType('NodePair', (_message.Message,), { 'DESCRIPTOR' : _NODEPAIR, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.NodePair) }) _sym_db.RegisterMessage(NodePair) EdgeLocator = _reflection.GeneratedProtocolMessageType('EdgeLocator', (_message.Message,), { 'DESCRIPTOR' : _EDGELOCATOR, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.EdgeLocator) }) _sym_db.RegisterMessage(EdgeLocator) QueryRoutesResponse = _reflection.GeneratedProtocolMessageType('QueryRoutesResponse', (_message.Message,), { 'DESCRIPTOR' : _QUERYROUTESRESPONSE, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.QueryRoutesResponse) }) _sym_db.RegisterMessage(QueryRoutesResponse) @@ -11697,12 +12878,12 @@ Hop = _reflection.GeneratedProtocolMessageType('Hop', (_message.Message,), { 'CustomRecordsEntry' : _reflection.GeneratedProtocolMessageType('CustomRecordsEntry', (_message.Message,), { 'DESCRIPTOR' : _HOP_CUSTOMRECORDSENTRY, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.Hop.CustomRecordsEntry) }) , 'DESCRIPTOR' : _HOP, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.Hop) }) _sym_db.RegisterMessage(Hop) @@ -11710,35 +12891,35 @@ _sym_db.RegisterMessage(Hop.CustomRecordsEntry) MPPRecord = _reflection.GeneratedProtocolMessageType('MPPRecord', (_message.Message,), { 'DESCRIPTOR' : _MPPRECORD, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.MPPRecord) }) _sym_db.RegisterMessage(MPPRecord) AMPRecord = _reflection.GeneratedProtocolMessageType('AMPRecord', (_message.Message,), { 'DESCRIPTOR' : _AMPRECORD, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.AMPRecord) }) _sym_db.RegisterMessage(AMPRecord) Route = _reflection.GeneratedProtocolMessageType('Route', (_message.Message,), { 'DESCRIPTOR' : _ROUTE, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.Route) }) _sym_db.RegisterMessage(Route) NodeInfoRequest = _reflection.GeneratedProtocolMessageType('NodeInfoRequest', (_message.Message,), { 'DESCRIPTOR' : _NODEINFOREQUEST, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.NodeInfoRequest) }) _sym_db.RegisterMessage(NodeInfoRequest) NodeInfo = _reflection.GeneratedProtocolMessageType('NodeInfo', (_message.Message,), { 'DESCRIPTOR' : _NODEINFO, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.NodeInfo) }) _sym_db.RegisterMessage(NodeInfo) @@ -11747,12 +12928,12 @@ LightningNode = _reflection.GeneratedProtocolMessageType('LightningNode', (_mess 'FeaturesEntry' : _reflection.GeneratedProtocolMessageType('FeaturesEntry', (_message.Message,), { 'DESCRIPTOR' : _LIGHTNINGNODE_FEATURESENTRY, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.LightningNode.FeaturesEntry) }) , 'DESCRIPTOR' : _LIGHTNINGNODE, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.LightningNode) }) _sym_db.RegisterMessage(LightningNode) @@ -11760,42 +12941,42 @@ _sym_db.RegisterMessage(LightningNode.FeaturesEntry) NodeAddress = _reflection.GeneratedProtocolMessageType('NodeAddress', (_message.Message,), { 'DESCRIPTOR' : _NODEADDRESS, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.NodeAddress) }) _sym_db.RegisterMessage(NodeAddress) RoutingPolicy = _reflection.GeneratedProtocolMessageType('RoutingPolicy', (_message.Message,), { 'DESCRIPTOR' : _ROUTINGPOLICY, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.RoutingPolicy) }) _sym_db.RegisterMessage(RoutingPolicy) ChannelEdge = _reflection.GeneratedProtocolMessageType('ChannelEdge', (_message.Message,), { 'DESCRIPTOR' : _CHANNELEDGE, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.ChannelEdge) }) _sym_db.RegisterMessage(ChannelEdge) ChannelGraphRequest = _reflection.GeneratedProtocolMessageType('ChannelGraphRequest', (_message.Message,), { 'DESCRIPTOR' : _CHANNELGRAPHREQUEST, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.ChannelGraphRequest) }) _sym_db.RegisterMessage(ChannelGraphRequest) ChannelGraph = _reflection.GeneratedProtocolMessageType('ChannelGraph', (_message.Message,), { 'DESCRIPTOR' : _CHANNELGRAPH, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.ChannelGraph) }) _sym_db.RegisterMessage(ChannelGraph) NodeMetricsRequest = _reflection.GeneratedProtocolMessageType('NodeMetricsRequest', (_message.Message,), { 'DESCRIPTOR' : _NODEMETRICSREQUEST, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.NodeMetricsRequest) }) _sym_db.RegisterMessage(NodeMetricsRequest) @@ -11804,12 +12985,12 @@ NodeMetricsResponse = _reflection.GeneratedProtocolMessageType('NodeMetricsRespo 'BetweennessCentralityEntry' : _reflection.GeneratedProtocolMessageType('BetweennessCentralityEntry', (_message.Message,), { 'DESCRIPTOR' : _NODEMETRICSRESPONSE_BETWEENNESSCENTRALITYENTRY, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.NodeMetricsResponse.BetweennessCentralityEntry) }) , 'DESCRIPTOR' : _NODEMETRICSRESPONSE, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.NodeMetricsResponse) }) _sym_db.RegisterMessage(NodeMetricsResponse) @@ -11817,56 +12998,56 @@ _sym_db.RegisterMessage(NodeMetricsResponse.BetweennessCentralityEntry) FloatMetric = _reflection.GeneratedProtocolMessageType('FloatMetric', (_message.Message,), { 'DESCRIPTOR' : _FLOATMETRIC, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.FloatMetric) }) _sym_db.RegisterMessage(FloatMetric) ChanInfoRequest = _reflection.GeneratedProtocolMessageType('ChanInfoRequest', (_message.Message,), { 'DESCRIPTOR' : _CHANINFOREQUEST, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.ChanInfoRequest) }) _sym_db.RegisterMessage(ChanInfoRequest) NetworkInfoRequest = _reflection.GeneratedProtocolMessageType('NetworkInfoRequest', (_message.Message,), { 'DESCRIPTOR' : _NETWORKINFOREQUEST, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.NetworkInfoRequest) }) _sym_db.RegisterMessage(NetworkInfoRequest) NetworkInfo = _reflection.GeneratedProtocolMessageType('NetworkInfo', (_message.Message,), { 'DESCRIPTOR' : _NETWORKINFO, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.NetworkInfo) }) _sym_db.RegisterMessage(NetworkInfo) StopRequest = _reflection.GeneratedProtocolMessageType('StopRequest', (_message.Message,), { 'DESCRIPTOR' : _STOPREQUEST, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.StopRequest) }) _sym_db.RegisterMessage(StopRequest) StopResponse = _reflection.GeneratedProtocolMessageType('StopResponse', (_message.Message,), { 'DESCRIPTOR' : _STOPRESPONSE, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.StopResponse) }) _sym_db.RegisterMessage(StopResponse) GraphTopologySubscription = _reflection.GeneratedProtocolMessageType('GraphTopologySubscription', (_message.Message,), { 'DESCRIPTOR' : _GRAPHTOPOLOGYSUBSCRIPTION, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.GraphTopologySubscription) }) _sym_db.RegisterMessage(GraphTopologySubscription) GraphTopologyUpdate = _reflection.GeneratedProtocolMessageType('GraphTopologyUpdate', (_message.Message,), { 'DESCRIPTOR' : _GRAPHTOPOLOGYUPDATE, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.GraphTopologyUpdate) }) _sym_db.RegisterMessage(GraphTopologyUpdate) @@ -11875,12 +13056,12 @@ NodeUpdate = _reflection.GeneratedProtocolMessageType('NodeUpdate', (_message.Me 'FeaturesEntry' : _reflection.GeneratedProtocolMessageType('FeaturesEntry', (_message.Message,), { 'DESCRIPTOR' : _NODEUPDATE_FEATURESENTRY, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.NodeUpdate.FeaturesEntry) }) , 'DESCRIPTOR' : _NODEUPDATE, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.NodeUpdate) }) _sym_db.RegisterMessage(NodeUpdate) @@ -11888,57 +13069,79 @@ _sym_db.RegisterMessage(NodeUpdate.FeaturesEntry) ChannelEdgeUpdate = _reflection.GeneratedProtocolMessageType('ChannelEdgeUpdate', (_message.Message,), { 'DESCRIPTOR' : _CHANNELEDGEUPDATE, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.ChannelEdgeUpdate) }) _sym_db.RegisterMessage(ChannelEdgeUpdate) ClosedChannelUpdate = _reflection.GeneratedProtocolMessageType('ClosedChannelUpdate', (_message.Message,), { 'DESCRIPTOR' : _CLOSEDCHANNELUPDATE, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.ClosedChannelUpdate) }) _sym_db.RegisterMessage(ClosedChannelUpdate) HopHint = _reflection.GeneratedProtocolMessageType('HopHint', (_message.Message,), { 'DESCRIPTOR' : _HOPHINT, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.HopHint) }) _sym_db.RegisterMessage(HopHint) +SetID = _reflection.GeneratedProtocolMessageType('SetID', (_message.Message,), { + 'DESCRIPTOR' : _SETID, + '__module__' : 'lightning_pb2' + # @@protoc_insertion_point(class_scope:lnrpc.SetID) + }) +_sym_db.RegisterMessage(SetID) + RouteHint = _reflection.GeneratedProtocolMessageType('RouteHint', (_message.Message,), { 'DESCRIPTOR' : _ROUTEHINT, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.RouteHint) }) _sym_db.RegisterMessage(RouteHint) +AMPInvoiceState = _reflection.GeneratedProtocolMessageType('AMPInvoiceState', (_message.Message,), { + 'DESCRIPTOR' : _AMPINVOICESTATE, + '__module__' : 'lightning_pb2' + # @@protoc_insertion_point(class_scope:lnrpc.AMPInvoiceState) + }) +_sym_db.RegisterMessage(AMPInvoiceState) + Invoice = _reflection.GeneratedProtocolMessageType('Invoice', (_message.Message,), { 'FeaturesEntry' : _reflection.GeneratedProtocolMessageType('FeaturesEntry', (_message.Message,), { 'DESCRIPTOR' : _INVOICE_FEATURESENTRY, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.Invoice.FeaturesEntry) }) , + + 'AmpInvoiceStateEntry' : _reflection.GeneratedProtocolMessageType('AmpInvoiceStateEntry', (_message.Message,), { + 'DESCRIPTOR' : _INVOICE_AMPINVOICESTATEENTRY, + '__module__' : 'lightning_pb2' + # @@protoc_insertion_point(class_scope:lnrpc.Invoice.AmpInvoiceStateEntry) + }) + , 'DESCRIPTOR' : _INVOICE, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.Invoice) }) _sym_db.RegisterMessage(Invoice) _sym_db.RegisterMessage(Invoice.FeaturesEntry) +_sym_db.RegisterMessage(Invoice.AmpInvoiceStateEntry) InvoiceHTLC = _reflection.GeneratedProtocolMessageType('InvoiceHTLC', (_message.Message,), { 'CustomRecordsEntry' : _reflection.GeneratedProtocolMessageType('CustomRecordsEntry', (_message.Message,), { 'DESCRIPTOR' : _INVOICEHTLC_CUSTOMRECORDSENTRY, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.InvoiceHTLC.CustomRecordsEntry) }) , 'DESCRIPTOR' : _INVOICEHTLC, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.InvoiceHTLC) }) _sym_db.RegisterMessage(InvoiceHTLC) @@ -11946,119 +13149,133 @@ _sym_db.RegisterMessage(InvoiceHTLC.CustomRecordsEntry) AMP = _reflection.GeneratedProtocolMessageType('AMP', (_message.Message,), { 'DESCRIPTOR' : _AMP, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.AMP) }) _sym_db.RegisterMessage(AMP) AddInvoiceResponse = _reflection.GeneratedProtocolMessageType('AddInvoiceResponse', (_message.Message,), { 'DESCRIPTOR' : _ADDINVOICERESPONSE, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.AddInvoiceResponse) }) _sym_db.RegisterMessage(AddInvoiceResponse) PaymentHash = _reflection.GeneratedProtocolMessageType('PaymentHash', (_message.Message,), { 'DESCRIPTOR' : _PAYMENTHASH, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.PaymentHash) }) _sym_db.RegisterMessage(PaymentHash) ListInvoiceRequest = _reflection.GeneratedProtocolMessageType('ListInvoiceRequest', (_message.Message,), { 'DESCRIPTOR' : _LISTINVOICEREQUEST, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.ListInvoiceRequest) }) _sym_db.RegisterMessage(ListInvoiceRequest) ListInvoiceResponse = _reflection.GeneratedProtocolMessageType('ListInvoiceResponse', (_message.Message,), { 'DESCRIPTOR' : _LISTINVOICERESPONSE, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.ListInvoiceResponse) }) _sym_db.RegisterMessage(ListInvoiceResponse) InvoiceSubscription = _reflection.GeneratedProtocolMessageType('InvoiceSubscription', (_message.Message,), { 'DESCRIPTOR' : _INVOICESUBSCRIPTION, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.InvoiceSubscription) }) _sym_db.RegisterMessage(InvoiceSubscription) Payment = _reflection.GeneratedProtocolMessageType('Payment', (_message.Message,), { 'DESCRIPTOR' : _PAYMENT, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.Payment) }) _sym_db.RegisterMessage(Payment) HTLCAttempt = _reflection.GeneratedProtocolMessageType('HTLCAttempt', (_message.Message,), { 'DESCRIPTOR' : _HTLCATTEMPT, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.HTLCAttempt) }) _sym_db.RegisterMessage(HTLCAttempt) ListPaymentsRequest = _reflection.GeneratedProtocolMessageType('ListPaymentsRequest', (_message.Message,), { 'DESCRIPTOR' : _LISTPAYMENTSREQUEST, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.ListPaymentsRequest) }) _sym_db.RegisterMessage(ListPaymentsRequest) ListPaymentsResponse = _reflection.GeneratedProtocolMessageType('ListPaymentsResponse', (_message.Message,), { 'DESCRIPTOR' : _LISTPAYMENTSRESPONSE, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.ListPaymentsResponse) }) _sym_db.RegisterMessage(ListPaymentsResponse) +DeletePaymentRequest = _reflection.GeneratedProtocolMessageType('DeletePaymentRequest', (_message.Message,), { + 'DESCRIPTOR' : _DELETEPAYMENTREQUEST, + '__module__' : 'lightning_pb2' + # @@protoc_insertion_point(class_scope:lnrpc.DeletePaymentRequest) + }) +_sym_db.RegisterMessage(DeletePaymentRequest) + DeleteAllPaymentsRequest = _reflection.GeneratedProtocolMessageType('DeleteAllPaymentsRequest', (_message.Message,), { 'DESCRIPTOR' : _DELETEALLPAYMENTSREQUEST, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.DeleteAllPaymentsRequest) }) _sym_db.RegisterMessage(DeleteAllPaymentsRequest) +DeletePaymentResponse = _reflection.GeneratedProtocolMessageType('DeletePaymentResponse', (_message.Message,), { + 'DESCRIPTOR' : _DELETEPAYMENTRESPONSE, + '__module__' : 'lightning_pb2' + # @@protoc_insertion_point(class_scope:lnrpc.DeletePaymentResponse) + }) +_sym_db.RegisterMessage(DeletePaymentResponse) + DeleteAllPaymentsResponse = _reflection.GeneratedProtocolMessageType('DeleteAllPaymentsResponse', (_message.Message,), { 'DESCRIPTOR' : _DELETEALLPAYMENTSRESPONSE, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.DeleteAllPaymentsResponse) }) _sym_db.RegisterMessage(DeleteAllPaymentsResponse) AbandonChannelRequest = _reflection.GeneratedProtocolMessageType('AbandonChannelRequest', (_message.Message,), { 'DESCRIPTOR' : _ABANDONCHANNELREQUEST, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.AbandonChannelRequest) }) _sym_db.RegisterMessage(AbandonChannelRequest) AbandonChannelResponse = _reflection.GeneratedProtocolMessageType('AbandonChannelResponse', (_message.Message,), { 'DESCRIPTOR' : _ABANDONCHANNELRESPONSE, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.AbandonChannelResponse) }) _sym_db.RegisterMessage(AbandonChannelResponse) DebugLevelRequest = _reflection.GeneratedProtocolMessageType('DebugLevelRequest', (_message.Message,), { 'DESCRIPTOR' : _DEBUGLEVELREQUEST, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.DebugLevelRequest) }) _sym_db.RegisterMessage(DebugLevelRequest) DebugLevelResponse = _reflection.GeneratedProtocolMessageType('DebugLevelResponse', (_message.Message,), { 'DESCRIPTOR' : _DEBUGLEVELRESPONSE, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.DebugLevelResponse) }) _sym_db.RegisterMessage(DebugLevelResponse) PayReqString = _reflection.GeneratedProtocolMessageType('PayReqString', (_message.Message,), { 'DESCRIPTOR' : _PAYREQSTRING, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.PayReqString) }) _sym_db.RegisterMessage(PayReqString) @@ -12067,12 +13284,12 @@ PayReq = _reflection.GeneratedProtocolMessageType('PayReq', (_message.Message,), 'FeaturesEntry' : _reflection.GeneratedProtocolMessageType('FeaturesEntry', (_message.Message,), { 'DESCRIPTOR' : _PAYREQ_FEATURESENTRY, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.PayReq.FeaturesEntry) }) , 'DESCRIPTOR' : _PAYREQ, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.PayReq) }) _sym_db.RegisterMessage(PayReq) @@ -12080,196 +13297,203 @@ _sym_db.RegisterMessage(PayReq.FeaturesEntry) Feature = _reflection.GeneratedProtocolMessageType('Feature', (_message.Message,), { 'DESCRIPTOR' : _FEATURE, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.Feature) }) _sym_db.RegisterMessage(Feature) FeeReportRequest = _reflection.GeneratedProtocolMessageType('FeeReportRequest', (_message.Message,), { 'DESCRIPTOR' : _FEEREPORTREQUEST, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.FeeReportRequest) }) _sym_db.RegisterMessage(FeeReportRequest) ChannelFeeReport = _reflection.GeneratedProtocolMessageType('ChannelFeeReport', (_message.Message,), { 'DESCRIPTOR' : _CHANNELFEEREPORT, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.ChannelFeeReport) }) _sym_db.RegisterMessage(ChannelFeeReport) FeeReportResponse = _reflection.GeneratedProtocolMessageType('FeeReportResponse', (_message.Message,), { 'DESCRIPTOR' : _FEEREPORTRESPONSE, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.FeeReportResponse) }) _sym_db.RegisterMessage(FeeReportResponse) PolicyUpdateRequest = _reflection.GeneratedProtocolMessageType('PolicyUpdateRequest', (_message.Message,), { 'DESCRIPTOR' : _POLICYUPDATEREQUEST, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.PolicyUpdateRequest) }) _sym_db.RegisterMessage(PolicyUpdateRequest) +FailedUpdate = _reflection.GeneratedProtocolMessageType('FailedUpdate', (_message.Message,), { + 'DESCRIPTOR' : _FAILEDUPDATE, + '__module__' : 'lightning_pb2' + # @@protoc_insertion_point(class_scope:lnrpc.FailedUpdate) + }) +_sym_db.RegisterMessage(FailedUpdate) + PolicyUpdateResponse = _reflection.GeneratedProtocolMessageType('PolicyUpdateResponse', (_message.Message,), { 'DESCRIPTOR' : _POLICYUPDATERESPONSE, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.PolicyUpdateResponse) }) _sym_db.RegisterMessage(PolicyUpdateResponse) ForwardingHistoryRequest = _reflection.GeneratedProtocolMessageType('ForwardingHistoryRequest', (_message.Message,), { 'DESCRIPTOR' : _FORWARDINGHISTORYREQUEST, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.ForwardingHistoryRequest) }) _sym_db.RegisterMessage(ForwardingHistoryRequest) ForwardingEvent = _reflection.GeneratedProtocolMessageType('ForwardingEvent', (_message.Message,), { 'DESCRIPTOR' : _FORWARDINGEVENT, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.ForwardingEvent) }) _sym_db.RegisterMessage(ForwardingEvent) ForwardingHistoryResponse = _reflection.GeneratedProtocolMessageType('ForwardingHistoryResponse', (_message.Message,), { 'DESCRIPTOR' : _FORWARDINGHISTORYRESPONSE, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.ForwardingHistoryResponse) }) _sym_db.RegisterMessage(ForwardingHistoryResponse) ExportChannelBackupRequest = _reflection.GeneratedProtocolMessageType('ExportChannelBackupRequest', (_message.Message,), { 'DESCRIPTOR' : _EXPORTCHANNELBACKUPREQUEST, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.ExportChannelBackupRequest) }) _sym_db.RegisterMessage(ExportChannelBackupRequest) ChannelBackup = _reflection.GeneratedProtocolMessageType('ChannelBackup', (_message.Message,), { 'DESCRIPTOR' : _CHANNELBACKUP, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.ChannelBackup) }) _sym_db.RegisterMessage(ChannelBackup) MultiChanBackup = _reflection.GeneratedProtocolMessageType('MultiChanBackup', (_message.Message,), { 'DESCRIPTOR' : _MULTICHANBACKUP, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.MultiChanBackup) }) _sym_db.RegisterMessage(MultiChanBackup) ChanBackupExportRequest = _reflection.GeneratedProtocolMessageType('ChanBackupExportRequest', (_message.Message,), { 'DESCRIPTOR' : _CHANBACKUPEXPORTREQUEST, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.ChanBackupExportRequest) }) _sym_db.RegisterMessage(ChanBackupExportRequest) ChanBackupSnapshot = _reflection.GeneratedProtocolMessageType('ChanBackupSnapshot', (_message.Message,), { 'DESCRIPTOR' : _CHANBACKUPSNAPSHOT, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.ChanBackupSnapshot) }) _sym_db.RegisterMessage(ChanBackupSnapshot) ChannelBackups = _reflection.GeneratedProtocolMessageType('ChannelBackups', (_message.Message,), { 'DESCRIPTOR' : _CHANNELBACKUPS, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.ChannelBackups) }) _sym_db.RegisterMessage(ChannelBackups) RestoreChanBackupRequest = _reflection.GeneratedProtocolMessageType('RestoreChanBackupRequest', (_message.Message,), { 'DESCRIPTOR' : _RESTORECHANBACKUPREQUEST, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.RestoreChanBackupRequest) }) _sym_db.RegisterMessage(RestoreChanBackupRequest) RestoreBackupResponse = _reflection.GeneratedProtocolMessageType('RestoreBackupResponse', (_message.Message,), { 'DESCRIPTOR' : _RESTOREBACKUPRESPONSE, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.RestoreBackupResponse) }) _sym_db.RegisterMessage(RestoreBackupResponse) ChannelBackupSubscription = _reflection.GeneratedProtocolMessageType('ChannelBackupSubscription', (_message.Message,), { 'DESCRIPTOR' : _CHANNELBACKUPSUBSCRIPTION, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.ChannelBackupSubscription) }) _sym_db.RegisterMessage(ChannelBackupSubscription) VerifyChanBackupResponse = _reflection.GeneratedProtocolMessageType('VerifyChanBackupResponse', (_message.Message,), { 'DESCRIPTOR' : _VERIFYCHANBACKUPRESPONSE, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.VerifyChanBackupResponse) }) _sym_db.RegisterMessage(VerifyChanBackupResponse) MacaroonPermission = _reflection.GeneratedProtocolMessageType('MacaroonPermission', (_message.Message,), { 'DESCRIPTOR' : _MACAROONPERMISSION, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.MacaroonPermission) }) _sym_db.RegisterMessage(MacaroonPermission) BakeMacaroonRequest = _reflection.GeneratedProtocolMessageType('BakeMacaroonRequest', (_message.Message,), { 'DESCRIPTOR' : _BAKEMACAROONREQUEST, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.BakeMacaroonRequest) }) _sym_db.RegisterMessage(BakeMacaroonRequest) BakeMacaroonResponse = _reflection.GeneratedProtocolMessageType('BakeMacaroonResponse', (_message.Message,), { 'DESCRIPTOR' : _BAKEMACAROONRESPONSE, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.BakeMacaroonResponse) }) _sym_db.RegisterMessage(BakeMacaroonResponse) ListMacaroonIDsRequest = _reflection.GeneratedProtocolMessageType('ListMacaroonIDsRequest', (_message.Message,), { 'DESCRIPTOR' : _LISTMACAROONIDSREQUEST, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.ListMacaroonIDsRequest) }) _sym_db.RegisterMessage(ListMacaroonIDsRequest) ListMacaroonIDsResponse = _reflection.GeneratedProtocolMessageType('ListMacaroonIDsResponse', (_message.Message,), { 'DESCRIPTOR' : _LISTMACAROONIDSRESPONSE, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.ListMacaroonIDsResponse) }) _sym_db.RegisterMessage(ListMacaroonIDsResponse) DeleteMacaroonIDRequest = _reflection.GeneratedProtocolMessageType('DeleteMacaroonIDRequest', (_message.Message,), { 'DESCRIPTOR' : _DELETEMACAROONIDREQUEST, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.DeleteMacaroonIDRequest) }) _sym_db.RegisterMessage(DeleteMacaroonIDRequest) DeleteMacaroonIDResponse = _reflection.GeneratedProtocolMessageType('DeleteMacaroonIDResponse', (_message.Message,), { 'DESCRIPTOR' : _DELETEMACAROONIDRESPONSE, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.DeleteMacaroonIDResponse) }) _sym_db.RegisterMessage(DeleteMacaroonIDResponse) MacaroonPermissionList = _reflection.GeneratedProtocolMessageType('MacaroonPermissionList', (_message.Message,), { 'DESCRIPTOR' : _MACAROONPERMISSIONLIST, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.MacaroonPermissionList) }) _sym_db.RegisterMessage(MacaroonPermissionList) ListPermissionsRequest = _reflection.GeneratedProtocolMessageType('ListPermissionsRequest', (_message.Message,), { 'DESCRIPTOR' : _LISTPERMISSIONSREQUEST, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.ListPermissionsRequest) }) _sym_db.RegisterMessage(ListPermissionsRequest) @@ -12278,12 +13502,12 @@ ListPermissionsResponse = _reflection.GeneratedProtocolMessageType('ListPermissi 'MethodPermissionsEntry' : _reflection.GeneratedProtocolMessageType('MethodPermissionsEntry', (_message.Message,), { 'DESCRIPTOR' : _LISTPERMISSIONSRESPONSE_METHODPERMISSIONSENTRY, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.ListPermissionsResponse.MethodPermissionsEntry) }) , 'DESCRIPTOR' : _LISTPERMISSIONSRESPONSE, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.ListPermissionsResponse) }) _sym_db.RegisterMessage(ListPermissionsResponse) @@ -12291,32 +13515,88 @@ _sym_db.RegisterMessage(ListPermissionsResponse.MethodPermissionsEntry) Failure = _reflection.GeneratedProtocolMessageType('Failure', (_message.Message,), { 'DESCRIPTOR' : _FAILURE, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.Failure) }) _sym_db.RegisterMessage(Failure) ChannelUpdate = _reflection.GeneratedProtocolMessageType('ChannelUpdate', (_message.Message,), { 'DESCRIPTOR' : _CHANNELUPDATE, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.ChannelUpdate) }) _sym_db.RegisterMessage(ChannelUpdate) MacaroonId = _reflection.GeneratedProtocolMessageType('MacaroonId', (_message.Message,), { 'DESCRIPTOR' : _MACAROONID, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.MacaroonId) }) _sym_db.RegisterMessage(MacaroonId) Op = _reflection.GeneratedProtocolMessageType('Op', (_message.Message,), { 'DESCRIPTOR' : _OP, - '__module__' : 'rpc_pb2' + '__module__' : 'lightning_pb2' # @@protoc_insertion_point(class_scope:lnrpc.Op) }) _sym_db.RegisterMessage(Op) +CheckMacPermRequest = _reflection.GeneratedProtocolMessageType('CheckMacPermRequest', (_message.Message,), { + 'DESCRIPTOR' : _CHECKMACPERMREQUEST, + '__module__' : 'lightning_pb2' + # @@protoc_insertion_point(class_scope:lnrpc.CheckMacPermRequest) + }) +_sym_db.RegisterMessage(CheckMacPermRequest) + +CheckMacPermResponse = _reflection.GeneratedProtocolMessageType('CheckMacPermResponse', (_message.Message,), { + 'DESCRIPTOR' : _CHECKMACPERMRESPONSE, + '__module__' : 'lightning_pb2' + # @@protoc_insertion_point(class_scope:lnrpc.CheckMacPermResponse) + }) +_sym_db.RegisterMessage(CheckMacPermResponse) + +RPCMiddlewareRequest = _reflection.GeneratedProtocolMessageType('RPCMiddlewareRequest', (_message.Message,), { + 'DESCRIPTOR' : _RPCMIDDLEWAREREQUEST, + '__module__' : 'lightning_pb2' + # @@protoc_insertion_point(class_scope:lnrpc.RPCMiddlewareRequest) + }) +_sym_db.RegisterMessage(RPCMiddlewareRequest) + +StreamAuth = _reflection.GeneratedProtocolMessageType('StreamAuth', (_message.Message,), { + 'DESCRIPTOR' : _STREAMAUTH, + '__module__' : 'lightning_pb2' + # @@protoc_insertion_point(class_scope:lnrpc.StreamAuth) + }) +_sym_db.RegisterMessage(StreamAuth) + +RPCMessage = _reflection.GeneratedProtocolMessageType('RPCMessage', (_message.Message,), { + 'DESCRIPTOR' : _RPCMESSAGE, + '__module__' : 'lightning_pb2' + # @@protoc_insertion_point(class_scope:lnrpc.RPCMessage) + }) +_sym_db.RegisterMessage(RPCMessage) + +RPCMiddlewareResponse = _reflection.GeneratedProtocolMessageType('RPCMiddlewareResponse', (_message.Message,), { + 'DESCRIPTOR' : _RPCMIDDLEWARERESPONSE, + '__module__' : 'lightning_pb2' + # @@protoc_insertion_point(class_scope:lnrpc.RPCMiddlewareResponse) + }) +_sym_db.RegisterMessage(RPCMiddlewareResponse) + +MiddlewareRegistration = _reflection.GeneratedProtocolMessageType('MiddlewareRegistration', (_message.Message,), { + 'DESCRIPTOR' : _MIDDLEWAREREGISTRATION, + '__module__' : 'lightning_pb2' + # @@protoc_insertion_point(class_scope:lnrpc.MiddlewareRegistration) + }) +_sym_db.RegisterMessage(MiddlewareRegistration) + +InterceptFeedback = _reflection.GeneratedProtocolMessageType('InterceptFeedback', (_message.Message,), { + 'DESCRIPTOR' : _INTERCEPTFEEDBACK, + '__module__' : 'lightning_pb2' + # @@protoc_insertion_point(class_scope:lnrpc.InterceptFeedback) + }) +_sym_db.RegisterMessage(InterceptFeedback) + DESCRIPTOR._options = None _SENDREQUEST_DESTCUSTOMRECORDSENTRY._options = None @@ -12368,6 +13648,7 @@ _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_AMPINVOICESTATEENTRY._options = None _INVOICE.fields_by_name['settled']._options = None _INVOICE.fields_by_name['amt_paid']._options = None _INVOICEHTLC_CUSTOMRECORDSENTRY._options = None @@ -12391,8 +13672,8 @@ _LIGHTNING = _descriptor.ServiceDescriptor( index=0, serialized_options=None, create_key=_descriptor._internal_create_key, - serialized_start=25646, - serialized_end=29943, + serialized_start=28326, + serialized_end=33135, methods=[ _descriptor.MethodDescriptor( name='WalletBalance', @@ -12624,10 +13905,20 @@ _LIGHTNING = _descriptor.ServiceDescriptor( serialized_options=None, create_key=_descriptor._internal_create_key, ), + _descriptor.MethodDescriptor( + name='BatchOpenChannel', + full_name='lnrpc.Lightning.BatchOpenChannel', + index=23, + containing_service=None, + input_type=_BATCHOPENCHANNELREQUEST, + output_type=_BATCHOPENCHANNELRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), _descriptor.MethodDescriptor( name='FundingStateStep', full_name='lnrpc.Lightning.FundingStateStep', - index=23, + index=24, containing_service=None, input_type=_FUNDINGTRANSITIONMSG, output_type=_FUNDINGSTATESTEPRESP, @@ -12637,7 +13928,7 @@ _LIGHTNING = _descriptor.ServiceDescriptor( _descriptor.MethodDescriptor( name='ChannelAcceptor', full_name='lnrpc.Lightning.ChannelAcceptor', - index=24, + index=25, containing_service=None, input_type=_CHANNELACCEPTRESPONSE, output_type=_CHANNELACCEPTREQUEST, @@ -12647,7 +13938,7 @@ _LIGHTNING = _descriptor.ServiceDescriptor( _descriptor.MethodDescriptor( name='CloseChannel', full_name='lnrpc.Lightning.CloseChannel', - index=25, + index=26, containing_service=None, input_type=_CLOSECHANNELREQUEST, output_type=_CLOSESTATUSUPDATE, @@ -12657,7 +13948,7 @@ _LIGHTNING = _descriptor.ServiceDescriptor( _descriptor.MethodDescriptor( name='AbandonChannel', full_name='lnrpc.Lightning.AbandonChannel', - index=26, + index=27, containing_service=None, input_type=_ABANDONCHANNELREQUEST, output_type=_ABANDONCHANNELRESPONSE, @@ -12667,7 +13958,7 @@ _LIGHTNING = _descriptor.ServiceDescriptor( _descriptor.MethodDescriptor( name='SendPayment', full_name='lnrpc.Lightning.SendPayment', - index=27, + index=28, containing_service=None, input_type=_SENDREQUEST, output_type=_SENDRESPONSE, @@ -12677,7 +13968,7 @@ _LIGHTNING = _descriptor.ServiceDescriptor( _descriptor.MethodDescriptor( name='SendPaymentSync', full_name='lnrpc.Lightning.SendPaymentSync', - index=28, + index=29, containing_service=None, input_type=_SENDREQUEST, output_type=_SENDRESPONSE, @@ -12687,7 +13978,7 @@ _LIGHTNING = _descriptor.ServiceDescriptor( _descriptor.MethodDescriptor( name='SendToRoute', full_name='lnrpc.Lightning.SendToRoute', - index=29, + index=30, containing_service=None, input_type=_SENDTOROUTEREQUEST, output_type=_SENDRESPONSE, @@ -12697,7 +13988,7 @@ _LIGHTNING = _descriptor.ServiceDescriptor( _descriptor.MethodDescriptor( name='SendToRouteSync', full_name='lnrpc.Lightning.SendToRouteSync', - index=30, + index=31, containing_service=None, input_type=_SENDTOROUTEREQUEST, output_type=_SENDRESPONSE, @@ -12707,7 +13998,7 @@ _LIGHTNING = _descriptor.ServiceDescriptor( _descriptor.MethodDescriptor( name='AddInvoice', full_name='lnrpc.Lightning.AddInvoice', - index=31, + index=32, containing_service=None, input_type=_INVOICE, output_type=_ADDINVOICERESPONSE, @@ -12717,7 +14008,7 @@ _LIGHTNING = _descriptor.ServiceDescriptor( _descriptor.MethodDescriptor( name='ListInvoices', full_name='lnrpc.Lightning.ListInvoices', - index=32, + index=33, containing_service=None, input_type=_LISTINVOICEREQUEST, output_type=_LISTINVOICERESPONSE, @@ -12727,7 +14018,7 @@ _LIGHTNING = _descriptor.ServiceDescriptor( _descriptor.MethodDescriptor( name='LookupInvoice', full_name='lnrpc.Lightning.LookupInvoice', - index=33, + index=34, containing_service=None, input_type=_PAYMENTHASH, output_type=_INVOICE, @@ -12737,7 +14028,7 @@ _LIGHTNING = _descriptor.ServiceDescriptor( _descriptor.MethodDescriptor( name='SubscribeInvoices', full_name='lnrpc.Lightning.SubscribeInvoices', - index=34, + index=35, containing_service=None, input_type=_INVOICESUBSCRIPTION, output_type=_INVOICE, @@ -12747,7 +14038,7 @@ _LIGHTNING = _descriptor.ServiceDescriptor( _descriptor.MethodDescriptor( name='DecodePayReq', full_name='lnrpc.Lightning.DecodePayReq', - index=35, + index=36, containing_service=None, input_type=_PAYREQSTRING, output_type=_PAYREQ, @@ -12757,17 +14048,27 @@ _LIGHTNING = _descriptor.ServiceDescriptor( _descriptor.MethodDescriptor( name='ListPayments', full_name='lnrpc.Lightning.ListPayments', - index=36, + index=37, containing_service=None, input_type=_LISTPAYMENTSREQUEST, output_type=_LISTPAYMENTSRESPONSE, serialized_options=None, create_key=_descriptor._internal_create_key, ), + _descriptor.MethodDescriptor( + name='DeletePayment', + full_name='lnrpc.Lightning.DeletePayment', + index=38, + containing_service=None, + input_type=_DELETEPAYMENTREQUEST, + output_type=_DELETEPAYMENTRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), _descriptor.MethodDescriptor( name='DeleteAllPayments', full_name='lnrpc.Lightning.DeleteAllPayments', - index=37, + index=39, containing_service=None, input_type=_DELETEALLPAYMENTSREQUEST, output_type=_DELETEALLPAYMENTSRESPONSE, @@ -12777,7 +14078,7 @@ _LIGHTNING = _descriptor.ServiceDescriptor( _descriptor.MethodDescriptor( name='DescribeGraph', full_name='lnrpc.Lightning.DescribeGraph', - index=38, + index=40, containing_service=None, input_type=_CHANNELGRAPHREQUEST, output_type=_CHANNELGRAPH, @@ -12787,7 +14088,7 @@ _LIGHTNING = _descriptor.ServiceDescriptor( _descriptor.MethodDescriptor( name='GetNodeMetrics', full_name='lnrpc.Lightning.GetNodeMetrics', - index=39, + index=41, containing_service=None, input_type=_NODEMETRICSREQUEST, output_type=_NODEMETRICSRESPONSE, @@ -12797,7 +14098,7 @@ _LIGHTNING = _descriptor.ServiceDescriptor( _descriptor.MethodDescriptor( name='GetChanInfo', full_name='lnrpc.Lightning.GetChanInfo', - index=40, + index=42, containing_service=None, input_type=_CHANINFOREQUEST, output_type=_CHANNELEDGE, @@ -12807,7 +14108,7 @@ _LIGHTNING = _descriptor.ServiceDescriptor( _descriptor.MethodDescriptor( name='GetNodeInfo', full_name='lnrpc.Lightning.GetNodeInfo', - index=41, + index=43, containing_service=None, input_type=_NODEINFOREQUEST, output_type=_NODEINFO, @@ -12817,7 +14118,7 @@ _LIGHTNING = _descriptor.ServiceDescriptor( _descriptor.MethodDescriptor( name='QueryRoutes', full_name='lnrpc.Lightning.QueryRoutes', - index=42, + index=44, containing_service=None, input_type=_QUERYROUTESREQUEST, output_type=_QUERYROUTESRESPONSE, @@ -12827,7 +14128,7 @@ _LIGHTNING = _descriptor.ServiceDescriptor( _descriptor.MethodDescriptor( name='GetNetworkInfo', full_name='lnrpc.Lightning.GetNetworkInfo', - index=43, + index=45, containing_service=None, input_type=_NETWORKINFOREQUEST, output_type=_NETWORKINFO, @@ -12837,7 +14138,7 @@ _LIGHTNING = _descriptor.ServiceDescriptor( _descriptor.MethodDescriptor( name='StopDaemon', full_name='lnrpc.Lightning.StopDaemon', - index=44, + index=46, containing_service=None, input_type=_STOPREQUEST, output_type=_STOPRESPONSE, @@ -12847,7 +14148,7 @@ _LIGHTNING = _descriptor.ServiceDescriptor( _descriptor.MethodDescriptor( name='SubscribeChannelGraph', full_name='lnrpc.Lightning.SubscribeChannelGraph', - index=45, + index=47, containing_service=None, input_type=_GRAPHTOPOLOGYSUBSCRIPTION, output_type=_GRAPHTOPOLOGYUPDATE, @@ -12857,7 +14158,7 @@ _LIGHTNING = _descriptor.ServiceDescriptor( _descriptor.MethodDescriptor( name='DebugLevel', full_name='lnrpc.Lightning.DebugLevel', - index=46, + index=48, containing_service=None, input_type=_DEBUGLEVELREQUEST, output_type=_DEBUGLEVELRESPONSE, @@ -12867,7 +14168,7 @@ _LIGHTNING = _descriptor.ServiceDescriptor( _descriptor.MethodDescriptor( name='FeeReport', full_name='lnrpc.Lightning.FeeReport', - index=47, + index=49, containing_service=None, input_type=_FEEREPORTREQUEST, output_type=_FEEREPORTRESPONSE, @@ -12877,7 +14178,7 @@ _LIGHTNING = _descriptor.ServiceDescriptor( _descriptor.MethodDescriptor( name='UpdateChannelPolicy', full_name='lnrpc.Lightning.UpdateChannelPolicy', - index=48, + index=50, containing_service=None, input_type=_POLICYUPDATEREQUEST, output_type=_POLICYUPDATERESPONSE, @@ -12887,7 +14188,7 @@ _LIGHTNING = _descriptor.ServiceDescriptor( _descriptor.MethodDescriptor( name='ForwardingHistory', full_name='lnrpc.Lightning.ForwardingHistory', - index=49, + index=51, containing_service=None, input_type=_FORWARDINGHISTORYREQUEST, output_type=_FORWARDINGHISTORYRESPONSE, @@ -12897,7 +14198,7 @@ _LIGHTNING = _descriptor.ServiceDescriptor( _descriptor.MethodDescriptor( name='ExportChannelBackup', full_name='lnrpc.Lightning.ExportChannelBackup', - index=50, + index=52, containing_service=None, input_type=_EXPORTCHANNELBACKUPREQUEST, output_type=_CHANNELBACKUP, @@ -12907,7 +14208,7 @@ _LIGHTNING = _descriptor.ServiceDescriptor( _descriptor.MethodDescriptor( name='ExportAllChannelBackups', full_name='lnrpc.Lightning.ExportAllChannelBackups', - index=51, + index=53, containing_service=None, input_type=_CHANBACKUPEXPORTREQUEST, output_type=_CHANBACKUPSNAPSHOT, @@ -12917,7 +14218,7 @@ _LIGHTNING = _descriptor.ServiceDescriptor( _descriptor.MethodDescriptor( name='VerifyChanBackup', full_name='lnrpc.Lightning.VerifyChanBackup', - index=52, + index=54, containing_service=None, input_type=_CHANBACKUPSNAPSHOT, output_type=_VERIFYCHANBACKUPRESPONSE, @@ -12927,7 +14228,7 @@ _LIGHTNING = _descriptor.ServiceDescriptor( _descriptor.MethodDescriptor( name='RestoreChannelBackups', full_name='lnrpc.Lightning.RestoreChannelBackups', - index=53, + index=55, containing_service=None, input_type=_RESTORECHANBACKUPREQUEST, output_type=_RESTOREBACKUPRESPONSE, @@ -12937,7 +14238,7 @@ _LIGHTNING = _descriptor.ServiceDescriptor( _descriptor.MethodDescriptor( name='SubscribeChannelBackups', full_name='lnrpc.Lightning.SubscribeChannelBackups', - index=54, + index=56, containing_service=None, input_type=_CHANNELBACKUPSUBSCRIPTION, output_type=_CHANBACKUPSNAPSHOT, @@ -12947,7 +14248,7 @@ _LIGHTNING = _descriptor.ServiceDescriptor( _descriptor.MethodDescriptor( name='BakeMacaroon', full_name='lnrpc.Lightning.BakeMacaroon', - index=55, + index=57, containing_service=None, input_type=_BAKEMACAROONREQUEST, output_type=_BAKEMACAROONRESPONSE, @@ -12957,7 +14258,7 @@ _LIGHTNING = _descriptor.ServiceDescriptor( _descriptor.MethodDescriptor( name='ListMacaroonIDs', full_name='lnrpc.Lightning.ListMacaroonIDs', - index=56, + index=58, containing_service=None, input_type=_LISTMACAROONIDSREQUEST, output_type=_LISTMACAROONIDSRESPONSE, @@ -12967,7 +14268,7 @@ _LIGHTNING = _descriptor.ServiceDescriptor( _descriptor.MethodDescriptor( name='DeleteMacaroonID', full_name='lnrpc.Lightning.DeleteMacaroonID', - index=57, + index=59, containing_service=None, input_type=_DELETEMACAROONIDREQUEST, output_type=_DELETEMACAROONIDRESPONSE, @@ -12977,13 +14278,53 @@ _LIGHTNING = _descriptor.ServiceDescriptor( _descriptor.MethodDescriptor( name='ListPermissions', full_name='lnrpc.Lightning.ListPermissions', - index=58, + index=60, containing_service=None, input_type=_LISTPERMISSIONSREQUEST, output_type=_LISTPERMISSIONSRESPONSE, serialized_options=None, create_key=_descriptor._internal_create_key, ), + _descriptor.MethodDescriptor( + name='CheckMacaroonPermissions', + full_name='lnrpc.Lightning.CheckMacaroonPermissions', + index=61, + containing_service=None, + input_type=_CHECKMACPERMREQUEST, + output_type=_CHECKMACPERMRESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='RegisterRPCMiddleware', + full_name='lnrpc.Lightning.RegisterRPCMiddleware', + index=62, + containing_service=None, + input_type=_RPCMIDDLEWARERESPONSE, + output_type=_RPCMIDDLEWAREREQUEST, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='SendCustomMessage', + full_name='lnrpc.Lightning.SendCustomMessage', + index=63, + containing_service=None, + input_type=_SENDCUSTOMMESSAGEREQUEST, + output_type=_SENDCUSTOMMESSAGERESPONSE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), + _descriptor.MethodDescriptor( + name='SubscribeCustomMessages', + full_name='lnrpc.Lightning.SubscribeCustomMessages', + index=64, + containing_service=None, + input_type=_SUBSCRIBECUSTOMMESSAGESREQUEST, + output_type=_CUSTOMMESSAGE, + serialized_options=None, + create_key=_descriptor._internal_create_key, + ), ]) _sym_db.RegisterServiceDescriptor(_LIGHTNING) diff --git a/lndmanage/grpc_compiled/rpc_pb2_grpc.py b/lndmanage/grpc_compiled/lightning_pb2_grpc.py similarity index 68% rename from lndmanage/grpc_compiled/rpc_pb2_grpc.py rename to lndmanage/grpc_compiled/lightning_pb2_grpc.py index 7f0b172..22bbf0d 100644 --- a/lndmanage/grpc_compiled/rpc_pb2_grpc.py +++ b/lndmanage/grpc_compiled/lightning_pb2_grpc.py @@ -2,7 +2,7 @@ """Client and server classes corresponding to protobuf-defined services.""" import grpc -from lndmanage.grpc_compiled import rpc_pb2 as rpc__pb2 +from lndmanage.grpc_compiled import lightning_pb2 as lightning__pb2 class LightningStub(object): @@ -34,298 +34,328 @@ class LightningStub(object): """ self.WalletBalance = channel.unary_unary( '/lnrpc.Lightning/WalletBalance', - request_serializer=rpc__pb2.WalletBalanceRequest.SerializeToString, - response_deserializer=rpc__pb2.WalletBalanceResponse.FromString, + request_serializer=lightning__pb2.WalletBalanceRequest.SerializeToString, + response_deserializer=lightning__pb2.WalletBalanceResponse.FromString, ) self.ChannelBalance = channel.unary_unary( '/lnrpc.Lightning/ChannelBalance', - request_serializer=rpc__pb2.ChannelBalanceRequest.SerializeToString, - response_deserializer=rpc__pb2.ChannelBalanceResponse.FromString, + request_serializer=lightning__pb2.ChannelBalanceRequest.SerializeToString, + response_deserializer=lightning__pb2.ChannelBalanceResponse.FromString, ) self.GetTransactions = channel.unary_unary( '/lnrpc.Lightning/GetTransactions', - request_serializer=rpc__pb2.GetTransactionsRequest.SerializeToString, - response_deserializer=rpc__pb2.TransactionDetails.FromString, + request_serializer=lightning__pb2.GetTransactionsRequest.SerializeToString, + response_deserializer=lightning__pb2.TransactionDetails.FromString, ) self.EstimateFee = channel.unary_unary( '/lnrpc.Lightning/EstimateFee', - request_serializer=rpc__pb2.EstimateFeeRequest.SerializeToString, - response_deserializer=rpc__pb2.EstimateFeeResponse.FromString, + request_serializer=lightning__pb2.EstimateFeeRequest.SerializeToString, + response_deserializer=lightning__pb2.EstimateFeeResponse.FromString, ) self.SendCoins = channel.unary_unary( '/lnrpc.Lightning/SendCoins', - request_serializer=rpc__pb2.SendCoinsRequest.SerializeToString, - response_deserializer=rpc__pb2.SendCoinsResponse.FromString, + request_serializer=lightning__pb2.SendCoinsRequest.SerializeToString, + response_deserializer=lightning__pb2.SendCoinsResponse.FromString, ) self.ListUnspent = channel.unary_unary( '/lnrpc.Lightning/ListUnspent', - request_serializer=rpc__pb2.ListUnspentRequest.SerializeToString, - response_deserializer=rpc__pb2.ListUnspentResponse.FromString, + request_serializer=lightning__pb2.ListUnspentRequest.SerializeToString, + response_deserializer=lightning__pb2.ListUnspentResponse.FromString, ) self.SubscribeTransactions = channel.unary_stream( '/lnrpc.Lightning/SubscribeTransactions', - request_serializer=rpc__pb2.GetTransactionsRequest.SerializeToString, - response_deserializer=rpc__pb2.Transaction.FromString, + request_serializer=lightning__pb2.GetTransactionsRequest.SerializeToString, + response_deserializer=lightning__pb2.Transaction.FromString, ) self.SendMany = channel.unary_unary( '/lnrpc.Lightning/SendMany', - request_serializer=rpc__pb2.SendManyRequest.SerializeToString, - response_deserializer=rpc__pb2.SendManyResponse.FromString, + request_serializer=lightning__pb2.SendManyRequest.SerializeToString, + response_deserializer=lightning__pb2.SendManyResponse.FromString, ) self.NewAddress = channel.unary_unary( '/lnrpc.Lightning/NewAddress', - request_serializer=rpc__pb2.NewAddressRequest.SerializeToString, - response_deserializer=rpc__pb2.NewAddressResponse.FromString, + request_serializer=lightning__pb2.NewAddressRequest.SerializeToString, + response_deserializer=lightning__pb2.NewAddressResponse.FromString, ) self.SignMessage = channel.unary_unary( '/lnrpc.Lightning/SignMessage', - request_serializer=rpc__pb2.SignMessageRequest.SerializeToString, - response_deserializer=rpc__pb2.SignMessageResponse.FromString, + request_serializer=lightning__pb2.SignMessageRequest.SerializeToString, + response_deserializer=lightning__pb2.SignMessageResponse.FromString, ) self.VerifyMessage = channel.unary_unary( '/lnrpc.Lightning/VerifyMessage', - request_serializer=rpc__pb2.VerifyMessageRequest.SerializeToString, - response_deserializer=rpc__pb2.VerifyMessageResponse.FromString, + request_serializer=lightning__pb2.VerifyMessageRequest.SerializeToString, + response_deserializer=lightning__pb2.VerifyMessageResponse.FromString, ) self.ConnectPeer = channel.unary_unary( '/lnrpc.Lightning/ConnectPeer', - request_serializer=rpc__pb2.ConnectPeerRequest.SerializeToString, - response_deserializer=rpc__pb2.ConnectPeerResponse.FromString, + request_serializer=lightning__pb2.ConnectPeerRequest.SerializeToString, + response_deserializer=lightning__pb2.ConnectPeerResponse.FromString, ) self.DisconnectPeer = channel.unary_unary( '/lnrpc.Lightning/DisconnectPeer', - request_serializer=rpc__pb2.DisconnectPeerRequest.SerializeToString, - response_deserializer=rpc__pb2.DisconnectPeerResponse.FromString, + request_serializer=lightning__pb2.DisconnectPeerRequest.SerializeToString, + response_deserializer=lightning__pb2.DisconnectPeerResponse.FromString, ) self.ListPeers = channel.unary_unary( '/lnrpc.Lightning/ListPeers', - request_serializer=rpc__pb2.ListPeersRequest.SerializeToString, - response_deserializer=rpc__pb2.ListPeersResponse.FromString, + request_serializer=lightning__pb2.ListPeersRequest.SerializeToString, + response_deserializer=lightning__pb2.ListPeersResponse.FromString, ) self.SubscribePeerEvents = channel.unary_stream( '/lnrpc.Lightning/SubscribePeerEvents', - request_serializer=rpc__pb2.PeerEventSubscription.SerializeToString, - response_deserializer=rpc__pb2.PeerEvent.FromString, + request_serializer=lightning__pb2.PeerEventSubscription.SerializeToString, + response_deserializer=lightning__pb2.PeerEvent.FromString, ) self.GetInfo = channel.unary_unary( '/lnrpc.Lightning/GetInfo', - request_serializer=rpc__pb2.GetInfoRequest.SerializeToString, - response_deserializer=rpc__pb2.GetInfoResponse.FromString, + request_serializer=lightning__pb2.GetInfoRequest.SerializeToString, + response_deserializer=lightning__pb2.GetInfoResponse.FromString, ) self.GetRecoveryInfo = channel.unary_unary( '/lnrpc.Lightning/GetRecoveryInfo', - request_serializer=rpc__pb2.GetRecoveryInfoRequest.SerializeToString, - response_deserializer=rpc__pb2.GetRecoveryInfoResponse.FromString, + request_serializer=lightning__pb2.GetRecoveryInfoRequest.SerializeToString, + response_deserializer=lightning__pb2.GetRecoveryInfoResponse.FromString, ) self.PendingChannels = channel.unary_unary( '/lnrpc.Lightning/PendingChannels', - request_serializer=rpc__pb2.PendingChannelsRequest.SerializeToString, - response_deserializer=rpc__pb2.PendingChannelsResponse.FromString, + request_serializer=lightning__pb2.PendingChannelsRequest.SerializeToString, + response_deserializer=lightning__pb2.PendingChannelsResponse.FromString, ) self.ListChannels = channel.unary_unary( '/lnrpc.Lightning/ListChannels', - request_serializer=rpc__pb2.ListChannelsRequest.SerializeToString, - response_deserializer=rpc__pb2.ListChannelsResponse.FromString, + request_serializer=lightning__pb2.ListChannelsRequest.SerializeToString, + response_deserializer=lightning__pb2.ListChannelsResponse.FromString, ) self.SubscribeChannelEvents = channel.unary_stream( '/lnrpc.Lightning/SubscribeChannelEvents', - request_serializer=rpc__pb2.ChannelEventSubscription.SerializeToString, - response_deserializer=rpc__pb2.ChannelEventUpdate.FromString, + request_serializer=lightning__pb2.ChannelEventSubscription.SerializeToString, + response_deserializer=lightning__pb2.ChannelEventUpdate.FromString, ) self.ClosedChannels = channel.unary_unary( '/lnrpc.Lightning/ClosedChannels', - request_serializer=rpc__pb2.ClosedChannelsRequest.SerializeToString, - response_deserializer=rpc__pb2.ClosedChannelsResponse.FromString, + request_serializer=lightning__pb2.ClosedChannelsRequest.SerializeToString, + response_deserializer=lightning__pb2.ClosedChannelsResponse.FromString, ) self.OpenChannelSync = channel.unary_unary( '/lnrpc.Lightning/OpenChannelSync', - request_serializer=rpc__pb2.OpenChannelRequest.SerializeToString, - response_deserializer=rpc__pb2.ChannelPoint.FromString, + request_serializer=lightning__pb2.OpenChannelRequest.SerializeToString, + response_deserializer=lightning__pb2.ChannelPoint.FromString, ) self.OpenChannel = channel.unary_stream( '/lnrpc.Lightning/OpenChannel', - request_serializer=rpc__pb2.OpenChannelRequest.SerializeToString, - response_deserializer=rpc__pb2.OpenStatusUpdate.FromString, + request_serializer=lightning__pb2.OpenChannelRequest.SerializeToString, + response_deserializer=lightning__pb2.OpenStatusUpdate.FromString, + ) + self.BatchOpenChannel = channel.unary_unary( + '/lnrpc.Lightning/BatchOpenChannel', + request_serializer=lightning__pb2.BatchOpenChannelRequest.SerializeToString, + response_deserializer=lightning__pb2.BatchOpenChannelResponse.FromString, ) self.FundingStateStep = channel.unary_unary( '/lnrpc.Lightning/FundingStateStep', - request_serializer=rpc__pb2.FundingTransitionMsg.SerializeToString, - response_deserializer=rpc__pb2.FundingStateStepResp.FromString, + request_serializer=lightning__pb2.FundingTransitionMsg.SerializeToString, + response_deserializer=lightning__pb2.FundingStateStepResp.FromString, ) self.ChannelAcceptor = channel.stream_stream( '/lnrpc.Lightning/ChannelAcceptor', - request_serializer=rpc__pb2.ChannelAcceptResponse.SerializeToString, - response_deserializer=rpc__pb2.ChannelAcceptRequest.FromString, + request_serializer=lightning__pb2.ChannelAcceptResponse.SerializeToString, + response_deserializer=lightning__pb2.ChannelAcceptRequest.FromString, ) self.CloseChannel = channel.unary_stream( '/lnrpc.Lightning/CloseChannel', - request_serializer=rpc__pb2.CloseChannelRequest.SerializeToString, - response_deserializer=rpc__pb2.CloseStatusUpdate.FromString, + request_serializer=lightning__pb2.CloseChannelRequest.SerializeToString, + response_deserializer=lightning__pb2.CloseStatusUpdate.FromString, ) self.AbandonChannel = channel.unary_unary( '/lnrpc.Lightning/AbandonChannel', - request_serializer=rpc__pb2.AbandonChannelRequest.SerializeToString, - response_deserializer=rpc__pb2.AbandonChannelResponse.FromString, + request_serializer=lightning__pb2.AbandonChannelRequest.SerializeToString, + response_deserializer=lightning__pb2.AbandonChannelResponse.FromString, ) self.SendPayment = channel.stream_stream( '/lnrpc.Lightning/SendPayment', - request_serializer=rpc__pb2.SendRequest.SerializeToString, - response_deserializer=rpc__pb2.SendResponse.FromString, + request_serializer=lightning__pb2.SendRequest.SerializeToString, + response_deserializer=lightning__pb2.SendResponse.FromString, ) self.SendPaymentSync = channel.unary_unary( '/lnrpc.Lightning/SendPaymentSync', - request_serializer=rpc__pb2.SendRequest.SerializeToString, - response_deserializer=rpc__pb2.SendResponse.FromString, + request_serializer=lightning__pb2.SendRequest.SerializeToString, + response_deserializer=lightning__pb2.SendResponse.FromString, ) self.SendToRoute = channel.stream_stream( '/lnrpc.Lightning/SendToRoute', - request_serializer=rpc__pb2.SendToRouteRequest.SerializeToString, - response_deserializer=rpc__pb2.SendResponse.FromString, + request_serializer=lightning__pb2.SendToRouteRequest.SerializeToString, + response_deserializer=lightning__pb2.SendResponse.FromString, ) self.SendToRouteSync = channel.unary_unary( '/lnrpc.Lightning/SendToRouteSync', - request_serializer=rpc__pb2.SendToRouteRequest.SerializeToString, - response_deserializer=rpc__pb2.SendResponse.FromString, + request_serializer=lightning__pb2.SendToRouteRequest.SerializeToString, + response_deserializer=lightning__pb2.SendResponse.FromString, ) self.AddInvoice = channel.unary_unary( '/lnrpc.Lightning/AddInvoice', - request_serializer=rpc__pb2.Invoice.SerializeToString, - response_deserializer=rpc__pb2.AddInvoiceResponse.FromString, + request_serializer=lightning__pb2.Invoice.SerializeToString, + response_deserializer=lightning__pb2.AddInvoiceResponse.FromString, ) self.ListInvoices = channel.unary_unary( '/lnrpc.Lightning/ListInvoices', - request_serializer=rpc__pb2.ListInvoiceRequest.SerializeToString, - response_deserializer=rpc__pb2.ListInvoiceResponse.FromString, + request_serializer=lightning__pb2.ListInvoiceRequest.SerializeToString, + response_deserializer=lightning__pb2.ListInvoiceResponse.FromString, ) self.LookupInvoice = channel.unary_unary( '/lnrpc.Lightning/LookupInvoice', - request_serializer=rpc__pb2.PaymentHash.SerializeToString, - response_deserializer=rpc__pb2.Invoice.FromString, + request_serializer=lightning__pb2.PaymentHash.SerializeToString, + response_deserializer=lightning__pb2.Invoice.FromString, ) self.SubscribeInvoices = channel.unary_stream( '/lnrpc.Lightning/SubscribeInvoices', - request_serializer=rpc__pb2.InvoiceSubscription.SerializeToString, - response_deserializer=rpc__pb2.Invoice.FromString, + request_serializer=lightning__pb2.InvoiceSubscription.SerializeToString, + response_deserializer=lightning__pb2.Invoice.FromString, ) self.DecodePayReq = channel.unary_unary( '/lnrpc.Lightning/DecodePayReq', - request_serializer=rpc__pb2.PayReqString.SerializeToString, - response_deserializer=rpc__pb2.PayReq.FromString, + request_serializer=lightning__pb2.PayReqString.SerializeToString, + response_deserializer=lightning__pb2.PayReq.FromString, ) self.ListPayments = channel.unary_unary( '/lnrpc.Lightning/ListPayments', - request_serializer=rpc__pb2.ListPaymentsRequest.SerializeToString, - response_deserializer=rpc__pb2.ListPaymentsResponse.FromString, + request_serializer=lightning__pb2.ListPaymentsRequest.SerializeToString, + response_deserializer=lightning__pb2.ListPaymentsResponse.FromString, + ) + self.DeletePayment = channel.unary_unary( + '/lnrpc.Lightning/DeletePayment', + request_serializer=lightning__pb2.DeletePaymentRequest.SerializeToString, + response_deserializer=lightning__pb2.DeletePaymentResponse.FromString, ) self.DeleteAllPayments = channel.unary_unary( '/lnrpc.Lightning/DeleteAllPayments', - request_serializer=rpc__pb2.DeleteAllPaymentsRequest.SerializeToString, - response_deserializer=rpc__pb2.DeleteAllPaymentsResponse.FromString, + request_serializer=lightning__pb2.DeleteAllPaymentsRequest.SerializeToString, + response_deserializer=lightning__pb2.DeleteAllPaymentsResponse.FromString, ) self.DescribeGraph = channel.unary_unary( '/lnrpc.Lightning/DescribeGraph', - request_serializer=rpc__pb2.ChannelGraphRequest.SerializeToString, - response_deserializer=rpc__pb2.ChannelGraph.FromString, + request_serializer=lightning__pb2.ChannelGraphRequest.SerializeToString, + response_deserializer=lightning__pb2.ChannelGraph.FromString, ) self.GetNodeMetrics = channel.unary_unary( '/lnrpc.Lightning/GetNodeMetrics', - request_serializer=rpc__pb2.NodeMetricsRequest.SerializeToString, - response_deserializer=rpc__pb2.NodeMetricsResponse.FromString, + request_serializer=lightning__pb2.NodeMetricsRequest.SerializeToString, + response_deserializer=lightning__pb2.NodeMetricsResponse.FromString, ) self.GetChanInfo = channel.unary_unary( '/lnrpc.Lightning/GetChanInfo', - request_serializer=rpc__pb2.ChanInfoRequest.SerializeToString, - response_deserializer=rpc__pb2.ChannelEdge.FromString, + request_serializer=lightning__pb2.ChanInfoRequest.SerializeToString, + response_deserializer=lightning__pb2.ChannelEdge.FromString, ) self.GetNodeInfo = channel.unary_unary( '/lnrpc.Lightning/GetNodeInfo', - request_serializer=rpc__pb2.NodeInfoRequest.SerializeToString, - response_deserializer=rpc__pb2.NodeInfo.FromString, + request_serializer=lightning__pb2.NodeInfoRequest.SerializeToString, + response_deserializer=lightning__pb2.NodeInfo.FromString, ) self.QueryRoutes = channel.unary_unary( '/lnrpc.Lightning/QueryRoutes', - request_serializer=rpc__pb2.QueryRoutesRequest.SerializeToString, - response_deserializer=rpc__pb2.QueryRoutesResponse.FromString, + request_serializer=lightning__pb2.QueryRoutesRequest.SerializeToString, + response_deserializer=lightning__pb2.QueryRoutesResponse.FromString, ) self.GetNetworkInfo = channel.unary_unary( '/lnrpc.Lightning/GetNetworkInfo', - request_serializer=rpc__pb2.NetworkInfoRequest.SerializeToString, - response_deserializer=rpc__pb2.NetworkInfo.FromString, + request_serializer=lightning__pb2.NetworkInfoRequest.SerializeToString, + response_deserializer=lightning__pb2.NetworkInfo.FromString, ) self.StopDaemon = channel.unary_unary( '/lnrpc.Lightning/StopDaemon', - request_serializer=rpc__pb2.StopRequest.SerializeToString, - response_deserializer=rpc__pb2.StopResponse.FromString, + request_serializer=lightning__pb2.StopRequest.SerializeToString, + response_deserializer=lightning__pb2.StopResponse.FromString, ) self.SubscribeChannelGraph = channel.unary_stream( '/lnrpc.Lightning/SubscribeChannelGraph', - request_serializer=rpc__pb2.GraphTopologySubscription.SerializeToString, - response_deserializer=rpc__pb2.GraphTopologyUpdate.FromString, + request_serializer=lightning__pb2.GraphTopologySubscription.SerializeToString, + response_deserializer=lightning__pb2.GraphTopologyUpdate.FromString, ) self.DebugLevel = channel.unary_unary( '/lnrpc.Lightning/DebugLevel', - request_serializer=rpc__pb2.DebugLevelRequest.SerializeToString, - response_deserializer=rpc__pb2.DebugLevelResponse.FromString, + request_serializer=lightning__pb2.DebugLevelRequest.SerializeToString, + response_deserializer=lightning__pb2.DebugLevelResponse.FromString, ) self.FeeReport = channel.unary_unary( '/lnrpc.Lightning/FeeReport', - request_serializer=rpc__pb2.FeeReportRequest.SerializeToString, - response_deserializer=rpc__pb2.FeeReportResponse.FromString, + request_serializer=lightning__pb2.FeeReportRequest.SerializeToString, + response_deserializer=lightning__pb2.FeeReportResponse.FromString, ) self.UpdateChannelPolicy = channel.unary_unary( '/lnrpc.Lightning/UpdateChannelPolicy', - request_serializer=rpc__pb2.PolicyUpdateRequest.SerializeToString, - response_deserializer=rpc__pb2.PolicyUpdateResponse.FromString, + request_serializer=lightning__pb2.PolicyUpdateRequest.SerializeToString, + response_deserializer=lightning__pb2.PolicyUpdateResponse.FromString, ) self.ForwardingHistory = channel.unary_unary( '/lnrpc.Lightning/ForwardingHistory', - request_serializer=rpc__pb2.ForwardingHistoryRequest.SerializeToString, - response_deserializer=rpc__pb2.ForwardingHistoryResponse.FromString, + request_serializer=lightning__pb2.ForwardingHistoryRequest.SerializeToString, + response_deserializer=lightning__pb2.ForwardingHistoryResponse.FromString, ) self.ExportChannelBackup = channel.unary_unary( '/lnrpc.Lightning/ExportChannelBackup', - request_serializer=rpc__pb2.ExportChannelBackupRequest.SerializeToString, - response_deserializer=rpc__pb2.ChannelBackup.FromString, + request_serializer=lightning__pb2.ExportChannelBackupRequest.SerializeToString, + response_deserializer=lightning__pb2.ChannelBackup.FromString, ) self.ExportAllChannelBackups = channel.unary_unary( '/lnrpc.Lightning/ExportAllChannelBackups', - request_serializer=rpc__pb2.ChanBackupExportRequest.SerializeToString, - response_deserializer=rpc__pb2.ChanBackupSnapshot.FromString, + request_serializer=lightning__pb2.ChanBackupExportRequest.SerializeToString, + response_deserializer=lightning__pb2.ChanBackupSnapshot.FromString, ) self.VerifyChanBackup = channel.unary_unary( '/lnrpc.Lightning/VerifyChanBackup', - request_serializer=rpc__pb2.ChanBackupSnapshot.SerializeToString, - response_deserializer=rpc__pb2.VerifyChanBackupResponse.FromString, + request_serializer=lightning__pb2.ChanBackupSnapshot.SerializeToString, + response_deserializer=lightning__pb2.VerifyChanBackupResponse.FromString, ) self.RestoreChannelBackups = channel.unary_unary( '/lnrpc.Lightning/RestoreChannelBackups', - request_serializer=rpc__pb2.RestoreChanBackupRequest.SerializeToString, - response_deserializer=rpc__pb2.RestoreBackupResponse.FromString, + request_serializer=lightning__pb2.RestoreChanBackupRequest.SerializeToString, + response_deserializer=lightning__pb2.RestoreBackupResponse.FromString, ) self.SubscribeChannelBackups = channel.unary_stream( '/lnrpc.Lightning/SubscribeChannelBackups', - request_serializer=rpc__pb2.ChannelBackupSubscription.SerializeToString, - response_deserializer=rpc__pb2.ChanBackupSnapshot.FromString, + request_serializer=lightning__pb2.ChannelBackupSubscription.SerializeToString, + response_deserializer=lightning__pb2.ChanBackupSnapshot.FromString, ) self.BakeMacaroon = channel.unary_unary( '/lnrpc.Lightning/BakeMacaroon', - request_serializer=rpc__pb2.BakeMacaroonRequest.SerializeToString, - response_deserializer=rpc__pb2.BakeMacaroonResponse.FromString, + request_serializer=lightning__pb2.BakeMacaroonRequest.SerializeToString, + response_deserializer=lightning__pb2.BakeMacaroonResponse.FromString, ) self.ListMacaroonIDs = channel.unary_unary( '/lnrpc.Lightning/ListMacaroonIDs', - request_serializer=rpc__pb2.ListMacaroonIDsRequest.SerializeToString, - response_deserializer=rpc__pb2.ListMacaroonIDsResponse.FromString, + request_serializer=lightning__pb2.ListMacaroonIDsRequest.SerializeToString, + response_deserializer=lightning__pb2.ListMacaroonIDsResponse.FromString, ) self.DeleteMacaroonID = channel.unary_unary( '/lnrpc.Lightning/DeleteMacaroonID', - request_serializer=rpc__pb2.DeleteMacaroonIDRequest.SerializeToString, - response_deserializer=rpc__pb2.DeleteMacaroonIDResponse.FromString, + request_serializer=lightning__pb2.DeleteMacaroonIDRequest.SerializeToString, + response_deserializer=lightning__pb2.DeleteMacaroonIDResponse.FromString, ) self.ListPermissions = channel.unary_unary( '/lnrpc.Lightning/ListPermissions', - request_serializer=rpc__pb2.ListPermissionsRequest.SerializeToString, - response_deserializer=rpc__pb2.ListPermissionsResponse.FromString, + request_serializer=lightning__pb2.ListPermissionsRequest.SerializeToString, + response_deserializer=lightning__pb2.ListPermissionsResponse.FromString, + ) + self.CheckMacaroonPermissions = channel.unary_unary( + '/lnrpc.Lightning/CheckMacaroonPermissions', + request_serializer=lightning__pb2.CheckMacPermRequest.SerializeToString, + response_deserializer=lightning__pb2.CheckMacPermResponse.FromString, + ) + self.RegisterRPCMiddleware = channel.stream_stream( + '/lnrpc.Lightning/RegisterRPCMiddleware', + request_serializer=lightning__pb2.RPCMiddlewareResponse.SerializeToString, + response_deserializer=lightning__pb2.RPCMiddlewareRequest.FromString, + ) + self.SendCustomMessage = channel.unary_unary( + '/lnrpc.Lightning/SendCustomMessage', + request_serializer=lightning__pb2.SendCustomMessageRequest.SerializeToString, + response_deserializer=lightning__pb2.SendCustomMessageResponse.FromString, + ) + self.SubscribeCustomMessages = channel.unary_stream( + '/lnrpc.Lightning/SubscribeCustomMessages', + request_serializer=lightning__pb2.SubscribeCustomMessagesRequest.SerializeToString, + response_deserializer=lightning__pb2.CustomMessage.FromString, ) @@ -592,6 +622,18 @@ class LightningServicer(object): 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 @@ -758,9 +800,19 @@ class LightningServicer(object): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') + def DeletePayment(self, request, context): + """ + 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): """ - DeleteAllPayments deletes all outgoing payments from DB. + 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!') @@ -999,303 +1051,379 @@ class LightningServicer(object): 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. + """ + 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, + request_deserializer=lightning__pb2.WalletBalanceRequest.FromString, + response_serializer=lightning__pb2.WalletBalanceResponse.SerializeToString, ), 'ChannelBalance': grpc.unary_unary_rpc_method_handler( servicer.ChannelBalance, - request_deserializer=rpc__pb2.ChannelBalanceRequest.FromString, - response_serializer=rpc__pb2.ChannelBalanceResponse.SerializeToString, + request_deserializer=lightning__pb2.ChannelBalanceRequest.FromString, + response_serializer=lightning__pb2.ChannelBalanceResponse.SerializeToString, ), 'GetTransactions': grpc.unary_unary_rpc_method_handler( servicer.GetTransactions, - request_deserializer=rpc__pb2.GetTransactionsRequest.FromString, - response_serializer=rpc__pb2.TransactionDetails.SerializeToString, + request_deserializer=lightning__pb2.GetTransactionsRequest.FromString, + response_serializer=lightning__pb2.TransactionDetails.SerializeToString, ), 'EstimateFee': grpc.unary_unary_rpc_method_handler( servicer.EstimateFee, - request_deserializer=rpc__pb2.EstimateFeeRequest.FromString, - response_serializer=rpc__pb2.EstimateFeeResponse.SerializeToString, + request_deserializer=lightning__pb2.EstimateFeeRequest.FromString, + response_serializer=lightning__pb2.EstimateFeeResponse.SerializeToString, ), 'SendCoins': grpc.unary_unary_rpc_method_handler( servicer.SendCoins, - request_deserializer=rpc__pb2.SendCoinsRequest.FromString, - response_serializer=rpc__pb2.SendCoinsResponse.SerializeToString, + request_deserializer=lightning__pb2.SendCoinsRequest.FromString, + response_serializer=lightning__pb2.SendCoinsResponse.SerializeToString, ), 'ListUnspent': grpc.unary_unary_rpc_method_handler( servicer.ListUnspent, - request_deserializer=rpc__pb2.ListUnspentRequest.FromString, - response_serializer=rpc__pb2.ListUnspentResponse.SerializeToString, + request_deserializer=lightning__pb2.ListUnspentRequest.FromString, + response_serializer=lightning__pb2.ListUnspentResponse.SerializeToString, ), 'SubscribeTransactions': grpc.unary_stream_rpc_method_handler( servicer.SubscribeTransactions, - request_deserializer=rpc__pb2.GetTransactionsRequest.FromString, - response_serializer=rpc__pb2.Transaction.SerializeToString, + request_deserializer=lightning__pb2.GetTransactionsRequest.FromString, + response_serializer=lightning__pb2.Transaction.SerializeToString, ), 'SendMany': grpc.unary_unary_rpc_method_handler( servicer.SendMany, - request_deserializer=rpc__pb2.SendManyRequest.FromString, - response_serializer=rpc__pb2.SendManyResponse.SerializeToString, + request_deserializer=lightning__pb2.SendManyRequest.FromString, + response_serializer=lightning__pb2.SendManyResponse.SerializeToString, ), 'NewAddress': grpc.unary_unary_rpc_method_handler( servicer.NewAddress, - request_deserializer=rpc__pb2.NewAddressRequest.FromString, - response_serializer=rpc__pb2.NewAddressResponse.SerializeToString, + request_deserializer=lightning__pb2.NewAddressRequest.FromString, + response_serializer=lightning__pb2.NewAddressResponse.SerializeToString, ), 'SignMessage': grpc.unary_unary_rpc_method_handler( servicer.SignMessage, - request_deserializer=rpc__pb2.SignMessageRequest.FromString, - response_serializer=rpc__pb2.SignMessageResponse.SerializeToString, + request_deserializer=lightning__pb2.SignMessageRequest.FromString, + response_serializer=lightning__pb2.SignMessageResponse.SerializeToString, ), 'VerifyMessage': grpc.unary_unary_rpc_method_handler( servicer.VerifyMessage, - request_deserializer=rpc__pb2.VerifyMessageRequest.FromString, - response_serializer=rpc__pb2.VerifyMessageResponse.SerializeToString, + request_deserializer=lightning__pb2.VerifyMessageRequest.FromString, + response_serializer=lightning__pb2.VerifyMessageResponse.SerializeToString, ), 'ConnectPeer': grpc.unary_unary_rpc_method_handler( servicer.ConnectPeer, - request_deserializer=rpc__pb2.ConnectPeerRequest.FromString, - response_serializer=rpc__pb2.ConnectPeerResponse.SerializeToString, + request_deserializer=lightning__pb2.ConnectPeerRequest.FromString, + response_serializer=lightning__pb2.ConnectPeerResponse.SerializeToString, ), 'DisconnectPeer': grpc.unary_unary_rpc_method_handler( servicer.DisconnectPeer, - request_deserializer=rpc__pb2.DisconnectPeerRequest.FromString, - response_serializer=rpc__pb2.DisconnectPeerResponse.SerializeToString, + request_deserializer=lightning__pb2.DisconnectPeerRequest.FromString, + response_serializer=lightning__pb2.DisconnectPeerResponse.SerializeToString, ), 'ListPeers': grpc.unary_unary_rpc_method_handler( servicer.ListPeers, - request_deserializer=rpc__pb2.ListPeersRequest.FromString, - response_serializer=rpc__pb2.ListPeersResponse.SerializeToString, + request_deserializer=lightning__pb2.ListPeersRequest.FromString, + response_serializer=lightning__pb2.ListPeersResponse.SerializeToString, ), 'SubscribePeerEvents': grpc.unary_stream_rpc_method_handler( servicer.SubscribePeerEvents, - request_deserializer=rpc__pb2.PeerEventSubscription.FromString, - response_serializer=rpc__pb2.PeerEvent.SerializeToString, + request_deserializer=lightning__pb2.PeerEventSubscription.FromString, + response_serializer=lightning__pb2.PeerEvent.SerializeToString, ), 'GetInfo': grpc.unary_unary_rpc_method_handler( servicer.GetInfo, - request_deserializer=rpc__pb2.GetInfoRequest.FromString, - response_serializer=rpc__pb2.GetInfoResponse.SerializeToString, + request_deserializer=lightning__pb2.GetInfoRequest.FromString, + response_serializer=lightning__pb2.GetInfoResponse.SerializeToString, ), 'GetRecoveryInfo': grpc.unary_unary_rpc_method_handler( servicer.GetRecoveryInfo, - request_deserializer=rpc__pb2.GetRecoveryInfoRequest.FromString, - response_serializer=rpc__pb2.GetRecoveryInfoResponse.SerializeToString, + request_deserializer=lightning__pb2.GetRecoveryInfoRequest.FromString, + response_serializer=lightning__pb2.GetRecoveryInfoResponse.SerializeToString, ), 'PendingChannels': grpc.unary_unary_rpc_method_handler( servicer.PendingChannels, - request_deserializer=rpc__pb2.PendingChannelsRequest.FromString, - response_serializer=rpc__pb2.PendingChannelsResponse.SerializeToString, + request_deserializer=lightning__pb2.PendingChannelsRequest.FromString, + response_serializer=lightning__pb2.PendingChannelsResponse.SerializeToString, ), 'ListChannels': grpc.unary_unary_rpc_method_handler( servicer.ListChannels, - request_deserializer=rpc__pb2.ListChannelsRequest.FromString, - response_serializer=rpc__pb2.ListChannelsResponse.SerializeToString, + request_deserializer=lightning__pb2.ListChannelsRequest.FromString, + response_serializer=lightning__pb2.ListChannelsResponse.SerializeToString, ), 'SubscribeChannelEvents': grpc.unary_stream_rpc_method_handler( servicer.SubscribeChannelEvents, - request_deserializer=rpc__pb2.ChannelEventSubscription.FromString, - response_serializer=rpc__pb2.ChannelEventUpdate.SerializeToString, + request_deserializer=lightning__pb2.ChannelEventSubscription.FromString, + response_serializer=lightning__pb2.ChannelEventUpdate.SerializeToString, ), 'ClosedChannels': grpc.unary_unary_rpc_method_handler( servicer.ClosedChannels, - request_deserializer=rpc__pb2.ClosedChannelsRequest.FromString, - response_serializer=rpc__pb2.ClosedChannelsResponse.SerializeToString, + request_deserializer=lightning__pb2.ClosedChannelsRequest.FromString, + response_serializer=lightning__pb2.ClosedChannelsResponse.SerializeToString, ), 'OpenChannelSync': grpc.unary_unary_rpc_method_handler( servicer.OpenChannelSync, - request_deserializer=rpc__pb2.OpenChannelRequest.FromString, - response_serializer=rpc__pb2.ChannelPoint.SerializeToString, + request_deserializer=lightning__pb2.OpenChannelRequest.FromString, + response_serializer=lightning__pb2.ChannelPoint.SerializeToString, ), 'OpenChannel': grpc.unary_stream_rpc_method_handler( servicer.OpenChannel, - request_deserializer=rpc__pb2.OpenChannelRequest.FromString, - response_serializer=rpc__pb2.OpenStatusUpdate.SerializeToString, + 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=rpc__pb2.FundingTransitionMsg.FromString, - response_serializer=rpc__pb2.FundingStateStepResp.SerializeToString, + request_deserializer=lightning__pb2.FundingTransitionMsg.FromString, + response_serializer=lightning__pb2.FundingStateStepResp.SerializeToString, ), 'ChannelAcceptor': grpc.stream_stream_rpc_method_handler( servicer.ChannelAcceptor, - request_deserializer=rpc__pb2.ChannelAcceptResponse.FromString, - response_serializer=rpc__pb2.ChannelAcceptRequest.SerializeToString, + request_deserializer=lightning__pb2.ChannelAcceptResponse.FromString, + response_serializer=lightning__pb2.ChannelAcceptRequest.SerializeToString, ), 'CloseChannel': grpc.unary_stream_rpc_method_handler( servicer.CloseChannel, - request_deserializer=rpc__pb2.CloseChannelRequest.FromString, - response_serializer=rpc__pb2.CloseStatusUpdate.SerializeToString, + request_deserializer=lightning__pb2.CloseChannelRequest.FromString, + response_serializer=lightning__pb2.CloseStatusUpdate.SerializeToString, ), 'AbandonChannel': grpc.unary_unary_rpc_method_handler( servicer.AbandonChannel, - request_deserializer=rpc__pb2.AbandonChannelRequest.FromString, - response_serializer=rpc__pb2.AbandonChannelResponse.SerializeToString, + request_deserializer=lightning__pb2.AbandonChannelRequest.FromString, + response_serializer=lightning__pb2.AbandonChannelResponse.SerializeToString, ), 'SendPayment': grpc.stream_stream_rpc_method_handler( servicer.SendPayment, - request_deserializer=rpc__pb2.SendRequest.FromString, - response_serializer=rpc__pb2.SendResponse.SerializeToString, + request_deserializer=lightning__pb2.SendRequest.FromString, + response_serializer=lightning__pb2.SendResponse.SerializeToString, ), 'SendPaymentSync': grpc.unary_unary_rpc_method_handler( servicer.SendPaymentSync, - request_deserializer=rpc__pb2.SendRequest.FromString, - response_serializer=rpc__pb2.SendResponse.SerializeToString, + request_deserializer=lightning__pb2.SendRequest.FromString, + response_serializer=lightning__pb2.SendResponse.SerializeToString, ), 'SendToRoute': grpc.stream_stream_rpc_method_handler( servicer.SendToRoute, - request_deserializer=rpc__pb2.SendToRouteRequest.FromString, - response_serializer=rpc__pb2.SendResponse.SerializeToString, + request_deserializer=lightning__pb2.SendToRouteRequest.FromString, + response_serializer=lightning__pb2.SendResponse.SerializeToString, ), 'SendToRouteSync': grpc.unary_unary_rpc_method_handler( servicer.SendToRouteSync, - request_deserializer=rpc__pb2.SendToRouteRequest.FromString, - response_serializer=rpc__pb2.SendResponse.SerializeToString, + request_deserializer=lightning__pb2.SendToRouteRequest.FromString, + response_serializer=lightning__pb2.SendResponse.SerializeToString, ), 'AddInvoice': grpc.unary_unary_rpc_method_handler( servicer.AddInvoice, - request_deserializer=rpc__pb2.Invoice.FromString, - response_serializer=rpc__pb2.AddInvoiceResponse.SerializeToString, + request_deserializer=lightning__pb2.Invoice.FromString, + response_serializer=lightning__pb2.AddInvoiceResponse.SerializeToString, ), 'ListInvoices': grpc.unary_unary_rpc_method_handler( servicer.ListInvoices, - request_deserializer=rpc__pb2.ListInvoiceRequest.FromString, - response_serializer=rpc__pb2.ListInvoiceResponse.SerializeToString, + request_deserializer=lightning__pb2.ListInvoiceRequest.FromString, + response_serializer=lightning__pb2.ListInvoiceResponse.SerializeToString, ), 'LookupInvoice': grpc.unary_unary_rpc_method_handler( servicer.LookupInvoice, - request_deserializer=rpc__pb2.PaymentHash.FromString, - response_serializer=rpc__pb2.Invoice.SerializeToString, + request_deserializer=lightning__pb2.PaymentHash.FromString, + response_serializer=lightning__pb2.Invoice.SerializeToString, ), 'SubscribeInvoices': grpc.unary_stream_rpc_method_handler( servicer.SubscribeInvoices, - request_deserializer=rpc__pb2.InvoiceSubscription.FromString, - response_serializer=rpc__pb2.Invoice.SerializeToString, + request_deserializer=lightning__pb2.InvoiceSubscription.FromString, + response_serializer=lightning__pb2.Invoice.SerializeToString, ), 'DecodePayReq': grpc.unary_unary_rpc_method_handler( servicer.DecodePayReq, - request_deserializer=rpc__pb2.PayReqString.FromString, - response_serializer=rpc__pb2.PayReq.SerializeToString, + request_deserializer=lightning__pb2.PayReqString.FromString, + response_serializer=lightning__pb2.PayReq.SerializeToString, ), 'ListPayments': grpc.unary_unary_rpc_method_handler( servicer.ListPayments, - request_deserializer=rpc__pb2.ListPaymentsRequest.FromString, - response_serializer=rpc__pb2.ListPaymentsResponse.SerializeToString, + 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=rpc__pb2.DeleteAllPaymentsRequest.FromString, - response_serializer=rpc__pb2.DeleteAllPaymentsResponse.SerializeToString, + request_deserializer=lightning__pb2.DeleteAllPaymentsRequest.FromString, + response_serializer=lightning__pb2.DeleteAllPaymentsResponse.SerializeToString, ), 'DescribeGraph': grpc.unary_unary_rpc_method_handler( servicer.DescribeGraph, - request_deserializer=rpc__pb2.ChannelGraphRequest.FromString, - response_serializer=rpc__pb2.ChannelGraph.SerializeToString, + request_deserializer=lightning__pb2.ChannelGraphRequest.FromString, + response_serializer=lightning__pb2.ChannelGraph.SerializeToString, ), 'GetNodeMetrics': grpc.unary_unary_rpc_method_handler( servicer.GetNodeMetrics, - request_deserializer=rpc__pb2.NodeMetricsRequest.FromString, - response_serializer=rpc__pb2.NodeMetricsResponse.SerializeToString, + request_deserializer=lightning__pb2.NodeMetricsRequest.FromString, + response_serializer=lightning__pb2.NodeMetricsResponse.SerializeToString, ), 'GetChanInfo': grpc.unary_unary_rpc_method_handler( servicer.GetChanInfo, - request_deserializer=rpc__pb2.ChanInfoRequest.FromString, - response_serializer=rpc__pb2.ChannelEdge.SerializeToString, + request_deserializer=lightning__pb2.ChanInfoRequest.FromString, + response_serializer=lightning__pb2.ChannelEdge.SerializeToString, ), 'GetNodeInfo': grpc.unary_unary_rpc_method_handler( servicer.GetNodeInfo, - request_deserializer=rpc__pb2.NodeInfoRequest.FromString, - response_serializer=rpc__pb2.NodeInfo.SerializeToString, + request_deserializer=lightning__pb2.NodeInfoRequest.FromString, + response_serializer=lightning__pb2.NodeInfo.SerializeToString, ), 'QueryRoutes': grpc.unary_unary_rpc_method_handler( servicer.QueryRoutes, - request_deserializer=rpc__pb2.QueryRoutesRequest.FromString, - response_serializer=rpc__pb2.QueryRoutesResponse.SerializeToString, + request_deserializer=lightning__pb2.QueryRoutesRequest.FromString, + response_serializer=lightning__pb2.QueryRoutesResponse.SerializeToString, ), 'GetNetworkInfo': grpc.unary_unary_rpc_method_handler( servicer.GetNetworkInfo, - request_deserializer=rpc__pb2.NetworkInfoRequest.FromString, - response_serializer=rpc__pb2.NetworkInfo.SerializeToString, + request_deserializer=lightning__pb2.NetworkInfoRequest.FromString, + response_serializer=lightning__pb2.NetworkInfo.SerializeToString, ), 'StopDaemon': grpc.unary_unary_rpc_method_handler( servicer.StopDaemon, - request_deserializer=rpc__pb2.StopRequest.FromString, - response_serializer=rpc__pb2.StopResponse.SerializeToString, + request_deserializer=lightning__pb2.StopRequest.FromString, + response_serializer=lightning__pb2.StopResponse.SerializeToString, ), 'SubscribeChannelGraph': grpc.unary_stream_rpc_method_handler( servicer.SubscribeChannelGraph, - request_deserializer=rpc__pb2.GraphTopologySubscription.FromString, - response_serializer=rpc__pb2.GraphTopologyUpdate.SerializeToString, + request_deserializer=lightning__pb2.GraphTopologySubscription.FromString, + response_serializer=lightning__pb2.GraphTopologyUpdate.SerializeToString, ), 'DebugLevel': grpc.unary_unary_rpc_method_handler( servicer.DebugLevel, - request_deserializer=rpc__pb2.DebugLevelRequest.FromString, - response_serializer=rpc__pb2.DebugLevelResponse.SerializeToString, + request_deserializer=lightning__pb2.DebugLevelRequest.FromString, + response_serializer=lightning__pb2.DebugLevelResponse.SerializeToString, ), 'FeeReport': grpc.unary_unary_rpc_method_handler( servicer.FeeReport, - request_deserializer=rpc__pb2.FeeReportRequest.FromString, - response_serializer=rpc__pb2.FeeReportResponse.SerializeToString, + request_deserializer=lightning__pb2.FeeReportRequest.FromString, + response_serializer=lightning__pb2.FeeReportResponse.SerializeToString, ), 'UpdateChannelPolicy': grpc.unary_unary_rpc_method_handler( servicer.UpdateChannelPolicy, - request_deserializer=rpc__pb2.PolicyUpdateRequest.FromString, - response_serializer=rpc__pb2.PolicyUpdateResponse.SerializeToString, + request_deserializer=lightning__pb2.PolicyUpdateRequest.FromString, + response_serializer=lightning__pb2.PolicyUpdateResponse.SerializeToString, ), 'ForwardingHistory': grpc.unary_unary_rpc_method_handler( servicer.ForwardingHistory, - request_deserializer=rpc__pb2.ForwardingHistoryRequest.FromString, - response_serializer=rpc__pb2.ForwardingHistoryResponse.SerializeToString, + request_deserializer=lightning__pb2.ForwardingHistoryRequest.FromString, + response_serializer=lightning__pb2.ForwardingHistoryResponse.SerializeToString, ), 'ExportChannelBackup': grpc.unary_unary_rpc_method_handler( servicer.ExportChannelBackup, - request_deserializer=rpc__pb2.ExportChannelBackupRequest.FromString, - response_serializer=rpc__pb2.ChannelBackup.SerializeToString, + request_deserializer=lightning__pb2.ExportChannelBackupRequest.FromString, + response_serializer=lightning__pb2.ChannelBackup.SerializeToString, ), 'ExportAllChannelBackups': grpc.unary_unary_rpc_method_handler( servicer.ExportAllChannelBackups, - request_deserializer=rpc__pb2.ChanBackupExportRequest.FromString, - response_serializer=rpc__pb2.ChanBackupSnapshot.SerializeToString, + request_deserializer=lightning__pb2.ChanBackupExportRequest.FromString, + response_serializer=lightning__pb2.ChanBackupSnapshot.SerializeToString, ), 'VerifyChanBackup': grpc.unary_unary_rpc_method_handler( servicer.VerifyChanBackup, - request_deserializer=rpc__pb2.ChanBackupSnapshot.FromString, - response_serializer=rpc__pb2.VerifyChanBackupResponse.SerializeToString, + request_deserializer=lightning__pb2.ChanBackupSnapshot.FromString, + response_serializer=lightning__pb2.VerifyChanBackupResponse.SerializeToString, ), 'RestoreChannelBackups': grpc.unary_unary_rpc_method_handler( servicer.RestoreChannelBackups, - request_deserializer=rpc__pb2.RestoreChanBackupRequest.FromString, - response_serializer=rpc__pb2.RestoreBackupResponse.SerializeToString, + request_deserializer=lightning__pb2.RestoreChanBackupRequest.FromString, + response_serializer=lightning__pb2.RestoreBackupResponse.SerializeToString, ), 'SubscribeChannelBackups': grpc.unary_stream_rpc_method_handler( servicer.SubscribeChannelBackups, - request_deserializer=rpc__pb2.ChannelBackupSubscription.FromString, - response_serializer=rpc__pb2.ChanBackupSnapshot.SerializeToString, + request_deserializer=lightning__pb2.ChannelBackupSubscription.FromString, + response_serializer=lightning__pb2.ChanBackupSnapshot.SerializeToString, ), 'BakeMacaroon': grpc.unary_unary_rpc_method_handler( servicer.BakeMacaroon, - request_deserializer=rpc__pb2.BakeMacaroonRequest.FromString, - response_serializer=rpc__pb2.BakeMacaroonResponse.SerializeToString, + request_deserializer=lightning__pb2.BakeMacaroonRequest.FromString, + response_serializer=lightning__pb2.BakeMacaroonResponse.SerializeToString, ), 'ListMacaroonIDs': grpc.unary_unary_rpc_method_handler( servicer.ListMacaroonIDs, - request_deserializer=rpc__pb2.ListMacaroonIDsRequest.FromString, - response_serializer=rpc__pb2.ListMacaroonIDsResponse.SerializeToString, + request_deserializer=lightning__pb2.ListMacaroonIDsRequest.FromString, + response_serializer=lightning__pb2.ListMacaroonIDsResponse.SerializeToString, ), 'DeleteMacaroonID': grpc.unary_unary_rpc_method_handler( servicer.DeleteMacaroonID, - request_deserializer=rpc__pb2.DeleteMacaroonIDRequest.FromString, - response_serializer=rpc__pb2.DeleteMacaroonIDResponse.SerializeToString, + request_deserializer=lightning__pb2.DeleteMacaroonIDRequest.FromString, + response_serializer=lightning__pb2.DeleteMacaroonIDResponse.SerializeToString, ), 'ListPermissions': grpc.unary_unary_rpc_method_handler( servicer.ListPermissions, - request_deserializer=rpc__pb2.ListPermissionsRequest.FromString, - response_serializer=rpc__pb2.ListPermissionsResponse.SerializeToString, + 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, ), } generic_handler = grpc.method_handlers_generic_handler( @@ -1337,8 +1465,8 @@ class Lightning(object): timeout=None, metadata=None): return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/WalletBalance', - rpc__pb2.WalletBalanceRequest.SerializeToString, - rpc__pb2.WalletBalanceResponse.FromString, + lightning__pb2.WalletBalanceRequest.SerializeToString, + lightning__pb2.WalletBalanceResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @@ -1354,8 +1482,8 @@ class Lightning(object): timeout=None, metadata=None): return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/ChannelBalance', - rpc__pb2.ChannelBalanceRequest.SerializeToString, - rpc__pb2.ChannelBalanceResponse.FromString, + lightning__pb2.ChannelBalanceRequest.SerializeToString, + lightning__pb2.ChannelBalanceResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @@ -1371,8 +1499,8 @@ class Lightning(object): timeout=None, metadata=None): return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/GetTransactions', - rpc__pb2.GetTransactionsRequest.SerializeToString, - rpc__pb2.TransactionDetails.FromString, + lightning__pb2.GetTransactionsRequest.SerializeToString, + lightning__pb2.TransactionDetails.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @@ -1388,8 +1516,8 @@ class Lightning(object): timeout=None, metadata=None): return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/EstimateFee', - rpc__pb2.EstimateFeeRequest.SerializeToString, - rpc__pb2.EstimateFeeResponse.FromString, + lightning__pb2.EstimateFeeRequest.SerializeToString, + lightning__pb2.EstimateFeeResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @@ -1405,8 +1533,8 @@ class Lightning(object): timeout=None, metadata=None): return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/SendCoins', - rpc__pb2.SendCoinsRequest.SerializeToString, - rpc__pb2.SendCoinsResponse.FromString, + lightning__pb2.SendCoinsRequest.SerializeToString, + lightning__pb2.SendCoinsResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @@ -1422,8 +1550,8 @@ class Lightning(object): timeout=None, metadata=None): return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/ListUnspent', - rpc__pb2.ListUnspentRequest.SerializeToString, - rpc__pb2.ListUnspentResponse.FromString, + lightning__pb2.ListUnspentRequest.SerializeToString, + lightning__pb2.ListUnspentResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @@ -1439,8 +1567,8 @@ class Lightning(object): timeout=None, metadata=None): return grpc.experimental.unary_stream(request, target, '/lnrpc.Lightning/SubscribeTransactions', - rpc__pb2.GetTransactionsRequest.SerializeToString, - rpc__pb2.Transaction.FromString, + lightning__pb2.GetTransactionsRequest.SerializeToString, + lightning__pb2.Transaction.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @@ -1456,8 +1584,8 @@ class Lightning(object): timeout=None, metadata=None): return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/SendMany', - rpc__pb2.SendManyRequest.SerializeToString, - rpc__pb2.SendManyResponse.FromString, + lightning__pb2.SendManyRequest.SerializeToString, + lightning__pb2.SendManyResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @@ -1473,8 +1601,8 @@ class Lightning(object): timeout=None, metadata=None): return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/NewAddress', - rpc__pb2.NewAddressRequest.SerializeToString, - rpc__pb2.NewAddressResponse.FromString, + lightning__pb2.NewAddressRequest.SerializeToString, + lightning__pb2.NewAddressResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @@ -1490,8 +1618,8 @@ class Lightning(object): timeout=None, metadata=None): return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/SignMessage', - rpc__pb2.SignMessageRequest.SerializeToString, - rpc__pb2.SignMessageResponse.FromString, + lightning__pb2.SignMessageRequest.SerializeToString, + lightning__pb2.SignMessageResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @@ -1507,8 +1635,8 @@ class Lightning(object): timeout=None, metadata=None): return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/VerifyMessage', - rpc__pb2.VerifyMessageRequest.SerializeToString, - rpc__pb2.VerifyMessageResponse.FromString, + lightning__pb2.VerifyMessageRequest.SerializeToString, + lightning__pb2.VerifyMessageResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @@ -1524,8 +1652,8 @@ class Lightning(object): timeout=None, metadata=None): return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/ConnectPeer', - rpc__pb2.ConnectPeerRequest.SerializeToString, - rpc__pb2.ConnectPeerResponse.FromString, + lightning__pb2.ConnectPeerRequest.SerializeToString, + lightning__pb2.ConnectPeerResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @@ -1541,8 +1669,8 @@ class Lightning(object): timeout=None, metadata=None): return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/DisconnectPeer', - rpc__pb2.DisconnectPeerRequest.SerializeToString, - rpc__pb2.DisconnectPeerResponse.FromString, + lightning__pb2.DisconnectPeerRequest.SerializeToString, + lightning__pb2.DisconnectPeerResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @@ -1558,8 +1686,8 @@ class Lightning(object): timeout=None, metadata=None): return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/ListPeers', - rpc__pb2.ListPeersRequest.SerializeToString, - rpc__pb2.ListPeersResponse.FromString, + lightning__pb2.ListPeersRequest.SerializeToString, + lightning__pb2.ListPeersResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @@ -1575,8 +1703,8 @@ class Lightning(object): timeout=None, metadata=None): return grpc.experimental.unary_stream(request, target, '/lnrpc.Lightning/SubscribePeerEvents', - rpc__pb2.PeerEventSubscription.SerializeToString, - rpc__pb2.PeerEvent.FromString, + lightning__pb2.PeerEventSubscription.SerializeToString, + lightning__pb2.PeerEvent.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @@ -1592,8 +1720,8 @@ class Lightning(object): timeout=None, metadata=None): return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/GetInfo', - rpc__pb2.GetInfoRequest.SerializeToString, - rpc__pb2.GetInfoResponse.FromString, + lightning__pb2.GetInfoRequest.SerializeToString, + lightning__pb2.GetInfoResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @@ -1609,8 +1737,8 @@ class Lightning(object): timeout=None, metadata=None): return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/GetRecoveryInfo', - rpc__pb2.GetRecoveryInfoRequest.SerializeToString, - rpc__pb2.GetRecoveryInfoResponse.FromString, + lightning__pb2.GetRecoveryInfoRequest.SerializeToString, + lightning__pb2.GetRecoveryInfoResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @@ -1626,8 +1754,8 @@ class Lightning(object): timeout=None, metadata=None): return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/PendingChannels', - rpc__pb2.PendingChannelsRequest.SerializeToString, - rpc__pb2.PendingChannelsResponse.FromString, + lightning__pb2.PendingChannelsRequest.SerializeToString, + lightning__pb2.PendingChannelsResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @@ -1643,8 +1771,8 @@ class Lightning(object): timeout=None, metadata=None): return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/ListChannels', - rpc__pb2.ListChannelsRequest.SerializeToString, - rpc__pb2.ListChannelsResponse.FromString, + lightning__pb2.ListChannelsRequest.SerializeToString, + lightning__pb2.ListChannelsResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @@ -1660,8 +1788,8 @@ class Lightning(object): timeout=None, metadata=None): return grpc.experimental.unary_stream(request, target, '/lnrpc.Lightning/SubscribeChannelEvents', - rpc__pb2.ChannelEventSubscription.SerializeToString, - rpc__pb2.ChannelEventUpdate.FromString, + lightning__pb2.ChannelEventSubscription.SerializeToString, + lightning__pb2.ChannelEventUpdate.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @@ -1677,8 +1805,8 @@ class Lightning(object): timeout=None, metadata=None): return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/ClosedChannels', - rpc__pb2.ClosedChannelsRequest.SerializeToString, - rpc__pb2.ClosedChannelsResponse.FromString, + lightning__pb2.ClosedChannelsRequest.SerializeToString, + lightning__pb2.ClosedChannelsResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @@ -1694,8 +1822,8 @@ class Lightning(object): timeout=None, metadata=None): return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/OpenChannelSync', - rpc__pb2.OpenChannelRequest.SerializeToString, - rpc__pb2.ChannelPoint.FromString, + lightning__pb2.OpenChannelRequest.SerializeToString, + lightning__pb2.ChannelPoint.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @@ -1711,8 +1839,25 @@ class Lightning(object): timeout=None, metadata=None): return grpc.experimental.unary_stream(request, target, '/lnrpc.Lightning/OpenChannel', - rpc__pb2.OpenChannelRequest.SerializeToString, - rpc__pb2.OpenStatusUpdate.FromString, + lightning__pb2.OpenChannelRequest.SerializeToString, + lightning__pb2.OpenStatusUpdate.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @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) @@ -1728,8 +1873,8 @@ class Lightning(object): timeout=None, metadata=None): return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/FundingStateStep', - rpc__pb2.FundingTransitionMsg.SerializeToString, - rpc__pb2.FundingStateStepResp.FromString, + lightning__pb2.FundingTransitionMsg.SerializeToString, + lightning__pb2.FundingStateStepResp.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @@ -1745,8 +1890,8 @@ class Lightning(object): timeout=None, metadata=None): return grpc.experimental.stream_stream(request_iterator, target, '/lnrpc.Lightning/ChannelAcceptor', - rpc__pb2.ChannelAcceptResponse.SerializeToString, - rpc__pb2.ChannelAcceptRequest.FromString, + lightning__pb2.ChannelAcceptResponse.SerializeToString, + lightning__pb2.ChannelAcceptRequest.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @@ -1762,8 +1907,8 @@ class Lightning(object): timeout=None, metadata=None): return grpc.experimental.unary_stream(request, target, '/lnrpc.Lightning/CloseChannel', - rpc__pb2.CloseChannelRequest.SerializeToString, - rpc__pb2.CloseStatusUpdate.FromString, + lightning__pb2.CloseChannelRequest.SerializeToString, + lightning__pb2.CloseStatusUpdate.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @@ -1779,8 +1924,8 @@ class Lightning(object): timeout=None, metadata=None): return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/AbandonChannel', - rpc__pb2.AbandonChannelRequest.SerializeToString, - rpc__pb2.AbandonChannelResponse.FromString, + lightning__pb2.AbandonChannelRequest.SerializeToString, + lightning__pb2.AbandonChannelResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @@ -1796,8 +1941,8 @@ class Lightning(object): timeout=None, metadata=None): return grpc.experimental.stream_stream(request_iterator, target, '/lnrpc.Lightning/SendPayment', - rpc__pb2.SendRequest.SerializeToString, - rpc__pb2.SendResponse.FromString, + lightning__pb2.SendRequest.SerializeToString, + lightning__pb2.SendResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @@ -1813,8 +1958,8 @@ class Lightning(object): timeout=None, metadata=None): return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/SendPaymentSync', - rpc__pb2.SendRequest.SerializeToString, - rpc__pb2.SendResponse.FromString, + lightning__pb2.SendRequest.SerializeToString, + lightning__pb2.SendResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @@ -1830,8 +1975,8 @@ class Lightning(object): timeout=None, metadata=None): return grpc.experimental.stream_stream(request_iterator, target, '/lnrpc.Lightning/SendToRoute', - rpc__pb2.SendToRouteRequest.SerializeToString, - rpc__pb2.SendResponse.FromString, + lightning__pb2.SendToRouteRequest.SerializeToString, + lightning__pb2.SendResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @@ -1847,8 +1992,8 @@ class Lightning(object): timeout=None, metadata=None): return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/SendToRouteSync', - rpc__pb2.SendToRouteRequest.SerializeToString, - rpc__pb2.SendResponse.FromString, + lightning__pb2.SendToRouteRequest.SerializeToString, + lightning__pb2.SendResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @@ -1864,8 +2009,8 @@ class Lightning(object): timeout=None, metadata=None): return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/AddInvoice', - rpc__pb2.Invoice.SerializeToString, - rpc__pb2.AddInvoiceResponse.FromString, + lightning__pb2.Invoice.SerializeToString, + lightning__pb2.AddInvoiceResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @@ -1881,8 +2026,8 @@ class Lightning(object): timeout=None, metadata=None): return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/ListInvoices', - rpc__pb2.ListInvoiceRequest.SerializeToString, - rpc__pb2.ListInvoiceResponse.FromString, + lightning__pb2.ListInvoiceRequest.SerializeToString, + lightning__pb2.ListInvoiceResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @@ -1898,8 +2043,8 @@ class Lightning(object): timeout=None, metadata=None): return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/LookupInvoice', - rpc__pb2.PaymentHash.SerializeToString, - rpc__pb2.Invoice.FromString, + lightning__pb2.PaymentHash.SerializeToString, + lightning__pb2.Invoice.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @@ -1915,8 +2060,8 @@ class Lightning(object): timeout=None, metadata=None): return grpc.experimental.unary_stream(request, target, '/lnrpc.Lightning/SubscribeInvoices', - rpc__pb2.InvoiceSubscription.SerializeToString, - rpc__pb2.Invoice.FromString, + lightning__pb2.InvoiceSubscription.SerializeToString, + lightning__pb2.Invoice.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @@ -1932,8 +2077,8 @@ class Lightning(object): timeout=None, metadata=None): return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/DecodePayReq', - rpc__pb2.PayReqString.SerializeToString, - rpc__pb2.PayReq.FromString, + lightning__pb2.PayReqString.SerializeToString, + lightning__pb2.PayReq.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @@ -1949,8 +2094,25 @@ class Lightning(object): timeout=None, metadata=None): return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/ListPayments', - rpc__pb2.ListPaymentsRequest.SerializeToString, - rpc__pb2.ListPaymentsResponse.FromString, + lightning__pb2.ListPaymentsRequest.SerializeToString, + lightning__pb2.ListPaymentsResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @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) @@ -1966,8 +2128,8 @@ class Lightning(object): timeout=None, metadata=None): return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/DeleteAllPayments', - rpc__pb2.DeleteAllPaymentsRequest.SerializeToString, - rpc__pb2.DeleteAllPaymentsResponse.FromString, + lightning__pb2.DeleteAllPaymentsRequest.SerializeToString, + lightning__pb2.DeleteAllPaymentsResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @@ -1983,8 +2145,8 @@ class Lightning(object): timeout=None, metadata=None): return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/DescribeGraph', - rpc__pb2.ChannelGraphRequest.SerializeToString, - rpc__pb2.ChannelGraph.FromString, + lightning__pb2.ChannelGraphRequest.SerializeToString, + lightning__pb2.ChannelGraph.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @@ -2000,8 +2162,8 @@ class Lightning(object): timeout=None, metadata=None): return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/GetNodeMetrics', - rpc__pb2.NodeMetricsRequest.SerializeToString, - rpc__pb2.NodeMetricsResponse.FromString, + lightning__pb2.NodeMetricsRequest.SerializeToString, + lightning__pb2.NodeMetricsResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @@ -2017,8 +2179,8 @@ class Lightning(object): timeout=None, metadata=None): return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/GetChanInfo', - rpc__pb2.ChanInfoRequest.SerializeToString, - rpc__pb2.ChannelEdge.FromString, + lightning__pb2.ChanInfoRequest.SerializeToString, + lightning__pb2.ChannelEdge.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @@ -2034,8 +2196,8 @@ class Lightning(object): timeout=None, metadata=None): return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/GetNodeInfo', - rpc__pb2.NodeInfoRequest.SerializeToString, - rpc__pb2.NodeInfo.FromString, + lightning__pb2.NodeInfoRequest.SerializeToString, + lightning__pb2.NodeInfo.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @@ -2051,8 +2213,8 @@ class Lightning(object): timeout=None, metadata=None): return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/QueryRoutes', - rpc__pb2.QueryRoutesRequest.SerializeToString, - rpc__pb2.QueryRoutesResponse.FromString, + lightning__pb2.QueryRoutesRequest.SerializeToString, + lightning__pb2.QueryRoutesResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @@ -2068,8 +2230,8 @@ class Lightning(object): timeout=None, metadata=None): return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/GetNetworkInfo', - rpc__pb2.NetworkInfoRequest.SerializeToString, - rpc__pb2.NetworkInfo.FromString, + lightning__pb2.NetworkInfoRequest.SerializeToString, + lightning__pb2.NetworkInfo.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @@ -2085,8 +2247,8 @@ class Lightning(object): timeout=None, metadata=None): return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/StopDaemon', - rpc__pb2.StopRequest.SerializeToString, - rpc__pb2.StopResponse.FromString, + lightning__pb2.StopRequest.SerializeToString, + lightning__pb2.StopResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @@ -2102,8 +2264,8 @@ class Lightning(object): timeout=None, metadata=None): return grpc.experimental.unary_stream(request, target, '/lnrpc.Lightning/SubscribeChannelGraph', - rpc__pb2.GraphTopologySubscription.SerializeToString, - rpc__pb2.GraphTopologyUpdate.FromString, + lightning__pb2.GraphTopologySubscription.SerializeToString, + lightning__pb2.GraphTopologyUpdate.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @@ -2119,8 +2281,8 @@ class Lightning(object): timeout=None, metadata=None): return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/DebugLevel', - rpc__pb2.DebugLevelRequest.SerializeToString, - rpc__pb2.DebugLevelResponse.FromString, + lightning__pb2.DebugLevelRequest.SerializeToString, + lightning__pb2.DebugLevelResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @@ -2136,8 +2298,8 @@ class Lightning(object): timeout=None, metadata=None): return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/FeeReport', - rpc__pb2.FeeReportRequest.SerializeToString, - rpc__pb2.FeeReportResponse.FromString, + lightning__pb2.FeeReportRequest.SerializeToString, + lightning__pb2.FeeReportResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @@ -2153,8 +2315,8 @@ class Lightning(object): timeout=None, metadata=None): return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/UpdateChannelPolicy', - rpc__pb2.PolicyUpdateRequest.SerializeToString, - rpc__pb2.PolicyUpdateResponse.FromString, + lightning__pb2.PolicyUpdateRequest.SerializeToString, + lightning__pb2.PolicyUpdateResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @@ -2170,8 +2332,8 @@ class Lightning(object): timeout=None, metadata=None): return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/ForwardingHistory', - rpc__pb2.ForwardingHistoryRequest.SerializeToString, - rpc__pb2.ForwardingHistoryResponse.FromString, + lightning__pb2.ForwardingHistoryRequest.SerializeToString, + lightning__pb2.ForwardingHistoryResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @@ -2187,8 +2349,8 @@ class Lightning(object): timeout=None, metadata=None): return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/ExportChannelBackup', - rpc__pb2.ExportChannelBackupRequest.SerializeToString, - rpc__pb2.ChannelBackup.FromString, + lightning__pb2.ExportChannelBackupRequest.SerializeToString, + lightning__pb2.ChannelBackup.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @@ -2204,8 +2366,8 @@ class Lightning(object): timeout=None, metadata=None): return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/ExportAllChannelBackups', - rpc__pb2.ChanBackupExportRequest.SerializeToString, - rpc__pb2.ChanBackupSnapshot.FromString, + lightning__pb2.ChanBackupExportRequest.SerializeToString, + lightning__pb2.ChanBackupSnapshot.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @@ -2221,8 +2383,8 @@ class Lightning(object): timeout=None, metadata=None): return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/VerifyChanBackup', - rpc__pb2.ChanBackupSnapshot.SerializeToString, - rpc__pb2.VerifyChanBackupResponse.FromString, + lightning__pb2.ChanBackupSnapshot.SerializeToString, + lightning__pb2.VerifyChanBackupResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @@ -2238,8 +2400,8 @@ class Lightning(object): timeout=None, metadata=None): return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/RestoreChannelBackups', - rpc__pb2.RestoreChanBackupRequest.SerializeToString, - rpc__pb2.RestoreBackupResponse.FromString, + lightning__pb2.RestoreChanBackupRequest.SerializeToString, + lightning__pb2.RestoreBackupResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @@ -2255,8 +2417,8 @@ class Lightning(object): timeout=None, metadata=None): return grpc.experimental.unary_stream(request, target, '/lnrpc.Lightning/SubscribeChannelBackups', - rpc__pb2.ChannelBackupSubscription.SerializeToString, - rpc__pb2.ChanBackupSnapshot.FromString, + lightning__pb2.ChannelBackupSubscription.SerializeToString, + lightning__pb2.ChanBackupSnapshot.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @@ -2272,8 +2434,8 @@ class Lightning(object): timeout=None, metadata=None): return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/BakeMacaroon', - rpc__pb2.BakeMacaroonRequest.SerializeToString, - rpc__pb2.BakeMacaroonResponse.FromString, + lightning__pb2.BakeMacaroonRequest.SerializeToString, + lightning__pb2.BakeMacaroonResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @@ -2289,8 +2451,8 @@ class Lightning(object): timeout=None, metadata=None): return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/ListMacaroonIDs', - rpc__pb2.ListMacaroonIDsRequest.SerializeToString, - rpc__pb2.ListMacaroonIDsResponse.FromString, + lightning__pb2.ListMacaroonIDsRequest.SerializeToString, + lightning__pb2.ListMacaroonIDsResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @@ -2306,8 +2468,8 @@ class Lightning(object): timeout=None, metadata=None): return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/DeleteMacaroonID', - rpc__pb2.DeleteMacaroonIDRequest.SerializeToString, - rpc__pb2.DeleteMacaroonIDResponse.FromString, + lightning__pb2.DeleteMacaroonIDRequest.SerializeToString, + lightning__pb2.DeleteMacaroonIDResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @@ -2323,7 +2485,75 @@ class Lightning(object): timeout=None, metadata=None): return grpc.experimental.unary_unary(request, target, '/lnrpc.Lightning/ListPermissions', - rpc__pb2.ListPermissionsRequest.SerializeToString, - rpc__pb2.ListPermissionsResponse.FromString, + lightning__pb2.ListPermissionsRequest.SerializeToString, + lightning__pb2.ListPermissionsResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @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) + + @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) + + @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) + + @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) diff --git a/lndmanage/grpc_compiled/router_pb2.py b/lndmanage/grpc_compiled/router_pb2.py index b3ec576..30865bc 100644 --- a/lndmanage/grpc_compiled/router_pb2.py +++ b/lndmanage/grpc_compiled/router_pb2.py @@ -12,7 +12,7 @@ from google.protobuf import symbol_database as _symbol_database _sym_db = _symbol_database.Default() -from lndmanage.grpc_compiled import rpc_pb2 as rpc__pb2 +from lndmanage.grpc_compiled import lightning_pb2 as lightning__pb2 DESCRIPTOR = _descriptor.FileDescriptor( @@ -21,9 +21,9 @@ DESCRIPTOR = _descriptor.FileDescriptor( 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' + serialized_pb=b'\n\x0crouter.proto\x12\trouterrpc\x1a\x0flightning.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\"\x1f\n\x0bSettleEvent\x12\x10\n\x08preimage\x18\x01 \x01(\x0c\"\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,]) + dependencies=[lightning__pb2.DESCRIPTOR,]) _FAILUREDETAIL = _descriptor.EnumDescriptor( name='FailureDetail', @@ -150,8 +150,8 @@ _FAILUREDETAIL = _descriptor.EnumDescriptor( ], containing_type=None, serialized_options=None, - serialized_start=4124, - serialized_end=4637, + serialized_start=4148, + serialized_end=4661, ) _sym_db.RegisterEnumDescriptor(_FAILUREDETAIL) @@ -201,8 +201,8 @@ _PAYMENTSTATE = _descriptor.EnumDescriptor( ], containing_type=None, serialized_options=None, - serialized_start=4640, - serialized_end=4814, + serialized_start=4664, + serialized_end=4838, ) _sym_db.RegisterEnumDescriptor(_PAYMENTSTATE) @@ -232,8 +232,8 @@ _RESOLVEHOLDFORWARDACTION = _descriptor.EnumDescriptor( ], containing_type=None, serialized_options=None, - serialized_start=4816, - serialized_end=4876, + serialized_start=4840, + serialized_end=4900, ) _sym_db.RegisterEnumDescriptor(_RESOLVEHOLDFORWARDACTION) @@ -263,8 +263,8 @@ _CHANSTATUSACTION = _descriptor.EnumDescriptor( ], containing_type=None, serialized_options=None, - serialized_start=4878, - serialized_end=4931, + serialized_start=4902, + serialized_end=4955, ) _sym_db.RegisterEnumDescriptor(_CHANSTATUSACTION) @@ -337,8 +337,8 @@ _HTLCEVENT_EVENTTYPE = _descriptor.EnumDescriptor( ], containing_type=None, serialized_options=None, - serialized_start=2797, - serialized_end=2857, + serialized_start=2803, + serialized_end=2863, ) _sym_db.RegisterEnumDescriptor(_HTLCEVENT_EVENTTYPE) @@ -377,8 +377,8 @@ _SENDPAYMENTREQUEST_DESTCUSTOMRECORDSENTRY = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=659, - serialized_end=715, + serialized_start=665, + serialized_end=721, ) _SENDPAYMENTREQUEST = _descriptor.Descriptor( @@ -555,8 +555,8 @@ _SENDPAYMENTREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=39, - serialized_end=715, + serialized_start=45, + serialized_end=721, ) @@ -594,8 +594,8 @@ _TRACKPAYMENTREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=717, - serialized_end=789, + serialized_start=723, + serialized_end=795, ) @@ -633,8 +633,8 @@ _ROUTEFEEREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=791, - serialized_end=839, + serialized_start=797, + serialized_end=845, ) @@ -672,8 +672,8 @@ _ROUTEFEERESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=841, - serialized_end=910, + serialized_start=847, + serialized_end=916, ) @@ -711,8 +711,8 @@ _SENDTOROUTEREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=912, - serialized_end=983, + serialized_start=918, + serialized_end=989, ) @@ -750,8 +750,8 @@ _SENDTOROUTERESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=985, - serialized_end=1057, + serialized_start=991, + serialized_end=1063, ) @@ -775,8 +775,8 @@ _RESETMISSIONCONTROLREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=1059, - serialized_end=1087, + serialized_start=1065, + serialized_end=1093, ) @@ -800,8 +800,8 @@ _RESETMISSIONCONTROLRESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=1089, - serialized_end=1118, + serialized_start=1095, + serialized_end=1124, ) @@ -825,8 +825,8 @@ _QUERYMISSIONCONTROLREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=1120, - serialized_end=1148, + serialized_start=1126, + serialized_end=1154, ) @@ -857,8 +857,8 @@ _QUERYMISSIONCONTROLRESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=1150, - serialized_end=1224, + serialized_start=1156, + serialized_end=1230, ) @@ -889,8 +889,8 @@ _XIMPORTMISSIONCONTROLREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=1226, - serialized_end=1295, + serialized_start=1232, + serialized_end=1301, ) @@ -914,8 +914,8 @@ _XIMPORTMISSIONCONTROLRESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=1297, - serialized_end=1328, + serialized_start=1303, + serialized_end=1334, ) @@ -960,8 +960,8 @@ _PAIRHISTORY = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=1330, - serialized_end=1441, + serialized_start=1336, + serialized_end=1447, ) @@ -1027,8 +1027,8 @@ _PAIRDATA = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=1444, - serialized_end=1597, + serialized_start=1450, + serialized_end=1603, ) @@ -1052,8 +1052,8 @@ _GETMISSIONCONTROLCONFIGREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=1599, - serialized_end=1631, + serialized_start=1605, + serialized_end=1637, ) @@ -1084,8 +1084,8 @@ _GETMISSIONCONTROLCONFIGRESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=1633, - serialized_end=1715, + serialized_start=1639, + serialized_end=1721, ) @@ -1116,8 +1116,8 @@ _SETMISSIONCONTROLCONFIGREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=1717, - serialized_end=1798, + serialized_start=1723, + serialized_end=1804, ) @@ -1141,8 +1141,8 @@ _SETMISSIONCONTROLCONFIGRESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=1800, - serialized_end=1833, + serialized_start=1806, + serialized_end=1839, ) @@ -1201,8 +1201,8 @@ _MISSIONCONTROLCONFIG = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=1836, - serialized_end=1999, + serialized_start=1842, + serialized_end=2005, ) @@ -1247,8 +1247,8 @@ _QUERYPROBABILITYREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=2001, - serialized_end=2080, + serialized_start=2007, + serialized_end=2086, ) @@ -1286,8 +1286,8 @@ _QUERYPROBABILITYRESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=2082, - serialized_end=2167, + serialized_start=2088, + serialized_end=2173, ) @@ -1346,8 +1346,8 @@ _BUILDROUTEREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=2170, - serialized_end=2306, + serialized_start=2176, + serialized_end=2312, ) @@ -1378,8 +1378,8 @@ _BUILDROUTERESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=2308, - serialized_end=2357, + serialized_start=2314, + serialized_end=2363, ) @@ -1403,8 +1403,8 @@ _SUBSCRIBEHTLCEVENTSREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=2359, - serialized_end=2387, + serialized_start=2365, + serialized_end=2393, ) @@ -1504,8 +1504,8 @@ _HTLCEVENT = _descriptor.Descriptor( create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=2390, - serialized_end=2866, + serialized_start=2396, + serialized_end=2872, ) @@ -1557,8 +1557,8 @@ _HTLCINFO = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=2868, - serialized_end=2986, + serialized_start=2874, + serialized_end=2992, ) @@ -1589,8 +1589,8 @@ _FORWARDEVENT = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=2988, - serialized_end=3037, + serialized_start=2994, + serialized_end=3043, ) @@ -1614,8 +1614,8 @@ _FORWARDFAILEVENT = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=3039, - serialized_end=3057, + serialized_start=3045, + serialized_end=3063, ) @@ -1627,6 +1627,13 @@ _SETTLEEVENT = _descriptor.Descriptor( containing_type=None, create_key=_descriptor._internal_create_key, fields=[ + _descriptor.FieldDescriptor( + name='preimage', full_name='routerrpc.SettleEvent.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), ], extensions=[ ], @@ -1639,8 +1646,8 @@ _SETTLEEVENT = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=3059, - serialized_end=3072, + serialized_start=3065, + serialized_end=3096, ) @@ -1692,8 +1699,8 @@ _LINKFAILEVENT = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=3075, - serialized_end=3249, + serialized_start=3099, + serialized_end=3273, ) @@ -1738,8 +1745,8 @@ _PAYMENTSTATUS = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=3251, - serialized_end=3365, + serialized_start=3275, + serialized_end=3389, ) @@ -1777,8 +1784,8 @@ _CIRCUITKEY = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=3367, - serialized_end=3413, + serialized_start=3391, + serialized_end=3437, ) @@ -1816,8 +1823,8 @@ _FORWARDHTLCINTERCEPTREQUEST_CUSTOMRECORDSENTRY = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=3771, - serialized_end=3823, + serialized_start=3795, + serialized_end=3847, ) _FORWARDHTLCINTERCEPTREQUEST = _descriptor.Descriptor( @@ -1903,8 +1910,8 @@ _FORWARDHTLCINTERCEPTREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=3416, - serialized_end=3823, + serialized_start=3440, + serialized_end=3847, ) @@ -1949,8 +1956,8 @@ _FORWARDHTLCINTERCEPTRESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=3826, - serialized_end=3980, + serialized_start=3850, + serialized_end=4004, ) @@ -1988,8 +1995,8 @@ _UPDATECHANSTATUSREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=3982, - serialized_end=4093, + serialized_start=4006, + serialized_end=4117, ) @@ -2013,23 +2020,23 @@ _UPDATECHANSTATUSRESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=4095, - serialized_end=4121, + serialized_start=4119, + serialized_end=4145, ) _SENDPAYMENTREQUEST_DESTCUSTOMRECORDSENTRY.containing_type = _SENDPAYMENTREQUEST -_SENDPAYMENTREQUEST.fields_by_name['route_hints'].message_type = rpc__pb2._ROUTEHINT +_SENDPAYMENTREQUEST.fields_by_name['route_hints'].message_type = lightning__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 +_SENDPAYMENTREQUEST.fields_by_name['dest_features'].enum_type = lightning__pb2._FEATUREBIT +_SENDTOROUTEREQUEST.fields_by_name['route'].message_type = lightning__pb2._ROUTE +_SENDTOROUTERESPONSE.fields_by_name['failure'].message_type = lightning__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 +_BUILDROUTERESPONSE.fields_by_name['route'].message_type = lightning__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 @@ -2050,16 +2057,16 @@ _HTLCEVENT.oneofs_by_name['event'].fields.append( _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['wire_failure'].enum_type = lightning__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 +_PAYMENTSTATUS.fields_by_name['htlcs'].message_type = lightning__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['chan_point'].message_type = lightning__pb2._CHANNELPOINT _UPDATECHANSTATUSREQUEST.fields_by_name['action'].enum_type = _CHANSTATUSACTION DESCRIPTOR.message_types_by_name['SendPaymentRequest'] = _SENDPAYMENTREQUEST DESCRIPTOR.message_types_by_name['TrackPaymentRequest'] = _TRACKPAYMENTREQUEST @@ -2385,8 +2392,8 @@ _ROUTER = _descriptor.ServiceDescriptor( index=0, serialized_options=None, create_key=_descriptor._internal_create_key, - serialized_start=4934, - serialized_end=6455, + serialized_start=4958, + serialized_end=6479, methods=[ _descriptor.MethodDescriptor( name='SendPaymentV2', @@ -2394,7 +2401,7 @@ _ROUTER = _descriptor.ServiceDescriptor( index=0, containing_service=None, input_type=_SENDPAYMENTREQUEST, - output_type=rpc__pb2._PAYMENT, + output_type=lightning__pb2._PAYMENT, serialized_options=None, create_key=_descriptor._internal_create_key, ), @@ -2404,7 +2411,7 @@ _ROUTER = _descriptor.ServiceDescriptor( index=1, containing_service=None, input_type=_TRACKPAYMENTREQUEST, - output_type=rpc__pb2._PAYMENT, + output_type=lightning__pb2._PAYMENT, serialized_options=None, create_key=_descriptor._internal_create_key, ), @@ -2434,7 +2441,7 @@ _ROUTER = _descriptor.ServiceDescriptor( index=4, containing_service=None, input_type=_SENDTOROUTEREQUEST, - output_type=rpc__pb2._HTLCATTEMPT, + output_type=lightning__pb2._HTLCATTEMPT, serialized_options=None, create_key=_descriptor._internal_create_key, ), diff --git a/lndmanage/grpc_compiled/router_pb2_grpc.py b/lndmanage/grpc_compiled/router_pb2_grpc.py index 41366f7..00d7754 100644 --- a/lndmanage/grpc_compiled/router_pb2_grpc.py +++ b/lndmanage/grpc_compiled/router_pb2_grpc.py @@ -2,8 +2,8 @@ """Client and server classes corresponding to protobuf-defined services.""" import grpc +from lndmanage.grpc_compiled import lightning_pb2 as lightning__pb2 from lndmanage.grpc_compiled import router_pb2 as router__pb2 -from lndmanage.grpc_compiled import rpc_pb2 as rpc__pb2 class RouterStub(object): @@ -20,12 +20,12 @@ class RouterStub(object): 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, ) 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, ) self.EstimateRouteFee = channel.unary_unary( '/routerrpc.Router/EstimateRouteFee', @@ -40,7 +40,7 @@ class RouterStub(object): 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, ) self.ResetMissionControl = channel.unary_unary( '/routerrpc.Router/ResetMissionControl', @@ -282,12 +282,12 @@ 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, ), 'EstimateRouteFee': grpc.unary_unary_rpc_method_handler( servicer.EstimateRouteFee, @@ -302,7 +302,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, @@ -389,7 +389,7 @@ class Router(object): metadata=None): return grpc.experimental.unary_stream(request, target, '/routerrpc.Router/SendPaymentV2', router__pb2.SendPaymentRequest.SerializeToString, - rpc__pb2.Payment.FromString, + lightning__pb2.Payment.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @@ -406,7 +406,7 @@ class Router(object): metadata=None): return grpc.experimental.unary_stream(request, target, '/routerrpc.Router/TrackPaymentV2', router__pb2.TrackPaymentRequest.SerializeToString, - rpc__pb2.Payment.FromString, + lightning__pb2.Payment.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @@ -457,7 +457,7 @@ class Router(object): metadata=None): return grpc.experimental.unary_unary(request, target, '/routerrpc.Router/SendToRouteV2', router__pb2.SendToRouteRequest.SerializeToString, - rpc__pb2.HTLCAttempt.FromString, + lightning__pb2.HTLCAttempt.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/lndmanage/grpc_compiled/signer_pb2.py b/lndmanage/grpc_compiled/signer_pb2.py index 2a28075..5ac8a4c 100644 --- a/lndmanage/grpc_compiled/signer_pb2.py +++ b/lndmanage/grpc_compiled/signer_pb2.py @@ -19,7 +19,7 @@ DESCRIPTOR = _descriptor.FileDescriptor( syntax='proto3', serialized_options=b'Z-github.com/lightningnetwork/lnd/lnrpc/signrpc', create_key=_descriptor._internal_create_key, - serialized_pb=b'\n\x0csigner.proto\x12\x07signrpc\"3\n\nKeyLocator\x12\x12\n\nkey_family\x18\x01 \x01(\x05\x12\x11\n\tkey_index\x18\x02 \x01(\x05\"L\n\rKeyDescriptor\x12\x15\n\rraw_key_bytes\x18\x01 \x01(\x0c\x12$\n\x07key_loc\x18\x02 \x01(\x0b\x32\x13.signrpc.KeyLocator\")\n\x05TxOut\x12\r\n\x05value\x18\x01 \x01(\x03\x12\x11\n\tpk_script\x18\x02 \x01(\x0c\"\xc4\x01\n\x0eSignDescriptor\x12(\n\x08key_desc\x18\x01 \x01(\x0b\x32\x16.signrpc.KeyDescriptor\x12\x14\n\x0csingle_tweak\x18\x02 \x01(\x0c\x12\x14\n\x0c\x64ouble_tweak\x18\x03 \x01(\x0c\x12\x16\n\x0ewitness_script\x18\x04 \x01(\x0c\x12\x1e\n\x06output\x18\x05 \x01(\x0b\x32\x0e.signrpc.TxOut\x12\x0f\n\x07sighash\x18\x07 \x01(\r\x12\x13\n\x0binput_index\x18\x08 \x01(\x05\"L\n\x07SignReq\x12\x14\n\x0craw_tx_bytes\x18\x01 \x01(\x0c\x12+\n\nsign_descs\x18\x02 \x03(\x0b\x32\x17.signrpc.SignDescriptor\"\x1c\n\x08SignResp\x12\x10\n\x08raw_sigs\x18\x01 \x03(\x0c\"2\n\x0bInputScript\x12\x0f\n\x07witness\x18\x01 \x03(\x0c\x12\x12\n\nsig_script\x18\x02 \x01(\x0c\">\n\x0fInputScriptResp\x12+\n\rinput_scripts\x18\x01 \x03(\x0b\x32\x14.signrpc.InputScript\"C\n\x0eSignMessageReq\x12\x0b\n\x03msg\x18\x01 \x01(\x0c\x12$\n\x07key_loc\x18\x02 \x01(\x0b\x32\x13.signrpc.KeyLocator\"$\n\x0fSignMessageResp\x12\x11\n\tsignature\x18\x01 \x01(\x0c\"B\n\x10VerifyMessageReq\x12\x0b\n\x03msg\x18\x01 \x01(\x0c\x12\x11\n\tsignature\x18\x02 \x01(\x0c\x12\x0e\n\x06pubkey\x18\x03 \x01(\x0c\"\"\n\x11VerifyMessageResp\x12\r\n\x05valid\x18\x01 \x01(\x08\"\x80\x01\n\x10SharedKeyRequest\x12\x18\n\x10\x65phemeral_pubkey\x18\x01 \x01(\x0c\x12(\n\x07key_loc\x18\x02 \x01(\x0b\x32\x13.signrpc.KeyLocatorB\x02\x18\x01\x12(\n\x08key_desc\x18\x03 \x01(\x0b\x32\x16.signrpc.KeyDescriptor\"\'\n\x11SharedKeyResponse\x12\x12\n\nshared_key\x18\x01 \x01(\x0c\x32\xd4\x02\n\x06Signer\x12\x34\n\rSignOutputRaw\x12\x10.signrpc.SignReq\x1a\x11.signrpc.SignResp\x12@\n\x12\x43omputeInputScript\x12\x10.signrpc.SignReq\x1a\x18.signrpc.InputScriptResp\x12@\n\x0bSignMessage\x12\x17.signrpc.SignMessageReq\x1a\x18.signrpc.SignMessageResp\x12\x46\n\rVerifyMessage\x12\x19.signrpc.VerifyMessageReq\x1a\x1a.signrpc.VerifyMessageResp\x12H\n\x0f\x44\x65riveSharedKey\x12\x19.signrpc.SharedKeyRequest\x1a\x1a.signrpc.SharedKeyResponseB/Z-github.com/lightningnetwork/lnd/lnrpc/signrpcb\x06proto3' + serialized_pb=b'\n\x0csigner.proto\x12\x07signrpc\"3\n\nKeyLocator\x12\x12\n\nkey_family\x18\x01 \x01(\x05\x12\x11\n\tkey_index\x18\x02 \x01(\x05\"L\n\rKeyDescriptor\x12\x15\n\rraw_key_bytes\x18\x01 \x01(\x0c\x12$\n\x07key_loc\x18\x02 \x01(\x0b\x32\x13.signrpc.KeyLocator\")\n\x05TxOut\x12\r\n\x05value\x18\x01 \x01(\x03\x12\x11\n\tpk_script\x18\x02 \x01(\x0c\"\xc4\x01\n\x0eSignDescriptor\x12(\n\x08key_desc\x18\x01 \x01(\x0b\x32\x16.signrpc.KeyDescriptor\x12\x14\n\x0csingle_tweak\x18\x02 \x01(\x0c\x12\x14\n\x0c\x64ouble_tweak\x18\x03 \x01(\x0c\x12\x16\n\x0ewitness_script\x18\x04 \x01(\x0c\x12\x1e\n\x06output\x18\x05 \x01(\x0b\x32\x0e.signrpc.TxOut\x12\x0f\n\x07sighash\x18\x07 \x01(\r\x12\x13\n\x0binput_index\x18\x08 \x01(\x05\"L\n\x07SignReq\x12\x14\n\x0craw_tx_bytes\x18\x01 \x01(\x0c\x12+\n\nsign_descs\x18\x02 \x03(\x0b\x32\x17.signrpc.SignDescriptor\"\x1c\n\x08SignResp\x12\x10\n\x08raw_sigs\x18\x01 \x03(\x0c\"2\n\x0bInputScript\x12\x0f\n\x07witness\x18\x01 \x03(\x0c\x12\x12\n\nsig_script\x18\x02 \x01(\x0c\">\n\x0fInputScriptResp\x12+\n\rinput_scripts\x18\x01 \x03(\x0b\x32\x14.signrpc.InputScript\"m\n\x0eSignMessageReq\x12\x0b\n\x03msg\x18\x01 \x01(\x0c\x12$\n\x07key_loc\x18\x02 \x01(\x0b\x32\x13.signrpc.KeyLocator\x12\x13\n\x0b\x64ouble_hash\x18\x03 \x01(\x08\x12\x13\n\x0b\x63ompact_sig\x18\x04 \x01(\x08\"$\n\x0fSignMessageResp\x12\x11\n\tsignature\x18\x01 \x01(\x0c\"B\n\x10VerifyMessageReq\x12\x0b\n\x03msg\x18\x01 \x01(\x0c\x12\x11\n\tsignature\x18\x02 \x01(\x0c\x12\x0e\n\x06pubkey\x18\x03 \x01(\x0c\"\"\n\x11VerifyMessageResp\x12\r\n\x05valid\x18\x01 \x01(\x08\"\x80\x01\n\x10SharedKeyRequest\x12\x18\n\x10\x65phemeral_pubkey\x18\x01 \x01(\x0c\x12(\n\x07key_loc\x18\x02 \x01(\x0b\x32\x13.signrpc.KeyLocatorB\x02\x18\x01\x12(\n\x08key_desc\x18\x03 \x01(\x0b\x32\x16.signrpc.KeyDescriptor\"\'\n\x11SharedKeyResponse\x12\x12\n\nshared_key\x18\x01 \x01(\x0c\x32\xd4\x02\n\x06Signer\x12\x34\n\rSignOutputRaw\x12\x10.signrpc.SignReq\x1a\x11.signrpc.SignResp\x12@\n\x12\x43omputeInputScript\x12\x10.signrpc.SignReq\x1a\x18.signrpc.InputScriptResp\x12@\n\x0bSignMessage\x12\x17.signrpc.SignMessageReq\x1a\x18.signrpc.SignMessageResp\x12\x46\n\rVerifyMessage\x12\x19.signrpc.VerifyMessageReq\x1a\x1a.signrpc.VerifyMessageResp\x12H\n\x0f\x44\x65riveSharedKey\x12\x19.signrpc.SharedKeyRequest\x1a\x1a.signrpc.SharedKeyResponseB/Z-github.com/lightningnetwork/lnd/lnrpc/signrpcb\x06proto3' ) @@ -380,6 +380,20 @@ _SIGNMESSAGEREQ = _descriptor.Descriptor( message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='double_hash', full_name='signrpc.SignMessageReq.double_hash', 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='compact_sig', full_name='signrpc.SignMessageReq.compact_sig', 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=[ ], @@ -393,7 +407,7 @@ _SIGNMESSAGEREQ = _descriptor.Descriptor( oneofs=[ ], serialized_start=622, - serialized_end=689, + serialized_end=731, ) @@ -424,8 +438,8 @@ _SIGNMESSAGERESP = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=691, - serialized_end=727, + serialized_start=733, + serialized_end=769, ) @@ -470,8 +484,8 @@ _VERIFYMESSAGEREQ = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=729, - serialized_end=795, + serialized_start=771, + serialized_end=837, ) @@ -502,8 +516,8 @@ _VERIFYMESSAGERESP = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=797, - serialized_end=831, + serialized_start=839, + serialized_end=873, ) @@ -548,8 +562,8 @@ _SHAREDKEYREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=834, - serialized_end=962, + serialized_start=876, + serialized_end=1004, ) @@ -580,8 +594,8 @@ _SHAREDKEYRESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=964, - serialized_end=1003, + serialized_start=1006, + serialized_end=1045, ) _KEYDESCRIPTOR.fields_by_name['key_loc'].message_type = _KEYLOCATOR @@ -717,8 +731,8 @@ _SIGNER = _descriptor.ServiceDescriptor( index=0, serialized_options=None, create_key=_descriptor._internal_create_key, - serialized_start=1006, - serialized_end=1346, + serialized_start=1048, + serialized_end=1388, methods=[ _descriptor.MethodDescriptor( name='SignOutputRaw', diff --git a/lndmanage/grpc_compiled/walletkit_pb2.py b/lndmanage/grpc_compiled/walletkit_pb2.py index 2e77e50..8841d80 100644 --- a/lndmanage/grpc_compiled/walletkit_pb2.py +++ b/lndmanage/grpc_compiled/walletkit_pb2.py @@ -12,7 +12,7 @@ from google.protobuf import symbol_database as _symbol_database _sym_db = _symbol_database.Default() -from lndmanage.grpc_compiled import rpc_pb2 as rpc__pb2 +from lndmanage.grpc_compiled import lightning_pb2 as lightning__pb2 from lndmanage.grpc_compiled import signer_pb2 as signer__pb2 @@ -22,9 +22,9 @@ DESCRIPTOR = _descriptor.FileDescriptor( syntax='proto3', serialized_options=b'Z/github.com/lightningnetwork/lnd/lnrpc/walletrpc', create_key=_descriptor._internal_create_key, - serialized_pb=b'\n\x0fwalletkit.proto\x12\twalletrpc\x1a\trpc.proto\x1a\x0csigner.proto\"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\"_\n\x12LeaseOutputRequest\x12\n\n\x02id\x18\x01 \x01(\x0c\x12!\n\x08outpoint\x18\x02 \x01(\x0b\x32\x0f.lnrpc.OutPoint\x12\x1a\n\x12\x65xpiration_seconds\x18\x03 \x01(\x04\")\n\x13LeaseOutputResponse\x12\x12\n\nexpiration\x18\x01 \x01(\x04\"E\n\x14ReleaseOutputRequest\x12\n\n\x02id\x18\x01 \x01(\x0c\x12!\n\x08outpoint\x18\x02 \x01(\x0b\x32\x0f.lnrpc.OutPoint\"\x17\n\x15ReleaseOutputResponse\"6\n\x06KeyReq\x12\x18\n\x10key_finger_print\x18\x01 \x01(\x05\x12\x12\n\nkey_family\x18\x02 \x01(\x05\"\x1e\n\x0b\x41\x64\x64rRequest\x12\x0f\n\x07\x61\x63\x63ount\x18\x01 \x01(\t\"\x1c\n\x0c\x41\x64\x64rResponse\x12\x0c\n\x04\x61\x64\x64r\x18\x01 \x01(\t\"\xe7\x01\n\x07\x41\x63\x63ount\x12\x0c\n\x04name\x18\x01 \x01(\t\x12,\n\x0c\x61\x64\x64ress_type\x18\x02 \x01(\x0e\x32\x16.walletrpc.AddressType\x12\x1b\n\x13\x65xtended_public_key\x18\x03 \x01(\t\x12\x1e\n\x16master_key_fingerprint\x18\x04 \x01(\x0c\x12\x17\n\x0f\x64\x65rivation_path\x18\x05 \x01(\t\x12\x1a\n\x12\x65xternal_key_count\x18\x06 \x01(\r\x12\x1a\n\x12internal_key_count\x18\x07 \x01(\r\x12\x12\n\nwatch_only\x18\x08 \x01(\x08\"Q\n\x13ListAccountsRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12,\n\x0c\x61\x64\x64ress_type\x18\x02 \x01(\x0e\x32\x16.walletrpc.AddressType\"<\n\x14ListAccountsResponse\x12$\n\x08\x61\x63\x63ounts\x18\x01 \x03(\x0b\x32\x12.walletrpc.Account\"\xa0\x01\n\x14ImportAccountRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x1b\n\x13\x65xtended_public_key\x18\x02 \x01(\t\x12\x1e\n\x16master_key_fingerprint\x18\x03 \x01(\x0c\x12,\n\x0c\x61\x64\x64ress_type\x18\x04 \x01(\x0e\x32\x16.walletrpc.AddressType\x12\x0f\n\x07\x64ry_run\x18\x05 \x01(\x08\"|\n\x15ImportAccountResponse\x12#\n\x07\x61\x63\x63ount\x18\x01 \x01(\x0b\x32\x12.walletrpc.Account\x12\x1e\n\x16\x64ry_run_external_addrs\x18\x02 \x03(\t\x12\x1e\n\x16\x64ry_run_internal_addrs\x18\x03 \x03(\t\"Z\n\x16ImportPublicKeyRequest\x12\x12\n\npublic_key\x18\x01 \x01(\x0c\x12,\n\x0c\x61\x64\x64ress_type\x18\x02 \x01(\x0e\x32\x16.walletrpc.AddressType\"\x19\n\x17ImportPublicKeyResponse\",\n\x0bTransaction\x12\x0e\n\x06tx_hex\x18\x01 \x01(\x0c\x12\r\n\x05label\x18\x02 \x01(\t\"(\n\x0fPublishResponse\x12\x15\n\rpublish_error\x18\x01 \x01(\t\"\x86\x01\n\x12SendOutputsRequest\x12\x12\n\nsat_per_kw\x18\x01 \x01(\x03\x12\x1f\n\x07outputs\x18\x02 \x03(\x0b\x32\x0e.signrpc.TxOut\x12\r\n\x05label\x18\x03 \x01(\t\x12\x11\n\tmin_confs\x18\x04 \x01(\x05\x12\x19\n\x11spend_unconfirmed\x18\x05 \x01(\x08\"%\n\x13SendOutputsResponse\x12\x0e\n\x06raw_tx\x18\x01 \x01(\x0c\")\n\x12\x45stimateFeeRequest\x12\x13\n\x0b\x63onf_target\x18\x01 \x01(\x05\")\n\x13\x45stimateFeeResponse\x12\x12\n\nsat_per_kw\x18\x01 \x01(\x03\"\xd2\x02\n\x0cPendingSweep\x12!\n\x08outpoint\x18\x01 \x01(\x0b\x32\x0f.lnrpc.OutPoint\x12,\n\x0cwitness_type\x18\x02 \x01(\x0e\x32\x16.walletrpc.WitnessType\x12\x12\n\namount_sat\x18\x03 \x01(\r\x12\x18\n\x0csat_per_byte\x18\x04 \x01(\rB\x02\x18\x01\x12\x1a\n\x12\x62roadcast_attempts\x18\x05 \x01(\r\x12\x1d\n\x15next_broadcast_height\x18\x06 \x01(\r\x12\x1d\n\x15requested_conf_target\x18\x08 \x01(\r\x12\"\n\x16requested_sat_per_byte\x18\t \x01(\rB\x02\x18\x01\x12\x15\n\rsat_per_vbyte\x18\n \x01(\x04\x12\x1f\n\x17requested_sat_per_vbyte\x18\x0b \x01(\x04\x12\r\n\x05\x66orce\x18\x07 \x01(\x08\"\x16\n\x14PendingSweepsRequest\"H\n\x15PendingSweepsResponse\x12/\n\x0epending_sweeps\x18\x01 \x03(\x0b\x32\x17.walletrpc.PendingSweep\"\x88\x01\n\x0e\x42umpFeeRequest\x12!\n\x08outpoint\x18\x01 \x01(\x0b\x32\x0f.lnrpc.OutPoint\x12\x13\n\x0btarget_conf\x18\x02 \x01(\r\x12\x18\n\x0csat_per_byte\x18\x03 \x01(\rB\x02\x18\x01\x12\r\n\x05\x66orce\x18\x04 \x01(\x08\x12\x15\n\rsat_per_vbyte\x18\x05 \x01(\x04\"\x11\n\x0f\x42umpFeeResponse\"$\n\x11ListSweepsRequest\x12\x0f\n\x07verbose\x18\x01 \x01(\x08\"\xcc\x01\n\x12ListSweepsResponse\x12\x38\n\x13transaction_details\x18\x01 \x01(\x0b\x32\x19.lnrpc.TransactionDetailsH\x00\x12G\n\x0ftransaction_ids\x18\x02 \x01(\x0b\x32,.walletrpc.ListSweepsResponse.TransactionIDsH\x00\x1a)\n\x0eTransactionIDs\x12\x17\n\x0ftransaction_ids\x18\x01 \x03(\tB\x08\n\x06sweeps\"I\n\x17LabelTransactionRequest\x12\x0c\n\x04txid\x18\x01 \x01(\x0c\x12\r\n\x05label\x18\x02 \x01(\t\x12\x11\n\toverwrite\x18\x03 \x01(\x08\"\x1a\n\x18LabelTransactionResponse\"\xca\x01\n\x0f\x46undPsbtRequest\x12\x0e\n\x04psbt\x18\x01 \x01(\x0cH\x00\x12$\n\x03raw\x18\x02 \x01(\x0b\x32\x15.walletrpc.TxTemplateH\x00\x12\x15\n\x0btarget_conf\x18\x03 \x01(\rH\x01\x12\x17\n\rsat_per_vbyte\x18\x04 \x01(\x04H\x01\x12\x0f\n\x07\x61\x63\x63ount\x18\x05 \x01(\t\x12\x11\n\tmin_confs\x18\x06 \x01(\x05\x12\x19\n\x11spend_unconfirmed\x18\x07 \x01(\x08\x42\n\n\x08templateB\x06\n\x04\x66\x65\x65s\"p\n\x10\x46undPsbtResponse\x12\x13\n\x0b\x66unded_psbt\x18\x01 \x01(\x0c\x12\x1b\n\x13\x63hange_output_index\x18\x02 \x01(\x05\x12*\n\x0clocked_utxos\x18\x03 \x03(\x0b\x32\x14.walletrpc.UtxoLease\"\x92\x01\n\nTxTemplate\x12\x1f\n\x06inputs\x18\x01 \x03(\x0b\x32\x0f.lnrpc.OutPoint\x12\x33\n\x07outputs\x18\x02 \x03(\x0b\x32\".walletrpc.TxTemplate.OutputsEntry\x1a.\n\x0cOutputsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x04:\x02\x38\x01\"N\n\tUtxoLease\x12\n\n\x02id\x18\x01 \x01(\x0c\x12!\n\x08outpoint\x18\x02 \x01(\x0b\x32\x0f.lnrpc.OutPoint\x12\x12\n\nexpiration\x18\x03 \x01(\x04\";\n\x13\x46inalizePsbtRequest\x12\x13\n\x0b\x66unded_psbt\x18\x01 \x01(\x0c\x12\x0f\n\x07\x61\x63\x63ount\x18\x05 \x01(\t\"A\n\x14\x46inalizePsbtResponse\x12\x13\n\x0bsigned_psbt\x18\x01 \x01(\x0c\x12\x14\n\x0craw_final_tx\x18\x02 \x01(\x0c\"\x13\n\x11ListLeasesRequest\"@\n\x12ListLeasesResponse\x12*\n\x0clocked_utxos\x18\x01 \x03(\x0b\x32\x14.walletrpc.UtxoLease*z\n\x0b\x41\x64\x64ressType\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x17\n\x13WITNESS_PUBKEY_HASH\x10\x01\x12\x1e\n\x1aNESTED_WITNESS_PUBKEY_HASH\x10\x02\x12%\n!HYBRID_NESTED_WITNESS_PUBKEY_HASH\x10\x03*\x99\x03\n\x0bWitnessType\x12\x13\n\x0fUNKNOWN_WITNESS\x10\x00\x12\x18\n\x14\x43OMMITMENT_TIME_LOCK\x10\x01\x12\x17\n\x13\x43OMMITMENT_NO_DELAY\x10\x02\x12\x15\n\x11\x43OMMITMENT_REVOKE\x10\x03\x12\x17\n\x13HTLC_OFFERED_REVOKE\x10\x04\x12\x18\n\x14HTLC_ACCEPTED_REVOKE\x10\x05\x12%\n!HTLC_OFFERED_TIMEOUT_SECOND_LEVEL\x10\x06\x12&\n\"HTLC_ACCEPTED_SUCCESS_SECOND_LEVEL\x10\x07\x12\x1f\n\x1bHTLC_OFFERED_REMOTE_TIMEOUT\x10\x08\x12 \n\x1cHTLC_ACCEPTED_REMOTE_SUCCESS\x10\t\x12\x1c\n\x18HTLC_SECOND_LEVEL_REVOKE\x10\n\x12\x14\n\x10WITNESS_KEY_HASH\x10\x0b\x12\x1b\n\x17NESTED_WITNESS_KEY_HASH\x10\x0c\x12\x15\n\x11\x43OMMITMENT_ANCHOR\x10\r2\xb2\x0b\n\tWalletKit\x12L\n\x0bListUnspent\x12\x1d.walletrpc.ListUnspentRequest\x1a\x1e.walletrpc.ListUnspentResponse\x12L\n\x0bLeaseOutput\x12\x1d.walletrpc.LeaseOutputRequest\x1a\x1e.walletrpc.LeaseOutputResponse\x12R\n\rReleaseOutput\x12\x1f.walletrpc.ReleaseOutputRequest\x1a .walletrpc.ReleaseOutputResponse\x12I\n\nListLeases\x12\x1c.walletrpc.ListLeasesRequest\x1a\x1d.walletrpc.ListLeasesResponse\x12:\n\rDeriveNextKey\x12\x11.walletrpc.KeyReq\x1a\x16.signrpc.KeyDescriptor\x12\x38\n\tDeriveKey\x12\x13.signrpc.KeyLocator\x1a\x16.signrpc.KeyDescriptor\x12;\n\x08NextAddr\x12\x16.walletrpc.AddrRequest\x1a\x17.walletrpc.AddrResponse\x12O\n\x0cListAccounts\x12\x1e.walletrpc.ListAccountsRequest\x1a\x1f.walletrpc.ListAccountsResponse\x12R\n\rImportAccount\x12\x1f.walletrpc.ImportAccountRequest\x1a .walletrpc.ImportAccountResponse\x12X\n\x0fImportPublicKey\x12!.walletrpc.ImportPublicKeyRequest\x1a\".walletrpc.ImportPublicKeyResponse\x12H\n\x12PublishTransaction\x12\x16.walletrpc.Transaction\x1a\x1a.walletrpc.PublishResponse\x12L\n\x0bSendOutputs\x12\x1d.walletrpc.SendOutputsRequest\x1a\x1e.walletrpc.SendOutputsResponse\x12L\n\x0b\x45stimateFee\x12\x1d.walletrpc.EstimateFeeRequest\x1a\x1e.walletrpc.EstimateFeeResponse\x12R\n\rPendingSweeps\x12\x1f.walletrpc.PendingSweepsRequest\x1a .walletrpc.PendingSweepsResponse\x12@\n\x07\x42umpFee\x12\x19.walletrpc.BumpFeeRequest\x1a\x1a.walletrpc.BumpFeeResponse\x12I\n\nListSweeps\x12\x1c.walletrpc.ListSweepsRequest\x1a\x1d.walletrpc.ListSweepsResponse\x12[\n\x10LabelTransaction\x12\".walletrpc.LabelTransactionRequest\x1a#.walletrpc.LabelTransactionResponse\x12\x43\n\x08\x46undPsbt\x12\x1a.walletrpc.FundPsbtRequest\x1a\x1b.walletrpc.FundPsbtResponse\x12O\n\x0c\x46inalizePsbt\x12\x1e.walletrpc.FinalizePsbtRequest\x1a\x1f.walletrpc.FinalizePsbtResponseB1Z/github.com/lightningnetwork/lnd/lnrpc/walletrpcb\x06proto3' + serialized_pb=b'\n\x0fwalletkit.proto\x12\twalletrpc\x1a\x0flightning.proto\x1a\x0csigner.proto\"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\"_\n\x12LeaseOutputRequest\x12\n\n\x02id\x18\x01 \x01(\x0c\x12!\n\x08outpoint\x18\x02 \x01(\x0b\x32\x0f.lnrpc.OutPoint\x12\x1a\n\x12\x65xpiration_seconds\x18\x03 \x01(\x04\")\n\x13LeaseOutputResponse\x12\x12\n\nexpiration\x18\x01 \x01(\x04\"E\n\x14ReleaseOutputRequest\x12\n\n\x02id\x18\x01 \x01(\x0c\x12!\n\x08outpoint\x18\x02 \x01(\x0b\x32\x0f.lnrpc.OutPoint\"\x17\n\x15ReleaseOutputResponse\"6\n\x06KeyReq\x12\x18\n\x10key_finger_print\x18\x01 \x01(\x05\x12\x12\n\nkey_family\x18\x02 \x01(\x05\"T\n\x0b\x41\x64\x64rRequest\x12\x0f\n\x07\x61\x63\x63ount\x18\x01 \x01(\t\x12$\n\x04type\x18\x02 \x01(\x0e\x32\x16.walletrpc.AddressType\x12\x0e\n\x06\x63hange\x18\x03 \x01(\x08\"\x1c\n\x0c\x41\x64\x64rResponse\x12\x0c\n\x04\x61\x64\x64r\x18\x01 \x01(\t\"\xe7\x01\n\x07\x41\x63\x63ount\x12\x0c\n\x04name\x18\x01 \x01(\t\x12,\n\x0c\x61\x64\x64ress_type\x18\x02 \x01(\x0e\x32\x16.walletrpc.AddressType\x12\x1b\n\x13\x65xtended_public_key\x18\x03 \x01(\t\x12\x1e\n\x16master_key_fingerprint\x18\x04 \x01(\x0c\x12\x17\n\x0f\x64\x65rivation_path\x18\x05 \x01(\t\x12\x1a\n\x12\x65xternal_key_count\x18\x06 \x01(\r\x12\x1a\n\x12internal_key_count\x18\x07 \x01(\r\x12\x12\n\nwatch_only\x18\x08 \x01(\x08\"Q\n\x13ListAccountsRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12,\n\x0c\x61\x64\x64ress_type\x18\x02 \x01(\x0e\x32\x16.walletrpc.AddressType\"<\n\x14ListAccountsResponse\x12$\n\x08\x61\x63\x63ounts\x18\x01 \x03(\x0b\x32\x12.walletrpc.Account\"\xa0\x01\n\x14ImportAccountRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x1b\n\x13\x65xtended_public_key\x18\x02 \x01(\t\x12\x1e\n\x16master_key_fingerprint\x18\x03 \x01(\x0c\x12,\n\x0c\x61\x64\x64ress_type\x18\x04 \x01(\x0e\x32\x16.walletrpc.AddressType\x12\x0f\n\x07\x64ry_run\x18\x05 \x01(\x08\"|\n\x15ImportAccountResponse\x12#\n\x07\x61\x63\x63ount\x18\x01 \x01(\x0b\x32\x12.walletrpc.Account\x12\x1e\n\x16\x64ry_run_external_addrs\x18\x02 \x03(\t\x12\x1e\n\x16\x64ry_run_internal_addrs\x18\x03 \x03(\t\"Z\n\x16ImportPublicKeyRequest\x12\x12\n\npublic_key\x18\x01 \x01(\x0c\x12,\n\x0c\x61\x64\x64ress_type\x18\x02 \x01(\x0e\x32\x16.walletrpc.AddressType\"\x19\n\x17ImportPublicKeyResponse\",\n\x0bTransaction\x12\x0e\n\x06tx_hex\x18\x01 \x01(\x0c\x12\r\n\x05label\x18\x02 \x01(\t\"(\n\x0fPublishResponse\x12\x15\n\rpublish_error\x18\x01 \x01(\t\"\x86\x01\n\x12SendOutputsRequest\x12\x12\n\nsat_per_kw\x18\x01 \x01(\x03\x12\x1f\n\x07outputs\x18\x02 \x03(\x0b\x32\x0e.signrpc.TxOut\x12\r\n\x05label\x18\x03 \x01(\t\x12\x11\n\tmin_confs\x18\x04 \x01(\x05\x12\x19\n\x11spend_unconfirmed\x18\x05 \x01(\x08\"%\n\x13SendOutputsResponse\x12\x0e\n\x06raw_tx\x18\x01 \x01(\x0c\")\n\x12\x45stimateFeeRequest\x12\x13\n\x0b\x63onf_target\x18\x01 \x01(\x05\")\n\x13\x45stimateFeeResponse\x12\x12\n\nsat_per_kw\x18\x01 \x01(\x03\"\xd2\x02\n\x0cPendingSweep\x12!\n\x08outpoint\x18\x01 \x01(\x0b\x32\x0f.lnrpc.OutPoint\x12,\n\x0cwitness_type\x18\x02 \x01(\x0e\x32\x16.walletrpc.WitnessType\x12\x12\n\namount_sat\x18\x03 \x01(\r\x12\x18\n\x0csat_per_byte\x18\x04 \x01(\rB\x02\x18\x01\x12\x1a\n\x12\x62roadcast_attempts\x18\x05 \x01(\r\x12\x1d\n\x15next_broadcast_height\x18\x06 \x01(\r\x12\x1d\n\x15requested_conf_target\x18\x08 \x01(\r\x12\"\n\x16requested_sat_per_byte\x18\t \x01(\rB\x02\x18\x01\x12\x15\n\rsat_per_vbyte\x18\n \x01(\x04\x12\x1f\n\x17requested_sat_per_vbyte\x18\x0b \x01(\x04\x12\r\n\x05\x66orce\x18\x07 \x01(\x08\"\x16\n\x14PendingSweepsRequest\"H\n\x15PendingSweepsResponse\x12/\n\x0epending_sweeps\x18\x01 \x03(\x0b\x32\x17.walletrpc.PendingSweep\"\x88\x01\n\x0e\x42umpFeeRequest\x12!\n\x08outpoint\x18\x01 \x01(\x0b\x32\x0f.lnrpc.OutPoint\x12\x13\n\x0btarget_conf\x18\x02 \x01(\r\x12\x18\n\x0csat_per_byte\x18\x03 \x01(\rB\x02\x18\x01\x12\r\n\x05\x66orce\x18\x04 \x01(\x08\x12\x15\n\rsat_per_vbyte\x18\x05 \x01(\x04\"\x11\n\x0f\x42umpFeeResponse\"$\n\x11ListSweepsRequest\x12\x0f\n\x07verbose\x18\x01 \x01(\x08\"\xcc\x01\n\x12ListSweepsResponse\x12\x38\n\x13transaction_details\x18\x01 \x01(\x0b\x32\x19.lnrpc.TransactionDetailsH\x00\x12G\n\x0ftransaction_ids\x18\x02 \x01(\x0b\x32,.walletrpc.ListSweepsResponse.TransactionIDsH\x00\x1a)\n\x0eTransactionIDs\x12\x17\n\x0ftransaction_ids\x18\x01 \x03(\tB\x08\n\x06sweeps\"I\n\x17LabelTransactionRequest\x12\x0c\n\x04txid\x18\x01 \x01(\x0c\x12\r\n\x05label\x18\x02 \x01(\t\x12\x11\n\toverwrite\x18\x03 \x01(\x08\"\x1a\n\x18LabelTransactionResponse\"\xca\x01\n\x0f\x46undPsbtRequest\x12\x0e\n\x04psbt\x18\x01 \x01(\x0cH\x00\x12$\n\x03raw\x18\x02 \x01(\x0b\x32\x15.walletrpc.TxTemplateH\x00\x12\x15\n\x0btarget_conf\x18\x03 \x01(\rH\x01\x12\x17\n\rsat_per_vbyte\x18\x04 \x01(\x04H\x01\x12\x0f\n\x07\x61\x63\x63ount\x18\x05 \x01(\t\x12\x11\n\tmin_confs\x18\x06 \x01(\x05\x12\x19\n\x11spend_unconfirmed\x18\x07 \x01(\x08\x42\n\n\x08templateB\x06\n\x04\x66\x65\x65s\"p\n\x10\x46undPsbtResponse\x12\x13\n\x0b\x66unded_psbt\x18\x01 \x01(\x0c\x12\x1b\n\x13\x63hange_output_index\x18\x02 \x01(\x05\x12*\n\x0clocked_utxos\x18\x03 \x03(\x0b\x32\x14.walletrpc.UtxoLease\"\x92\x01\n\nTxTemplate\x12\x1f\n\x06inputs\x18\x01 \x03(\x0b\x32\x0f.lnrpc.OutPoint\x12\x33\n\x07outputs\x18\x02 \x03(\x0b\x32\".walletrpc.TxTemplate.OutputsEntry\x1a.\n\x0cOutputsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x04:\x02\x38\x01\"N\n\tUtxoLease\x12\n\n\x02id\x18\x01 \x01(\x0c\x12!\n\x08outpoint\x18\x02 \x01(\x0b\x32\x0f.lnrpc.OutPoint\x12\x12\n\nexpiration\x18\x03 \x01(\x04\";\n\x13\x46inalizePsbtRequest\x12\x13\n\x0b\x66unded_psbt\x18\x01 \x01(\x0c\x12\x0f\n\x07\x61\x63\x63ount\x18\x05 \x01(\t\"A\n\x14\x46inalizePsbtResponse\x12\x13\n\x0bsigned_psbt\x18\x01 \x01(\x0c\x12\x14\n\x0craw_final_tx\x18\x02 \x01(\x0c\"\x13\n\x11ListLeasesRequest\"@\n\x12ListLeasesResponse\x12*\n\x0clocked_utxos\x18\x01 \x03(\x0b\x32\x14.walletrpc.UtxoLease*z\n\x0b\x41\x64\x64ressType\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x17\n\x13WITNESS_PUBKEY_HASH\x10\x01\x12\x1e\n\x1aNESTED_WITNESS_PUBKEY_HASH\x10\x02\x12%\n!HYBRID_NESTED_WITNESS_PUBKEY_HASH\x10\x03*\x99\x03\n\x0bWitnessType\x12\x13\n\x0fUNKNOWN_WITNESS\x10\x00\x12\x18\n\x14\x43OMMITMENT_TIME_LOCK\x10\x01\x12\x17\n\x13\x43OMMITMENT_NO_DELAY\x10\x02\x12\x15\n\x11\x43OMMITMENT_REVOKE\x10\x03\x12\x17\n\x13HTLC_OFFERED_REVOKE\x10\x04\x12\x18\n\x14HTLC_ACCEPTED_REVOKE\x10\x05\x12%\n!HTLC_OFFERED_TIMEOUT_SECOND_LEVEL\x10\x06\x12&\n\"HTLC_ACCEPTED_SUCCESS_SECOND_LEVEL\x10\x07\x12\x1f\n\x1bHTLC_OFFERED_REMOTE_TIMEOUT\x10\x08\x12 \n\x1cHTLC_ACCEPTED_REMOTE_SUCCESS\x10\t\x12\x1c\n\x18HTLC_SECOND_LEVEL_REVOKE\x10\n\x12\x14\n\x10WITNESS_KEY_HASH\x10\x0b\x12\x1b\n\x17NESTED_WITNESS_KEY_HASH\x10\x0c\x12\x15\n\x11\x43OMMITMENT_ANCHOR\x10\r2\xb2\x0b\n\tWalletKit\x12L\n\x0bListUnspent\x12\x1d.walletrpc.ListUnspentRequest\x1a\x1e.walletrpc.ListUnspentResponse\x12L\n\x0bLeaseOutput\x12\x1d.walletrpc.LeaseOutputRequest\x1a\x1e.walletrpc.LeaseOutputResponse\x12R\n\rReleaseOutput\x12\x1f.walletrpc.ReleaseOutputRequest\x1a .walletrpc.ReleaseOutputResponse\x12I\n\nListLeases\x12\x1c.walletrpc.ListLeasesRequest\x1a\x1d.walletrpc.ListLeasesResponse\x12:\n\rDeriveNextKey\x12\x11.walletrpc.KeyReq\x1a\x16.signrpc.KeyDescriptor\x12\x38\n\tDeriveKey\x12\x13.signrpc.KeyLocator\x1a\x16.signrpc.KeyDescriptor\x12;\n\x08NextAddr\x12\x16.walletrpc.AddrRequest\x1a\x17.walletrpc.AddrResponse\x12O\n\x0cListAccounts\x12\x1e.walletrpc.ListAccountsRequest\x1a\x1f.walletrpc.ListAccountsResponse\x12R\n\rImportAccount\x12\x1f.walletrpc.ImportAccountRequest\x1a .walletrpc.ImportAccountResponse\x12X\n\x0fImportPublicKey\x12!.walletrpc.ImportPublicKeyRequest\x1a\".walletrpc.ImportPublicKeyResponse\x12H\n\x12PublishTransaction\x12\x16.walletrpc.Transaction\x1a\x1a.walletrpc.PublishResponse\x12L\n\x0bSendOutputs\x12\x1d.walletrpc.SendOutputsRequest\x1a\x1e.walletrpc.SendOutputsResponse\x12L\n\x0b\x45stimateFee\x12\x1d.walletrpc.EstimateFeeRequest\x1a\x1e.walletrpc.EstimateFeeResponse\x12R\n\rPendingSweeps\x12\x1f.walletrpc.PendingSweepsRequest\x1a .walletrpc.PendingSweepsResponse\x12@\n\x07\x42umpFee\x12\x19.walletrpc.BumpFeeRequest\x1a\x1a.walletrpc.BumpFeeResponse\x12I\n\nListSweeps\x12\x1c.walletrpc.ListSweepsRequest\x1a\x1d.walletrpc.ListSweepsResponse\x12[\n\x10LabelTransaction\x12\".walletrpc.LabelTransactionRequest\x1a#.walletrpc.LabelTransactionResponse\x12\x43\n\x08\x46undPsbt\x12\x1a.walletrpc.FundPsbtRequest\x1a\x1b.walletrpc.FundPsbtResponse\x12O\n\x0c\x46inalizePsbt\x12\x1e.walletrpc.FinalizePsbtRequest\x1a\x1f.walletrpc.FinalizePsbtResponseB1Z/github.com/lightningnetwork/lnd/lnrpc/walletrpcb\x06proto3' , - dependencies=[rpc__pb2.DESCRIPTOR,signer__pb2.DESCRIPTOR,]) + dependencies=[lightning__pb2.DESCRIPTOR,signer__pb2.DESCRIPTOR,]) _ADDRESSTYPE = _descriptor.EnumDescriptor( name='AddressType', @@ -56,8 +56,8 @@ _ADDRESSTYPE = _descriptor.EnumDescriptor( ], containing_type=None, serialized_options=None, - serialized_start=3382, - serialized_end=3504, + serialized_start=3442, + serialized_end=3564, ) _sym_db.RegisterEnumDescriptor(_ADDRESSTYPE) @@ -142,8 +142,8 @@ _WITNESSTYPE = _descriptor.EnumDescriptor( ], containing_type=None, serialized_options=None, - serialized_start=3507, - serialized_end=3916, + serialized_start=3567, + serialized_end=3976, ) _sym_db.RegisterEnumDescriptor(_WITNESSTYPE) @@ -210,8 +210,8 @@ _LISTUNSPENTREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=55, - serialized_end=130, + serialized_start=61, + serialized_end=136, ) @@ -242,8 +242,8 @@ _LISTUNSPENTRESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=132, - serialized_end=181, + serialized_start=138, + serialized_end=187, ) @@ -288,8 +288,8 @@ _LEASEOUTPUTREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=183, - serialized_end=278, + serialized_start=189, + serialized_end=284, ) @@ -320,8 +320,8 @@ _LEASEOUTPUTRESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=280, - serialized_end=321, + serialized_start=286, + serialized_end=327, ) @@ -359,8 +359,8 @@ _RELEASEOUTPUTREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=323, - serialized_end=392, + serialized_start=329, + serialized_end=398, ) @@ -384,8 +384,8 @@ _RELEASEOUTPUTRESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=394, - serialized_end=417, + serialized_start=400, + serialized_end=423, ) @@ -423,8 +423,8 @@ _KEYREQ = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=419, - serialized_end=473, + serialized_start=425, + serialized_end=479, ) @@ -443,6 +443,20 @@ _ADDRREQUEST = _descriptor.Descriptor( message_type=None, enum_type=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='walletrpc.AddrRequest.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), + _descriptor.FieldDescriptor( + name='change', full_name='walletrpc.AddrRequest.change', 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=[ ], @@ -455,8 +469,8 @@ _ADDRREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=475, - serialized_end=505, + serialized_start=481, + serialized_end=565, ) @@ -487,8 +501,8 @@ _ADDRRESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=507, - serialized_end=535, + serialized_start=567, + serialized_end=595, ) @@ -568,8 +582,8 @@ _ACCOUNT = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=538, - serialized_end=769, + serialized_start=598, + serialized_end=829, ) @@ -607,8 +621,8 @@ _LISTACCOUNTSREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=771, - serialized_end=852, + serialized_start=831, + serialized_end=912, ) @@ -639,8 +653,8 @@ _LISTACCOUNTSRESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=854, - serialized_end=914, + serialized_start=914, + serialized_end=974, ) @@ -699,8 +713,8 @@ _IMPORTACCOUNTREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=917, - serialized_end=1077, + serialized_start=977, + serialized_end=1137, ) @@ -745,8 +759,8 @@ _IMPORTACCOUNTRESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=1079, - serialized_end=1203, + serialized_start=1139, + serialized_end=1263, ) @@ -784,8 +798,8 @@ _IMPORTPUBLICKEYREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=1205, - serialized_end=1295, + serialized_start=1265, + serialized_end=1355, ) @@ -809,8 +823,8 @@ _IMPORTPUBLICKEYRESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=1297, - serialized_end=1322, + serialized_start=1357, + serialized_end=1382, ) @@ -848,8 +862,8 @@ _TRANSACTION = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=1324, - serialized_end=1368, + serialized_start=1384, + serialized_end=1428, ) @@ -880,8 +894,8 @@ _PUBLISHRESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=1370, - serialized_end=1410, + serialized_start=1430, + serialized_end=1470, ) @@ -940,8 +954,8 @@ _SENDOUTPUTSREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=1413, - serialized_end=1547, + serialized_start=1473, + serialized_end=1607, ) @@ -972,8 +986,8 @@ _SENDOUTPUTSRESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=1549, - serialized_end=1586, + serialized_start=1609, + serialized_end=1646, ) @@ -1004,8 +1018,8 @@ _ESTIMATEFEEREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=1588, - serialized_end=1629, + serialized_start=1648, + serialized_end=1689, ) @@ -1036,8 +1050,8 @@ _ESTIMATEFEERESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=1631, - serialized_end=1672, + serialized_start=1691, + serialized_end=1732, ) @@ -1138,8 +1152,8 @@ _PENDINGSWEEP = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=1675, - serialized_end=2013, + serialized_start=1735, + serialized_end=2073, ) @@ -1163,8 +1177,8 @@ _PENDINGSWEEPSREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=2015, - serialized_end=2037, + serialized_start=2075, + serialized_end=2097, ) @@ -1195,8 +1209,8 @@ _PENDINGSWEEPSRESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=2039, - serialized_end=2111, + serialized_start=2099, + serialized_end=2171, ) @@ -1255,8 +1269,8 @@ _BUMPFEEREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=2114, - serialized_end=2250, + serialized_start=2174, + serialized_end=2310, ) @@ -1280,8 +1294,8 @@ _BUMPFEERESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=2252, - serialized_end=2269, + serialized_start=2312, + serialized_end=2329, ) @@ -1312,8 +1326,8 @@ _LISTSWEEPSREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=2271, - serialized_end=2307, + serialized_start=2331, + serialized_end=2367, ) @@ -1344,8 +1358,8 @@ _LISTSWEEPSRESPONSE_TRANSACTIONIDS = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=2463, - serialized_end=2504, + serialized_start=2523, + serialized_end=2564, ) _LISTSWEEPSRESPONSE = _descriptor.Descriptor( @@ -1387,8 +1401,8 @@ _LISTSWEEPSRESPONSE = _descriptor.Descriptor( create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=2310, - serialized_end=2514, + serialized_start=2370, + serialized_end=2574, ) @@ -1433,8 +1447,8 @@ _LABELTRANSACTIONREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=2516, - serialized_end=2589, + serialized_start=2576, + serialized_end=2649, ) @@ -1458,8 +1472,8 @@ _LABELTRANSACTIONRESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=2591, - serialized_end=2617, + serialized_start=2651, + serialized_end=2677, ) @@ -1542,8 +1556,8 @@ _FUNDPSBTREQUEST = _descriptor.Descriptor( create_key=_descriptor._internal_create_key, fields=[]), ], - serialized_start=2620, - serialized_end=2822, + serialized_start=2680, + serialized_end=2882, ) @@ -1588,8 +1602,8 @@ _FUNDPSBTRESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=2824, - serialized_end=2936, + serialized_start=2884, + serialized_end=2996, ) @@ -1627,8 +1641,8 @@ _TXTEMPLATE_OUTPUTSENTRY = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=3039, - serialized_end=3085, + serialized_start=3099, + serialized_end=3145, ) _TXTEMPLATE = _descriptor.Descriptor( @@ -1665,8 +1679,8 @@ _TXTEMPLATE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=2939, - serialized_end=3085, + serialized_start=2999, + serialized_end=3145, ) @@ -1711,8 +1725,8 @@ _UTXOLEASE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=3087, - serialized_end=3165, + serialized_start=3147, + serialized_end=3225, ) @@ -1750,8 +1764,8 @@ _FINALIZEPSBTREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=3167, - serialized_end=3226, + serialized_start=3227, + serialized_end=3286, ) @@ -1789,8 +1803,8 @@ _FINALIZEPSBTRESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=3228, - serialized_end=3293, + serialized_start=3288, + serialized_end=3353, ) @@ -1814,8 +1828,8 @@ _LISTLEASESREQUEST = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=3295, - serialized_end=3314, + serialized_start=3355, + serialized_end=3374, ) @@ -1846,13 +1860,14 @@ _LISTLEASESRESPONSE = _descriptor.Descriptor( extension_ranges=[], oneofs=[ ], - serialized_start=3316, - serialized_end=3380, + serialized_start=3376, + serialized_end=3440, ) -_LISTUNSPENTRESPONSE.fields_by_name['utxos'].message_type = rpc__pb2._UTXO -_LEASEOUTPUTREQUEST.fields_by_name['outpoint'].message_type = rpc__pb2._OUTPOINT -_RELEASEOUTPUTREQUEST.fields_by_name['outpoint'].message_type = rpc__pb2._OUTPOINT +_LISTUNSPENTRESPONSE.fields_by_name['utxos'].message_type = lightning__pb2._UTXO +_LEASEOUTPUTREQUEST.fields_by_name['outpoint'].message_type = lightning__pb2._OUTPOINT +_RELEASEOUTPUTREQUEST.fields_by_name['outpoint'].message_type = lightning__pb2._OUTPOINT +_ADDRREQUEST.fields_by_name['type'].enum_type = _ADDRESSTYPE _ACCOUNT.fields_by_name['address_type'].enum_type = _ADDRESSTYPE _LISTACCOUNTSREQUEST.fields_by_name['address_type'].enum_type = _ADDRESSTYPE _LISTACCOUNTSRESPONSE.fields_by_name['accounts'].message_type = _ACCOUNT @@ -1860,12 +1875,12 @@ _IMPORTACCOUNTREQUEST.fields_by_name['address_type'].enum_type = _ADDRESSTYPE _IMPORTACCOUNTRESPONSE.fields_by_name['account'].message_type = _ACCOUNT _IMPORTPUBLICKEYREQUEST.fields_by_name['address_type'].enum_type = _ADDRESSTYPE _SENDOUTPUTSREQUEST.fields_by_name['outputs'].message_type = signer__pb2._TXOUT -_PENDINGSWEEP.fields_by_name['outpoint'].message_type = rpc__pb2._OUTPOINT +_PENDINGSWEEP.fields_by_name['outpoint'].message_type = lightning__pb2._OUTPOINT _PENDINGSWEEP.fields_by_name['witness_type'].enum_type = _WITNESSTYPE _PENDINGSWEEPSRESPONSE.fields_by_name['pending_sweeps'].message_type = _PENDINGSWEEP -_BUMPFEEREQUEST.fields_by_name['outpoint'].message_type = rpc__pb2._OUTPOINT +_BUMPFEEREQUEST.fields_by_name['outpoint'].message_type = lightning__pb2._OUTPOINT _LISTSWEEPSRESPONSE_TRANSACTIONIDS.containing_type = _LISTSWEEPSRESPONSE -_LISTSWEEPSRESPONSE.fields_by_name['transaction_details'].message_type = rpc__pb2._TRANSACTIONDETAILS +_LISTSWEEPSRESPONSE.fields_by_name['transaction_details'].message_type = lightning__pb2._TRANSACTIONDETAILS _LISTSWEEPSRESPONSE.fields_by_name['transaction_ids'].message_type = _LISTSWEEPSRESPONSE_TRANSACTIONIDS _LISTSWEEPSRESPONSE.oneofs_by_name['sweeps'].fields.append( _LISTSWEEPSRESPONSE.fields_by_name['transaction_details']) @@ -1888,9 +1903,9 @@ _FUNDPSBTREQUEST.oneofs_by_name['fees'].fields.append( _FUNDPSBTREQUEST.fields_by_name['sat_per_vbyte'].containing_oneof = _FUNDPSBTREQUEST.oneofs_by_name['fees'] _FUNDPSBTRESPONSE.fields_by_name['locked_utxos'].message_type = _UTXOLEASE _TXTEMPLATE_OUTPUTSENTRY.containing_type = _TXTEMPLATE -_TXTEMPLATE.fields_by_name['inputs'].message_type = rpc__pb2._OUTPOINT +_TXTEMPLATE.fields_by_name['inputs'].message_type = lightning__pb2._OUTPOINT _TXTEMPLATE.fields_by_name['outputs'].message_type = _TXTEMPLATE_OUTPUTSENTRY -_UTXOLEASE.fields_by_name['outpoint'].message_type = rpc__pb2._OUTPOINT +_UTXOLEASE.fields_by_name['outpoint'].message_type = lightning__pb2._OUTPOINT _LISTLEASESRESPONSE.fields_by_name['locked_utxos'].message_type = _UTXOLEASE DESCRIPTOR.message_types_by_name['ListUnspentRequest'] = _LISTUNSPENTREQUEST DESCRIPTOR.message_types_by_name['ListUnspentResponse'] = _LISTUNSPENTRESPONSE @@ -2238,8 +2253,8 @@ _WALLETKIT = _descriptor.ServiceDescriptor( index=0, serialized_options=None, create_key=_descriptor._internal_create_key, - serialized_start=3919, - serialized_end=5377, + serialized_start=3979, + serialized_end=5437, methods=[ _descriptor.MethodDescriptor( name='ListUnspent', diff --git a/lndmanage/lib/node.py b/lndmanage/lib/node.py index 74962a1..68f3091 100644 --- a/lndmanage/lib/node.py +++ b/lndmanage/lib/node.py @@ -11,8 +11,8 @@ from grpc._channel import _Rendezvous from grpc._channel import _InactiveRpcError from google.protobuf.json_format import MessageToDict -import lndmanage.grpc_compiled.rpc_pb2 as lnd -import lndmanage.grpc_compiled.rpc_pb2_grpc as lndrpc +import lndmanage.grpc_compiled.lightning_pb2 as lnd +import lndmanage.grpc_compiled.lightning_pb2_grpc as lndrpc import lndmanage.grpc_compiled.router_pb2 as lndrouter import lndmanage.grpc_compiled.router_pb2_grpc as lndrouterrpc import lndmanage.grpc_compiled.walletkit_pb2 as lndwalletkit