From 613ffa92f5bf657f6be58f77ae3803fa7877f87f Mon Sep 17 00:00:00 2001 From: Christian Decker Date: Tue, 28 Mar 2023 10:19:51 +0200 Subject: [PATCH 1/4] msggen: Add patching system, add `added` and `deprecated` to Field The patching system allows us to enrich the raw schema with some additional information. In this specific case we want to backfill the `added` and `deprecated` fields for the multiversion support. --- .msggen.json | 1630 +++++++++++++++++ contrib/msggen/msggen/__main__.py | 18 +- contrib/msggen/msggen/model.py | 3 +- contrib/msggen/msggen/patch.py | 84 + contrib/pyln-testing/pyln/testing/node_pb2.py | 668 +++---- 5 files changed, 2067 insertions(+), 336 deletions(-) create mode 100644 contrib/msggen/msggen/patch.py diff --git a/.msggen.json b/.msggen.json index 114b46c45d36..f7c635a78a65 100644 --- a/.msggen.json +++ b/.msggen.json @@ -1158,5 +1158,1635 @@ "Withdraw.tx": 1, "Withdraw.txid": 2 } + }, + "model-field-versions": { + "AddGossip": { + "added": "pre-v0.10.1", + "deprecated": null + }, + "AddGossip.message": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "AutoCleanInvoice": { + "added": "pre-v0.10.1", + "deprecated": null + }, + "AutoCleanInvoice.cycle_seconds": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "AutoCleanInvoice.enabled": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "AutoCleanInvoice.expired_by": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "CheckMessage": { + "added": "pre-v0.10.1", + "deprecated": null + }, + "CheckMessage.message": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "CheckMessage.pubkey": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "CheckMessage.verified": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "CheckMessage.zbase": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Close": { + "added": "pre-v0.10.1", + "deprecated": null + }, + "Close.destination": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Close.fee_negotiation_step": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Close.feerange[]": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Close.force_lease_closed": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Close.id": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Close.tx": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Close.txid": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Close.type": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Close.unilateraltimeout": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Close.wrong_funding": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Connect": { + "added": "pre-v0.10.1", + "deprecated": null + }, + "Connect.address": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Connect.direction": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Connect.features": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Connect.host": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Connect.id": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Connect.port": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "CreateInvoice": { + "added": "pre-v0.10.1", + "deprecated": null + }, + "CreateInvoice.amount_msat": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "CreateInvoice.amount_received_msat": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "CreateInvoice.bolt11": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "CreateInvoice.bolt12": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "CreateInvoice.description": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "CreateInvoice.expires_at": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "CreateInvoice.invreq_payer_note": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "CreateInvoice.invstring": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "CreateInvoice.label": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "CreateInvoice.local_offer_id": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "CreateInvoice.paid_at": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "CreateInvoice.pay_index": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "CreateInvoice.payment_hash": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "CreateInvoice.payment_preimage": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "CreateInvoice.preimage": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "CreateInvoice.status": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "CreateOnion": { + "added": "pre-v0.10.1", + "deprecated": null + }, + "CreateOnion.assocdata": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "CreateOnion.hops[]": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "CreateOnion.onion": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "CreateOnion.onion_size": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "CreateOnion.session_key": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "CreateOnion.shared_secrets[]": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Datastore": { + "added": "pre-v0.10.1", + "deprecated": null + }, + "Datastore.generation": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Datastore.hex": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Datastore.key": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Datastore.mode": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Datastore.string": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "DelDatastore": { + "added": "pre-v0.10.1", + "deprecated": null + }, + "DelDatastore.generation": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "DelDatastore.hex": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "DelDatastore.key": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "DelDatastore.string": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "DelExpiredInvoice": { + "added": "pre-v0.10.1", + "deprecated": null + }, + "DelExpiredInvoice.maxexpirytime": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "DelInvoice": { + "added": "pre-v0.10.1", + "deprecated": null + }, + "DelInvoice.amount_msat": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "DelInvoice.bolt11": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "DelInvoice.bolt12": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "DelInvoice.desconly": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "DelInvoice.description": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "DelInvoice.expires_at": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "DelInvoice.invreq_payer_note": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "DelInvoice.label": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "DelInvoice.local_offer_id": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "DelInvoice.payment_hash": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "DelInvoice.status": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Disconnect": { + "added": "pre-v0.10.1", + "deprecated": null + }, + "Disconnect.force": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Disconnect.id": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Feerates": { + "added": "pre-v0.10.1", + "deprecated": null + }, + "Feerates.onchain_fee_estimates": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Feerates.perkb": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Feerates.perkw": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Feerates.style": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Feerates.warning_missing_feerates": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "FundChannel": { + "added": "pre-v0.10.1", + "deprecated": null + }, + "FundChannel.amount": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "FundChannel.announce": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "FundChannel.channel_id": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "FundChannel.close_to": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "FundChannel.compact_lease": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "FundChannel.feerate": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "FundChannel.id": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "FundChannel.minconf": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "FundChannel.mindepth": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "FundChannel.outnum": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "FundChannel.push_msat": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "FundChannel.request_amt": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "FundChannel.reserve": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "FundChannel.tx": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "FundChannel.txid": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "FundChannel.utxos[]": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "FundPsbt": { + "added": "pre-v0.10.1", + "deprecated": null + }, + "FundPsbt.change_outnum": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "FundPsbt.estimated_final_weight": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "FundPsbt.excess_as_change": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "FundPsbt.excess_msat": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "FundPsbt.feerate": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "FundPsbt.feerate_per_kw": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "FundPsbt.locktime": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "FundPsbt.min_witness_weight": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "FundPsbt.minconf": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "FundPsbt.psbt": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "FundPsbt.reservations[]": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "FundPsbt.reserve": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "FundPsbt.satoshi": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "FundPsbt.startweight": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "GetRoute": { + "added": "pre-v0.10.1", + "deprecated": null + }, + "GetRoute.amount_msat": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "GetRoute.cltv": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "GetRoute.exclude[]": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "GetRoute.fromid": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "GetRoute.fuzzpercent": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "GetRoute.id": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "GetRoute.maxhops": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "GetRoute.riskfactor": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "GetRoute.route[]": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Getinfo": { + "added": "pre-v0.10.1", + "deprecated": null + }, + "Getinfo.address[]": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Getinfo.alias": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Getinfo.binding[]": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Getinfo.blockheight": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Getinfo.color": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Getinfo.fees_collected_msat": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Getinfo.id": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Getinfo.lightning-dir": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Getinfo.network": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Getinfo.num_active_channels": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Getinfo.num_inactive_channels": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Getinfo.num_peers": { + "added": "v0.12.0", + "deprecated": false + }, + "Getinfo.num_pending_channels": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Getinfo.our_features": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Getinfo.version": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Getinfo.warning_bitcoind_sync": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Getinfo.warning_lightningd_sync": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Invoice": { + "added": "pre-v0.10.1", + "deprecated": null + }, + "Invoice.amount_msat": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Invoice.bolt11": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Invoice.cltv": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Invoice.deschashonly": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Invoice.description": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Invoice.expires_at": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Invoice.expiry": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Invoice.exposeprivatechannels": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Invoice.fallbacks[]": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Invoice.label": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Invoice.payment_hash": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Invoice.payment_secret": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Invoice.preimage": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Invoice.warning_capacity": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Invoice.warning_deadends": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Invoice.warning_mpp": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Invoice.warning_offline": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Invoice.warning_private_unused": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "KeySend": { + "added": "pre-v0.10.1", + "deprecated": null + }, + "KeySend.amount_msat": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "KeySend.amount_sent_msat": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "KeySend.created_at": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "KeySend.destination": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "KeySend.exemptfee": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "KeySend.extratlvs": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "KeySend.label": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "KeySend.maxdelay": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "KeySend.maxfeepercent": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "KeySend.parts": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "KeySend.payment_hash": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "KeySend.payment_preimage": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "KeySend.retry_for": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "KeySend.routehints": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "KeySend.status": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "KeySend.warning_partial_completion": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListChannels": { + "added": "pre-v0.10.1", + "deprecated": null + }, + "ListChannels.channels[]": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListChannels.destination": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListChannels.short_channel_id": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListChannels.source": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListDatastore": { + "added": "pre-v0.10.1", + "deprecated": null + }, + "ListDatastore.datastore[]": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListDatastore.key": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListForwards": { + "added": "pre-v0.10.1", + "deprecated": null + }, + "ListForwards.forwards[]": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListForwards.in_channel": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListForwards.out_channel": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListForwards.status": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListFunds": { + "added": "pre-v0.10.1", + "deprecated": null + }, + "ListFunds.channels[]": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListFunds.outputs[]": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListFunds.spent": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListInvoices": { + "added": "pre-v0.10.1", + "deprecated": null + }, + "ListInvoices.invoices[]": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListInvoices.invstring": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListInvoices.label": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListInvoices.offer_id": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListInvoices.payment_hash": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListNodes": { + "added": "pre-v0.10.1", + "deprecated": null + }, + "ListNodes.id": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListNodes.nodes[]": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListPays": { + "added": "pre-v0.10.1", + "deprecated": null + }, + "ListPays.bolt11": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListPays.payment_hash": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListPays.pays[]": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListPays.status": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListPeers": { + "added": "pre-v0.10.1", + "deprecated": null + }, + "ListPeers.id": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListPeers.level": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListPeers.peers[]": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListSendPays": { + "added": "pre-v0.10.1", + "deprecated": null + }, + "ListSendPays.bolt11": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListSendPays.payment_hash": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListSendPays.payments[]": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListSendPays.status": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListTransactions": { + "added": "pre-v0.10.1", + "deprecated": null + }, + "ListTransactions.transactions[]": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "NewAddr": { + "added": "pre-v0.10.1", + "deprecated": null + }, + "NewAddr.addresstype": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "NewAddr.bech32": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "NewAddr.p2sh-segwit": { + "added": "pre-v0.10.1", + "deprecated": "v23.02" + }, + "Pay": { + "added": "pre-v0.10.1", + "deprecated": null + }, + "Pay.amount_msat": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Pay.amount_sent_msat": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Pay.bolt11": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Pay.created_at": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Pay.description": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Pay.destination": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Pay.exclude": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Pay.exemptfee": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Pay.label": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Pay.localinvreqid": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Pay.maxdelay": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Pay.maxfee": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Pay.maxfeepercent": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Pay.parts": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Pay.payment_hash": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Pay.payment_preimage": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Pay.retry_for": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Pay.riskfactor": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Pay.status": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Pay.warning_partial_completion": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Ping": { + "added": "pre-v0.10.1", + "deprecated": null + }, + "Ping.id": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Ping.len": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Ping.pongbytes": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Ping.totlen": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "SendCustomMsg": { + "added": "v0.10.1", + "deprecated": null + }, + "SendCustomMsg.msg": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "SendCustomMsg.node_id": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "SendCustomMsg.status": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "SendOnion": { + "added": "pre-v0.10.1", + "deprecated": null + }, + "SendOnion.amount_msat": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "SendOnion.amount_sent_msat": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "SendOnion.bolt11": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "SendOnion.bolt12": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "SendOnion.created_at": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "SendOnion.destination": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "SendOnion.first_hop": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "SendOnion.groupid": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "SendOnion.id": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "SendOnion.label": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "SendOnion.localinvreqid": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "SendOnion.message": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "SendOnion.onion": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "SendOnion.partid": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "SendOnion.payment_hash": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "SendOnion.payment_preimage": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "SendOnion.shared_secrets[]": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "SendOnion.status": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "SendPay": { + "added": "pre-v0.10.1", + "deprecated": null + }, + "SendPay.amount_msat": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "SendPay.amount_sent_msat": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "SendPay.bolt11": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "SendPay.bolt12": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "SendPay.completed_at": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "SendPay.created_at": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "SendPay.destination": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "SendPay.groupid": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "SendPay.id": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "SendPay.label": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "SendPay.localinvreqid": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "SendPay.message": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "SendPay.partid": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "SendPay.payment_hash": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "SendPay.payment_preimage": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "SendPay.payment_secret": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "SendPay.route[]": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "SendPay.status": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "SendPsbt": { + "added": "pre-v0.10.1", + "deprecated": null + }, + "SendPsbt.psbt": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "SendPsbt.reserve": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "SendPsbt.tx": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "SendPsbt.txid": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "SetChannel": { + "added": "pre-v0.10.1", + "deprecated": null + }, + "SetChannel.channels[]": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "SetChannel.enforcedelay": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "SetChannel.feebase": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "SetChannel.feeppm": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "SetChannel.htlcmax": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "SetChannel.htlcmin": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "SetChannel.id": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "SignInvoice": { + "added": "v23.02", + "deprecated": null + }, + "SignInvoice.bolt11": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "SignInvoice.invstring": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "SignMessage": { + "added": "pre-v0.10.1", + "deprecated": null + }, + "SignMessage.message": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "SignMessage.recid": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "SignMessage.signature": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "SignMessage.zbase": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "SignPsbt": { + "added": "pre-v0.10.1", + "deprecated": null + }, + "SignPsbt.psbt": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "SignPsbt.signed_psbt": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "SignPsbt.signonly[]": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Stop": { + "added": "pre-v0.10.1", + "deprecated": null + }, + "TxDiscard": { + "added": "pre-v0.10.1", + "deprecated": null + }, + "TxDiscard.txid": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "TxDiscard.unsigned_tx": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "TxPrepare": { + "added": "pre-v0.10.1", + "deprecated": null + }, + "TxPrepare.feerate": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "TxPrepare.minconf": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "TxPrepare.outputs[]": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "TxPrepare.psbt": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "TxPrepare.txid": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "TxPrepare.unsigned_tx": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "TxPrepare.utxos[]": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "TxSend": { + "added": "pre-v0.10.1", + "deprecated": null + }, + "TxSend.psbt": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "TxSend.tx": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "TxSend.txid": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "UtxoPsbt": { + "added": "pre-v0.10.1", + "deprecated": null + }, + "UtxoPsbt.change_outnum": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "UtxoPsbt.estimated_final_weight": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "UtxoPsbt.excess_as_change": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "UtxoPsbt.excess_msat": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "UtxoPsbt.feerate": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "UtxoPsbt.feerate_per_kw": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "UtxoPsbt.locktime": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "UtxoPsbt.min_witness_weight": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "UtxoPsbt.psbt": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "UtxoPsbt.reservations[]": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "UtxoPsbt.reserve": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "UtxoPsbt.reservedok": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "UtxoPsbt.satoshi": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "UtxoPsbt.startweight": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "UtxoPsbt.utxos[]": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "WaitAnyInvoice": { + "added": "pre-v0.10.1", + "deprecated": null + }, + "WaitAnyInvoice.amount_msat": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "WaitAnyInvoice.amount_received_msat": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "WaitAnyInvoice.bolt11": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "WaitAnyInvoice.bolt12": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "WaitAnyInvoice.description": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "WaitAnyInvoice.expires_at": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "WaitAnyInvoice.label": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "WaitAnyInvoice.lastpay_index": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "WaitAnyInvoice.paid_at": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "WaitAnyInvoice.pay_index": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "WaitAnyInvoice.payment_hash": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "WaitAnyInvoice.payment_preimage": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "WaitAnyInvoice.status": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "WaitAnyInvoice.timeout": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "WaitInvoice": { + "added": "pre-v0.10.1", + "deprecated": null + }, + "WaitInvoice.amount_msat": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "WaitInvoice.amount_received_msat": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "WaitInvoice.bolt11": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "WaitInvoice.bolt12": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "WaitInvoice.description": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "WaitInvoice.expires_at": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "WaitInvoice.label": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "WaitInvoice.paid_at": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "WaitInvoice.pay_index": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "WaitInvoice.payment_hash": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "WaitInvoice.payment_preimage": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "WaitInvoice.status": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "WaitSendPay": { + "added": "pre-v0.10.1", + "deprecated": null + }, + "WaitSendPay.amount_msat": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "WaitSendPay.amount_sent_msat": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "WaitSendPay.bolt11": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "WaitSendPay.bolt12": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "WaitSendPay.completed_at": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "WaitSendPay.created_at": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "WaitSendPay.destination": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "WaitSendPay.groupid": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "WaitSendPay.id": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "WaitSendPay.label": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "WaitSendPay.partid": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "WaitSendPay.payment_hash": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "WaitSendPay.payment_preimage": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "WaitSendPay.status": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "WaitSendPay.timeout": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Withdraw": { + "added": "pre-v0.10.1", + "deprecated": null + }, + "Withdraw.destination": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Withdraw.feerate": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Withdraw.minconf": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Withdraw.psbt": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Withdraw.satoshi": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Withdraw.tx": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Withdraw.txid": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Withdraw.utxos[]": { + "added": "pre-v0.10.1", + "deprecated": false + } } } \ No newline at end of file diff --git a/contrib/msggen/msggen/__main__.py b/contrib/msggen/msggen/__main__.py index 5f9fdc2b8f35..a95ee8f16305 100644 --- a/contrib/msggen/msggen/__main__.py +++ b/contrib/msggen/msggen/__main__.py @@ -7,6 +7,15 @@ from msggen.gen.rust import RustGenerator from msggen.gen.generator import GeneratorChain from msggen.utils import load_jsonrpc_service +import logging + +logging.basicConfig( + level=logging.DEBUG, + format="%(asctime)s [%(levelname)s] %(message)s", + handlers=[ + logging.StreamHandler() + ] +) def add_handler_gen_grpc(generator_chain: GeneratorChain, meta): @@ -42,6 +51,7 @@ def load_msggen_meta(): meta = json.load(open('.msggen.json', 'r')) return meta +from msggen.patch import VersionAnnotationPatch def write_msggen_meta(meta): pid = os.getpid() @@ -52,8 +62,14 @@ def write_msggen_meta(meta): def run(rootdir: Path): schemadir = rootdir / "doc" / "schemas" - service = load_jsonrpc_service(schema_dir=schemadir) meta = load_msggen_meta() + service = load_jsonrpc_service( + schema_dir=schemadir, + ) + + p = VersionAnnotationPatch(meta=meta) + p.apply(service) + generator_chain = GeneratorChain() add_handler_gen_grpc(generator_chain, meta) diff --git a/contrib/msggen/msggen/model.py b/contrib/msggen/msggen/model.py index 8492d3831cc6..e779ca16763e 100644 --- a/contrib/msggen/msggen/model.py +++ b/contrib/msggen/msggen/model.py @@ -30,7 +30,8 @@ class Field: def __init__(self, path, description): self.path = path self.description = description - self.deprecated = False + self.deprecated = None + self.added = None self.required = False @property diff --git a/contrib/msggen/msggen/patch.py b/contrib/msggen/msggen/patch.py new file mode 100644 index 000000000000..198b773923c2 --- /dev/null +++ b/contrib/msggen/msggen/patch.py @@ -0,0 +1,84 @@ +from abc import ABC +from msggen import model + + +class Patch(ABC): + """A patch that can be applied to an in-memory model + + This effectively post-processes the in-memory model to ensure the + invariants are satisfied. + + """ + + def visit(self, field: model.Field) -> None: + """Gets called for each node in the model. + """ + pass + + def apply(self, service: model.Service) -> None: + """Apply this patch to the model by calling `visit` in + pre-order on each node in the schema tree. + + """ + def recurse(f: model.Field): + # First recurse if we have further type definitions + if isinstance(f, model.ArrayField): + self.visit(f.itemtype) + recurse(f.itemtype) + elif isinstance(f, model.CompositeField): + for c in f.fields: + self.visit(c) + recurse(c) + # Now visit ourselves + self.visit(f) + for m in service.methods: + recurse(m.request) + recurse(m.response) + + +class VersionAnnotationPatch(Patch): + """Annotates fields with the version they were added or deprecated if not specified. + + A patch is used so we don't have to annotate all fields that + existed prior to the introduction of the `added` and `deprecated` + fields, and uses the `.msggen.json` file to remember which fields + are known, and which ones are new. For existing fields we just + want a default value, while for new fields we want to error if the + author did not annotate them manually. + + """ + + def __init__(self, meta) -> None: + """Create a patch that can annotate `added` and `deprecated` + """ + self.meta = meta + + def visit(self, f: model.Field) -> None: + m = self.meta['model-field-versions'].get(f.path, {}) + + # The following lines are used to backfill fields that predate + # the introduction, so they need to use a default version to + # mark. These are stored in `.msggen.json` only, and we use + # the default value only on the first run. Code left commented + # to show how it was done + # if f.added is None and 'added' not in m: + # m['added'] = 'pre-v0.10.1' + + assert m.get('added', None) is not None or f.added is not None, f"Field {f.path} does not have an `added` annotation" + + # We do not allow the added and deprecated flags to be + # modified after the fact. + assert f.added is None or f.added == m['added'] + assert f.deprecated is None or f.deprecated == m.get('deprecated', None) + + if f.added is None: + f.added = m['added'] + if f.deprecated is None: + f.deprecated = m.get('deprecated', None) + + # Backfill the metadata using the annotation + self.meta['model-field-versions'][f.path] = { + 'added': f.added, + 'deprecated': f.deprecated, + } + diff --git a/contrib/pyln-testing/pyln/testing/node_pb2.py b/contrib/pyln-testing/pyln/testing/node_pb2.py index 5cd81d60e79c..c4f9e4a6abb2 100644 --- a/contrib/pyln-testing/pyln/testing/node_pb2.py +++ b/contrib/pyln-testing/pyln/testing/node_pb2.py @@ -15,7 +15,7 @@ from . import primitives_pb2 as primitives__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\nnode.proto\x12\x03\x63ln\x1a\x10primitives.proto\"\x10\n\x0eGetinfoRequest\"\xf4\x04\n\x0fGetinfoResponse\x12\n\n\x02id\x18\x01 \x01(\x0c\x12\r\n\x05\x61lias\x18\x02 \x01(\t\x12\r\n\x05\x63olor\x18\x03 \x01(\x0c\x12\x11\n\tnum_peers\x18\x04 \x01(\r\x12\x1c\n\x14num_pending_channels\x18\x05 \x01(\r\x12\x1b\n\x13num_active_channels\x18\x06 \x01(\r\x12\x1d\n\x15num_inactive_channels\x18\x07 \x01(\r\x12\x0f\n\x07version\x18\x08 \x01(\t\x12\x15\n\rlightning_dir\x18\t \x01(\t\x12\x33\n\x0cour_features\x18\n \x01(\x0b\x32\x18.cln.GetinfoOur_featuresH\x00\x88\x01\x01\x12\x13\n\x0b\x62lockheight\x18\x0b \x01(\r\x12\x0f\n\x07network\x18\x0c \x01(\t\x12$\n\x17msatoshi_fees_collected\x18\x12 \x01(\x04H\x01\x88\x01\x01\x12(\n\x13\x66\x65\x65s_collected_msat\x18\r \x01(\x0b\x32\x0b.cln.Amount\x12$\n\x07\x61\x64\x64ress\x18\x0e \x03(\x0b\x32\x13.cln.GetinfoAddress\x12$\n\x07\x62inding\x18\x0f \x03(\x0b\x32\x13.cln.GetinfoBinding\x12\"\n\x15warning_bitcoind_sync\x18\x10 \x01(\tH\x02\x88\x01\x01\x12$\n\x17warning_lightningd_sync\x18\x11 \x01(\tH\x03\x88\x01\x01\x42\x0f\n\r_our_featuresB\x1a\n\x18_msatoshi_fees_collectedB\x18\n\x16_warning_bitcoind_syncB\x1a\n\x18_warning_lightningd_sync\"S\n\x13GetinfoOur_features\x12\x0c\n\x04init\x18\x01 \x01(\x0c\x12\x0c\n\x04node\x18\x02 \x01(\x0c\x12\x0f\n\x07\x63hannel\x18\x03 \x01(\x0c\x12\x0f\n\x07invoice\x18\x04 \x01(\x0c\"\xd3\x01\n\x0eGetinfoAddress\x12\x39\n\titem_type\x18\x01 \x01(\x0e\x32&.cln.GetinfoAddress.GetinfoAddressType\x12\x0c\n\x04port\x18\x02 \x01(\r\x12\x14\n\x07\x61\x64\x64ress\x18\x03 \x01(\tH\x00\x88\x01\x01\"V\n\x12GetinfoAddressType\x12\x07\n\x03\x44NS\x10\x00\x12\x08\n\x04IPV4\x10\x01\x12\x08\n\x04IPV6\x10\x02\x12\t\n\x05TORV2\x10\x03\x12\t\n\x05TORV3\x10\x04\x12\r\n\tWEBSOCKET\x10\x05\x42\n\n\x08_address\"\xfb\x01\n\x0eGetinfoBinding\x12\x39\n\titem_type\x18\x01 \x01(\x0e\x32&.cln.GetinfoBinding.GetinfoBindingType\x12\x14\n\x07\x61\x64\x64ress\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x11\n\x04port\x18\x03 \x01(\rH\x01\x88\x01\x01\x12\x13\n\x06socket\x18\x04 \x01(\tH\x02\x88\x01\x01\"P\n\x12GetinfoBindingType\x12\x10\n\x0cLOCAL_SOCKET\x10\x00\x12\x08\n\x04IPV4\x10\x01\x12\x08\n\x04IPV6\x10\x02\x12\t\n\x05TORV2\x10\x03\x12\t\n\x05TORV3\x10\x04\x42\n\n\x08_addressB\x07\n\x05_portB\t\n\x07_socket\"H\n\x10ListpeersRequest\x12\x0f\n\x02id\x18\x01 \x01(\x0cH\x00\x88\x01\x01\x12\x12\n\x05level\x18\x02 \x01(\tH\x01\x88\x01\x01\x42\x05\n\x03_idB\x08\n\x06_level\"7\n\x11ListpeersResponse\x12\"\n\x05peers\x18\x01 \x03(\x0b\x32\x13.cln.ListpeersPeers\"\xf8\x01\n\x0eListpeersPeers\x12\n\n\x02id\x18\x01 \x01(\x0c\x12\x11\n\tconnected\x18\x02 \x01(\x08\x12\x14\n\x0cnum_channels\x18\x08 \x01(\r\x12#\n\x03log\x18\x03 \x03(\x0b\x32\x16.cln.ListpeersPeersLog\x12-\n\x08\x63hannels\x18\x04 \x03(\x0b\x32\x1b.cln.ListpeersPeersChannels\x12\x0f\n\x07netaddr\x18\x05 \x03(\t\x12\x18\n\x0bremote_addr\x18\x07 \x01(\tH\x00\x88\x01\x01\x12\x15\n\x08\x66\x65\x61tures\x18\x06 \x01(\x0cH\x01\x88\x01\x01\x42\x0e\n\x0c_remote_addrB\x0b\n\t_features\"\xfd\x02\n\x11ListpeersPeersLog\x12?\n\titem_type\x18\x01 \x01(\x0e\x32,.cln.ListpeersPeersLog.ListpeersPeersLogType\x12\x18\n\x0bnum_skipped\x18\x02 \x01(\rH\x00\x88\x01\x01\x12\x11\n\x04time\x18\x03 \x01(\tH\x01\x88\x01\x01\x12\x13\n\x06source\x18\x04 \x01(\tH\x02\x88\x01\x01\x12\x10\n\x03log\x18\x05 \x01(\tH\x03\x88\x01\x01\x12\x14\n\x07node_id\x18\x06 \x01(\x0cH\x04\x88\x01\x01\x12\x11\n\x04\x64\x61ta\x18\x07 \x01(\x0cH\x05\x88\x01\x01\"i\n\x15ListpeersPeersLogType\x12\x0b\n\x07SKIPPED\x10\x00\x12\n\n\x06\x42ROKEN\x10\x01\x12\x0b\n\x07UNUSUAL\x10\x02\x12\x08\n\x04INFO\x10\x03\x12\t\n\x05\x44\x45\x42UG\x10\x04\x12\t\n\x05IO_IN\x10\x05\x12\n\n\x06IO_OUT\x10\x06\x42\x0e\n\x0c_num_skippedB\x07\n\x05_timeB\t\n\x07_sourceB\x06\n\x04_logB\n\n\x08_node_idB\x07\n\x05_data\"\xd6\x17\n\x16ListpeersPeersChannels\x12\x46\n\x05state\x18\x01 \x01(\x0e\x32\x37.cln.ListpeersPeersChannels.ListpeersPeersChannelsState\x12\x19\n\x0cscratch_txid\x18\x02 \x01(\x0cH\x00\x88\x01\x01\x12\x38\n\x07\x66\x65\x65rate\x18\x03 \x01(\x0b\x32\".cln.ListpeersPeersChannelsFeerateH\x01\x88\x01\x01\x12\x12\n\x05owner\x18\x04 \x01(\tH\x02\x88\x01\x01\x12\x1d\n\x10short_channel_id\x18\x05 \x01(\tH\x03\x88\x01\x01\x12\x17\n\nchannel_id\x18\x06 \x01(\x0cH\x04\x88\x01\x01\x12\x19\n\x0c\x66unding_txid\x18\x07 \x01(\x0cH\x05\x88\x01\x01\x12\x1b\n\x0e\x66unding_outnum\x18\x08 \x01(\rH\x06\x88\x01\x01\x12\x1c\n\x0finitial_feerate\x18\t \x01(\tH\x07\x88\x01\x01\x12\x19\n\x0clast_feerate\x18\n \x01(\tH\x08\x88\x01\x01\x12\x19\n\x0cnext_feerate\x18\x0b \x01(\tH\t\x88\x01\x01\x12\x1a\n\rnext_fee_step\x18\x0c \x01(\rH\n\x88\x01\x01\x12\x35\n\x08inflight\x18\r \x03(\x0b\x32#.cln.ListpeersPeersChannelsInflight\x12\x15\n\x08\x63lose_to\x18\x0e \x01(\x0cH\x0b\x88\x01\x01\x12\x14\n\x07private\x18\x0f \x01(\x08H\x0c\x88\x01\x01\x12 \n\x06opener\x18\x10 \x01(\x0e\x32\x10.cln.ChannelSide\x12%\n\x06\x63loser\x18\x11 \x01(\x0e\x32\x10.cln.ChannelSideH\r\x88\x01\x01\x12\x10\n\x08\x66\x65\x61tures\x18\x12 \x03(\t\x12\x38\n\x07\x66unding\x18\x13 \x01(\x0b\x32\".cln.ListpeersPeersChannelsFundingH\x0e\x88\x01\x01\x12$\n\nto_us_msat\x18\x14 \x01(\x0b\x32\x0b.cln.AmountH\x0f\x88\x01\x01\x12(\n\x0emin_to_us_msat\x18\x15 \x01(\x0b\x32\x0b.cln.AmountH\x10\x88\x01\x01\x12(\n\x0emax_to_us_msat\x18\x16 \x01(\x0b\x32\x0b.cln.AmountH\x11\x88\x01\x01\x12$\n\ntotal_msat\x18\x17 \x01(\x0b\x32\x0b.cln.AmountH\x12\x88\x01\x01\x12\'\n\rfee_base_msat\x18\x18 \x01(\x0b\x32\x0b.cln.AmountH\x13\x88\x01\x01\x12(\n\x1b\x66\x65\x65_proportional_millionths\x18\x19 \x01(\rH\x14\x88\x01\x01\x12)\n\x0f\x64ust_limit_msat\x18\x1a \x01(\x0b\x32\x0b.cln.AmountH\x15\x88\x01\x01\x12\x30\n\x16max_total_htlc_in_msat\x18\x1b \x01(\x0b\x32\x0b.cln.AmountH\x16\x88\x01\x01\x12,\n\x12their_reserve_msat\x18\x1c \x01(\x0b\x32\x0b.cln.AmountH\x17\x88\x01\x01\x12*\n\x10our_reserve_msat\x18\x1d \x01(\x0b\x32\x0b.cln.AmountH\x18\x88\x01\x01\x12(\n\x0espendable_msat\x18\x1e \x01(\x0b\x32\x0b.cln.AmountH\x19\x88\x01\x01\x12)\n\x0freceivable_msat\x18\x1f \x01(\x0b\x32\x0b.cln.AmountH\x1a\x88\x01\x01\x12.\n\x14minimum_htlc_in_msat\x18 \x01(\x0b\x32\x0b.cln.AmountH\x1b\x88\x01\x01\x12/\n\x15minimum_htlc_out_msat\x18\x30 \x01(\x0b\x32\x0b.cln.AmountH\x1c\x88\x01\x01\x12/\n\x15maximum_htlc_out_msat\x18\x31 \x01(\x0b\x32\x0b.cln.AmountH\x1d\x88\x01\x01\x12 \n\x13their_to_self_delay\x18! \x01(\rH\x1e\x88\x01\x01\x12\x1e\n\x11our_to_self_delay\x18\" \x01(\rH\x1f\x88\x01\x01\x12\x1f\n\x12max_accepted_htlcs\x18# \x01(\rH \x88\x01\x01\x12\x34\n\x05\x61lias\x18\x32 \x01(\x0b\x32 .cln.ListpeersPeersChannelsAliasH!\x88\x01\x01\x12\x0e\n\x06status\x18% \x03(\t\x12 \n\x13in_payments_offered\x18& \x01(\x04H\"\x88\x01\x01\x12)\n\x0fin_offered_msat\x18\' \x01(\x0b\x32\x0b.cln.AmountH#\x88\x01\x01\x12\"\n\x15in_payments_fulfilled\x18( \x01(\x04H$\x88\x01\x01\x12+\n\x11in_fulfilled_msat\x18) \x01(\x0b\x32\x0b.cln.AmountH%\x88\x01\x01\x12!\n\x14out_payments_offered\x18* \x01(\x04H&\x88\x01\x01\x12*\n\x10out_offered_msat\x18+ \x01(\x0b\x32\x0b.cln.AmountH\'\x88\x01\x01\x12#\n\x16out_payments_fulfilled\x18, \x01(\x04H(\x88\x01\x01\x12,\n\x12out_fulfilled_msat\x18- \x01(\x0b\x32\x0b.cln.AmountH)\x88\x01\x01\x12/\n\x05htlcs\x18. \x03(\x0b\x32 .cln.ListpeersPeersChannelsHtlcs\x12\x1a\n\rclose_to_addr\x18/ \x01(\tH*\x88\x01\x01\"\xa1\x02\n\x1bListpeersPeersChannelsState\x12\x0c\n\x08OPENINGD\x10\x00\x12\x1c\n\x18\x43HANNELD_AWAITING_LOCKIN\x10\x01\x12\x13\n\x0f\x43HANNELD_NORMAL\x10\x02\x12\x1a\n\x16\x43HANNELD_SHUTTING_DOWN\x10\x03\x12\x18\n\x14\x43LOSINGD_SIGEXCHANGE\x10\x04\x12\x15\n\x11\x43LOSINGD_COMPLETE\x10\x05\x12\x17\n\x13\x41WAITING_UNILATERAL\x10\x06\x12\x16\n\x12\x46UNDING_SPEND_SEEN\x10\x07\x12\x0b\n\x07ONCHAIN\x10\x08\x12\x17\n\x13\x44UALOPEND_OPEN_INIT\x10\t\x12\x1d\n\x19\x44UALOPEND_AWAITING_LOCKIN\x10\nB\x0f\n\r_scratch_txidB\n\n\x08_feerateB\x08\n\x06_ownerB\x13\n\x11_short_channel_idB\r\n\x0b_channel_idB\x0f\n\r_funding_txidB\x11\n\x0f_funding_outnumB\x12\n\x10_initial_feerateB\x0f\n\r_last_feerateB\x0f\n\r_next_feerateB\x10\n\x0e_next_fee_stepB\x0b\n\t_close_toB\n\n\x08_privateB\t\n\x07_closerB\n\n\x08_fundingB\r\n\x0b_to_us_msatB\x11\n\x0f_min_to_us_msatB\x11\n\x0f_max_to_us_msatB\r\n\x0b_total_msatB\x10\n\x0e_fee_base_msatB\x1e\n\x1c_fee_proportional_millionthsB\x12\n\x10_dust_limit_msatB\x19\n\x17_max_total_htlc_in_msatB\x15\n\x13_their_reserve_msatB\x13\n\x11_our_reserve_msatB\x11\n\x0f_spendable_msatB\x12\n\x10_receivable_msatB\x17\n\x15_minimum_htlc_in_msatB\x18\n\x16_minimum_htlc_out_msatB\x18\n\x16_maximum_htlc_out_msatB\x16\n\x14_their_to_self_delayB\x14\n\x12_our_to_self_delayB\x15\n\x13_max_accepted_htlcsB\x08\n\x06_aliasB\x16\n\x14_in_payments_offeredB\x12\n\x10_in_offered_msatB\x18\n\x16_in_payments_fulfilledB\x14\n\x12_in_fulfilled_msatB\x17\n\x15_out_payments_offeredB\x13\n\x11_out_offered_msatB\x19\n\x17_out_payments_fulfilledB\x15\n\x13_out_fulfilled_msatB\x10\n\x0e_close_to_addr\"=\n\x1dListpeersPeersChannelsFeerate\x12\r\n\x05perkw\x18\x01 \x01(\r\x12\r\n\x05perkb\x18\x02 \x01(\r\"\xc5\x01\n\x1eListpeersPeersChannelsInflight\x12\x14\n\x0c\x66unding_txid\x18\x01 \x01(\x0c\x12\x16\n\x0e\x66unding_outnum\x18\x02 \x01(\r\x12\x0f\n\x07\x66\x65\x65rate\x18\x03 \x01(\t\x12\'\n\x12total_funding_msat\x18\x04 \x01(\x0b\x32\x0b.cln.Amount\x12%\n\x10our_funding_msat\x18\x05 \x01(\x0b\x32\x0b.cln.Amount\x12\x14\n\x0cscratch_txid\x18\x06 \x01(\x0c\"\x87\x03\n\x1dListpeersPeersChannelsFunding\x12$\n\nlocal_msat\x18\x01 \x01(\x0b\x32\x0b.cln.AmountH\x00\x88\x01\x01\x12%\n\x0bremote_msat\x18\x02 \x01(\x0b\x32\x0b.cln.AmountH\x01\x88\x01\x01\x12%\n\x0bpushed_msat\x18\x03 \x01(\x0b\x32\x0b.cln.AmountH\x02\x88\x01\x01\x12%\n\x10local_funds_msat\x18\x04 \x01(\x0b\x32\x0b.cln.Amount\x12&\n\x11remote_funds_msat\x18\x07 \x01(\x0b\x32\x0b.cln.Amount\x12\'\n\rfee_paid_msat\x18\x05 \x01(\x0b\x32\x0b.cln.AmountH\x03\x88\x01\x01\x12\'\n\rfee_rcvd_msat\x18\x06 \x01(\x0b\x32\x0b.cln.AmountH\x04\x88\x01\x01\x42\r\n\x0b_local_msatB\x0e\n\x0c_remote_msatB\x0e\n\x0c_pushed_msatB\x10\n\x0e_fee_paid_msatB\x10\n\x0e_fee_rcvd_msat\"[\n\x1bListpeersPeersChannelsAlias\x12\x12\n\x05local\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x13\n\x06remote\x18\x02 \x01(\tH\x01\x88\x01\x01\x42\x08\n\x06_localB\t\n\x07_remote\"\xd2\x02\n\x1bListpeersPeersChannelsHtlcs\x12X\n\tdirection\x18\x01 \x01(\x0e\x32\x45.cln.ListpeersPeersChannelsHtlcs.ListpeersPeersChannelsHtlcsDirection\x12\n\n\x02id\x18\x02 \x01(\x04\x12 \n\x0b\x61mount_msat\x18\x03 \x01(\x0b\x32\x0b.cln.Amount\x12\x0e\n\x06\x65xpiry\x18\x04 \x01(\r\x12\x14\n\x0cpayment_hash\x18\x05 \x01(\x0c\x12\x1a\n\rlocal_trimmed\x18\x06 \x01(\x08H\x00\x88\x01\x01\x12\x13\n\x06status\x18\x07 \x01(\tH\x01\x88\x01\x01\"7\n$ListpeersPeersChannelsHtlcsDirection\x12\x06\n\x02IN\x10\x00\x12\x07\n\x03OUT\x10\x01\x42\x10\n\x0e_local_trimmedB\t\n\x07_status\"0\n\x10ListfundsRequest\x12\x12\n\x05spent\x18\x01 \x01(\x08H\x00\x88\x01\x01\x42\x08\n\x06_spent\"e\n\x11ListfundsResponse\x12&\n\x07outputs\x18\x01 \x03(\x0b\x32\x15.cln.ListfundsOutputs\x12(\n\x08\x63hannels\x18\x02 \x03(\x0b\x32\x16.cln.ListfundsChannels\"\x83\x03\n\x10ListfundsOutputs\x12\x0c\n\x04txid\x18\x01 \x01(\x0c\x12\x0e\n\x06output\x18\x02 \x01(\r\x12 \n\x0b\x61mount_msat\x18\x03 \x01(\x0b\x32\x0b.cln.Amount\x12\x14\n\x0cscriptpubkey\x18\x04 \x01(\x0c\x12\x14\n\x07\x61\x64\x64ress\x18\x05 \x01(\tH\x00\x88\x01\x01\x12\x19\n\x0credeemscript\x18\x06 \x01(\x0cH\x01\x88\x01\x01\x12<\n\x06status\x18\x07 \x01(\x0e\x32,.cln.ListfundsOutputs.ListfundsOutputsStatus\x12\x10\n\x08reserved\x18\t \x01(\x08\x12\x18\n\x0b\x62lockheight\x18\x08 \x01(\rH\x02\x88\x01\x01\"Q\n\x16ListfundsOutputsStatus\x12\x0f\n\x0bUNCONFIRMED\x10\x00\x12\r\n\tCONFIRMED\x10\x01\x12\t\n\x05SPENT\x10\x02\x12\x0c\n\x08IMMATURE\x10\x03\x42\n\n\x08_addressB\x0f\n\r_redeemscriptB\x0e\n\x0c_blockheight\"\x83\x02\n\x11ListfundsChannels\x12\x0f\n\x07peer_id\x18\x01 \x01(\x0c\x12$\n\x0four_amount_msat\x18\x02 \x01(\x0b\x32\x0b.cln.Amount\x12 \n\x0b\x61mount_msat\x18\x03 \x01(\x0b\x32\x0b.cln.Amount\x12\x14\n\x0c\x66unding_txid\x18\x04 \x01(\x0c\x12\x16\n\x0e\x66unding_output\x18\x05 \x01(\r\x12\x11\n\tconnected\x18\x06 \x01(\x08\x12 \n\x05state\x18\x07 \x01(\x0e\x32\x11.cln.ChannelState\x12\x1d\n\x10short_channel_id\x18\x08 \x01(\tH\x00\x88\x01\x01\x42\x13\n\x11_short_channel_id\"\xdd\x02\n\x0eSendpayRequest\x12 \n\x05route\x18\x01 \x03(\x0b\x32\x11.cln.SendpayRoute\x12\x14\n\x0cpayment_hash\x18\x02 \x01(\x0c\x12\x12\n\x05label\x18\x03 \x01(\tH\x00\x88\x01\x01\x12%\n\x0b\x61mount_msat\x18\n \x01(\x0b\x32\x0b.cln.AmountH\x01\x88\x01\x01\x12\x13\n\x06\x62olt11\x18\x05 \x01(\tH\x02\x88\x01\x01\x12\x1b\n\x0epayment_secret\x18\x06 \x01(\x0cH\x03\x88\x01\x01\x12\x13\n\x06partid\x18\x07 \x01(\rH\x04\x88\x01\x01\x12\x1a\n\rlocalinvreqid\x18\x0b \x01(\x0cH\x05\x88\x01\x01\x12\x14\n\x07groupid\x18\t \x01(\x04H\x06\x88\x01\x01\x42\x08\n\x06_labelB\x0e\n\x0c_amount_msatB\t\n\x07_bolt11B\x11\n\x0f_payment_secretB\t\n\x07_partidB\x10\n\x0e_localinvreqidB\n\n\x08_groupid\"\xd1\x04\n\x0fSendpayResponse\x12\n\n\x02id\x18\x01 \x01(\x04\x12\x14\n\x07groupid\x18\x02 \x01(\x04H\x00\x88\x01\x01\x12\x14\n\x0cpayment_hash\x18\x03 \x01(\x0c\x12\x32\n\x06status\x18\x04 \x01(\x0e\x32\".cln.SendpayResponse.SendpayStatus\x12%\n\x0b\x61mount_msat\x18\x05 \x01(\x0b\x32\x0b.cln.AmountH\x01\x88\x01\x01\x12\x18\n\x0b\x64\x65stination\x18\x06 \x01(\x0cH\x02\x88\x01\x01\x12\x12\n\ncreated_at\x18\x07 \x01(\x04\x12\x19\n\x0c\x63ompleted_at\x18\x0f \x01(\x04H\x03\x88\x01\x01\x12%\n\x10\x61mount_sent_msat\x18\x08 \x01(\x0b\x32\x0b.cln.Amount\x12\x12\n\x05label\x18\t \x01(\tH\x04\x88\x01\x01\x12\x13\n\x06partid\x18\n \x01(\x04H\x05\x88\x01\x01\x12\x13\n\x06\x62olt11\x18\x0b \x01(\tH\x06\x88\x01\x01\x12\x13\n\x06\x62olt12\x18\x0c \x01(\tH\x07\x88\x01\x01\x12\x1d\n\x10payment_preimage\x18\r \x01(\x0cH\x08\x88\x01\x01\x12\x14\n\x07message\x18\x0e \x01(\tH\t\x88\x01\x01\"*\n\rSendpayStatus\x12\x0b\n\x07PENDING\x10\x00\x12\x0c\n\x08\x43OMPLETE\x10\x01\x42\n\n\x08_groupidB\x0e\n\x0c_amount_msatB\x0e\n\x0c_destinationB\x0f\n\r_completed_atB\x08\n\x06_labelB\t\n\x07_partidB\t\n\x07_bolt11B\t\n\x07_bolt12B\x13\n\x11_payment_preimageB\n\n\x08_message\"\\\n\x0cSendpayRoute\x12 \n\x0b\x61mount_msat\x18\x05 \x01(\x0b\x32\x0b.cln.Amount\x12\n\n\x02id\x18\x02 \x01(\x0c\x12\r\n\x05\x64\x65lay\x18\x03 \x01(\r\x12\x0f\n\x07\x63hannel\x18\x04 \x01(\t\"\x93\x01\n\x13ListchannelsRequest\x12\x1d\n\x10short_channel_id\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x13\n\x06source\x18\x02 \x01(\x0cH\x01\x88\x01\x01\x12\x18\n\x0b\x64\x65stination\x18\x03 \x01(\x0cH\x02\x88\x01\x01\x42\x13\n\x11_short_channel_idB\t\n\x07_sourceB\x0e\n\x0c_destination\"C\n\x14ListchannelsResponse\x12+\n\x08\x63hannels\x18\x01 \x03(\x0b\x32\x19.cln.ListchannelsChannels\"\xb3\x03\n\x14ListchannelsChannels\x12\x0e\n\x06source\x18\x01 \x01(\x0c\x12\x13\n\x0b\x64\x65stination\x18\x02 \x01(\x0c\x12\x18\n\x10short_channel_id\x18\x03 \x01(\t\x12\x11\n\tdirection\x18\x10 \x01(\r\x12\x0e\n\x06public\x18\x04 \x01(\x08\x12 \n\x0b\x61mount_msat\x18\x05 \x01(\x0b\x32\x0b.cln.Amount\x12\x15\n\rmessage_flags\x18\x06 \x01(\r\x12\x15\n\rchannel_flags\x18\x07 \x01(\r\x12\x0e\n\x06\x61\x63tive\x18\x08 \x01(\x08\x12\x13\n\x0blast_update\x18\t \x01(\r\x12\x1d\n\x15\x62\x61se_fee_millisatoshi\x18\n \x01(\r\x12\x19\n\x11\x66\x65\x65_per_millionth\x18\x0b \x01(\r\x12\r\n\x05\x64\x65lay\x18\x0c \x01(\r\x12&\n\x11htlc_minimum_msat\x18\r \x01(\x0b\x32\x0b.cln.Amount\x12+\n\x11htlc_maximum_msat\x18\x0e \x01(\x0b\x32\x0b.cln.AmountH\x00\x88\x01\x01\x12\x10\n\x08\x66\x65\x61tures\x18\x0f \x01(\x0c\x42\x14\n\x12_htlc_maximum_msat\"#\n\x10\x41\x64\x64gossipRequest\x12\x0f\n\x07message\x18\x01 \x01(\x0c\"\x13\n\x11\x41\x64\x64gossipResponse\"o\n\x17\x41utocleaninvoiceRequest\x12\x17\n\nexpired_by\x18\x01 \x01(\x04H\x00\x88\x01\x01\x12\x1a\n\rcycle_seconds\x18\x02 \x01(\x04H\x01\x88\x01\x01\x42\r\n\x0b_expired_byB\x10\n\x0e_cycle_seconds\"\x81\x01\n\x18\x41utocleaninvoiceResponse\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x17\n\nexpired_by\x18\x02 \x01(\x04H\x00\x88\x01\x01\x12\x1a\n\rcycle_seconds\x18\x03 \x01(\x04H\x01\x88\x01\x01\x42\r\n\x0b_expired_byB\x10\n\x0e_cycle_seconds\"U\n\x13\x43heckmessageRequest\x12\x0f\n\x07message\x18\x01 \x01(\t\x12\r\n\x05zbase\x18\x02 \x01(\t\x12\x13\n\x06pubkey\x18\x03 \x01(\x0cH\x00\x88\x01\x01\x42\t\n\x07_pubkey\"8\n\x14\x43heckmessageResponse\x12\x10\n\x08verified\x18\x01 \x01(\x08\x12\x0e\n\x06pubkey\x18\x02 \x01(\x0c\"\xcb\x02\n\x0c\x43loseRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\x1e\n\x11unilateraltimeout\x18\x02 \x01(\rH\x00\x88\x01\x01\x12\x18\n\x0b\x64\x65stination\x18\x03 \x01(\tH\x01\x88\x01\x01\x12!\n\x14\x66\x65\x65_negotiation_step\x18\x04 \x01(\tH\x02\x88\x01\x01\x12)\n\rwrong_funding\x18\x05 \x01(\x0b\x32\r.cln.OutpointH\x03\x88\x01\x01\x12\x1f\n\x12\x66orce_lease_closed\x18\x06 \x01(\x08H\x04\x88\x01\x01\x12\x1e\n\x08\x66\x65\x65range\x18\x07 \x03(\x0b\x32\x0c.cln.FeerateB\x14\n\x12_unilateraltimeoutB\x0e\n\x0c_destinationB\x17\n\x15_fee_negotiation_stepB\x10\n\x0e_wrong_fundingB\x15\n\x13_force_lease_closed\"\xab\x01\n\rCloseResponse\x12/\n\titem_type\x18\x01 \x01(\x0e\x32\x1c.cln.CloseResponse.CloseType\x12\x0f\n\x02tx\x18\x02 \x01(\x0cH\x00\x88\x01\x01\x12\x11\n\x04txid\x18\x03 \x01(\x0cH\x01\x88\x01\x01\"5\n\tCloseType\x12\n\n\x06MUTUAL\x10\x00\x12\x0e\n\nUNILATERAL\x10\x01\x12\x0c\n\x08UNOPENED\x10\x02\x42\x05\n\x03_txB\x07\n\x05_txid\"T\n\x0e\x43onnectRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\x04host\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x11\n\x04port\x18\x03 \x01(\rH\x01\x88\x01\x01\x42\x07\n\x05_hostB\x07\n\x05_port\"\xb4\x01\n\x0f\x43onnectResponse\x12\n\n\x02id\x18\x01 \x01(\x0c\x12\x10\n\x08\x66\x65\x61tures\x18\x02 \x01(\x0c\x12\x38\n\tdirection\x18\x03 \x01(\x0e\x32%.cln.ConnectResponse.ConnectDirection\x12$\n\x07\x61\x64\x64ress\x18\x04 \x01(\x0b\x32\x13.cln.ConnectAddress\"#\n\x10\x43onnectDirection\x12\x06\n\x02IN\x10\x00\x12\x07\n\x03OUT\x10\x01\"\xfb\x01\n\x0e\x43onnectAddress\x12\x39\n\titem_type\x18\x01 \x01(\x0e\x32&.cln.ConnectAddress.ConnectAddressType\x12\x13\n\x06socket\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x14\n\x07\x61\x64\x64ress\x18\x03 \x01(\tH\x01\x88\x01\x01\x12\x11\n\x04port\x18\x04 \x01(\rH\x02\x88\x01\x01\"P\n\x12\x43onnectAddressType\x12\x10\n\x0cLOCAL_SOCKET\x10\x00\x12\x08\n\x04IPV4\x10\x01\x12\x08\n\x04IPV6\x10\x02\x12\t\n\x05TORV2\x10\x03\x12\t\n\x05TORV3\x10\x04\x42\t\n\x07_socketB\n\n\x08_addressB\x07\n\x05_port\"J\n\x14\x43reateinvoiceRequest\x12\x11\n\tinvstring\x18\x01 \x01(\t\x12\r\n\x05label\x18\x02 \x01(\t\x12\x10\n\x08preimage\x18\x03 \x01(\x0c\"\x81\x05\n\x15\x43reateinvoiceResponse\x12\r\n\x05label\x18\x01 \x01(\t\x12\x13\n\x06\x62olt11\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x13\n\x06\x62olt12\x18\x03 \x01(\tH\x01\x88\x01\x01\x12\x14\n\x0cpayment_hash\x18\x04 \x01(\x0c\x12%\n\x0b\x61mount_msat\x18\x05 \x01(\x0b\x32\x0b.cln.AmountH\x02\x88\x01\x01\x12>\n\x06status\x18\x06 \x01(\x0e\x32..cln.CreateinvoiceResponse.CreateinvoiceStatus\x12\x13\n\x0b\x64\x65scription\x18\x07 \x01(\t\x12\x12\n\nexpires_at\x18\x08 \x01(\x04\x12\x16\n\tpay_index\x18\t \x01(\x04H\x03\x88\x01\x01\x12.\n\x14\x61mount_received_msat\x18\n \x01(\x0b\x32\x0b.cln.AmountH\x04\x88\x01\x01\x12\x14\n\x07paid_at\x18\x0b \x01(\x04H\x05\x88\x01\x01\x12\x1d\n\x10payment_preimage\x18\x0c \x01(\x0cH\x06\x88\x01\x01\x12\x1b\n\x0elocal_offer_id\x18\r \x01(\x0cH\x07\x88\x01\x01\x12\x1e\n\x11invreq_payer_note\x18\x0f \x01(\tH\x08\x88\x01\x01\"8\n\x13\x43reateinvoiceStatus\x12\x08\n\x04PAID\x10\x00\x12\x0b\n\x07\x45XPIRED\x10\x01\x12\n\n\x06UNPAID\x10\x02\x42\t\n\x07_bolt11B\t\n\x07_bolt12B\x0e\n\x0c_amount_msatB\x0c\n\n_pay_indexB\x17\n\x15_amount_received_msatB\n\n\x08_paid_atB\x13\n\x11_payment_preimageB\x11\n\x0f_local_offer_idB\x14\n\x12_invreq_payer_note\"\xb4\x02\n\x10\x44\x61tastoreRequest\x12\x0b\n\x03key\x18\x05 \x03(\t\x12\x13\n\x06string\x18\x06 \x01(\tH\x00\x88\x01\x01\x12\x10\n\x03hex\x18\x02 \x01(\x0cH\x01\x88\x01\x01\x12\x36\n\x04mode\x18\x03 \x01(\x0e\x32#.cln.DatastoreRequest.DatastoreModeH\x02\x88\x01\x01\x12\x17\n\ngeneration\x18\x04 \x01(\x04H\x03\x88\x01\x01\"p\n\rDatastoreMode\x12\x0f\n\x0bMUST_CREATE\x10\x00\x12\x10\n\x0cMUST_REPLACE\x10\x01\x12\x15\n\x11\x43REATE_OR_REPLACE\x10\x02\x12\x0f\n\x0bMUST_APPEND\x10\x03\x12\x14\n\x10\x43REATE_OR_APPEND\x10\x04\x42\t\n\x07_stringB\x06\n\x04_hexB\x07\n\x05_modeB\r\n\x0b_generation\"\x82\x01\n\x11\x44\x61tastoreResponse\x12\x0b\n\x03key\x18\x05 \x03(\t\x12\x17\n\ngeneration\x18\x02 \x01(\x04H\x00\x88\x01\x01\x12\x10\n\x03hex\x18\x03 \x01(\x0cH\x01\x88\x01\x01\x12\x13\n\x06string\x18\x04 \x01(\tH\x02\x88\x01\x01\x42\r\n\x0b_generationB\x06\n\x04_hexB\t\n\x07_string\"\x9d\x01\n\x12\x43reateonionRequest\x12\"\n\x04hops\x18\x01 \x03(\x0b\x32\x14.cln.CreateonionHops\x12\x11\n\tassocdata\x18\x02 \x01(\x0c\x12\x18\n\x0bsession_key\x18\x03 \x01(\x0cH\x00\x88\x01\x01\x12\x17\n\nonion_size\x18\x04 \x01(\rH\x01\x88\x01\x01\x42\x0e\n\x0c_session_keyB\r\n\x0b_onion_size\"<\n\x13\x43reateonionResponse\x12\r\n\x05onion\x18\x01 \x01(\x0c\x12\x16\n\x0eshared_secrets\x18\x02 \x03(\x0c\"2\n\x0f\x43reateonionHops\x12\x0e\n\x06pubkey\x18\x01 \x01(\x0c\x12\x0f\n\x07payload\x18\x02 \x01(\x0c\"J\n\x13\x44\x65ldatastoreRequest\x12\x0b\n\x03key\x18\x03 \x03(\t\x12\x17\n\ngeneration\x18\x02 \x01(\x04H\x00\x88\x01\x01\x42\r\n\x0b_generation\"\x85\x01\n\x14\x44\x65ldatastoreResponse\x12\x0b\n\x03key\x18\x05 \x03(\t\x12\x17\n\ngeneration\x18\x02 \x01(\x04H\x00\x88\x01\x01\x12\x10\n\x03hex\x18\x03 \x01(\x0cH\x01\x88\x01\x01\x12\x13\n\x06string\x18\x04 \x01(\tH\x02\x88\x01\x01\x42\r\n\x0b_generationB\x06\n\x04_hexB\t\n\x07_string\"H\n\x18\x44\x65lexpiredinvoiceRequest\x12\x1a\n\rmaxexpirytime\x18\x01 \x01(\x04H\x00\x88\x01\x01\x42\x10\n\x0e_maxexpirytime\"\x1b\n\x19\x44\x65lexpiredinvoiceResponse\"\xb6\x01\n\x11\x44\x65linvoiceRequest\x12\r\n\x05label\x18\x01 \x01(\t\x12\x37\n\x06status\x18\x02 \x01(\x0e\x32\'.cln.DelinvoiceRequest.DelinvoiceStatus\x12\x15\n\x08\x64\x65sconly\x18\x03 \x01(\x08H\x00\x88\x01\x01\"5\n\x10\x44\x65linvoiceStatus\x12\x08\n\x04PAID\x10\x00\x12\x0b\n\x07\x45XPIRED\x10\x01\x12\n\n\x06UNPAID\x10\x02\x42\x0b\n\t_desconly\"\xc5\x03\n\x12\x44\x65linvoiceResponse\x12\r\n\x05label\x18\x01 \x01(\t\x12\x13\n\x06\x62olt11\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x13\n\x06\x62olt12\x18\x03 \x01(\tH\x01\x88\x01\x01\x12%\n\x0b\x61mount_msat\x18\x04 \x01(\x0b\x32\x0b.cln.AmountH\x02\x88\x01\x01\x12\x18\n\x0b\x64\x65scription\x18\x05 \x01(\tH\x03\x88\x01\x01\x12\x14\n\x0cpayment_hash\x18\x06 \x01(\x0c\x12\x38\n\x06status\x18\x07 \x01(\x0e\x32(.cln.DelinvoiceResponse.DelinvoiceStatus\x12\x12\n\nexpires_at\x18\x08 \x01(\x04\x12\x1b\n\x0elocal_offer_id\x18\t \x01(\x0cH\x04\x88\x01\x01\x12\x1e\n\x11invreq_payer_note\x18\x0b \x01(\tH\x05\x88\x01\x01\"5\n\x10\x44\x65linvoiceStatus\x12\x08\n\x04PAID\x10\x00\x12\x0b\n\x07\x45XPIRED\x10\x01\x12\n\n\x06UNPAID\x10\x02\x42\t\n\x07_bolt11B\t\n\x07_bolt12B\x0e\n\x0c_amount_msatB\x0e\n\x0c_descriptionB\x11\n\x0f_local_offer_idB\x14\n\x12_invreq_payer_note\"\xb8\x02\n\x0eInvoiceRequest\x12%\n\x0b\x61mount_msat\x18\n \x01(\x0b\x32\x10.cln.AmountOrAny\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\r\n\x05label\x18\x03 \x01(\t\x12\x13\n\x06\x65xpiry\x18\x07 \x01(\x04H\x00\x88\x01\x01\x12\x11\n\tfallbacks\x18\x04 \x03(\t\x12\x15\n\x08preimage\x18\x05 \x01(\x0cH\x01\x88\x01\x01\x12\"\n\x15\x65xposeprivatechannels\x18\x08 \x01(\x08H\x02\x88\x01\x01\x12\x11\n\x04\x63ltv\x18\x06 \x01(\rH\x03\x88\x01\x01\x12\x19\n\x0c\x64\x65schashonly\x18\t \x01(\x08H\x04\x88\x01\x01\x42\t\n\x07_expiryB\x0b\n\t_preimageB\x18\n\x16_exposeprivatechannelsB\x07\n\x05_cltvB\x0f\n\r_deschashonly\"\xe7\x02\n\x0fInvoiceResponse\x12\x0e\n\x06\x62olt11\x18\x01 \x01(\t\x12\x14\n\x0cpayment_hash\x18\x02 \x01(\x0c\x12\x16\n\x0epayment_secret\x18\x03 \x01(\x0c\x12\x12\n\nexpires_at\x18\x04 \x01(\x04\x12\x1d\n\x10warning_capacity\x18\x05 \x01(\tH\x00\x88\x01\x01\x12\x1c\n\x0fwarning_offline\x18\x06 \x01(\tH\x01\x88\x01\x01\x12\x1d\n\x10warning_deadends\x18\x07 \x01(\tH\x02\x88\x01\x01\x12#\n\x16warning_private_unused\x18\x08 \x01(\tH\x03\x88\x01\x01\x12\x18\n\x0bwarning_mpp\x18\t \x01(\tH\x04\x88\x01\x01\x42\x13\n\x11_warning_capacityB\x12\n\x10_warning_offlineB\x13\n\x11_warning_deadendsB\x19\n\x17_warning_private_unusedB\x0e\n\x0c_warning_mpp\"#\n\x14ListdatastoreRequest\x12\x0b\n\x03key\x18\x02 \x03(\t\"G\n\x15ListdatastoreResponse\x12.\n\tdatastore\x18\x01 \x03(\x0b\x32\x1b.cln.ListdatastoreDatastore\"\x87\x01\n\x16ListdatastoreDatastore\x12\x0b\n\x03key\x18\x01 \x03(\t\x12\x17\n\ngeneration\x18\x02 \x01(\x04H\x00\x88\x01\x01\x12\x10\n\x03hex\x18\x03 \x01(\x0cH\x01\x88\x01\x01\x12\x13\n\x06string\x18\x04 \x01(\tH\x02\x88\x01\x01\x42\r\n\x0b_generationB\x06\n\x04_hexB\t\n\x07_string\"\xa9\x01\n\x13ListinvoicesRequest\x12\x12\n\x05label\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x16\n\tinvstring\x18\x02 \x01(\tH\x01\x88\x01\x01\x12\x19\n\x0cpayment_hash\x18\x03 \x01(\x0cH\x02\x88\x01\x01\x12\x15\n\x08offer_id\x18\x04 \x01(\tH\x03\x88\x01\x01\x42\x08\n\x06_labelB\x0c\n\n_invstringB\x0f\n\r_payment_hashB\x0b\n\t_offer_id\"C\n\x14ListinvoicesResponse\x12+\n\x08invoices\x18\x01 \x03(\x0b\x32\x19.cln.ListinvoicesInvoices\"\xa2\x05\n\x14ListinvoicesInvoices\x12\r\n\x05label\x18\x01 \x01(\t\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x14\n\x0cpayment_hash\x18\x03 \x01(\x0c\x12\x44\n\x06status\x18\x04 \x01(\x0e\x32\x34.cln.ListinvoicesInvoices.ListinvoicesInvoicesStatus\x12\x12\n\nexpires_at\x18\x05 \x01(\x04\x12%\n\x0b\x61mount_msat\x18\x06 \x01(\x0b\x32\x0b.cln.AmountH\x01\x88\x01\x01\x12\x13\n\x06\x62olt11\x18\x07 \x01(\tH\x02\x88\x01\x01\x12\x13\n\x06\x62olt12\x18\x08 \x01(\tH\x03\x88\x01\x01\x12\x1b\n\x0elocal_offer_id\x18\t \x01(\x0cH\x04\x88\x01\x01\x12\x1e\n\x11invreq_payer_note\x18\x0f \x01(\tH\x05\x88\x01\x01\x12\x16\n\tpay_index\x18\x0b \x01(\x04H\x06\x88\x01\x01\x12.\n\x14\x61mount_received_msat\x18\x0c \x01(\x0b\x32\x0b.cln.AmountH\x07\x88\x01\x01\x12\x14\n\x07paid_at\x18\r \x01(\x04H\x08\x88\x01\x01\x12\x1d\n\x10payment_preimage\x18\x0e \x01(\x0cH\t\x88\x01\x01\"?\n\x1aListinvoicesInvoicesStatus\x12\n\n\x06UNPAID\x10\x00\x12\x08\n\x04PAID\x10\x01\x12\x0b\n\x07\x45XPIRED\x10\x02\x42\x0e\n\x0c_descriptionB\x0e\n\x0c_amount_msatB\t\n\x07_bolt11B\t\n\x07_bolt12B\x11\n\x0f_local_offer_idB\x14\n\x12_invreq_payer_noteB\x0c\n\n_pay_indexB\x17\n\x15_amount_received_msatB\n\n\x08_paid_atB\x13\n\x11_payment_preimage\"\x8a\x03\n\x10SendonionRequest\x12\r\n\x05onion\x18\x01 \x01(\x0c\x12*\n\tfirst_hop\x18\x02 \x01(\x0b\x32\x17.cln.SendonionFirst_hop\x12\x14\n\x0cpayment_hash\x18\x03 \x01(\x0c\x12\x12\n\x05label\x18\x04 \x01(\tH\x00\x88\x01\x01\x12\x16\n\x0eshared_secrets\x18\x05 \x03(\x0c\x12\x13\n\x06partid\x18\x06 \x01(\rH\x01\x88\x01\x01\x12\x13\n\x06\x62olt11\x18\x07 \x01(\tH\x02\x88\x01\x01\x12%\n\x0b\x61mount_msat\x18\x0c \x01(\x0b\x32\x0b.cln.AmountH\x03\x88\x01\x01\x12\x18\n\x0b\x64\x65stination\x18\t \x01(\x0cH\x04\x88\x01\x01\x12\x1a\n\rlocalinvreqid\x18\r \x01(\x0cH\x05\x88\x01\x01\x12\x14\n\x07groupid\x18\x0b \x01(\x04H\x06\x88\x01\x01\x42\x08\n\x06_labelB\t\n\x07_partidB\t\n\x07_bolt11B\x0e\n\x0c_amount_msatB\x0e\n\x0c_destinationB\x10\n\x0e_localinvreqidB\n\n\x08_groupid\"\x8b\x04\n\x11SendonionResponse\x12\n\n\x02id\x18\x01 \x01(\x04\x12\x14\n\x0cpayment_hash\x18\x02 \x01(\x0c\x12\x36\n\x06status\x18\x03 \x01(\x0e\x32&.cln.SendonionResponse.SendonionStatus\x12%\n\x0b\x61mount_msat\x18\x04 \x01(\x0b\x32\x0b.cln.AmountH\x00\x88\x01\x01\x12\x18\n\x0b\x64\x65stination\x18\x05 \x01(\x0cH\x01\x88\x01\x01\x12\x12\n\ncreated_at\x18\x06 \x01(\x04\x12%\n\x10\x61mount_sent_msat\x18\x07 \x01(\x0b\x32\x0b.cln.Amount\x12\x12\n\x05label\x18\x08 \x01(\tH\x02\x88\x01\x01\x12\x13\n\x06\x62olt11\x18\t \x01(\tH\x03\x88\x01\x01\x12\x13\n\x06\x62olt12\x18\n \x01(\tH\x04\x88\x01\x01\x12\x13\n\x06partid\x18\r \x01(\x04H\x05\x88\x01\x01\x12\x1d\n\x10payment_preimage\x18\x0b \x01(\x0cH\x06\x88\x01\x01\x12\x14\n\x07message\x18\x0c \x01(\tH\x07\x88\x01\x01\",\n\x0fSendonionStatus\x12\x0b\n\x07PENDING\x10\x00\x12\x0c\n\x08\x43OMPLETE\x10\x01\x42\x0e\n\x0c_amount_msatB\x0e\n\x0c_destinationB\x08\n\x06_labelB\t\n\x07_bolt11B\t\n\x07_bolt12B\t\n\x07_partidB\x13\n\x11_payment_preimageB\n\n\x08_message\"Q\n\x12SendonionFirst_hop\x12\n\n\x02id\x18\x01 \x01(\x0c\x12 \n\x0b\x61mount_msat\x18\x02 \x01(\x0b\x32\x0b.cln.Amount\x12\r\n\x05\x64\x65lay\x18\x03 \x01(\r\"\xeb\x01\n\x13ListsendpaysRequest\x12\x13\n\x06\x62olt11\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x19\n\x0cpayment_hash\x18\x02 \x01(\x0cH\x01\x88\x01\x01\x12@\n\x06status\x18\x03 \x01(\x0e\x32+.cln.ListsendpaysRequest.ListsendpaysStatusH\x02\x88\x01\x01\";\n\x12ListsendpaysStatus\x12\x0b\n\x07PENDING\x10\x00\x12\x0c\n\x08\x43OMPLETE\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\x42\t\n\x07_bolt11B\x0f\n\r_payment_hashB\t\n\x07_status\"C\n\x14ListsendpaysResponse\x12+\n\x08payments\x18\x01 \x03(\x0b\x32\x19.cln.ListsendpaysPayments\"\xf4\x04\n\x14ListsendpaysPayments\x12\n\n\x02id\x18\x01 \x01(\x04\x12\x0f\n\x07groupid\x18\x02 \x01(\x04\x12\x13\n\x06partid\x18\x0f \x01(\x04H\x00\x88\x01\x01\x12\x14\n\x0cpayment_hash\x18\x03 \x01(\x0c\x12\x44\n\x06status\x18\x04 \x01(\x0e\x32\x34.cln.ListsendpaysPayments.ListsendpaysPaymentsStatus\x12%\n\x0b\x61mount_msat\x18\x05 \x01(\x0b\x32\x0b.cln.AmountH\x01\x88\x01\x01\x12\x18\n\x0b\x64\x65stination\x18\x06 \x01(\x0cH\x02\x88\x01\x01\x12\x12\n\ncreated_at\x18\x07 \x01(\x04\x12%\n\x10\x61mount_sent_msat\x18\x08 \x01(\x0b\x32\x0b.cln.Amount\x12\x12\n\x05label\x18\t \x01(\tH\x03\x88\x01\x01\x12\x13\n\x06\x62olt11\x18\n \x01(\tH\x04\x88\x01\x01\x12\x18\n\x0b\x64\x65scription\x18\x0e \x01(\tH\x05\x88\x01\x01\x12\x13\n\x06\x62olt12\x18\x0b \x01(\tH\x06\x88\x01\x01\x12\x1d\n\x10payment_preimage\x18\x0c \x01(\x0cH\x07\x88\x01\x01\x12\x17\n\nerroronion\x18\r \x01(\x0cH\x08\x88\x01\x01\"C\n\x1aListsendpaysPaymentsStatus\x12\x0b\n\x07PENDING\x10\x00\x12\n\n\x06\x46\x41ILED\x10\x01\x12\x0c\n\x08\x43OMPLETE\x10\x02\x42\t\n\x07_partidB\x0e\n\x0c_amount_msatB\x0e\n\x0c_destinationB\x08\n\x06_labelB\t\n\x07_bolt11B\x0e\n\x0c_descriptionB\t\n\x07_bolt12B\x13\n\x11_payment_preimageB\r\n\x0b_erroronion\"\x19\n\x17ListtransactionsRequest\"S\n\x18ListtransactionsResponse\x12\x37\n\x0ctransactions\x18\x01 \x03(\x0b\x32!.cln.ListtransactionsTransactions\"\xf8\x01\n\x1cListtransactionsTransactions\x12\x0c\n\x04hash\x18\x01 \x01(\x0c\x12\r\n\x05rawtx\x18\x02 \x01(\x0c\x12\x13\n\x0b\x62lockheight\x18\x03 \x01(\r\x12\x0f\n\x07txindex\x18\x04 \x01(\r\x12\x10\n\x08locktime\x18\x07 \x01(\r\x12\x0f\n\x07version\x18\x08 \x01(\r\x12\x37\n\x06inputs\x18\t \x03(\x0b\x32\'.cln.ListtransactionsTransactionsInputs\x12\x39\n\x07outputs\x18\n \x03(\x0b\x32(.cln.ListtransactionsTransactionsOutputs\"\x84\x04\n\"ListtransactionsTransactionsInputs\x12\x0c\n\x04txid\x18\x01 \x01(\x0c\x12\r\n\x05index\x18\x02 \x01(\r\x12\x10\n\x08sequence\x18\x03 \x01(\r\x12\x66\n\titem_type\x18\x04 \x01(\x0e\x32N.cln.ListtransactionsTransactionsInputs.ListtransactionsTransactionsInputsTypeH\x00\x88\x01\x01\x12\x14\n\x07\x63hannel\x18\x05 \x01(\tH\x01\x88\x01\x01\"\x96\x02\n&ListtransactionsTransactionsInputsType\x12\n\n\x06THEIRS\x10\x00\x12\x0b\n\x07\x44\x45POSIT\x10\x01\x12\x0c\n\x08WITHDRAW\x10\x02\x12\x13\n\x0f\x43HANNEL_FUNDING\x10\x03\x12\x18\n\x14\x43HANNEL_MUTUAL_CLOSE\x10\x04\x12\x1c\n\x18\x43HANNEL_UNILATERAL_CLOSE\x10\x05\x12\x11\n\rCHANNEL_SWEEP\x10\x06\x12\x18\n\x14\x43HANNEL_HTLC_SUCCESS\x10\x07\x12\x18\n\x14\x43HANNEL_HTLC_TIMEOUT\x10\x08\x12\x13\n\x0f\x43HANNEL_PENALTY\x10\t\x12\x1c\n\x18\x43HANNEL_UNILATERAL_CHEAT\x10\nB\x0c\n\n_item_typeB\n\n\x08_channel\"\xa0\x04\n#ListtransactionsTransactionsOutputs\x12\r\n\x05index\x18\x01 \x01(\r\x12 \n\x0b\x61mount_msat\x18\x06 \x01(\x0b\x32\x0b.cln.Amount\x12\x14\n\x0cscriptPubKey\x18\x03 \x01(\x0c\x12h\n\titem_type\x18\x04 \x01(\x0e\x32P.cln.ListtransactionsTransactionsOutputs.ListtransactionsTransactionsOutputsTypeH\x00\x88\x01\x01\x12\x14\n\x07\x63hannel\x18\x05 \x01(\tH\x01\x88\x01\x01\"\x97\x02\n\'ListtransactionsTransactionsOutputsType\x12\n\n\x06THEIRS\x10\x00\x12\x0b\n\x07\x44\x45POSIT\x10\x01\x12\x0c\n\x08WITHDRAW\x10\x02\x12\x13\n\x0f\x43HANNEL_FUNDING\x10\x03\x12\x18\n\x14\x43HANNEL_MUTUAL_CLOSE\x10\x04\x12\x1c\n\x18\x43HANNEL_UNILATERAL_CLOSE\x10\x05\x12\x11\n\rCHANNEL_SWEEP\x10\x06\x12\x18\n\x14\x43HANNEL_HTLC_SUCCESS\x10\x07\x12\x18\n\x14\x43HANNEL_HTLC_TIMEOUT\x10\x08\x12\x13\n\x0f\x43HANNEL_PENALTY\x10\t\x12\x1c\n\x18\x43HANNEL_UNILATERAL_CHEAT\x10\nB\x0c\n\n_item_typeB\n\n\x08_channel\"\xda\x03\n\nPayRequest\x12\x0e\n\x06\x62olt11\x18\x01 \x01(\t\x12%\n\x0b\x61mount_msat\x18\r \x01(\x0b\x32\x0b.cln.AmountH\x00\x88\x01\x01\x12\x12\n\x05label\x18\x03 \x01(\tH\x01\x88\x01\x01\x12\x17\n\nriskfactor\x18\x08 \x01(\x01H\x02\x88\x01\x01\x12\x1a\n\rmaxfeepercent\x18\x04 \x01(\x01H\x03\x88\x01\x01\x12\x16\n\tretry_for\x18\x05 \x01(\rH\x04\x88\x01\x01\x12\x15\n\x08maxdelay\x18\x06 \x01(\rH\x05\x88\x01\x01\x12#\n\texemptfee\x18\x07 \x01(\x0b\x32\x0b.cln.AmountH\x06\x88\x01\x01\x12\x1a\n\rlocalinvreqid\x18\x0e \x01(\x0cH\x07\x88\x01\x01\x12\x0f\n\x07\x65xclude\x18\n \x03(\t\x12 \n\x06maxfee\x18\x0b \x01(\x0b\x32\x0b.cln.AmountH\x08\x88\x01\x01\x12\x18\n\x0b\x64\x65scription\x18\x0c \x01(\tH\t\x88\x01\x01\x42\x0e\n\x0c_amount_msatB\x08\n\x06_labelB\r\n\x0b_riskfactorB\x10\n\x0e_maxfeepercentB\x0c\n\n_retry_forB\x0b\n\t_maxdelayB\x0c\n\n_exemptfeeB\x10\n\x0e_localinvreqidB\t\n\x07_maxfeeB\x0e\n\x0c_description\"\xfb\x02\n\x0bPayResponse\x12\x18\n\x10payment_preimage\x18\x01 \x01(\x0c\x12\x18\n\x0b\x64\x65stination\x18\x02 \x01(\x0cH\x00\x88\x01\x01\x12\x14\n\x0cpayment_hash\x18\x03 \x01(\x0c\x12\x12\n\ncreated_at\x18\x04 \x01(\x01\x12\r\n\x05parts\x18\x05 \x01(\r\x12 \n\x0b\x61mount_msat\x18\x06 \x01(\x0b\x32\x0b.cln.Amount\x12%\n\x10\x61mount_sent_msat\x18\x07 \x01(\x0b\x32\x0b.cln.Amount\x12\'\n\x1awarning_partial_completion\x18\x08 \x01(\tH\x01\x88\x01\x01\x12*\n\x06status\x18\t \x01(\x0e\x32\x1a.cln.PayResponse.PayStatus\"2\n\tPayStatus\x12\x0c\n\x08\x43OMPLETE\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\x42\x0e\n\x0c_destinationB\x1d\n\x1b_warning_partial_completion\"*\n\x10ListnodesRequest\x12\x0f\n\x02id\x18\x01 \x01(\x0cH\x00\x88\x01\x01\x42\x05\n\x03_id\"7\n\x11ListnodesResponse\x12\"\n\x05nodes\x18\x01 \x03(\x0b\x32\x13.cln.ListnodesNodes\"\xe1\x01\n\x0eListnodesNodes\x12\x0e\n\x06nodeid\x18\x01 \x01(\x0c\x12\x1b\n\x0elast_timestamp\x18\x02 \x01(\rH\x00\x88\x01\x01\x12\x12\n\x05\x61lias\x18\x03 \x01(\tH\x01\x88\x01\x01\x12\x12\n\x05\x63olor\x18\x04 \x01(\x0cH\x02\x88\x01\x01\x12\x15\n\x08\x66\x65\x61tures\x18\x05 \x01(\x0cH\x03\x88\x01\x01\x12/\n\taddresses\x18\x06 \x03(\x0b\x32\x1c.cln.ListnodesNodesAddressesB\x11\n\x0f_last_timestampB\x08\n\x06_aliasB\x08\n\x06_colorB\x0b\n\t_features\"\xf7\x01\n\x17ListnodesNodesAddresses\x12K\n\titem_type\x18\x01 \x01(\x0e\x32\x38.cln.ListnodesNodesAddresses.ListnodesNodesAddressesType\x12\x0c\n\x04port\x18\x02 \x01(\r\x12\x14\n\x07\x61\x64\x64ress\x18\x03 \x01(\tH\x00\x88\x01\x01\"_\n\x1bListnodesNodesAddressesType\x12\x07\n\x03\x44NS\x10\x00\x12\x08\n\x04IPV4\x10\x01\x12\x08\n\x04IPV6\x10\x02\x12\t\n\x05TORV2\x10\x03\x12\t\n\x05TORV3\x10\x04\x12\r\n\tWEBSOCKET\x10\x05\x42\n\n\x08_address\"g\n\x15WaitanyinvoiceRequest\x12\x1a\n\rlastpay_index\x18\x01 \x01(\x04H\x00\x88\x01\x01\x12\x14\n\x07timeout\x18\x02 \x01(\x04H\x01\x88\x01\x01\x42\x10\n\x0e_lastpay_indexB\n\n\x08_timeout\"\x93\x04\n\x16WaitanyinvoiceResponse\x12\r\n\x05label\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x14\n\x0cpayment_hash\x18\x03 \x01(\x0c\x12@\n\x06status\x18\x04 \x01(\x0e\x32\x30.cln.WaitanyinvoiceResponse.WaitanyinvoiceStatus\x12\x12\n\nexpires_at\x18\x05 \x01(\x04\x12%\n\x0b\x61mount_msat\x18\x06 \x01(\x0b\x32\x0b.cln.AmountH\x00\x88\x01\x01\x12\x13\n\x06\x62olt11\x18\x07 \x01(\tH\x01\x88\x01\x01\x12\x13\n\x06\x62olt12\x18\x08 \x01(\tH\x02\x88\x01\x01\x12\x16\n\tpay_index\x18\t \x01(\x04H\x03\x88\x01\x01\x12.\n\x14\x61mount_received_msat\x18\n \x01(\x0b\x32\x0b.cln.AmountH\x04\x88\x01\x01\x12\x14\n\x07paid_at\x18\x0b \x01(\x04H\x05\x88\x01\x01\x12\x1d\n\x10payment_preimage\x18\x0c \x01(\x0cH\x06\x88\x01\x01\"-\n\x14WaitanyinvoiceStatus\x12\x08\n\x04PAID\x10\x00\x12\x0b\n\x07\x45XPIRED\x10\x01\x42\x0e\n\x0c_amount_msatB\t\n\x07_bolt11B\t\n\x07_bolt12B\x0c\n\n_pay_indexB\x17\n\x15_amount_received_msatB\n\n\x08_paid_atB\x13\n\x11_payment_preimage\"#\n\x12WaitinvoiceRequest\x12\r\n\x05label\x18\x01 \x01(\t\"\x87\x04\n\x13WaitinvoiceResponse\x12\r\n\x05label\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x14\n\x0cpayment_hash\x18\x03 \x01(\x0c\x12:\n\x06status\x18\x04 \x01(\x0e\x32*.cln.WaitinvoiceResponse.WaitinvoiceStatus\x12\x12\n\nexpires_at\x18\x05 \x01(\x04\x12%\n\x0b\x61mount_msat\x18\x06 \x01(\x0b\x32\x0b.cln.AmountH\x00\x88\x01\x01\x12\x13\n\x06\x62olt11\x18\x07 \x01(\tH\x01\x88\x01\x01\x12\x13\n\x06\x62olt12\x18\x08 \x01(\tH\x02\x88\x01\x01\x12\x16\n\tpay_index\x18\t \x01(\x04H\x03\x88\x01\x01\x12.\n\x14\x61mount_received_msat\x18\n \x01(\x0b\x32\x0b.cln.AmountH\x04\x88\x01\x01\x12\x14\n\x07paid_at\x18\x0b \x01(\x04H\x05\x88\x01\x01\x12\x1d\n\x10payment_preimage\x18\x0c \x01(\x0cH\x06\x88\x01\x01\"*\n\x11WaitinvoiceStatus\x12\x08\n\x04PAID\x10\x00\x12\x0b\n\x07\x45XPIRED\x10\x01\x42\x0e\n\x0c_amount_msatB\t\n\x07_bolt11B\t\n\x07_bolt12B\x0c\n\n_pay_indexB\x17\n\x15_amount_received_msatB\n\n\x08_paid_atB\x13\n\x11_payment_preimage\"\x8e\x01\n\x12WaitsendpayRequest\x12\x14\n\x0cpayment_hash\x18\x01 \x01(\x0c\x12\x14\n\x07timeout\x18\x03 \x01(\rH\x00\x88\x01\x01\x12\x13\n\x06partid\x18\x02 \x01(\x04H\x01\x88\x01\x01\x12\x14\n\x07groupid\x18\x04 \x01(\x04H\x02\x88\x01\x01\x42\n\n\x08_timeoutB\t\n\x07_partidB\n\n\x08_groupid\"\xb2\x04\n\x13WaitsendpayResponse\x12\n\n\x02id\x18\x01 \x01(\x04\x12\x14\n\x07groupid\x18\x02 \x01(\x04H\x00\x88\x01\x01\x12\x14\n\x0cpayment_hash\x18\x03 \x01(\x0c\x12:\n\x06status\x18\x04 \x01(\x0e\x32*.cln.WaitsendpayResponse.WaitsendpayStatus\x12%\n\x0b\x61mount_msat\x18\x05 \x01(\x0b\x32\x0b.cln.AmountH\x01\x88\x01\x01\x12\x18\n\x0b\x64\x65stination\x18\x06 \x01(\x0cH\x02\x88\x01\x01\x12\x12\n\ncreated_at\x18\x07 \x01(\x04\x12\x19\n\x0c\x63ompleted_at\x18\x0e \x01(\x01H\x03\x88\x01\x01\x12%\n\x10\x61mount_sent_msat\x18\x08 \x01(\x0b\x32\x0b.cln.Amount\x12\x12\n\x05label\x18\t \x01(\tH\x04\x88\x01\x01\x12\x13\n\x06partid\x18\n \x01(\x04H\x05\x88\x01\x01\x12\x13\n\x06\x62olt11\x18\x0b \x01(\tH\x06\x88\x01\x01\x12\x13\n\x06\x62olt12\x18\x0c \x01(\tH\x07\x88\x01\x01\x12\x1d\n\x10payment_preimage\x18\r \x01(\x0cH\x08\x88\x01\x01\"!\n\x11WaitsendpayStatus\x12\x0c\n\x08\x43OMPLETE\x10\x00\x42\n\n\x08_groupidB\x0e\n\x0c_amount_msatB\x0e\n\x0c_destinationB\x0f\n\r_completed_atB\x08\n\x06_labelB\t\n\x07_partidB\t\n\x07_bolt11B\t\n\x07_bolt12B\x13\n\x11_payment_preimage\"\x8d\x01\n\x0eNewaddrRequest\x12@\n\x0b\x61\x64\x64resstype\x18\x01 \x01(\x0e\x32&.cln.NewaddrRequest.NewaddrAddresstypeH\x00\x88\x01\x01\")\n\x12NewaddrAddresstype\x12\n\n\x06\x42\x45\x43H32\x10\x00\x12\x07\n\x03\x41LL\x10\x02\x42\x0e\n\x0c_addresstype\"[\n\x0fNewaddrResponse\x12\x13\n\x06\x62\x65\x63h32\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x18\n\x0bp2sh_segwit\x18\x02 \x01(\tH\x01\x88\x01\x01\x42\t\n\x07_bech32B\x0e\n\x0c_p2sh_segwit\"\xca\x01\n\x0fWithdrawRequest\x12\x13\n\x0b\x64\x65stination\x18\x01 \x01(\t\x12&\n\x07satoshi\x18\x02 \x01(\x0b\x32\x10.cln.AmountOrAllH\x00\x88\x01\x01\x12\"\n\x07\x66\x65\x65rate\x18\x05 \x01(\x0b\x32\x0c.cln.FeerateH\x01\x88\x01\x01\x12\x14\n\x07minconf\x18\x03 \x01(\rH\x02\x88\x01\x01\x12\x1c\n\x05utxos\x18\x04 \x03(\x0b\x32\r.cln.OutpointB\n\n\x08_satoshiB\n\n\x08_feerateB\n\n\x08_minconf\":\n\x10WithdrawResponse\x12\n\n\x02tx\x18\x01 \x01(\x0c\x12\x0c\n\x04txid\x18\x02 \x01(\x0c\x12\x0c\n\x04psbt\x18\x03 \x01(\t\"\x82\x03\n\x0eKeysendRequest\x12\x13\n\x0b\x64\x65stination\x18\x01 \x01(\x0c\x12 \n\x0b\x61mount_msat\x18\n \x01(\x0b\x32\x0b.cln.Amount\x12\x12\n\x05label\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x1a\n\rmaxfeepercent\x18\x04 \x01(\x01H\x01\x88\x01\x01\x12\x16\n\tretry_for\x18\x05 \x01(\rH\x02\x88\x01\x01\x12\x15\n\x08maxdelay\x18\x06 \x01(\rH\x03\x88\x01\x01\x12#\n\texemptfee\x18\x07 \x01(\x0b\x32\x0b.cln.AmountH\x04\x88\x01\x01\x12+\n\nroutehints\x18\x08 \x01(\x0b\x32\x12.cln.RoutehintListH\x05\x88\x01\x01\x12&\n\textratlvs\x18\t \x01(\x0b\x32\x0e.cln.TlvStreamH\x06\x88\x01\x01\x42\x08\n\x06_labelB\x10\n\x0e_maxfeepercentB\x0c\n\n_retry_forB\x0b\n\t_maxdelayB\x0c\n\n_exemptfeeB\r\n\x0b_routehintsB\x0c\n\n_extratlvs\"\xf2\x02\n\x0fKeysendResponse\x12\x18\n\x10payment_preimage\x18\x01 \x01(\x0c\x12\x18\n\x0b\x64\x65stination\x18\x02 \x01(\x0cH\x00\x88\x01\x01\x12\x14\n\x0cpayment_hash\x18\x03 \x01(\x0c\x12\x12\n\ncreated_at\x18\x04 \x01(\x01\x12\r\n\x05parts\x18\x05 \x01(\r\x12 \n\x0b\x61mount_msat\x18\x06 \x01(\x0b\x32\x0b.cln.Amount\x12%\n\x10\x61mount_sent_msat\x18\x07 \x01(\x0b\x32\x0b.cln.Amount\x12\'\n\x1awarning_partial_completion\x18\x08 \x01(\tH\x01\x88\x01\x01\x12\x32\n\x06status\x18\t \x01(\x0e\x32\".cln.KeysendResponse.KeysendStatus\"\x1d\n\rKeysendStatus\x12\x0c\n\x08\x43OMPLETE\x10\x00\x42\x0e\n\x0c_destinationB\x1d\n\x1b_warning_partial_completion\"\xbc\x02\n\x0f\x46undpsbtRequest\x12!\n\x07satoshi\x18\x01 \x01(\x0b\x32\x10.cln.AmountOrAll\x12\x1d\n\x07\x66\x65\x65rate\x18\x02 \x01(\x0b\x32\x0c.cln.Feerate\x12\x13\n\x0bstartweight\x18\x03 \x01(\r\x12\x14\n\x07minconf\x18\x04 \x01(\rH\x00\x88\x01\x01\x12\x14\n\x07reserve\x18\x05 \x01(\rH\x01\x88\x01\x01\x12\x15\n\x08locktime\x18\x06 \x01(\rH\x02\x88\x01\x01\x12\x1f\n\x12min_witness_weight\x18\x07 \x01(\rH\x03\x88\x01\x01\x12\x1d\n\x10\x65xcess_as_change\x18\x08 \x01(\x08H\x04\x88\x01\x01\x42\n\n\x08_minconfB\n\n\x08_reserveB\x0b\n\t_locktimeB\x15\n\x13_min_witness_weightB\x13\n\x11_excess_as_change\"\xd9\x01\n\x10\x46undpsbtResponse\x12\x0c\n\x04psbt\x18\x01 \x01(\t\x12\x16\n\x0e\x66\x65\x65rate_per_kw\x18\x02 \x01(\r\x12\x1e\n\x16\x65stimated_final_weight\x18\x03 \x01(\r\x12 \n\x0b\x65xcess_msat\x18\x04 \x01(\x0b\x32\x0b.cln.Amount\x12\x1a\n\rchange_outnum\x18\x05 \x01(\rH\x00\x88\x01\x01\x12/\n\x0creservations\x18\x06 \x03(\x0b\x32\x19.cln.FundpsbtReservationsB\x10\n\x0e_change_outnum\"u\n\x14\x46undpsbtReservations\x12\x0c\n\x04txid\x18\x01 \x01(\x0c\x12\x0c\n\x04vout\x18\x02 \x01(\r\x12\x14\n\x0cwas_reserved\x18\x03 \x01(\x08\x12\x10\n\x08reserved\x18\x04 \x01(\x08\x12\x19\n\x11reserved_to_block\x18\x05 \x01(\r\"A\n\x0fSendpsbtRequest\x12\x0c\n\x04psbt\x18\x01 \x01(\t\x12\x14\n\x07reserve\x18\x02 \x01(\x08H\x00\x88\x01\x01\x42\n\n\x08_reserve\",\n\x10SendpsbtResponse\x12\n\n\x02tx\x18\x01 \x01(\x0c\x12\x0c\n\x04txid\x18\x02 \x01(\x0c\"1\n\x0fSignpsbtRequest\x12\x0c\n\x04psbt\x18\x01 \x01(\t\x12\x10\n\x08signonly\x18\x02 \x03(\r\"\'\n\x10SignpsbtResponse\x12\x13\n\x0bsigned_psbt\x18\x01 \x01(\t\"\xdb\x02\n\x0fUtxopsbtRequest\x12\x1c\n\x07satoshi\x18\x01 \x01(\x0b\x32\x0b.cln.Amount\x12\x1d\n\x07\x66\x65\x65rate\x18\x02 \x01(\x0b\x32\x0c.cln.Feerate\x12\x13\n\x0bstartweight\x18\x03 \x01(\r\x12\x1c\n\x05utxos\x18\x04 \x03(\x0b\x32\r.cln.Outpoint\x12\x14\n\x07reserve\x18\x05 \x01(\rH\x00\x88\x01\x01\x12\x17\n\nreservedok\x18\x08 \x01(\x08H\x01\x88\x01\x01\x12\x15\n\x08locktime\x18\x06 \x01(\rH\x02\x88\x01\x01\x12\x1f\n\x12min_witness_weight\x18\x07 \x01(\rH\x03\x88\x01\x01\x12\x1d\n\x10\x65xcess_as_change\x18\t \x01(\x08H\x04\x88\x01\x01\x42\n\n\x08_reserveB\r\n\x0b_reservedokB\x0b\n\t_locktimeB\x15\n\x13_min_witness_weightB\x13\n\x11_excess_as_change\"\xd9\x01\n\x10UtxopsbtResponse\x12\x0c\n\x04psbt\x18\x01 \x01(\t\x12\x16\n\x0e\x66\x65\x65rate_per_kw\x18\x02 \x01(\r\x12\x1e\n\x16\x65stimated_final_weight\x18\x03 \x01(\r\x12 \n\x0b\x65xcess_msat\x18\x04 \x01(\x0b\x32\x0b.cln.Amount\x12\x1a\n\rchange_outnum\x18\x05 \x01(\rH\x00\x88\x01\x01\x12/\n\x0creservations\x18\x06 \x03(\x0b\x32\x19.cln.UtxopsbtReservationsB\x10\n\x0e_change_outnum\"u\n\x14UtxopsbtReservations\x12\x0c\n\x04txid\x18\x01 \x01(\x0c\x12\x0c\n\x04vout\x18\x02 \x01(\r\x12\x14\n\x0cwas_reserved\x18\x03 \x01(\x08\x12\x10\n\x08reserved\x18\x04 \x01(\x08\x12\x19\n\x11reserved_to_block\x18\x05 \x01(\r\" \n\x10TxdiscardRequest\x12\x0c\n\x04txid\x18\x01 \x01(\x0c\"6\n\x11TxdiscardResponse\x12\x13\n\x0bunsigned_tx\x18\x01 \x01(\x0c\x12\x0c\n\x04txid\x18\x02 \x01(\x0c\"\xa4\x01\n\x10TxprepareRequest\x12 \n\x07outputs\x18\x05 \x03(\x0b\x32\x0f.cln.OutputDesc\x12\"\n\x07\x66\x65\x65rate\x18\x02 \x01(\x0b\x32\x0c.cln.FeerateH\x00\x88\x01\x01\x12\x14\n\x07minconf\x18\x03 \x01(\rH\x01\x88\x01\x01\x12\x1c\n\x05utxos\x18\x04 \x03(\x0b\x32\r.cln.OutpointB\n\n\x08_feerateB\n\n\x08_minconf\"D\n\x11TxprepareResponse\x12\x0c\n\x04psbt\x18\x01 \x01(\t\x12\x13\n\x0bunsigned_tx\x18\x02 \x01(\x0c\x12\x0c\n\x04txid\x18\x03 \x01(\x0c\"\x1d\n\rTxsendRequest\x12\x0c\n\x04txid\x18\x01 \x01(\x0c\"8\n\x0eTxsendResponse\x12\x0c\n\x04psbt\x18\x01 \x01(\t\x12\n\n\x02tx\x18\x02 \x01(\x0c\x12\x0c\n\x04txid\x18\x03 \x01(\x0c\"=\n\x11\x44isconnectRequest\x12\n\n\x02id\x18\x01 \x01(\x0c\x12\x12\n\x05\x66orce\x18\x02 \x01(\x08H\x00\x88\x01\x01\x42\x08\n\x06_force\"\x14\n\x12\x44isconnectResponse\"k\n\x0f\x46\x65\x65ratesRequest\x12\x31\n\x05style\x18\x01 \x01(\x0e\x32\".cln.FeeratesRequest.FeeratesStyle\"%\n\rFeeratesStyle\x12\t\n\x05PERKB\x10\x00\x12\t\n\x05PERKW\x10\x01\"\x9c\x02\n\x10\x46\x65\x65ratesResponse\x12%\n\x18warning_missing_feerates\x18\x01 \x01(\tH\x00\x88\x01\x01\x12&\n\x05perkb\x18\x02 \x01(\x0b\x32\x12.cln.FeeratesPerkbH\x01\x88\x01\x01\x12&\n\x05perkw\x18\x03 \x01(\x0b\x32\x12.cln.FeeratesPerkwH\x02\x88\x01\x01\x12\x46\n\x15onchain_fee_estimates\x18\x04 \x01(\x0b\x32\".cln.FeeratesOnchain_fee_estimatesH\x03\x88\x01\x01\x42\x1b\n\x19_warning_missing_feeratesB\x08\n\x06_perkbB\x08\n\x06_perkwB\x18\n\x16_onchain_fee_estimates\"\xc3\x02\n\rFeeratesPerkb\x12\x16\n\x0emin_acceptable\x18\x01 \x01(\r\x12\x16\n\x0emax_acceptable\x18\x02 \x01(\r\x12\x14\n\x07opening\x18\x03 \x01(\rH\x00\x88\x01\x01\x12\x19\n\x0cmutual_close\x18\x04 \x01(\rH\x01\x88\x01\x01\x12\x1d\n\x10unilateral_close\x18\x05 \x01(\rH\x02\x88\x01\x01\x12\x1a\n\rdelayed_to_us\x18\x06 \x01(\rH\x03\x88\x01\x01\x12\x1c\n\x0fhtlc_resolution\x18\x07 \x01(\rH\x04\x88\x01\x01\x12\x14\n\x07penalty\x18\x08 \x01(\rH\x05\x88\x01\x01\x42\n\n\x08_openingB\x0f\n\r_mutual_closeB\x13\n\x11_unilateral_closeB\x10\n\x0e_delayed_to_usB\x12\n\x10_htlc_resolutionB\n\n\x08_penalty\"\xc3\x02\n\rFeeratesPerkw\x12\x16\n\x0emin_acceptable\x18\x01 \x01(\r\x12\x16\n\x0emax_acceptable\x18\x02 \x01(\r\x12\x14\n\x07opening\x18\x03 \x01(\rH\x00\x88\x01\x01\x12\x19\n\x0cmutual_close\x18\x04 \x01(\rH\x01\x88\x01\x01\x12\x1d\n\x10unilateral_close\x18\x05 \x01(\rH\x02\x88\x01\x01\x12\x1a\n\rdelayed_to_us\x18\x06 \x01(\rH\x03\x88\x01\x01\x12\x1c\n\x0fhtlc_resolution\x18\x07 \x01(\rH\x04\x88\x01\x01\x12\x14\n\x07penalty\x18\x08 \x01(\rH\x05\x88\x01\x01\x42\n\n\x08_openingB\x0f\n\r_mutual_closeB\x13\n\x11_unilateral_closeB\x10\n\x0e_delayed_to_usB\x12\n\x10_htlc_resolutionB\n\n\x08_penalty\"\xc1\x01\n\x1d\x46\x65\x65ratesOnchain_fee_estimates\x12 \n\x18opening_channel_satoshis\x18\x01 \x01(\x04\x12\x1d\n\x15mutual_close_satoshis\x18\x02 \x01(\x04\x12!\n\x19unilateral_close_satoshis\x18\x03 \x01(\x04\x12\x1d\n\x15htlc_timeout_satoshis\x18\x04 \x01(\x04\x12\x1d\n\x15htlc_success_satoshis\x18\x05 \x01(\x04\"\xe5\x03\n\x12\x46undchannelRequest\x12\n\n\x02id\x18\t \x01(\x0c\x12 \n\x06\x61mount\x18\x01 \x01(\x0b\x32\x10.cln.AmountOrAll\x12\"\n\x07\x66\x65\x65rate\x18\x02 \x01(\x0b\x32\x0c.cln.FeerateH\x00\x88\x01\x01\x12\x15\n\x08\x61nnounce\x18\x03 \x01(\x08H\x01\x88\x01\x01\x12\x14\n\x07minconf\x18\n \x01(\rH\x02\x88\x01\x01\x12#\n\tpush_msat\x18\x05 \x01(\x0b\x32\x0b.cln.AmountH\x03\x88\x01\x01\x12\x15\n\x08\x63lose_to\x18\x06 \x01(\tH\x04\x88\x01\x01\x12%\n\x0brequest_amt\x18\x07 \x01(\x0b\x32\x0b.cln.AmountH\x05\x88\x01\x01\x12\x1a\n\rcompact_lease\x18\x08 \x01(\tH\x06\x88\x01\x01\x12\x1c\n\x05utxos\x18\x0b \x03(\x0b\x32\r.cln.Outpoint\x12\x15\n\x08mindepth\x18\x0c \x01(\rH\x07\x88\x01\x01\x12!\n\x07reserve\x18\r \x01(\x0b\x32\x0b.cln.AmountH\x08\x88\x01\x01\x42\n\n\x08_feerateB\x0b\n\t_announceB\n\n\x08_minconfB\x0c\n\n_push_msatB\x0b\n\t_close_toB\x0e\n\x0c_request_amtB\x10\n\x0e_compact_leaseB\x0b\n\t_mindepthB\n\n\x08_reserve\"\x9b\x01\n\x13\x46undchannelResponse\x12\n\n\x02tx\x18\x01 \x01(\x0c\x12\x0c\n\x04txid\x18\x02 \x01(\x0c\x12\x0e\n\x06outnum\x18\x03 \x01(\r\x12\x12\n\nchannel_id\x18\x04 \x01(\x0c\x12\x15\n\x08\x63lose_to\x18\x05 \x01(\x0cH\x00\x88\x01\x01\x12\x15\n\x08mindepth\x18\x06 \x01(\rH\x01\x88\x01\x01\x42\x0b\n\t_close_toB\x0b\n\t_mindepth\"\xec\x01\n\x0fGetrouteRequest\x12\n\n\x02id\x18\x01 \x01(\x0c\x12 \n\x0b\x61mount_msat\x18\t \x01(\x0b\x32\x0b.cln.Amount\x12\x12\n\nriskfactor\x18\x03 \x01(\x04\x12\x11\n\x04\x63ltv\x18\x04 \x01(\x01H\x00\x88\x01\x01\x12\x13\n\x06\x66romid\x18\x05 \x01(\x0cH\x01\x88\x01\x01\x12\x18\n\x0b\x66uzzpercent\x18\x06 \x01(\rH\x02\x88\x01\x01\x12\x0f\n\x07\x65xclude\x18\x07 \x03(\t\x12\x14\n\x07maxhops\x18\x08 \x01(\rH\x03\x88\x01\x01\x42\x07\n\x05_cltvB\t\n\x07_fromidB\x0e\n\x0c_fuzzpercentB\n\n\x08_maxhops\"5\n\x10GetrouteResponse\x12!\n\x05route\x18\x01 \x03(\x0b\x32\x12.cln.GetrouteRoute\"\xe9\x01\n\rGetrouteRoute\x12\n\n\x02id\x18\x01 \x01(\x0c\x12\x0f\n\x07\x63hannel\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\r\x12\x15\n\x08msatoshi\x18\x07 \x01(\x04H\x00\x88\x01\x01\x12 \n\x0b\x61mount_msat\x18\x04 \x01(\x0b\x32\x0b.cln.Amount\x12\r\n\x05\x64\x65lay\x18\x05 \x01(\r\x12\x34\n\x05style\x18\x06 \x01(\x0e\x32%.cln.GetrouteRoute.GetrouteRouteStyle\"\x1d\n\x12GetrouteRouteStyle\x12\x07\n\x03TLV\x10\x00\x42\x0b\n\t_msatoshi\"\x82\x02\n\x13ListforwardsRequest\x12@\n\x06status\x18\x01 \x01(\x0e\x32+.cln.ListforwardsRequest.ListforwardsStatusH\x00\x88\x01\x01\x12\x17\n\nin_channel\x18\x02 \x01(\tH\x01\x88\x01\x01\x12\x18\n\x0bout_channel\x18\x03 \x01(\tH\x02\x88\x01\x01\"L\n\x12ListforwardsStatus\x12\x0b\n\x07OFFERED\x10\x00\x12\x0b\n\x07SETTLED\x10\x01\x12\x10\n\x0cLOCAL_FAILED\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\x42\t\n\x07_statusB\r\n\x0b_in_channelB\x0e\n\x0c_out_channel\"C\n\x14ListforwardsResponse\x12+\n\x08\x66orwards\x18\x01 \x03(\x0b\x32\x19.cln.ListforwardsForwards\"\xde\x04\n\x14ListforwardsForwards\x12\x12\n\nin_channel\x18\x01 \x01(\t\x12\x17\n\nin_htlc_id\x18\n \x01(\x04H\x00\x88\x01\x01\x12\x1c\n\x07in_msat\x18\x02 \x01(\x0b\x32\x0b.cln.Amount\x12\x44\n\x06status\x18\x03 \x01(\x0e\x32\x34.cln.ListforwardsForwards.ListforwardsForwardsStatus\x12\x15\n\rreceived_time\x18\x04 \x01(\x01\x12\x18\n\x0bout_channel\x18\x05 \x01(\tH\x01\x88\x01\x01\x12\x18\n\x0bout_htlc_id\x18\x0b \x01(\x04H\x02\x88\x01\x01\x12G\n\x05style\x18\t \x01(\x0e\x32\x33.cln.ListforwardsForwards.ListforwardsForwardsStyleH\x03\x88\x01\x01\x12\"\n\x08\x66\x65\x65_msat\x18\x07 \x01(\x0b\x32\x0b.cln.AmountH\x04\x88\x01\x01\x12\"\n\x08out_msat\x18\x08 \x01(\x0b\x32\x0b.cln.AmountH\x05\x88\x01\x01\"T\n\x1aListforwardsForwardsStatus\x12\x0b\n\x07OFFERED\x10\x00\x12\x0b\n\x07SETTLED\x10\x01\x12\x10\n\x0cLOCAL_FAILED\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\"0\n\x19ListforwardsForwardsStyle\x12\n\n\x06LEGACY\x10\x00\x12\x07\n\x03TLV\x10\x01\x42\r\n\x0b_in_htlc_idB\x0e\n\x0c_out_channelB\x0e\n\x0c_out_htlc_idB\x08\n\x06_styleB\x0b\n\t_fee_msatB\x0b\n\t_out_msat\"\xdb\x01\n\x0fListpaysRequest\x12\x13\n\x06\x62olt11\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x19\n\x0cpayment_hash\x18\x02 \x01(\x0cH\x01\x88\x01\x01\x12\x38\n\x06status\x18\x03 \x01(\x0e\x32#.cln.ListpaysRequest.ListpaysStatusH\x02\x88\x01\x01\"7\n\x0eListpaysStatus\x12\x0b\n\x07PENDING\x10\x00\x12\x0c\n\x08\x43OMPLETE\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\x42\t\n\x07_bolt11B\x0f\n\r_payment_hashB\t\n\x07_status\"3\n\x10ListpaysResponse\x12\x1f\n\x04pays\x18\x01 \x03(\x0b\x32\x11.cln.ListpaysPays\"\x87\x04\n\x0cListpaysPays\x12\x14\n\x0cpayment_hash\x18\x01 \x01(\x0c\x12\x34\n\x06status\x18\x02 \x01(\x0e\x32$.cln.ListpaysPays.ListpaysPaysStatus\x12\x18\n\x0b\x64\x65stination\x18\x03 \x01(\x0cH\x00\x88\x01\x01\x12\x12\n\ncreated_at\x18\x04 \x01(\x04\x12\x19\n\x0c\x63ompleted_at\x18\x0c \x01(\x04H\x01\x88\x01\x01\x12\x12\n\x05label\x18\x05 \x01(\tH\x02\x88\x01\x01\x12\x13\n\x06\x62olt11\x18\x06 \x01(\tH\x03\x88\x01\x01\x12\x18\n\x0b\x64\x65scription\x18\x0b \x01(\tH\x04\x88\x01\x01\x12\x13\n\x06\x62olt12\x18\x07 \x01(\tH\x05\x88\x01\x01\x12\x15\n\x08preimage\x18\r \x01(\x0cH\x06\x88\x01\x01\x12\x1c\n\x0fnumber_of_parts\x18\x0e \x01(\x04H\x07\x88\x01\x01\x12\x17\n\nerroronion\x18\n \x01(\x0cH\x08\x88\x01\x01\";\n\x12ListpaysPaysStatus\x12\x0b\n\x07PENDING\x10\x00\x12\n\n\x06\x46\x41ILED\x10\x01\x12\x0c\n\x08\x43OMPLETE\x10\x02\x42\x0e\n\x0c_destinationB\x0f\n\r_completed_atB\x08\n\x06_labelB\t\n\x07_bolt11B\x0e\n\x0c_descriptionB\t\n\x07_bolt12B\x0b\n\t_preimageB\x12\n\x10_number_of_partsB\r\n\x0b_erroronion\"Y\n\x0bPingRequest\x12\n\n\x02id\x18\x01 \x01(\x0c\x12\x10\n\x03len\x18\x02 \x01(\rH\x00\x88\x01\x01\x12\x16\n\tpongbytes\x18\x03 \x01(\rH\x01\x88\x01\x01\x42\x06\n\x04_lenB\x0c\n\n_pongbytes\"\x1e\n\x0cPingResponse\x12\x0e\n\x06totlen\x18\x01 \x01(\r\"4\n\x14SendcustommsgRequest\x12\x0f\n\x07node_id\x18\x01 \x01(\x0c\x12\x0b\n\x03msg\x18\x02 \x01(\x0c\"\'\n\x15SendcustommsgResponse\x12\x0e\n\x06status\x18\x01 \x01(\t\"\xf8\x01\n\x11SetchannelRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12!\n\x07\x66\x65\x65\x62\x61se\x18\x02 \x01(\x0b\x32\x0b.cln.AmountH\x00\x88\x01\x01\x12\x13\n\x06\x66\x65\x65ppm\x18\x03 \x01(\rH\x01\x88\x01\x01\x12!\n\x07htlcmin\x18\x04 \x01(\x0b\x32\x0b.cln.AmountH\x02\x88\x01\x01\x12!\n\x07htlcmax\x18\x05 \x01(\x0b\x32\x0b.cln.AmountH\x03\x88\x01\x01\x12\x19\n\x0c\x65nforcedelay\x18\x06 \x01(\rH\x04\x88\x01\x01\x42\n\n\x08_feebaseB\t\n\x07_feeppmB\n\n\x08_htlcminB\n\n\x08_htlcmaxB\x0f\n\r_enforcedelay\"?\n\x12SetchannelResponse\x12)\n\x08\x63hannels\x18\x01 \x03(\x0b\x32\x17.cln.SetchannelChannels\"\x94\x03\n\x12SetchannelChannels\x12\x0f\n\x07peer_id\x18\x01 \x01(\x0c\x12\x12\n\nchannel_id\x18\x02 \x01(\x0c\x12\x1d\n\x10short_channel_id\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\"\n\rfee_base_msat\x18\x04 \x01(\x0b\x32\x0b.cln.Amount\x12#\n\x1b\x66\x65\x65_proportional_millionths\x18\x05 \x01(\r\x12*\n\x15minimum_htlc_out_msat\x18\x06 \x01(\x0b\x32\x0b.cln.Amount\x12$\n\x17warning_htlcmin_too_low\x18\x07 \x01(\tH\x01\x88\x01\x01\x12*\n\x15maximum_htlc_out_msat\x18\x08 \x01(\x0b\x32\x0b.cln.Amount\x12%\n\x18warning_htlcmax_too_high\x18\t \x01(\tH\x02\x88\x01\x01\x42\x13\n\x11_short_channel_idB\x1a\n\x18_warning_htlcmin_too_lowB\x1b\n\x19_warning_htlcmax_too_high\"\'\n\x12SigninvoiceRequest\x12\x11\n\tinvstring\x18\x01 \x01(\t\"%\n\x13SigninvoiceResponse\x12\x0e\n\x06\x62olt11\x18\x01 \x01(\t\"%\n\x12SignmessageRequest\x12\x0f\n\x07message\x18\x01 \x01(\t\"F\n\x13SignmessageResponse\x12\x11\n\tsignature\x18\x01 \x01(\x0c\x12\r\n\x05recid\x18\x02 \x01(\x0c\x12\r\n\x05zbase\x18\x03 \x01(\t\"\r\n\x0bStopRequest\"\x0e\n\x0cStopResponse2\xbf\x18\n\x04Node\x12\x36\n\x07Getinfo\x12\x13.cln.GetinfoRequest\x1a\x14.cln.GetinfoResponse\"\x00\x12<\n\tListPeers\x12\x15.cln.ListpeersRequest\x1a\x16.cln.ListpeersResponse\"\x00\x12<\n\tListFunds\x12\x15.cln.ListfundsRequest\x1a\x16.cln.ListfundsResponse\"\x00\x12\x36\n\x07SendPay\x12\x13.cln.SendpayRequest\x1a\x14.cln.SendpayResponse\"\x00\x12\x45\n\x0cListChannels\x12\x18.cln.ListchannelsRequest\x1a\x19.cln.ListchannelsResponse\"\x00\x12<\n\tAddGossip\x12\x15.cln.AddgossipRequest\x1a\x16.cln.AddgossipResponse\"\x00\x12Q\n\x10\x41utoCleanInvoice\x12\x1c.cln.AutocleaninvoiceRequest\x1a\x1d.cln.AutocleaninvoiceResponse\"\x00\x12\x45\n\x0c\x43heckMessage\x12\x18.cln.CheckmessageRequest\x1a\x19.cln.CheckmessageResponse\"\x00\x12\x30\n\x05\x43lose\x12\x11.cln.CloseRequest\x1a\x12.cln.CloseResponse\"\x00\x12:\n\x0b\x43onnectPeer\x12\x13.cln.ConnectRequest\x1a\x14.cln.ConnectResponse\"\x00\x12H\n\rCreateInvoice\x12\x19.cln.CreateinvoiceRequest\x1a\x1a.cln.CreateinvoiceResponse\"\x00\x12<\n\tDatastore\x12\x15.cln.DatastoreRequest\x1a\x16.cln.DatastoreResponse\"\x00\x12\x42\n\x0b\x43reateOnion\x12\x17.cln.CreateonionRequest\x1a\x18.cln.CreateonionResponse\"\x00\x12\x45\n\x0c\x44\x65lDatastore\x12\x18.cln.DeldatastoreRequest\x1a\x19.cln.DeldatastoreResponse\"\x00\x12T\n\x11\x44\x65lExpiredInvoice\x12\x1d.cln.DelexpiredinvoiceRequest\x1a\x1e.cln.DelexpiredinvoiceResponse\"\x00\x12?\n\nDelInvoice\x12\x16.cln.DelinvoiceRequest\x1a\x17.cln.DelinvoiceResponse\"\x00\x12\x36\n\x07Invoice\x12\x13.cln.InvoiceRequest\x1a\x14.cln.InvoiceResponse\"\x00\x12H\n\rListDatastore\x12\x19.cln.ListdatastoreRequest\x1a\x1a.cln.ListdatastoreResponse\"\x00\x12\x45\n\x0cListInvoices\x12\x18.cln.ListinvoicesRequest\x1a\x19.cln.ListinvoicesResponse\"\x00\x12<\n\tSendOnion\x12\x15.cln.SendonionRequest\x1a\x16.cln.SendonionResponse\"\x00\x12\x45\n\x0cListSendPays\x12\x18.cln.ListsendpaysRequest\x1a\x19.cln.ListsendpaysResponse\"\x00\x12Q\n\x10ListTransactions\x12\x1c.cln.ListtransactionsRequest\x1a\x1d.cln.ListtransactionsResponse\"\x00\x12*\n\x03Pay\x12\x0f.cln.PayRequest\x1a\x10.cln.PayResponse\"\x00\x12<\n\tListNodes\x12\x15.cln.ListnodesRequest\x1a\x16.cln.ListnodesResponse\"\x00\x12K\n\x0eWaitAnyInvoice\x12\x1a.cln.WaitanyinvoiceRequest\x1a\x1b.cln.WaitanyinvoiceResponse\"\x00\x12\x42\n\x0bWaitInvoice\x12\x17.cln.WaitinvoiceRequest\x1a\x18.cln.WaitinvoiceResponse\"\x00\x12\x42\n\x0bWaitSendPay\x12\x17.cln.WaitsendpayRequest\x1a\x18.cln.WaitsendpayResponse\"\x00\x12\x36\n\x07NewAddr\x12\x13.cln.NewaddrRequest\x1a\x14.cln.NewaddrResponse\"\x00\x12\x39\n\x08Withdraw\x12\x14.cln.WithdrawRequest\x1a\x15.cln.WithdrawResponse\"\x00\x12\x36\n\x07KeySend\x12\x13.cln.KeysendRequest\x1a\x14.cln.KeysendResponse\"\x00\x12\x39\n\x08\x46undPsbt\x12\x14.cln.FundpsbtRequest\x1a\x15.cln.FundpsbtResponse\"\x00\x12\x39\n\x08SendPsbt\x12\x14.cln.SendpsbtRequest\x1a\x15.cln.SendpsbtResponse\"\x00\x12\x39\n\x08SignPsbt\x12\x14.cln.SignpsbtRequest\x1a\x15.cln.SignpsbtResponse\"\x00\x12\x39\n\x08UtxoPsbt\x12\x14.cln.UtxopsbtRequest\x1a\x15.cln.UtxopsbtResponse\"\x00\x12<\n\tTxDiscard\x12\x15.cln.TxdiscardRequest\x1a\x16.cln.TxdiscardResponse\"\x00\x12<\n\tTxPrepare\x12\x15.cln.TxprepareRequest\x1a\x16.cln.TxprepareResponse\"\x00\x12\x33\n\x06TxSend\x12\x12.cln.TxsendRequest\x1a\x13.cln.TxsendResponse\"\x00\x12?\n\nDisconnect\x12\x16.cln.DisconnectRequest\x1a\x17.cln.DisconnectResponse\"\x00\x12\x39\n\x08\x46\x65\x65rates\x12\x14.cln.FeeratesRequest\x1a\x15.cln.FeeratesResponse\"\x00\x12\x42\n\x0b\x46undChannel\x12\x17.cln.FundchannelRequest\x1a\x18.cln.FundchannelResponse\"\x00\x12\x39\n\x08GetRoute\x12\x14.cln.GetrouteRequest\x1a\x15.cln.GetrouteResponse\"\x00\x12\x45\n\x0cListForwards\x12\x18.cln.ListforwardsRequest\x1a\x19.cln.ListforwardsResponse\"\x00\x12\x39\n\x08ListPays\x12\x14.cln.ListpaysRequest\x1a\x15.cln.ListpaysResponse\"\x00\x12-\n\x04Ping\x12\x10.cln.PingRequest\x1a\x11.cln.PingResponse\"\x00\x12H\n\rSendCustomMsg\x12\x19.cln.SendcustommsgRequest\x1a\x1a.cln.SendcustommsgResponse\"\x00\x12?\n\nSetChannel\x12\x16.cln.SetchannelRequest\x1a\x17.cln.SetchannelResponse\"\x00\x12\x42\n\x0bSignInvoice\x12\x17.cln.SigninvoiceRequest\x1a\x18.cln.SigninvoiceResponse\"\x00\x12\x42\n\x0bSignMessage\x12\x17.cln.SignmessageRequest\x1a\x18.cln.SignmessageResponse\"\x00\x12-\n\x04Stop\x12\x10.cln.StopRequest\x1a\x11.cln.StopResponse\"\x00\x62\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\nnode.proto\x12\x03\x63ln\x1a\x10primitives.proto\"\x10\n\x0eGetinfoRequest\"\xb2\x04\n\x0fGetinfoResponse\x12\n\n\x02id\x18\x01 \x01(\x0c\x12\r\n\x05\x61lias\x18\x02 \x01(\t\x12\r\n\x05\x63olor\x18\x03 \x01(\x0c\x12\x11\n\tnum_peers\x18\x04 \x01(\r\x12\x1c\n\x14num_pending_channels\x18\x05 \x01(\r\x12\x1b\n\x13num_active_channels\x18\x06 \x01(\r\x12\x1d\n\x15num_inactive_channels\x18\x07 \x01(\r\x12\x0f\n\x07version\x18\x08 \x01(\t\x12\x15\n\rlightning_dir\x18\t \x01(\t\x12\x33\n\x0cour_features\x18\n \x01(\x0b\x32\x18.cln.GetinfoOur_featuresH\x00\x88\x01\x01\x12\x13\n\x0b\x62lockheight\x18\x0b \x01(\r\x12\x0f\n\x07network\x18\x0c \x01(\t\x12(\n\x13\x66\x65\x65s_collected_msat\x18\r \x01(\x0b\x32\x0b.cln.Amount\x12$\n\x07\x61\x64\x64ress\x18\x0e \x03(\x0b\x32\x13.cln.GetinfoAddress\x12$\n\x07\x62inding\x18\x0f \x03(\x0b\x32\x13.cln.GetinfoBinding\x12\"\n\x15warning_bitcoind_sync\x18\x10 \x01(\tH\x01\x88\x01\x01\x12$\n\x17warning_lightningd_sync\x18\x11 \x01(\tH\x02\x88\x01\x01\x42\x0f\n\r_our_featuresB\x18\n\x16_warning_bitcoind_syncB\x1a\n\x18_warning_lightningd_sync\"S\n\x13GetinfoOur_features\x12\x0c\n\x04init\x18\x01 \x01(\x0c\x12\x0c\n\x04node\x18\x02 \x01(\x0c\x12\x0f\n\x07\x63hannel\x18\x03 \x01(\x0c\x12\x0f\n\x07invoice\x18\x04 \x01(\x0c\"\xd3\x01\n\x0eGetinfoAddress\x12\x39\n\titem_type\x18\x01 \x01(\x0e\x32&.cln.GetinfoAddress.GetinfoAddressType\x12\x0c\n\x04port\x18\x02 \x01(\r\x12\x14\n\x07\x61\x64\x64ress\x18\x03 \x01(\tH\x00\x88\x01\x01\"V\n\x12GetinfoAddressType\x12\x07\n\x03\x44NS\x10\x00\x12\x08\n\x04IPV4\x10\x01\x12\x08\n\x04IPV6\x10\x02\x12\t\n\x05TORV2\x10\x03\x12\t\n\x05TORV3\x10\x04\x12\r\n\tWEBSOCKET\x10\x05\x42\n\n\x08_address\"\xfb\x01\n\x0eGetinfoBinding\x12\x39\n\titem_type\x18\x01 \x01(\x0e\x32&.cln.GetinfoBinding.GetinfoBindingType\x12\x14\n\x07\x61\x64\x64ress\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x11\n\x04port\x18\x03 \x01(\rH\x01\x88\x01\x01\x12\x13\n\x06socket\x18\x04 \x01(\tH\x02\x88\x01\x01\"P\n\x12GetinfoBindingType\x12\x10\n\x0cLOCAL_SOCKET\x10\x00\x12\x08\n\x04IPV4\x10\x01\x12\x08\n\x04IPV6\x10\x02\x12\t\n\x05TORV2\x10\x03\x12\t\n\x05TORV3\x10\x04\x42\n\n\x08_addressB\x07\n\x05_portB\t\n\x07_socket\"H\n\x10ListpeersRequest\x12\x0f\n\x02id\x18\x01 \x01(\x0cH\x00\x88\x01\x01\x12\x12\n\x05level\x18\x02 \x01(\tH\x01\x88\x01\x01\x42\x05\n\x03_idB\x08\n\x06_level\"7\n\x11ListpeersResponse\x12\"\n\x05peers\x18\x01 \x03(\x0b\x32\x13.cln.ListpeersPeers\"\xf8\x01\n\x0eListpeersPeers\x12\n\n\x02id\x18\x01 \x01(\x0c\x12\x11\n\tconnected\x18\x02 \x01(\x08\x12\x14\n\x0cnum_channels\x18\x08 \x01(\r\x12#\n\x03log\x18\x03 \x03(\x0b\x32\x16.cln.ListpeersPeersLog\x12-\n\x08\x63hannels\x18\x04 \x03(\x0b\x32\x1b.cln.ListpeersPeersChannels\x12\x0f\n\x07netaddr\x18\x05 \x03(\t\x12\x18\n\x0bremote_addr\x18\x07 \x01(\tH\x00\x88\x01\x01\x12\x15\n\x08\x66\x65\x61tures\x18\x06 \x01(\x0cH\x01\x88\x01\x01\x42\x0e\n\x0c_remote_addrB\x0b\n\t_features\"\xfd\x02\n\x11ListpeersPeersLog\x12?\n\titem_type\x18\x01 \x01(\x0e\x32,.cln.ListpeersPeersLog.ListpeersPeersLogType\x12\x18\n\x0bnum_skipped\x18\x02 \x01(\rH\x00\x88\x01\x01\x12\x11\n\x04time\x18\x03 \x01(\tH\x01\x88\x01\x01\x12\x13\n\x06source\x18\x04 \x01(\tH\x02\x88\x01\x01\x12\x10\n\x03log\x18\x05 \x01(\tH\x03\x88\x01\x01\x12\x14\n\x07node_id\x18\x06 \x01(\x0cH\x04\x88\x01\x01\x12\x11\n\x04\x64\x61ta\x18\x07 \x01(\x0cH\x05\x88\x01\x01\"i\n\x15ListpeersPeersLogType\x12\x0b\n\x07SKIPPED\x10\x00\x12\n\n\x06\x42ROKEN\x10\x01\x12\x0b\n\x07UNUSUAL\x10\x02\x12\x08\n\x04INFO\x10\x03\x12\t\n\x05\x44\x45\x42UG\x10\x04\x12\t\n\x05IO_IN\x10\x05\x12\n\n\x06IO_OUT\x10\x06\x42\x0e\n\x0c_num_skippedB\x07\n\x05_timeB\t\n\x07_sourceB\x06\n\x04_logB\n\n\x08_node_idB\x07\n\x05_data\"\xd6\x17\n\x16ListpeersPeersChannels\x12\x46\n\x05state\x18\x01 \x01(\x0e\x32\x37.cln.ListpeersPeersChannels.ListpeersPeersChannelsState\x12\x19\n\x0cscratch_txid\x18\x02 \x01(\x0cH\x00\x88\x01\x01\x12\x38\n\x07\x66\x65\x65rate\x18\x03 \x01(\x0b\x32\".cln.ListpeersPeersChannelsFeerateH\x01\x88\x01\x01\x12\x12\n\x05owner\x18\x04 \x01(\tH\x02\x88\x01\x01\x12\x1d\n\x10short_channel_id\x18\x05 \x01(\tH\x03\x88\x01\x01\x12\x17\n\nchannel_id\x18\x06 \x01(\x0cH\x04\x88\x01\x01\x12\x19\n\x0c\x66unding_txid\x18\x07 \x01(\x0cH\x05\x88\x01\x01\x12\x1b\n\x0e\x66unding_outnum\x18\x08 \x01(\rH\x06\x88\x01\x01\x12\x1c\n\x0finitial_feerate\x18\t \x01(\tH\x07\x88\x01\x01\x12\x19\n\x0clast_feerate\x18\n \x01(\tH\x08\x88\x01\x01\x12\x19\n\x0cnext_feerate\x18\x0b \x01(\tH\t\x88\x01\x01\x12\x1a\n\rnext_fee_step\x18\x0c \x01(\rH\n\x88\x01\x01\x12\x35\n\x08inflight\x18\r \x03(\x0b\x32#.cln.ListpeersPeersChannelsInflight\x12\x15\n\x08\x63lose_to\x18\x0e \x01(\x0cH\x0b\x88\x01\x01\x12\x14\n\x07private\x18\x0f \x01(\x08H\x0c\x88\x01\x01\x12 \n\x06opener\x18\x10 \x01(\x0e\x32\x10.cln.ChannelSide\x12%\n\x06\x63loser\x18\x11 \x01(\x0e\x32\x10.cln.ChannelSideH\r\x88\x01\x01\x12\x10\n\x08\x66\x65\x61tures\x18\x12 \x03(\t\x12\x38\n\x07\x66unding\x18\x13 \x01(\x0b\x32\".cln.ListpeersPeersChannelsFundingH\x0e\x88\x01\x01\x12$\n\nto_us_msat\x18\x14 \x01(\x0b\x32\x0b.cln.AmountH\x0f\x88\x01\x01\x12(\n\x0emin_to_us_msat\x18\x15 \x01(\x0b\x32\x0b.cln.AmountH\x10\x88\x01\x01\x12(\n\x0emax_to_us_msat\x18\x16 \x01(\x0b\x32\x0b.cln.AmountH\x11\x88\x01\x01\x12$\n\ntotal_msat\x18\x17 \x01(\x0b\x32\x0b.cln.AmountH\x12\x88\x01\x01\x12\'\n\rfee_base_msat\x18\x18 \x01(\x0b\x32\x0b.cln.AmountH\x13\x88\x01\x01\x12(\n\x1b\x66\x65\x65_proportional_millionths\x18\x19 \x01(\rH\x14\x88\x01\x01\x12)\n\x0f\x64ust_limit_msat\x18\x1a \x01(\x0b\x32\x0b.cln.AmountH\x15\x88\x01\x01\x12\x30\n\x16max_total_htlc_in_msat\x18\x1b \x01(\x0b\x32\x0b.cln.AmountH\x16\x88\x01\x01\x12,\n\x12their_reserve_msat\x18\x1c \x01(\x0b\x32\x0b.cln.AmountH\x17\x88\x01\x01\x12*\n\x10our_reserve_msat\x18\x1d \x01(\x0b\x32\x0b.cln.AmountH\x18\x88\x01\x01\x12(\n\x0espendable_msat\x18\x1e \x01(\x0b\x32\x0b.cln.AmountH\x19\x88\x01\x01\x12)\n\x0freceivable_msat\x18\x1f \x01(\x0b\x32\x0b.cln.AmountH\x1a\x88\x01\x01\x12.\n\x14minimum_htlc_in_msat\x18 \x01(\x0b\x32\x0b.cln.AmountH\x1b\x88\x01\x01\x12/\n\x15minimum_htlc_out_msat\x18\x30 \x01(\x0b\x32\x0b.cln.AmountH\x1c\x88\x01\x01\x12/\n\x15maximum_htlc_out_msat\x18\x31 \x01(\x0b\x32\x0b.cln.AmountH\x1d\x88\x01\x01\x12 \n\x13their_to_self_delay\x18! \x01(\rH\x1e\x88\x01\x01\x12\x1e\n\x11our_to_self_delay\x18\" \x01(\rH\x1f\x88\x01\x01\x12\x1f\n\x12max_accepted_htlcs\x18# \x01(\rH \x88\x01\x01\x12\x34\n\x05\x61lias\x18\x32 \x01(\x0b\x32 .cln.ListpeersPeersChannelsAliasH!\x88\x01\x01\x12\x0e\n\x06status\x18% \x03(\t\x12 \n\x13in_payments_offered\x18& \x01(\x04H\"\x88\x01\x01\x12)\n\x0fin_offered_msat\x18\' \x01(\x0b\x32\x0b.cln.AmountH#\x88\x01\x01\x12\"\n\x15in_payments_fulfilled\x18( \x01(\x04H$\x88\x01\x01\x12+\n\x11in_fulfilled_msat\x18) \x01(\x0b\x32\x0b.cln.AmountH%\x88\x01\x01\x12!\n\x14out_payments_offered\x18* \x01(\x04H&\x88\x01\x01\x12*\n\x10out_offered_msat\x18+ \x01(\x0b\x32\x0b.cln.AmountH\'\x88\x01\x01\x12#\n\x16out_payments_fulfilled\x18, \x01(\x04H(\x88\x01\x01\x12,\n\x12out_fulfilled_msat\x18- \x01(\x0b\x32\x0b.cln.AmountH)\x88\x01\x01\x12/\n\x05htlcs\x18. \x03(\x0b\x32 .cln.ListpeersPeersChannelsHtlcs\x12\x1a\n\rclose_to_addr\x18/ \x01(\tH*\x88\x01\x01\"\xa1\x02\n\x1bListpeersPeersChannelsState\x12\x0c\n\x08OPENINGD\x10\x00\x12\x1c\n\x18\x43HANNELD_AWAITING_LOCKIN\x10\x01\x12\x13\n\x0f\x43HANNELD_NORMAL\x10\x02\x12\x1a\n\x16\x43HANNELD_SHUTTING_DOWN\x10\x03\x12\x18\n\x14\x43LOSINGD_SIGEXCHANGE\x10\x04\x12\x15\n\x11\x43LOSINGD_COMPLETE\x10\x05\x12\x17\n\x13\x41WAITING_UNILATERAL\x10\x06\x12\x16\n\x12\x46UNDING_SPEND_SEEN\x10\x07\x12\x0b\n\x07ONCHAIN\x10\x08\x12\x17\n\x13\x44UALOPEND_OPEN_INIT\x10\t\x12\x1d\n\x19\x44UALOPEND_AWAITING_LOCKIN\x10\nB\x0f\n\r_scratch_txidB\n\n\x08_feerateB\x08\n\x06_ownerB\x13\n\x11_short_channel_idB\r\n\x0b_channel_idB\x0f\n\r_funding_txidB\x11\n\x0f_funding_outnumB\x12\n\x10_initial_feerateB\x0f\n\r_last_feerateB\x0f\n\r_next_feerateB\x10\n\x0e_next_fee_stepB\x0b\n\t_close_toB\n\n\x08_privateB\t\n\x07_closerB\n\n\x08_fundingB\r\n\x0b_to_us_msatB\x11\n\x0f_min_to_us_msatB\x11\n\x0f_max_to_us_msatB\r\n\x0b_total_msatB\x10\n\x0e_fee_base_msatB\x1e\n\x1c_fee_proportional_millionthsB\x12\n\x10_dust_limit_msatB\x19\n\x17_max_total_htlc_in_msatB\x15\n\x13_their_reserve_msatB\x13\n\x11_our_reserve_msatB\x11\n\x0f_spendable_msatB\x12\n\x10_receivable_msatB\x17\n\x15_minimum_htlc_in_msatB\x18\n\x16_minimum_htlc_out_msatB\x18\n\x16_maximum_htlc_out_msatB\x16\n\x14_their_to_self_delayB\x14\n\x12_our_to_self_delayB\x15\n\x13_max_accepted_htlcsB\x08\n\x06_aliasB\x16\n\x14_in_payments_offeredB\x12\n\x10_in_offered_msatB\x18\n\x16_in_payments_fulfilledB\x14\n\x12_in_fulfilled_msatB\x17\n\x15_out_payments_offeredB\x13\n\x11_out_offered_msatB\x19\n\x17_out_payments_fulfilledB\x15\n\x13_out_fulfilled_msatB\x10\n\x0e_close_to_addr\"=\n\x1dListpeersPeersChannelsFeerate\x12\r\n\x05perkw\x18\x01 \x01(\r\x12\r\n\x05perkb\x18\x02 \x01(\r\"\xc5\x01\n\x1eListpeersPeersChannelsInflight\x12\x14\n\x0c\x66unding_txid\x18\x01 \x01(\x0c\x12\x16\n\x0e\x66unding_outnum\x18\x02 \x01(\r\x12\x0f\n\x07\x66\x65\x65rate\x18\x03 \x01(\t\x12\'\n\x12total_funding_msat\x18\x04 \x01(\x0b\x32\x0b.cln.Amount\x12%\n\x10our_funding_msat\x18\x05 \x01(\x0b\x32\x0b.cln.Amount\x12\x14\n\x0cscratch_txid\x18\x06 \x01(\x0c\"\x9b\x02\n\x1dListpeersPeersChannelsFunding\x12%\n\x0bpushed_msat\x18\x03 \x01(\x0b\x32\x0b.cln.AmountH\x00\x88\x01\x01\x12%\n\x10local_funds_msat\x18\x04 \x01(\x0b\x32\x0b.cln.Amount\x12&\n\x11remote_funds_msat\x18\x07 \x01(\x0b\x32\x0b.cln.Amount\x12\'\n\rfee_paid_msat\x18\x05 \x01(\x0b\x32\x0b.cln.AmountH\x01\x88\x01\x01\x12\'\n\rfee_rcvd_msat\x18\x06 \x01(\x0b\x32\x0b.cln.AmountH\x02\x88\x01\x01\x42\x0e\n\x0c_pushed_msatB\x10\n\x0e_fee_paid_msatB\x10\n\x0e_fee_rcvd_msat\"[\n\x1bListpeersPeersChannelsAlias\x12\x12\n\x05local\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x13\n\x06remote\x18\x02 \x01(\tH\x01\x88\x01\x01\x42\x08\n\x06_localB\t\n\x07_remote\"\xd2\x02\n\x1bListpeersPeersChannelsHtlcs\x12X\n\tdirection\x18\x01 \x01(\x0e\x32\x45.cln.ListpeersPeersChannelsHtlcs.ListpeersPeersChannelsHtlcsDirection\x12\n\n\x02id\x18\x02 \x01(\x04\x12 \n\x0b\x61mount_msat\x18\x03 \x01(\x0b\x32\x0b.cln.Amount\x12\x0e\n\x06\x65xpiry\x18\x04 \x01(\r\x12\x14\n\x0cpayment_hash\x18\x05 \x01(\x0c\x12\x1a\n\rlocal_trimmed\x18\x06 \x01(\x08H\x00\x88\x01\x01\x12\x13\n\x06status\x18\x07 \x01(\tH\x01\x88\x01\x01\"7\n$ListpeersPeersChannelsHtlcsDirection\x12\x06\n\x02IN\x10\x00\x12\x07\n\x03OUT\x10\x01\x42\x10\n\x0e_local_trimmedB\t\n\x07_status\"0\n\x10ListfundsRequest\x12\x12\n\x05spent\x18\x01 \x01(\x08H\x00\x88\x01\x01\x42\x08\n\x06_spent\"e\n\x11ListfundsResponse\x12&\n\x07outputs\x18\x01 \x03(\x0b\x32\x15.cln.ListfundsOutputs\x12(\n\x08\x63hannels\x18\x02 \x03(\x0b\x32\x16.cln.ListfundsChannels\"\x83\x03\n\x10ListfundsOutputs\x12\x0c\n\x04txid\x18\x01 \x01(\x0c\x12\x0e\n\x06output\x18\x02 \x01(\r\x12 \n\x0b\x61mount_msat\x18\x03 \x01(\x0b\x32\x0b.cln.Amount\x12\x14\n\x0cscriptpubkey\x18\x04 \x01(\x0c\x12\x14\n\x07\x61\x64\x64ress\x18\x05 \x01(\tH\x00\x88\x01\x01\x12\x19\n\x0credeemscript\x18\x06 \x01(\x0cH\x01\x88\x01\x01\x12<\n\x06status\x18\x07 \x01(\x0e\x32,.cln.ListfundsOutputs.ListfundsOutputsStatus\x12\x10\n\x08reserved\x18\t \x01(\x08\x12\x18\n\x0b\x62lockheight\x18\x08 \x01(\rH\x02\x88\x01\x01\"Q\n\x16ListfundsOutputsStatus\x12\x0f\n\x0bUNCONFIRMED\x10\x00\x12\r\n\tCONFIRMED\x10\x01\x12\t\n\x05SPENT\x10\x02\x12\x0c\n\x08IMMATURE\x10\x03\x42\n\n\x08_addressB\x0f\n\r_redeemscriptB\x0e\n\x0c_blockheight\"\x97\x02\n\x11ListfundsChannels\x12\x0f\n\x07peer_id\x18\x01 \x01(\x0c\x12$\n\x0four_amount_msat\x18\x02 \x01(\x0b\x32\x0b.cln.Amount\x12 \n\x0b\x61mount_msat\x18\x03 \x01(\x0b\x32\x0b.cln.Amount\x12\x14\n\x0c\x66unding_txid\x18\x04 \x01(\x0c\x12\x16\n\x0e\x66unding_output\x18\x05 \x01(\r\x12\x11\n\tconnected\x18\x06 \x01(\x08\x12 \n\x05state\x18\x07 \x01(\x0e\x32\x11.cln.ChannelState\x12\x12\n\nchannel_id\x18\t \x01(\x0c\x12\x1d\n\x10short_channel_id\x18\x08 \x01(\tH\x00\x88\x01\x01\x42\x13\n\x11_short_channel_id\"\xdd\x02\n\x0eSendpayRequest\x12 \n\x05route\x18\x01 \x03(\x0b\x32\x11.cln.SendpayRoute\x12\x14\n\x0cpayment_hash\x18\x02 \x01(\x0c\x12\x12\n\x05label\x18\x03 \x01(\tH\x00\x88\x01\x01\x12%\n\x0b\x61mount_msat\x18\n \x01(\x0b\x32\x0b.cln.AmountH\x01\x88\x01\x01\x12\x13\n\x06\x62olt11\x18\x05 \x01(\tH\x02\x88\x01\x01\x12\x1b\n\x0epayment_secret\x18\x06 \x01(\x0cH\x03\x88\x01\x01\x12\x13\n\x06partid\x18\x07 \x01(\rH\x04\x88\x01\x01\x12\x1a\n\rlocalinvreqid\x18\x0b \x01(\x0cH\x05\x88\x01\x01\x12\x14\n\x07groupid\x18\t \x01(\x04H\x06\x88\x01\x01\x42\x08\n\x06_labelB\x0e\n\x0c_amount_msatB\t\n\x07_bolt11B\x11\n\x0f_payment_secretB\t\n\x07_partidB\x10\n\x0e_localinvreqidB\n\n\x08_groupid\"\xd1\x04\n\x0fSendpayResponse\x12\n\n\x02id\x18\x01 \x01(\x04\x12\x14\n\x07groupid\x18\x02 \x01(\x04H\x00\x88\x01\x01\x12\x14\n\x0cpayment_hash\x18\x03 \x01(\x0c\x12\x32\n\x06status\x18\x04 \x01(\x0e\x32\".cln.SendpayResponse.SendpayStatus\x12%\n\x0b\x61mount_msat\x18\x05 \x01(\x0b\x32\x0b.cln.AmountH\x01\x88\x01\x01\x12\x18\n\x0b\x64\x65stination\x18\x06 \x01(\x0cH\x02\x88\x01\x01\x12\x12\n\ncreated_at\x18\x07 \x01(\x04\x12\x19\n\x0c\x63ompleted_at\x18\x0f \x01(\x04H\x03\x88\x01\x01\x12%\n\x10\x61mount_sent_msat\x18\x08 \x01(\x0b\x32\x0b.cln.Amount\x12\x12\n\x05label\x18\t \x01(\tH\x04\x88\x01\x01\x12\x13\n\x06partid\x18\n \x01(\x04H\x05\x88\x01\x01\x12\x13\n\x06\x62olt11\x18\x0b \x01(\tH\x06\x88\x01\x01\x12\x13\n\x06\x62olt12\x18\x0c \x01(\tH\x07\x88\x01\x01\x12\x1d\n\x10payment_preimage\x18\r \x01(\x0cH\x08\x88\x01\x01\x12\x14\n\x07message\x18\x0e \x01(\tH\t\x88\x01\x01\"*\n\rSendpayStatus\x12\x0b\n\x07PENDING\x10\x00\x12\x0c\n\x08\x43OMPLETE\x10\x01\x42\n\n\x08_groupidB\x0e\n\x0c_amount_msatB\x0e\n\x0c_destinationB\x0f\n\r_completed_atB\x08\n\x06_labelB\t\n\x07_partidB\t\n\x07_bolt11B\t\n\x07_bolt12B\x13\n\x11_payment_preimageB\n\n\x08_message\"\\\n\x0cSendpayRoute\x12 \n\x0b\x61mount_msat\x18\x05 \x01(\x0b\x32\x0b.cln.Amount\x12\n\n\x02id\x18\x02 \x01(\x0c\x12\r\n\x05\x64\x65lay\x18\x03 \x01(\r\x12\x0f\n\x07\x63hannel\x18\x04 \x01(\t\"\x93\x01\n\x13ListchannelsRequest\x12\x1d\n\x10short_channel_id\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x13\n\x06source\x18\x02 \x01(\x0cH\x01\x88\x01\x01\x12\x18\n\x0b\x64\x65stination\x18\x03 \x01(\x0cH\x02\x88\x01\x01\x42\x13\n\x11_short_channel_idB\t\n\x07_sourceB\x0e\n\x0c_destination\"C\n\x14ListchannelsResponse\x12+\n\x08\x63hannels\x18\x01 \x03(\x0b\x32\x19.cln.ListchannelsChannels\"\xb3\x03\n\x14ListchannelsChannels\x12\x0e\n\x06source\x18\x01 \x01(\x0c\x12\x13\n\x0b\x64\x65stination\x18\x02 \x01(\x0c\x12\x18\n\x10short_channel_id\x18\x03 \x01(\t\x12\x11\n\tdirection\x18\x10 \x01(\r\x12\x0e\n\x06public\x18\x04 \x01(\x08\x12 \n\x0b\x61mount_msat\x18\x05 \x01(\x0b\x32\x0b.cln.Amount\x12\x15\n\rmessage_flags\x18\x06 \x01(\r\x12\x15\n\rchannel_flags\x18\x07 \x01(\r\x12\x0e\n\x06\x61\x63tive\x18\x08 \x01(\x08\x12\x13\n\x0blast_update\x18\t \x01(\r\x12\x1d\n\x15\x62\x61se_fee_millisatoshi\x18\n \x01(\r\x12\x19\n\x11\x66\x65\x65_per_millionth\x18\x0b \x01(\r\x12\r\n\x05\x64\x65lay\x18\x0c \x01(\r\x12&\n\x11htlc_minimum_msat\x18\r \x01(\x0b\x32\x0b.cln.Amount\x12+\n\x11htlc_maximum_msat\x18\x0e \x01(\x0b\x32\x0b.cln.AmountH\x00\x88\x01\x01\x12\x10\n\x08\x66\x65\x61tures\x18\x0f \x01(\x0c\x42\x14\n\x12_htlc_maximum_msat\"#\n\x10\x41\x64\x64gossipRequest\x12\x0f\n\x07message\x18\x01 \x01(\x0c\"\x13\n\x11\x41\x64\x64gossipResponse\"o\n\x17\x41utocleaninvoiceRequest\x12\x17\n\nexpired_by\x18\x01 \x01(\x04H\x00\x88\x01\x01\x12\x1a\n\rcycle_seconds\x18\x02 \x01(\x04H\x01\x88\x01\x01\x42\r\n\x0b_expired_byB\x10\n\x0e_cycle_seconds\"\x81\x01\n\x18\x41utocleaninvoiceResponse\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x17\n\nexpired_by\x18\x02 \x01(\x04H\x00\x88\x01\x01\x12\x1a\n\rcycle_seconds\x18\x03 \x01(\x04H\x01\x88\x01\x01\x42\r\n\x0b_expired_byB\x10\n\x0e_cycle_seconds\"U\n\x13\x43heckmessageRequest\x12\x0f\n\x07message\x18\x01 \x01(\t\x12\r\n\x05zbase\x18\x02 \x01(\t\x12\x13\n\x06pubkey\x18\x03 \x01(\x0cH\x00\x88\x01\x01\x42\t\n\x07_pubkey\"8\n\x14\x43heckmessageResponse\x12\x10\n\x08verified\x18\x01 \x01(\x08\x12\x0e\n\x06pubkey\x18\x02 \x01(\x0c\"\xcb\x02\n\x0c\x43loseRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\x1e\n\x11unilateraltimeout\x18\x02 \x01(\rH\x00\x88\x01\x01\x12\x18\n\x0b\x64\x65stination\x18\x03 \x01(\tH\x01\x88\x01\x01\x12!\n\x14\x66\x65\x65_negotiation_step\x18\x04 \x01(\tH\x02\x88\x01\x01\x12)\n\rwrong_funding\x18\x05 \x01(\x0b\x32\r.cln.OutpointH\x03\x88\x01\x01\x12\x1f\n\x12\x66orce_lease_closed\x18\x06 \x01(\x08H\x04\x88\x01\x01\x12\x1e\n\x08\x66\x65\x65range\x18\x07 \x03(\x0b\x32\x0c.cln.FeerateB\x14\n\x12_unilateraltimeoutB\x0e\n\x0c_destinationB\x17\n\x15_fee_negotiation_stepB\x10\n\x0e_wrong_fundingB\x15\n\x13_force_lease_closed\"\xab\x01\n\rCloseResponse\x12/\n\titem_type\x18\x01 \x01(\x0e\x32\x1c.cln.CloseResponse.CloseType\x12\x0f\n\x02tx\x18\x02 \x01(\x0cH\x00\x88\x01\x01\x12\x11\n\x04txid\x18\x03 \x01(\x0cH\x01\x88\x01\x01\"5\n\tCloseType\x12\n\n\x06MUTUAL\x10\x00\x12\x0e\n\nUNILATERAL\x10\x01\x12\x0c\n\x08UNOPENED\x10\x02\x42\x05\n\x03_txB\x07\n\x05_txid\"T\n\x0e\x43onnectRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\x04host\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x11\n\x04port\x18\x03 \x01(\rH\x01\x88\x01\x01\x42\x07\n\x05_hostB\x07\n\x05_port\"\xb4\x01\n\x0f\x43onnectResponse\x12\n\n\x02id\x18\x01 \x01(\x0c\x12\x10\n\x08\x66\x65\x61tures\x18\x02 \x01(\x0c\x12\x38\n\tdirection\x18\x03 \x01(\x0e\x32%.cln.ConnectResponse.ConnectDirection\x12$\n\x07\x61\x64\x64ress\x18\x04 \x01(\x0b\x32\x13.cln.ConnectAddress\"#\n\x10\x43onnectDirection\x12\x06\n\x02IN\x10\x00\x12\x07\n\x03OUT\x10\x01\"\xfb\x01\n\x0e\x43onnectAddress\x12\x39\n\titem_type\x18\x01 \x01(\x0e\x32&.cln.ConnectAddress.ConnectAddressType\x12\x13\n\x06socket\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x14\n\x07\x61\x64\x64ress\x18\x03 \x01(\tH\x01\x88\x01\x01\x12\x11\n\x04port\x18\x04 \x01(\rH\x02\x88\x01\x01\"P\n\x12\x43onnectAddressType\x12\x10\n\x0cLOCAL_SOCKET\x10\x00\x12\x08\n\x04IPV4\x10\x01\x12\x08\n\x04IPV6\x10\x02\x12\t\n\x05TORV2\x10\x03\x12\t\n\x05TORV3\x10\x04\x42\t\n\x07_socketB\n\n\x08_addressB\x07\n\x05_port\"J\n\x14\x43reateinvoiceRequest\x12\x11\n\tinvstring\x18\x01 \x01(\t\x12\r\n\x05label\x18\x02 \x01(\t\x12\x10\n\x08preimage\x18\x03 \x01(\x0c\"\x81\x05\n\x15\x43reateinvoiceResponse\x12\r\n\x05label\x18\x01 \x01(\t\x12\x13\n\x06\x62olt11\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x13\n\x06\x62olt12\x18\x03 \x01(\tH\x01\x88\x01\x01\x12\x14\n\x0cpayment_hash\x18\x04 \x01(\x0c\x12%\n\x0b\x61mount_msat\x18\x05 \x01(\x0b\x32\x0b.cln.AmountH\x02\x88\x01\x01\x12>\n\x06status\x18\x06 \x01(\x0e\x32..cln.CreateinvoiceResponse.CreateinvoiceStatus\x12\x13\n\x0b\x64\x65scription\x18\x07 \x01(\t\x12\x12\n\nexpires_at\x18\x08 \x01(\x04\x12\x16\n\tpay_index\x18\t \x01(\x04H\x03\x88\x01\x01\x12.\n\x14\x61mount_received_msat\x18\n \x01(\x0b\x32\x0b.cln.AmountH\x04\x88\x01\x01\x12\x14\n\x07paid_at\x18\x0b \x01(\x04H\x05\x88\x01\x01\x12\x1d\n\x10payment_preimage\x18\x0c \x01(\x0cH\x06\x88\x01\x01\x12\x1b\n\x0elocal_offer_id\x18\r \x01(\x0cH\x07\x88\x01\x01\x12\x1e\n\x11invreq_payer_note\x18\x0f \x01(\tH\x08\x88\x01\x01\"8\n\x13\x43reateinvoiceStatus\x12\x08\n\x04PAID\x10\x00\x12\x0b\n\x07\x45XPIRED\x10\x01\x12\n\n\x06UNPAID\x10\x02\x42\t\n\x07_bolt11B\t\n\x07_bolt12B\x0e\n\x0c_amount_msatB\x0c\n\n_pay_indexB\x17\n\x15_amount_received_msatB\n\n\x08_paid_atB\x13\n\x11_payment_preimageB\x11\n\x0f_local_offer_idB\x14\n\x12_invreq_payer_note\"\xb4\x02\n\x10\x44\x61tastoreRequest\x12\x0b\n\x03key\x18\x05 \x03(\t\x12\x13\n\x06string\x18\x06 \x01(\tH\x00\x88\x01\x01\x12\x10\n\x03hex\x18\x02 \x01(\x0cH\x01\x88\x01\x01\x12\x36\n\x04mode\x18\x03 \x01(\x0e\x32#.cln.DatastoreRequest.DatastoreModeH\x02\x88\x01\x01\x12\x17\n\ngeneration\x18\x04 \x01(\x04H\x03\x88\x01\x01\"p\n\rDatastoreMode\x12\x0f\n\x0bMUST_CREATE\x10\x00\x12\x10\n\x0cMUST_REPLACE\x10\x01\x12\x15\n\x11\x43REATE_OR_REPLACE\x10\x02\x12\x0f\n\x0bMUST_APPEND\x10\x03\x12\x14\n\x10\x43REATE_OR_APPEND\x10\x04\x42\t\n\x07_stringB\x06\n\x04_hexB\x07\n\x05_modeB\r\n\x0b_generation\"\x82\x01\n\x11\x44\x61tastoreResponse\x12\x0b\n\x03key\x18\x05 \x03(\t\x12\x17\n\ngeneration\x18\x02 \x01(\x04H\x00\x88\x01\x01\x12\x10\n\x03hex\x18\x03 \x01(\x0cH\x01\x88\x01\x01\x12\x13\n\x06string\x18\x04 \x01(\tH\x02\x88\x01\x01\x42\r\n\x0b_generationB\x06\n\x04_hexB\t\n\x07_string\"\x9d\x01\n\x12\x43reateonionRequest\x12\"\n\x04hops\x18\x01 \x03(\x0b\x32\x14.cln.CreateonionHops\x12\x11\n\tassocdata\x18\x02 \x01(\x0c\x12\x18\n\x0bsession_key\x18\x03 \x01(\x0cH\x00\x88\x01\x01\x12\x17\n\nonion_size\x18\x04 \x01(\rH\x01\x88\x01\x01\x42\x0e\n\x0c_session_keyB\r\n\x0b_onion_size\"<\n\x13\x43reateonionResponse\x12\r\n\x05onion\x18\x01 \x01(\x0c\x12\x16\n\x0eshared_secrets\x18\x02 \x03(\x0c\"2\n\x0f\x43reateonionHops\x12\x0e\n\x06pubkey\x18\x01 \x01(\x0c\x12\x0f\n\x07payload\x18\x02 \x01(\x0c\"J\n\x13\x44\x65ldatastoreRequest\x12\x0b\n\x03key\x18\x03 \x03(\t\x12\x17\n\ngeneration\x18\x02 \x01(\x04H\x00\x88\x01\x01\x42\r\n\x0b_generation\"\x85\x01\n\x14\x44\x65ldatastoreResponse\x12\x0b\n\x03key\x18\x05 \x03(\t\x12\x17\n\ngeneration\x18\x02 \x01(\x04H\x00\x88\x01\x01\x12\x10\n\x03hex\x18\x03 \x01(\x0cH\x01\x88\x01\x01\x12\x13\n\x06string\x18\x04 \x01(\tH\x02\x88\x01\x01\x42\r\n\x0b_generationB\x06\n\x04_hexB\t\n\x07_string\"H\n\x18\x44\x65lexpiredinvoiceRequest\x12\x1a\n\rmaxexpirytime\x18\x01 \x01(\x04H\x00\x88\x01\x01\x42\x10\n\x0e_maxexpirytime\"\x1b\n\x19\x44\x65lexpiredinvoiceResponse\"\xb6\x01\n\x11\x44\x65linvoiceRequest\x12\r\n\x05label\x18\x01 \x01(\t\x12\x37\n\x06status\x18\x02 \x01(\x0e\x32\'.cln.DelinvoiceRequest.DelinvoiceStatus\x12\x15\n\x08\x64\x65sconly\x18\x03 \x01(\x08H\x00\x88\x01\x01\"5\n\x10\x44\x65linvoiceStatus\x12\x08\n\x04PAID\x10\x00\x12\x0b\n\x07\x45XPIRED\x10\x01\x12\n\n\x06UNPAID\x10\x02\x42\x0b\n\t_desconly\"\xc5\x03\n\x12\x44\x65linvoiceResponse\x12\r\n\x05label\x18\x01 \x01(\t\x12\x13\n\x06\x62olt11\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x13\n\x06\x62olt12\x18\x03 \x01(\tH\x01\x88\x01\x01\x12%\n\x0b\x61mount_msat\x18\x04 \x01(\x0b\x32\x0b.cln.AmountH\x02\x88\x01\x01\x12\x18\n\x0b\x64\x65scription\x18\x05 \x01(\tH\x03\x88\x01\x01\x12\x14\n\x0cpayment_hash\x18\x06 \x01(\x0c\x12\x38\n\x06status\x18\x07 \x01(\x0e\x32(.cln.DelinvoiceResponse.DelinvoiceStatus\x12\x12\n\nexpires_at\x18\x08 \x01(\x04\x12\x1b\n\x0elocal_offer_id\x18\t \x01(\x0cH\x04\x88\x01\x01\x12\x1e\n\x11invreq_payer_note\x18\x0b \x01(\tH\x05\x88\x01\x01\"5\n\x10\x44\x65linvoiceStatus\x12\x08\n\x04PAID\x10\x00\x12\x0b\n\x07\x45XPIRED\x10\x01\x12\n\n\x06UNPAID\x10\x02\x42\t\n\x07_bolt11B\t\n\x07_bolt12B\x0e\n\x0c_amount_msatB\x0e\n\x0c_descriptionB\x11\n\x0f_local_offer_idB\x14\n\x12_invreq_payer_note\"\xb8\x02\n\x0eInvoiceRequest\x12%\n\x0b\x61mount_msat\x18\n \x01(\x0b\x32\x10.cln.AmountOrAny\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\r\n\x05label\x18\x03 \x01(\t\x12\x13\n\x06\x65xpiry\x18\x07 \x01(\x04H\x00\x88\x01\x01\x12\x11\n\tfallbacks\x18\x04 \x03(\t\x12\x15\n\x08preimage\x18\x05 \x01(\x0cH\x01\x88\x01\x01\x12\"\n\x15\x65xposeprivatechannels\x18\x08 \x01(\x08H\x02\x88\x01\x01\x12\x11\n\x04\x63ltv\x18\x06 \x01(\rH\x03\x88\x01\x01\x12\x19\n\x0c\x64\x65schashonly\x18\t \x01(\x08H\x04\x88\x01\x01\x42\t\n\x07_expiryB\x0b\n\t_preimageB\x18\n\x16_exposeprivatechannelsB\x07\n\x05_cltvB\x0f\n\r_deschashonly\"\xe7\x02\n\x0fInvoiceResponse\x12\x0e\n\x06\x62olt11\x18\x01 \x01(\t\x12\x14\n\x0cpayment_hash\x18\x02 \x01(\x0c\x12\x16\n\x0epayment_secret\x18\x03 \x01(\x0c\x12\x12\n\nexpires_at\x18\x04 \x01(\x04\x12\x1d\n\x10warning_capacity\x18\x05 \x01(\tH\x00\x88\x01\x01\x12\x1c\n\x0fwarning_offline\x18\x06 \x01(\tH\x01\x88\x01\x01\x12\x1d\n\x10warning_deadends\x18\x07 \x01(\tH\x02\x88\x01\x01\x12#\n\x16warning_private_unused\x18\x08 \x01(\tH\x03\x88\x01\x01\x12\x18\n\x0bwarning_mpp\x18\t \x01(\tH\x04\x88\x01\x01\x42\x13\n\x11_warning_capacityB\x12\n\x10_warning_offlineB\x13\n\x11_warning_deadendsB\x19\n\x17_warning_private_unusedB\x0e\n\x0c_warning_mpp\"#\n\x14ListdatastoreRequest\x12\x0b\n\x03key\x18\x02 \x03(\t\"G\n\x15ListdatastoreResponse\x12.\n\tdatastore\x18\x01 \x03(\x0b\x32\x1b.cln.ListdatastoreDatastore\"\x87\x01\n\x16ListdatastoreDatastore\x12\x0b\n\x03key\x18\x01 \x03(\t\x12\x17\n\ngeneration\x18\x02 \x01(\x04H\x00\x88\x01\x01\x12\x10\n\x03hex\x18\x03 \x01(\x0cH\x01\x88\x01\x01\x12\x13\n\x06string\x18\x04 \x01(\tH\x02\x88\x01\x01\x42\r\n\x0b_generationB\x06\n\x04_hexB\t\n\x07_string\"\xa9\x01\n\x13ListinvoicesRequest\x12\x12\n\x05label\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x16\n\tinvstring\x18\x02 \x01(\tH\x01\x88\x01\x01\x12\x19\n\x0cpayment_hash\x18\x03 \x01(\x0cH\x02\x88\x01\x01\x12\x15\n\x08offer_id\x18\x04 \x01(\tH\x03\x88\x01\x01\x42\x08\n\x06_labelB\x0c\n\n_invstringB\x0f\n\r_payment_hashB\x0b\n\t_offer_id\"C\n\x14ListinvoicesResponse\x12+\n\x08invoices\x18\x01 \x03(\x0b\x32\x19.cln.ListinvoicesInvoices\"\xa2\x05\n\x14ListinvoicesInvoices\x12\r\n\x05label\x18\x01 \x01(\t\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x14\n\x0cpayment_hash\x18\x03 \x01(\x0c\x12\x44\n\x06status\x18\x04 \x01(\x0e\x32\x34.cln.ListinvoicesInvoices.ListinvoicesInvoicesStatus\x12\x12\n\nexpires_at\x18\x05 \x01(\x04\x12%\n\x0b\x61mount_msat\x18\x06 \x01(\x0b\x32\x0b.cln.AmountH\x01\x88\x01\x01\x12\x13\n\x06\x62olt11\x18\x07 \x01(\tH\x02\x88\x01\x01\x12\x13\n\x06\x62olt12\x18\x08 \x01(\tH\x03\x88\x01\x01\x12\x1b\n\x0elocal_offer_id\x18\t \x01(\x0cH\x04\x88\x01\x01\x12\x1e\n\x11invreq_payer_note\x18\x0f \x01(\tH\x05\x88\x01\x01\x12\x16\n\tpay_index\x18\x0b \x01(\x04H\x06\x88\x01\x01\x12.\n\x14\x61mount_received_msat\x18\x0c \x01(\x0b\x32\x0b.cln.AmountH\x07\x88\x01\x01\x12\x14\n\x07paid_at\x18\r \x01(\x04H\x08\x88\x01\x01\x12\x1d\n\x10payment_preimage\x18\x0e \x01(\x0cH\t\x88\x01\x01\"?\n\x1aListinvoicesInvoicesStatus\x12\n\n\x06UNPAID\x10\x00\x12\x08\n\x04PAID\x10\x01\x12\x0b\n\x07\x45XPIRED\x10\x02\x42\x0e\n\x0c_descriptionB\x0e\n\x0c_amount_msatB\t\n\x07_bolt11B\t\n\x07_bolt12B\x11\n\x0f_local_offer_idB\x14\n\x12_invreq_payer_noteB\x0c\n\n_pay_indexB\x17\n\x15_amount_received_msatB\n\n\x08_paid_atB\x13\n\x11_payment_preimage\"\x8a\x03\n\x10SendonionRequest\x12\r\n\x05onion\x18\x01 \x01(\x0c\x12*\n\tfirst_hop\x18\x02 \x01(\x0b\x32\x17.cln.SendonionFirst_hop\x12\x14\n\x0cpayment_hash\x18\x03 \x01(\x0c\x12\x12\n\x05label\x18\x04 \x01(\tH\x00\x88\x01\x01\x12\x16\n\x0eshared_secrets\x18\x05 \x03(\x0c\x12\x13\n\x06partid\x18\x06 \x01(\rH\x01\x88\x01\x01\x12\x13\n\x06\x62olt11\x18\x07 \x01(\tH\x02\x88\x01\x01\x12%\n\x0b\x61mount_msat\x18\x0c \x01(\x0b\x32\x0b.cln.AmountH\x03\x88\x01\x01\x12\x18\n\x0b\x64\x65stination\x18\t \x01(\x0cH\x04\x88\x01\x01\x12\x1a\n\rlocalinvreqid\x18\r \x01(\x0cH\x05\x88\x01\x01\x12\x14\n\x07groupid\x18\x0b \x01(\x04H\x06\x88\x01\x01\x42\x08\n\x06_labelB\t\n\x07_partidB\t\n\x07_bolt11B\x0e\n\x0c_amount_msatB\x0e\n\x0c_destinationB\x10\n\x0e_localinvreqidB\n\n\x08_groupid\"\x8b\x04\n\x11SendonionResponse\x12\n\n\x02id\x18\x01 \x01(\x04\x12\x14\n\x0cpayment_hash\x18\x02 \x01(\x0c\x12\x36\n\x06status\x18\x03 \x01(\x0e\x32&.cln.SendonionResponse.SendonionStatus\x12%\n\x0b\x61mount_msat\x18\x04 \x01(\x0b\x32\x0b.cln.AmountH\x00\x88\x01\x01\x12\x18\n\x0b\x64\x65stination\x18\x05 \x01(\x0cH\x01\x88\x01\x01\x12\x12\n\ncreated_at\x18\x06 \x01(\x04\x12%\n\x10\x61mount_sent_msat\x18\x07 \x01(\x0b\x32\x0b.cln.Amount\x12\x12\n\x05label\x18\x08 \x01(\tH\x02\x88\x01\x01\x12\x13\n\x06\x62olt11\x18\t \x01(\tH\x03\x88\x01\x01\x12\x13\n\x06\x62olt12\x18\n \x01(\tH\x04\x88\x01\x01\x12\x13\n\x06partid\x18\r \x01(\x04H\x05\x88\x01\x01\x12\x1d\n\x10payment_preimage\x18\x0b \x01(\x0cH\x06\x88\x01\x01\x12\x14\n\x07message\x18\x0c \x01(\tH\x07\x88\x01\x01\",\n\x0fSendonionStatus\x12\x0b\n\x07PENDING\x10\x00\x12\x0c\n\x08\x43OMPLETE\x10\x01\x42\x0e\n\x0c_amount_msatB\x0e\n\x0c_destinationB\x08\n\x06_labelB\t\n\x07_bolt11B\t\n\x07_bolt12B\t\n\x07_partidB\x13\n\x11_payment_preimageB\n\n\x08_message\"Q\n\x12SendonionFirst_hop\x12\n\n\x02id\x18\x01 \x01(\x0c\x12 \n\x0b\x61mount_msat\x18\x02 \x01(\x0b\x32\x0b.cln.Amount\x12\r\n\x05\x64\x65lay\x18\x03 \x01(\r\"\xeb\x01\n\x13ListsendpaysRequest\x12\x13\n\x06\x62olt11\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x19\n\x0cpayment_hash\x18\x02 \x01(\x0cH\x01\x88\x01\x01\x12@\n\x06status\x18\x03 \x01(\x0e\x32+.cln.ListsendpaysRequest.ListsendpaysStatusH\x02\x88\x01\x01\";\n\x12ListsendpaysStatus\x12\x0b\n\x07PENDING\x10\x00\x12\x0c\n\x08\x43OMPLETE\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\x42\t\n\x07_bolt11B\x0f\n\r_payment_hashB\t\n\x07_status\"C\n\x14ListsendpaysResponse\x12+\n\x08payments\x18\x01 \x03(\x0b\x32\x19.cln.ListsendpaysPayments\"\xf4\x04\n\x14ListsendpaysPayments\x12\n\n\x02id\x18\x01 \x01(\x04\x12\x0f\n\x07groupid\x18\x02 \x01(\x04\x12\x13\n\x06partid\x18\x0f \x01(\x04H\x00\x88\x01\x01\x12\x14\n\x0cpayment_hash\x18\x03 \x01(\x0c\x12\x44\n\x06status\x18\x04 \x01(\x0e\x32\x34.cln.ListsendpaysPayments.ListsendpaysPaymentsStatus\x12%\n\x0b\x61mount_msat\x18\x05 \x01(\x0b\x32\x0b.cln.AmountH\x01\x88\x01\x01\x12\x18\n\x0b\x64\x65stination\x18\x06 \x01(\x0cH\x02\x88\x01\x01\x12\x12\n\ncreated_at\x18\x07 \x01(\x04\x12%\n\x10\x61mount_sent_msat\x18\x08 \x01(\x0b\x32\x0b.cln.Amount\x12\x12\n\x05label\x18\t \x01(\tH\x03\x88\x01\x01\x12\x13\n\x06\x62olt11\x18\n \x01(\tH\x04\x88\x01\x01\x12\x18\n\x0b\x64\x65scription\x18\x0e \x01(\tH\x05\x88\x01\x01\x12\x13\n\x06\x62olt12\x18\x0b \x01(\tH\x06\x88\x01\x01\x12\x1d\n\x10payment_preimage\x18\x0c \x01(\x0cH\x07\x88\x01\x01\x12\x17\n\nerroronion\x18\r \x01(\x0cH\x08\x88\x01\x01\"C\n\x1aListsendpaysPaymentsStatus\x12\x0b\n\x07PENDING\x10\x00\x12\n\n\x06\x46\x41ILED\x10\x01\x12\x0c\n\x08\x43OMPLETE\x10\x02\x42\t\n\x07_partidB\x0e\n\x0c_amount_msatB\x0e\n\x0c_destinationB\x08\n\x06_labelB\t\n\x07_bolt11B\x0e\n\x0c_descriptionB\t\n\x07_bolt12B\x13\n\x11_payment_preimageB\r\n\x0b_erroronion\"\x19\n\x17ListtransactionsRequest\"S\n\x18ListtransactionsResponse\x12\x37\n\x0ctransactions\x18\x01 \x03(\x0b\x32!.cln.ListtransactionsTransactions\"\xf8\x01\n\x1cListtransactionsTransactions\x12\x0c\n\x04hash\x18\x01 \x01(\x0c\x12\r\n\x05rawtx\x18\x02 \x01(\x0c\x12\x13\n\x0b\x62lockheight\x18\x03 \x01(\r\x12\x0f\n\x07txindex\x18\x04 \x01(\r\x12\x10\n\x08locktime\x18\x07 \x01(\r\x12\x0f\n\x07version\x18\x08 \x01(\r\x12\x37\n\x06inputs\x18\t \x03(\x0b\x32\'.cln.ListtransactionsTransactionsInputs\x12\x39\n\x07outputs\x18\n \x03(\x0b\x32(.cln.ListtransactionsTransactionsOutputs\"\x84\x04\n\"ListtransactionsTransactionsInputs\x12\x0c\n\x04txid\x18\x01 \x01(\x0c\x12\r\n\x05index\x18\x02 \x01(\r\x12\x10\n\x08sequence\x18\x03 \x01(\r\x12\x66\n\titem_type\x18\x04 \x01(\x0e\x32N.cln.ListtransactionsTransactionsInputs.ListtransactionsTransactionsInputsTypeH\x00\x88\x01\x01\x12\x14\n\x07\x63hannel\x18\x05 \x01(\tH\x01\x88\x01\x01\"\x96\x02\n&ListtransactionsTransactionsInputsType\x12\n\n\x06THEIRS\x10\x00\x12\x0b\n\x07\x44\x45POSIT\x10\x01\x12\x0c\n\x08WITHDRAW\x10\x02\x12\x13\n\x0f\x43HANNEL_FUNDING\x10\x03\x12\x18\n\x14\x43HANNEL_MUTUAL_CLOSE\x10\x04\x12\x1c\n\x18\x43HANNEL_UNILATERAL_CLOSE\x10\x05\x12\x11\n\rCHANNEL_SWEEP\x10\x06\x12\x18\n\x14\x43HANNEL_HTLC_SUCCESS\x10\x07\x12\x18\n\x14\x43HANNEL_HTLC_TIMEOUT\x10\x08\x12\x13\n\x0f\x43HANNEL_PENALTY\x10\t\x12\x1c\n\x18\x43HANNEL_UNILATERAL_CHEAT\x10\nB\x0c\n\n_item_typeB\n\n\x08_channel\"\xa0\x04\n#ListtransactionsTransactionsOutputs\x12\r\n\x05index\x18\x01 \x01(\r\x12 \n\x0b\x61mount_msat\x18\x06 \x01(\x0b\x32\x0b.cln.Amount\x12\x14\n\x0cscriptPubKey\x18\x03 \x01(\x0c\x12h\n\titem_type\x18\x04 \x01(\x0e\x32P.cln.ListtransactionsTransactionsOutputs.ListtransactionsTransactionsOutputsTypeH\x00\x88\x01\x01\x12\x14\n\x07\x63hannel\x18\x05 \x01(\tH\x01\x88\x01\x01\"\x97\x02\n\'ListtransactionsTransactionsOutputsType\x12\n\n\x06THEIRS\x10\x00\x12\x0b\n\x07\x44\x45POSIT\x10\x01\x12\x0c\n\x08WITHDRAW\x10\x02\x12\x13\n\x0f\x43HANNEL_FUNDING\x10\x03\x12\x18\n\x14\x43HANNEL_MUTUAL_CLOSE\x10\x04\x12\x1c\n\x18\x43HANNEL_UNILATERAL_CLOSE\x10\x05\x12\x11\n\rCHANNEL_SWEEP\x10\x06\x12\x18\n\x14\x43HANNEL_HTLC_SUCCESS\x10\x07\x12\x18\n\x14\x43HANNEL_HTLC_TIMEOUT\x10\x08\x12\x13\n\x0f\x43HANNEL_PENALTY\x10\t\x12\x1c\n\x18\x43HANNEL_UNILATERAL_CHEAT\x10\nB\x0c\n\n_item_typeB\n\n\x08_channel\"\xda\x03\n\nPayRequest\x12\x0e\n\x06\x62olt11\x18\x01 \x01(\t\x12%\n\x0b\x61mount_msat\x18\r \x01(\x0b\x32\x0b.cln.AmountH\x00\x88\x01\x01\x12\x12\n\x05label\x18\x03 \x01(\tH\x01\x88\x01\x01\x12\x17\n\nriskfactor\x18\x08 \x01(\x01H\x02\x88\x01\x01\x12\x1a\n\rmaxfeepercent\x18\x04 \x01(\x01H\x03\x88\x01\x01\x12\x16\n\tretry_for\x18\x05 \x01(\rH\x04\x88\x01\x01\x12\x15\n\x08maxdelay\x18\x06 \x01(\rH\x05\x88\x01\x01\x12#\n\texemptfee\x18\x07 \x01(\x0b\x32\x0b.cln.AmountH\x06\x88\x01\x01\x12\x1a\n\rlocalinvreqid\x18\x0e \x01(\x0cH\x07\x88\x01\x01\x12\x0f\n\x07\x65xclude\x18\n \x03(\t\x12 \n\x06maxfee\x18\x0b \x01(\x0b\x32\x0b.cln.AmountH\x08\x88\x01\x01\x12\x18\n\x0b\x64\x65scription\x18\x0c \x01(\tH\t\x88\x01\x01\x42\x0e\n\x0c_amount_msatB\x08\n\x06_labelB\r\n\x0b_riskfactorB\x10\n\x0e_maxfeepercentB\x0c\n\n_retry_forB\x0b\n\t_maxdelayB\x0c\n\n_exemptfeeB\x10\n\x0e_localinvreqidB\t\n\x07_maxfeeB\x0e\n\x0c_description\"\xfb\x02\n\x0bPayResponse\x12\x18\n\x10payment_preimage\x18\x01 \x01(\x0c\x12\x18\n\x0b\x64\x65stination\x18\x02 \x01(\x0cH\x00\x88\x01\x01\x12\x14\n\x0cpayment_hash\x18\x03 \x01(\x0c\x12\x12\n\ncreated_at\x18\x04 \x01(\x01\x12\r\n\x05parts\x18\x05 \x01(\r\x12 \n\x0b\x61mount_msat\x18\x06 \x01(\x0b\x32\x0b.cln.Amount\x12%\n\x10\x61mount_sent_msat\x18\x07 \x01(\x0b\x32\x0b.cln.Amount\x12\'\n\x1awarning_partial_completion\x18\x08 \x01(\tH\x01\x88\x01\x01\x12*\n\x06status\x18\t \x01(\x0e\x32\x1a.cln.PayResponse.PayStatus\"2\n\tPayStatus\x12\x0c\n\x08\x43OMPLETE\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\x42\x0e\n\x0c_destinationB\x1d\n\x1b_warning_partial_completion\"*\n\x10ListnodesRequest\x12\x0f\n\x02id\x18\x01 \x01(\x0cH\x00\x88\x01\x01\x42\x05\n\x03_id\"7\n\x11ListnodesResponse\x12\"\n\x05nodes\x18\x01 \x03(\x0b\x32\x13.cln.ListnodesNodes\"\xe1\x01\n\x0eListnodesNodes\x12\x0e\n\x06nodeid\x18\x01 \x01(\x0c\x12\x1b\n\x0elast_timestamp\x18\x02 \x01(\rH\x00\x88\x01\x01\x12\x12\n\x05\x61lias\x18\x03 \x01(\tH\x01\x88\x01\x01\x12\x12\n\x05\x63olor\x18\x04 \x01(\x0cH\x02\x88\x01\x01\x12\x15\n\x08\x66\x65\x61tures\x18\x05 \x01(\x0cH\x03\x88\x01\x01\x12/\n\taddresses\x18\x06 \x03(\x0b\x32\x1c.cln.ListnodesNodesAddressesB\x11\n\x0f_last_timestampB\x08\n\x06_aliasB\x08\n\x06_colorB\x0b\n\t_features\"\xf7\x01\n\x17ListnodesNodesAddresses\x12K\n\titem_type\x18\x01 \x01(\x0e\x32\x38.cln.ListnodesNodesAddresses.ListnodesNodesAddressesType\x12\x0c\n\x04port\x18\x02 \x01(\r\x12\x14\n\x07\x61\x64\x64ress\x18\x03 \x01(\tH\x00\x88\x01\x01\"_\n\x1bListnodesNodesAddressesType\x12\x07\n\x03\x44NS\x10\x00\x12\x08\n\x04IPV4\x10\x01\x12\x08\n\x04IPV6\x10\x02\x12\t\n\x05TORV2\x10\x03\x12\t\n\x05TORV3\x10\x04\x12\r\n\tWEBSOCKET\x10\x05\x42\n\n\x08_address\"g\n\x15WaitanyinvoiceRequest\x12\x1a\n\rlastpay_index\x18\x01 \x01(\x04H\x00\x88\x01\x01\x12\x14\n\x07timeout\x18\x02 \x01(\x04H\x01\x88\x01\x01\x42\x10\n\x0e_lastpay_indexB\n\n\x08_timeout\"\x93\x04\n\x16WaitanyinvoiceResponse\x12\r\n\x05label\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x14\n\x0cpayment_hash\x18\x03 \x01(\x0c\x12@\n\x06status\x18\x04 \x01(\x0e\x32\x30.cln.WaitanyinvoiceResponse.WaitanyinvoiceStatus\x12\x12\n\nexpires_at\x18\x05 \x01(\x04\x12%\n\x0b\x61mount_msat\x18\x06 \x01(\x0b\x32\x0b.cln.AmountH\x00\x88\x01\x01\x12\x13\n\x06\x62olt11\x18\x07 \x01(\tH\x01\x88\x01\x01\x12\x13\n\x06\x62olt12\x18\x08 \x01(\tH\x02\x88\x01\x01\x12\x16\n\tpay_index\x18\t \x01(\x04H\x03\x88\x01\x01\x12.\n\x14\x61mount_received_msat\x18\n \x01(\x0b\x32\x0b.cln.AmountH\x04\x88\x01\x01\x12\x14\n\x07paid_at\x18\x0b \x01(\x04H\x05\x88\x01\x01\x12\x1d\n\x10payment_preimage\x18\x0c \x01(\x0cH\x06\x88\x01\x01\"-\n\x14WaitanyinvoiceStatus\x12\x08\n\x04PAID\x10\x00\x12\x0b\n\x07\x45XPIRED\x10\x01\x42\x0e\n\x0c_amount_msatB\t\n\x07_bolt11B\t\n\x07_bolt12B\x0c\n\n_pay_indexB\x17\n\x15_amount_received_msatB\n\n\x08_paid_atB\x13\n\x11_payment_preimage\"#\n\x12WaitinvoiceRequest\x12\r\n\x05label\x18\x01 \x01(\t\"\x87\x04\n\x13WaitinvoiceResponse\x12\r\n\x05label\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x14\n\x0cpayment_hash\x18\x03 \x01(\x0c\x12:\n\x06status\x18\x04 \x01(\x0e\x32*.cln.WaitinvoiceResponse.WaitinvoiceStatus\x12\x12\n\nexpires_at\x18\x05 \x01(\x04\x12%\n\x0b\x61mount_msat\x18\x06 \x01(\x0b\x32\x0b.cln.AmountH\x00\x88\x01\x01\x12\x13\n\x06\x62olt11\x18\x07 \x01(\tH\x01\x88\x01\x01\x12\x13\n\x06\x62olt12\x18\x08 \x01(\tH\x02\x88\x01\x01\x12\x16\n\tpay_index\x18\t \x01(\x04H\x03\x88\x01\x01\x12.\n\x14\x61mount_received_msat\x18\n \x01(\x0b\x32\x0b.cln.AmountH\x04\x88\x01\x01\x12\x14\n\x07paid_at\x18\x0b \x01(\x04H\x05\x88\x01\x01\x12\x1d\n\x10payment_preimage\x18\x0c \x01(\x0cH\x06\x88\x01\x01\"*\n\x11WaitinvoiceStatus\x12\x08\n\x04PAID\x10\x00\x12\x0b\n\x07\x45XPIRED\x10\x01\x42\x0e\n\x0c_amount_msatB\t\n\x07_bolt11B\t\n\x07_bolt12B\x0c\n\n_pay_indexB\x17\n\x15_amount_received_msatB\n\n\x08_paid_atB\x13\n\x11_payment_preimage\"\x8e\x01\n\x12WaitsendpayRequest\x12\x14\n\x0cpayment_hash\x18\x01 \x01(\x0c\x12\x14\n\x07timeout\x18\x03 \x01(\rH\x00\x88\x01\x01\x12\x13\n\x06partid\x18\x02 \x01(\x04H\x01\x88\x01\x01\x12\x14\n\x07groupid\x18\x04 \x01(\x04H\x02\x88\x01\x01\x42\n\n\x08_timeoutB\t\n\x07_partidB\n\n\x08_groupid\"\xb2\x04\n\x13WaitsendpayResponse\x12\n\n\x02id\x18\x01 \x01(\x04\x12\x14\n\x07groupid\x18\x02 \x01(\x04H\x00\x88\x01\x01\x12\x14\n\x0cpayment_hash\x18\x03 \x01(\x0c\x12:\n\x06status\x18\x04 \x01(\x0e\x32*.cln.WaitsendpayResponse.WaitsendpayStatus\x12%\n\x0b\x61mount_msat\x18\x05 \x01(\x0b\x32\x0b.cln.AmountH\x01\x88\x01\x01\x12\x18\n\x0b\x64\x65stination\x18\x06 \x01(\x0cH\x02\x88\x01\x01\x12\x12\n\ncreated_at\x18\x07 \x01(\x04\x12\x19\n\x0c\x63ompleted_at\x18\x0e \x01(\x01H\x03\x88\x01\x01\x12%\n\x10\x61mount_sent_msat\x18\x08 \x01(\x0b\x32\x0b.cln.Amount\x12\x12\n\x05label\x18\t \x01(\tH\x04\x88\x01\x01\x12\x13\n\x06partid\x18\n \x01(\x04H\x05\x88\x01\x01\x12\x13\n\x06\x62olt11\x18\x0b \x01(\tH\x06\x88\x01\x01\x12\x13\n\x06\x62olt12\x18\x0c \x01(\tH\x07\x88\x01\x01\x12\x1d\n\x10payment_preimage\x18\r \x01(\x0cH\x08\x88\x01\x01\"!\n\x11WaitsendpayStatus\x12\x0c\n\x08\x43OMPLETE\x10\x00\x42\n\n\x08_groupidB\x0e\n\x0c_amount_msatB\x0e\n\x0c_destinationB\x0f\n\r_completed_atB\x08\n\x06_labelB\t\n\x07_partidB\t\n\x07_bolt11B\t\n\x07_bolt12B\x13\n\x11_payment_preimage\"\x8d\x01\n\x0eNewaddrRequest\x12@\n\x0b\x61\x64\x64resstype\x18\x01 \x01(\x0e\x32&.cln.NewaddrRequest.NewaddrAddresstypeH\x00\x88\x01\x01\")\n\x12NewaddrAddresstype\x12\n\n\x06\x42\x45\x43H32\x10\x00\x12\x07\n\x03\x41LL\x10\x02\x42\x0e\n\x0c_addresstype\"[\n\x0fNewaddrResponse\x12\x13\n\x06\x62\x65\x63h32\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x18\n\x0bp2sh_segwit\x18\x02 \x01(\tH\x01\x88\x01\x01\x42\t\n\x07_bech32B\x0e\n\x0c_p2sh_segwit\"\xca\x01\n\x0fWithdrawRequest\x12\x13\n\x0b\x64\x65stination\x18\x01 \x01(\t\x12&\n\x07satoshi\x18\x02 \x01(\x0b\x32\x10.cln.AmountOrAllH\x00\x88\x01\x01\x12\"\n\x07\x66\x65\x65rate\x18\x05 \x01(\x0b\x32\x0c.cln.FeerateH\x01\x88\x01\x01\x12\x14\n\x07minconf\x18\x03 \x01(\rH\x02\x88\x01\x01\x12\x1c\n\x05utxos\x18\x04 \x03(\x0b\x32\r.cln.OutpointB\n\n\x08_satoshiB\n\n\x08_feerateB\n\n\x08_minconf\":\n\x10WithdrawResponse\x12\n\n\x02tx\x18\x01 \x01(\x0c\x12\x0c\n\x04txid\x18\x02 \x01(\x0c\x12\x0c\n\x04psbt\x18\x03 \x01(\t\"\x82\x03\n\x0eKeysendRequest\x12\x13\n\x0b\x64\x65stination\x18\x01 \x01(\x0c\x12 \n\x0b\x61mount_msat\x18\n \x01(\x0b\x32\x0b.cln.Amount\x12\x12\n\x05label\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x1a\n\rmaxfeepercent\x18\x04 \x01(\x01H\x01\x88\x01\x01\x12\x16\n\tretry_for\x18\x05 \x01(\rH\x02\x88\x01\x01\x12\x15\n\x08maxdelay\x18\x06 \x01(\rH\x03\x88\x01\x01\x12#\n\texemptfee\x18\x07 \x01(\x0b\x32\x0b.cln.AmountH\x04\x88\x01\x01\x12+\n\nroutehints\x18\x08 \x01(\x0b\x32\x12.cln.RoutehintListH\x05\x88\x01\x01\x12&\n\textratlvs\x18\t \x01(\x0b\x32\x0e.cln.TlvStreamH\x06\x88\x01\x01\x42\x08\n\x06_labelB\x10\n\x0e_maxfeepercentB\x0c\n\n_retry_forB\x0b\n\t_maxdelayB\x0c\n\n_exemptfeeB\r\n\x0b_routehintsB\x0c\n\n_extratlvs\"\xf2\x02\n\x0fKeysendResponse\x12\x18\n\x10payment_preimage\x18\x01 \x01(\x0c\x12\x18\n\x0b\x64\x65stination\x18\x02 \x01(\x0cH\x00\x88\x01\x01\x12\x14\n\x0cpayment_hash\x18\x03 \x01(\x0c\x12\x12\n\ncreated_at\x18\x04 \x01(\x01\x12\r\n\x05parts\x18\x05 \x01(\r\x12 \n\x0b\x61mount_msat\x18\x06 \x01(\x0b\x32\x0b.cln.Amount\x12%\n\x10\x61mount_sent_msat\x18\x07 \x01(\x0b\x32\x0b.cln.Amount\x12\'\n\x1awarning_partial_completion\x18\x08 \x01(\tH\x01\x88\x01\x01\x12\x32\n\x06status\x18\t \x01(\x0e\x32\".cln.KeysendResponse.KeysendStatus\"\x1d\n\rKeysendStatus\x12\x0c\n\x08\x43OMPLETE\x10\x00\x42\x0e\n\x0c_destinationB\x1d\n\x1b_warning_partial_completion\"\xbc\x02\n\x0f\x46undpsbtRequest\x12!\n\x07satoshi\x18\x01 \x01(\x0b\x32\x10.cln.AmountOrAll\x12\x1d\n\x07\x66\x65\x65rate\x18\x02 \x01(\x0b\x32\x0c.cln.Feerate\x12\x13\n\x0bstartweight\x18\x03 \x01(\r\x12\x14\n\x07minconf\x18\x04 \x01(\rH\x00\x88\x01\x01\x12\x14\n\x07reserve\x18\x05 \x01(\rH\x01\x88\x01\x01\x12\x15\n\x08locktime\x18\x06 \x01(\rH\x02\x88\x01\x01\x12\x1f\n\x12min_witness_weight\x18\x07 \x01(\rH\x03\x88\x01\x01\x12\x1d\n\x10\x65xcess_as_change\x18\x08 \x01(\x08H\x04\x88\x01\x01\x42\n\n\x08_minconfB\n\n\x08_reserveB\x0b\n\t_locktimeB\x15\n\x13_min_witness_weightB\x13\n\x11_excess_as_change\"\xd9\x01\n\x10\x46undpsbtResponse\x12\x0c\n\x04psbt\x18\x01 \x01(\t\x12\x16\n\x0e\x66\x65\x65rate_per_kw\x18\x02 \x01(\r\x12\x1e\n\x16\x65stimated_final_weight\x18\x03 \x01(\r\x12 \n\x0b\x65xcess_msat\x18\x04 \x01(\x0b\x32\x0b.cln.Amount\x12\x1a\n\rchange_outnum\x18\x05 \x01(\rH\x00\x88\x01\x01\x12/\n\x0creservations\x18\x06 \x03(\x0b\x32\x19.cln.FundpsbtReservationsB\x10\n\x0e_change_outnum\"u\n\x14\x46undpsbtReservations\x12\x0c\n\x04txid\x18\x01 \x01(\x0c\x12\x0c\n\x04vout\x18\x02 \x01(\r\x12\x14\n\x0cwas_reserved\x18\x03 \x01(\x08\x12\x10\n\x08reserved\x18\x04 \x01(\x08\x12\x19\n\x11reserved_to_block\x18\x05 \x01(\r\"A\n\x0fSendpsbtRequest\x12\x0c\n\x04psbt\x18\x01 \x01(\t\x12\x14\n\x07reserve\x18\x02 \x01(\x08H\x00\x88\x01\x01\x42\n\n\x08_reserve\",\n\x10SendpsbtResponse\x12\n\n\x02tx\x18\x01 \x01(\x0c\x12\x0c\n\x04txid\x18\x02 \x01(\x0c\"1\n\x0fSignpsbtRequest\x12\x0c\n\x04psbt\x18\x01 \x01(\t\x12\x10\n\x08signonly\x18\x02 \x03(\r\"\'\n\x10SignpsbtResponse\x12\x13\n\x0bsigned_psbt\x18\x01 \x01(\t\"\xdb\x02\n\x0fUtxopsbtRequest\x12\x1c\n\x07satoshi\x18\x01 \x01(\x0b\x32\x0b.cln.Amount\x12\x1d\n\x07\x66\x65\x65rate\x18\x02 \x01(\x0b\x32\x0c.cln.Feerate\x12\x13\n\x0bstartweight\x18\x03 \x01(\r\x12\x1c\n\x05utxos\x18\x04 \x03(\x0b\x32\r.cln.Outpoint\x12\x14\n\x07reserve\x18\x05 \x01(\rH\x00\x88\x01\x01\x12\x17\n\nreservedok\x18\x08 \x01(\x08H\x01\x88\x01\x01\x12\x15\n\x08locktime\x18\x06 \x01(\rH\x02\x88\x01\x01\x12\x1f\n\x12min_witness_weight\x18\x07 \x01(\rH\x03\x88\x01\x01\x12\x1d\n\x10\x65xcess_as_change\x18\t \x01(\x08H\x04\x88\x01\x01\x42\n\n\x08_reserveB\r\n\x0b_reservedokB\x0b\n\t_locktimeB\x15\n\x13_min_witness_weightB\x13\n\x11_excess_as_change\"\xd9\x01\n\x10UtxopsbtResponse\x12\x0c\n\x04psbt\x18\x01 \x01(\t\x12\x16\n\x0e\x66\x65\x65rate_per_kw\x18\x02 \x01(\r\x12\x1e\n\x16\x65stimated_final_weight\x18\x03 \x01(\r\x12 \n\x0b\x65xcess_msat\x18\x04 \x01(\x0b\x32\x0b.cln.Amount\x12\x1a\n\rchange_outnum\x18\x05 \x01(\rH\x00\x88\x01\x01\x12/\n\x0creservations\x18\x06 \x03(\x0b\x32\x19.cln.UtxopsbtReservationsB\x10\n\x0e_change_outnum\"u\n\x14UtxopsbtReservations\x12\x0c\n\x04txid\x18\x01 \x01(\x0c\x12\x0c\n\x04vout\x18\x02 \x01(\r\x12\x14\n\x0cwas_reserved\x18\x03 \x01(\x08\x12\x10\n\x08reserved\x18\x04 \x01(\x08\x12\x19\n\x11reserved_to_block\x18\x05 \x01(\r\" \n\x10TxdiscardRequest\x12\x0c\n\x04txid\x18\x01 \x01(\x0c\"6\n\x11TxdiscardResponse\x12\x13\n\x0bunsigned_tx\x18\x01 \x01(\x0c\x12\x0c\n\x04txid\x18\x02 \x01(\x0c\"\xa4\x01\n\x10TxprepareRequest\x12 \n\x07outputs\x18\x05 \x03(\x0b\x32\x0f.cln.OutputDesc\x12\"\n\x07\x66\x65\x65rate\x18\x02 \x01(\x0b\x32\x0c.cln.FeerateH\x00\x88\x01\x01\x12\x14\n\x07minconf\x18\x03 \x01(\rH\x01\x88\x01\x01\x12\x1c\n\x05utxos\x18\x04 \x03(\x0b\x32\r.cln.OutpointB\n\n\x08_feerateB\n\n\x08_minconf\"D\n\x11TxprepareResponse\x12\x0c\n\x04psbt\x18\x01 \x01(\t\x12\x13\n\x0bunsigned_tx\x18\x02 \x01(\x0c\x12\x0c\n\x04txid\x18\x03 \x01(\x0c\"\x1d\n\rTxsendRequest\x12\x0c\n\x04txid\x18\x01 \x01(\x0c\"8\n\x0eTxsendResponse\x12\x0c\n\x04psbt\x18\x01 \x01(\t\x12\n\n\x02tx\x18\x02 \x01(\x0c\x12\x0c\n\x04txid\x18\x03 \x01(\x0c\"=\n\x11\x44isconnectRequest\x12\n\n\x02id\x18\x01 \x01(\x0c\x12\x12\n\x05\x66orce\x18\x02 \x01(\x08H\x00\x88\x01\x01\x42\x08\n\x06_force\"\x14\n\x12\x44isconnectResponse\"k\n\x0f\x46\x65\x65ratesRequest\x12\x31\n\x05style\x18\x01 \x01(\x0e\x32\".cln.FeeratesRequest.FeeratesStyle\"%\n\rFeeratesStyle\x12\t\n\x05PERKB\x10\x00\x12\t\n\x05PERKW\x10\x01\"\x9c\x02\n\x10\x46\x65\x65ratesResponse\x12%\n\x18warning_missing_feerates\x18\x01 \x01(\tH\x00\x88\x01\x01\x12&\n\x05perkb\x18\x02 \x01(\x0b\x32\x12.cln.FeeratesPerkbH\x01\x88\x01\x01\x12&\n\x05perkw\x18\x03 \x01(\x0b\x32\x12.cln.FeeratesPerkwH\x02\x88\x01\x01\x12\x46\n\x15onchain_fee_estimates\x18\x04 \x01(\x0b\x32\".cln.FeeratesOnchain_fee_estimatesH\x03\x88\x01\x01\x42\x1b\n\x19_warning_missing_feeratesB\x08\n\x06_perkbB\x08\n\x06_perkwB\x18\n\x16_onchain_fee_estimates\"\xc3\x02\n\rFeeratesPerkb\x12\x16\n\x0emin_acceptable\x18\x01 \x01(\r\x12\x16\n\x0emax_acceptable\x18\x02 \x01(\r\x12\x14\n\x07opening\x18\x03 \x01(\rH\x00\x88\x01\x01\x12\x19\n\x0cmutual_close\x18\x04 \x01(\rH\x01\x88\x01\x01\x12\x1d\n\x10unilateral_close\x18\x05 \x01(\rH\x02\x88\x01\x01\x12\x1a\n\rdelayed_to_us\x18\x06 \x01(\rH\x03\x88\x01\x01\x12\x1c\n\x0fhtlc_resolution\x18\x07 \x01(\rH\x04\x88\x01\x01\x12\x14\n\x07penalty\x18\x08 \x01(\rH\x05\x88\x01\x01\x42\n\n\x08_openingB\x0f\n\r_mutual_closeB\x13\n\x11_unilateral_closeB\x10\n\x0e_delayed_to_usB\x12\n\x10_htlc_resolutionB\n\n\x08_penalty\"\xc3\x02\n\rFeeratesPerkw\x12\x16\n\x0emin_acceptable\x18\x01 \x01(\r\x12\x16\n\x0emax_acceptable\x18\x02 \x01(\r\x12\x14\n\x07opening\x18\x03 \x01(\rH\x00\x88\x01\x01\x12\x19\n\x0cmutual_close\x18\x04 \x01(\rH\x01\x88\x01\x01\x12\x1d\n\x10unilateral_close\x18\x05 \x01(\rH\x02\x88\x01\x01\x12\x1a\n\rdelayed_to_us\x18\x06 \x01(\rH\x03\x88\x01\x01\x12\x1c\n\x0fhtlc_resolution\x18\x07 \x01(\rH\x04\x88\x01\x01\x12\x14\n\x07penalty\x18\x08 \x01(\rH\x05\x88\x01\x01\x42\n\n\x08_openingB\x0f\n\r_mutual_closeB\x13\n\x11_unilateral_closeB\x10\n\x0e_delayed_to_usB\x12\n\x10_htlc_resolutionB\n\n\x08_penalty\"\xc1\x01\n\x1d\x46\x65\x65ratesOnchain_fee_estimates\x12 \n\x18opening_channel_satoshis\x18\x01 \x01(\x04\x12\x1d\n\x15mutual_close_satoshis\x18\x02 \x01(\x04\x12!\n\x19unilateral_close_satoshis\x18\x03 \x01(\x04\x12\x1d\n\x15htlc_timeout_satoshis\x18\x04 \x01(\x04\x12\x1d\n\x15htlc_success_satoshis\x18\x05 \x01(\x04\"\xe5\x03\n\x12\x46undchannelRequest\x12\n\n\x02id\x18\t \x01(\x0c\x12 \n\x06\x61mount\x18\x01 \x01(\x0b\x32\x10.cln.AmountOrAll\x12\"\n\x07\x66\x65\x65rate\x18\x02 \x01(\x0b\x32\x0c.cln.FeerateH\x00\x88\x01\x01\x12\x15\n\x08\x61nnounce\x18\x03 \x01(\x08H\x01\x88\x01\x01\x12\x14\n\x07minconf\x18\n \x01(\rH\x02\x88\x01\x01\x12#\n\tpush_msat\x18\x05 \x01(\x0b\x32\x0b.cln.AmountH\x03\x88\x01\x01\x12\x15\n\x08\x63lose_to\x18\x06 \x01(\tH\x04\x88\x01\x01\x12%\n\x0brequest_amt\x18\x07 \x01(\x0b\x32\x0b.cln.AmountH\x05\x88\x01\x01\x12\x1a\n\rcompact_lease\x18\x08 \x01(\tH\x06\x88\x01\x01\x12\x1c\n\x05utxos\x18\x0b \x03(\x0b\x32\r.cln.Outpoint\x12\x15\n\x08mindepth\x18\x0c \x01(\rH\x07\x88\x01\x01\x12!\n\x07reserve\x18\r \x01(\x0b\x32\x0b.cln.AmountH\x08\x88\x01\x01\x42\n\n\x08_feerateB\x0b\n\t_announceB\n\n\x08_minconfB\x0c\n\n_push_msatB\x0b\n\t_close_toB\x0e\n\x0c_request_amtB\x10\n\x0e_compact_leaseB\x0b\n\t_mindepthB\n\n\x08_reserve\"\x9b\x01\n\x13\x46undchannelResponse\x12\n\n\x02tx\x18\x01 \x01(\x0c\x12\x0c\n\x04txid\x18\x02 \x01(\x0c\x12\x0e\n\x06outnum\x18\x03 \x01(\r\x12\x12\n\nchannel_id\x18\x04 \x01(\x0c\x12\x15\n\x08\x63lose_to\x18\x05 \x01(\x0cH\x00\x88\x01\x01\x12\x15\n\x08mindepth\x18\x06 \x01(\rH\x01\x88\x01\x01\x42\x0b\n\t_close_toB\x0b\n\t_mindepth\"\xec\x01\n\x0fGetrouteRequest\x12\n\n\x02id\x18\x01 \x01(\x0c\x12 \n\x0b\x61mount_msat\x18\t \x01(\x0b\x32\x0b.cln.Amount\x12\x12\n\nriskfactor\x18\x03 \x01(\x04\x12\x11\n\x04\x63ltv\x18\x04 \x01(\x01H\x00\x88\x01\x01\x12\x13\n\x06\x66romid\x18\x05 \x01(\x0cH\x01\x88\x01\x01\x12\x18\n\x0b\x66uzzpercent\x18\x06 \x01(\rH\x02\x88\x01\x01\x12\x0f\n\x07\x65xclude\x18\x07 \x03(\t\x12\x14\n\x07maxhops\x18\x08 \x01(\rH\x03\x88\x01\x01\x42\x07\n\x05_cltvB\t\n\x07_fromidB\x0e\n\x0c_fuzzpercentB\n\n\x08_maxhops\"5\n\x10GetrouteResponse\x12!\n\x05route\x18\x01 \x03(\x0b\x32\x12.cln.GetrouteRoute\"\xc5\x01\n\rGetrouteRoute\x12\n\n\x02id\x18\x01 \x01(\x0c\x12\x0f\n\x07\x63hannel\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\r\x12 \n\x0b\x61mount_msat\x18\x04 \x01(\x0b\x32\x0b.cln.Amount\x12\r\n\x05\x64\x65lay\x18\x05 \x01(\r\x12\x34\n\x05style\x18\x06 \x01(\x0e\x32%.cln.GetrouteRoute.GetrouteRouteStyle\"\x1d\n\x12GetrouteRouteStyle\x12\x07\n\x03TLV\x10\x00\"\x82\x02\n\x13ListforwardsRequest\x12@\n\x06status\x18\x01 \x01(\x0e\x32+.cln.ListforwardsRequest.ListforwardsStatusH\x00\x88\x01\x01\x12\x17\n\nin_channel\x18\x02 \x01(\tH\x01\x88\x01\x01\x12\x18\n\x0bout_channel\x18\x03 \x01(\tH\x02\x88\x01\x01\"L\n\x12ListforwardsStatus\x12\x0b\n\x07OFFERED\x10\x00\x12\x0b\n\x07SETTLED\x10\x01\x12\x10\n\x0cLOCAL_FAILED\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\x42\t\n\x07_statusB\r\n\x0b_in_channelB\x0e\n\x0c_out_channel\"C\n\x14ListforwardsResponse\x12+\n\x08\x66orwards\x18\x01 \x03(\x0b\x32\x19.cln.ListforwardsForwards\"\xde\x04\n\x14ListforwardsForwards\x12\x12\n\nin_channel\x18\x01 \x01(\t\x12\x17\n\nin_htlc_id\x18\n \x01(\x04H\x00\x88\x01\x01\x12\x1c\n\x07in_msat\x18\x02 \x01(\x0b\x32\x0b.cln.Amount\x12\x44\n\x06status\x18\x03 \x01(\x0e\x32\x34.cln.ListforwardsForwards.ListforwardsForwardsStatus\x12\x15\n\rreceived_time\x18\x04 \x01(\x01\x12\x18\n\x0bout_channel\x18\x05 \x01(\tH\x01\x88\x01\x01\x12\x18\n\x0bout_htlc_id\x18\x0b \x01(\x04H\x02\x88\x01\x01\x12G\n\x05style\x18\t \x01(\x0e\x32\x33.cln.ListforwardsForwards.ListforwardsForwardsStyleH\x03\x88\x01\x01\x12\"\n\x08\x66\x65\x65_msat\x18\x07 \x01(\x0b\x32\x0b.cln.AmountH\x04\x88\x01\x01\x12\"\n\x08out_msat\x18\x08 \x01(\x0b\x32\x0b.cln.AmountH\x05\x88\x01\x01\"T\n\x1aListforwardsForwardsStatus\x12\x0b\n\x07OFFERED\x10\x00\x12\x0b\n\x07SETTLED\x10\x01\x12\x10\n\x0cLOCAL_FAILED\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\"0\n\x19ListforwardsForwardsStyle\x12\n\n\x06LEGACY\x10\x00\x12\x07\n\x03TLV\x10\x01\x42\r\n\x0b_in_htlc_idB\x0e\n\x0c_out_channelB\x0e\n\x0c_out_htlc_idB\x08\n\x06_styleB\x0b\n\t_fee_msatB\x0b\n\t_out_msat\"\xdb\x01\n\x0fListpaysRequest\x12\x13\n\x06\x62olt11\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x19\n\x0cpayment_hash\x18\x02 \x01(\x0cH\x01\x88\x01\x01\x12\x38\n\x06status\x18\x03 \x01(\x0e\x32#.cln.ListpaysRequest.ListpaysStatusH\x02\x88\x01\x01\"7\n\x0eListpaysStatus\x12\x0b\n\x07PENDING\x10\x00\x12\x0c\n\x08\x43OMPLETE\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\x42\t\n\x07_bolt11B\x0f\n\r_payment_hashB\t\n\x07_status\"3\n\x10ListpaysResponse\x12\x1f\n\x04pays\x18\x01 \x03(\x0b\x32\x11.cln.ListpaysPays\"\x87\x04\n\x0cListpaysPays\x12\x14\n\x0cpayment_hash\x18\x01 \x01(\x0c\x12\x34\n\x06status\x18\x02 \x01(\x0e\x32$.cln.ListpaysPays.ListpaysPaysStatus\x12\x18\n\x0b\x64\x65stination\x18\x03 \x01(\x0cH\x00\x88\x01\x01\x12\x12\n\ncreated_at\x18\x04 \x01(\x04\x12\x19\n\x0c\x63ompleted_at\x18\x0c \x01(\x04H\x01\x88\x01\x01\x12\x12\n\x05label\x18\x05 \x01(\tH\x02\x88\x01\x01\x12\x13\n\x06\x62olt11\x18\x06 \x01(\tH\x03\x88\x01\x01\x12\x18\n\x0b\x64\x65scription\x18\x0b \x01(\tH\x04\x88\x01\x01\x12\x13\n\x06\x62olt12\x18\x07 \x01(\tH\x05\x88\x01\x01\x12\x15\n\x08preimage\x18\r \x01(\x0cH\x06\x88\x01\x01\x12\x1c\n\x0fnumber_of_parts\x18\x0e \x01(\x04H\x07\x88\x01\x01\x12\x17\n\nerroronion\x18\n \x01(\x0cH\x08\x88\x01\x01\";\n\x12ListpaysPaysStatus\x12\x0b\n\x07PENDING\x10\x00\x12\n\n\x06\x46\x41ILED\x10\x01\x12\x0c\n\x08\x43OMPLETE\x10\x02\x42\x0e\n\x0c_destinationB\x0f\n\r_completed_atB\x08\n\x06_labelB\t\n\x07_bolt11B\x0e\n\x0c_descriptionB\t\n\x07_bolt12B\x0b\n\t_preimageB\x12\n\x10_number_of_partsB\r\n\x0b_erroronion\"Y\n\x0bPingRequest\x12\n\n\x02id\x18\x01 \x01(\x0c\x12\x10\n\x03len\x18\x02 \x01(\rH\x00\x88\x01\x01\x12\x16\n\tpongbytes\x18\x03 \x01(\rH\x01\x88\x01\x01\x42\x06\n\x04_lenB\x0c\n\n_pongbytes\"\x1e\n\x0cPingResponse\x12\x0e\n\x06totlen\x18\x01 \x01(\r\"4\n\x14SendcustommsgRequest\x12\x0f\n\x07node_id\x18\x01 \x01(\x0c\x12\x0b\n\x03msg\x18\x02 \x01(\x0c\"\'\n\x15SendcustommsgResponse\x12\x0e\n\x06status\x18\x01 \x01(\t\"\xf8\x01\n\x11SetchannelRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12!\n\x07\x66\x65\x65\x62\x61se\x18\x02 \x01(\x0b\x32\x0b.cln.AmountH\x00\x88\x01\x01\x12\x13\n\x06\x66\x65\x65ppm\x18\x03 \x01(\rH\x01\x88\x01\x01\x12!\n\x07htlcmin\x18\x04 \x01(\x0b\x32\x0b.cln.AmountH\x02\x88\x01\x01\x12!\n\x07htlcmax\x18\x05 \x01(\x0b\x32\x0b.cln.AmountH\x03\x88\x01\x01\x12\x19\n\x0c\x65nforcedelay\x18\x06 \x01(\rH\x04\x88\x01\x01\x42\n\n\x08_feebaseB\t\n\x07_feeppmB\n\n\x08_htlcminB\n\n\x08_htlcmaxB\x0f\n\r_enforcedelay\"?\n\x12SetchannelResponse\x12)\n\x08\x63hannels\x18\x01 \x03(\x0b\x32\x17.cln.SetchannelChannels\"\x94\x03\n\x12SetchannelChannels\x12\x0f\n\x07peer_id\x18\x01 \x01(\x0c\x12\x12\n\nchannel_id\x18\x02 \x01(\x0c\x12\x1d\n\x10short_channel_id\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\"\n\rfee_base_msat\x18\x04 \x01(\x0b\x32\x0b.cln.Amount\x12#\n\x1b\x66\x65\x65_proportional_millionths\x18\x05 \x01(\r\x12*\n\x15minimum_htlc_out_msat\x18\x06 \x01(\x0b\x32\x0b.cln.Amount\x12$\n\x17warning_htlcmin_too_low\x18\x07 \x01(\tH\x01\x88\x01\x01\x12*\n\x15maximum_htlc_out_msat\x18\x08 \x01(\x0b\x32\x0b.cln.Amount\x12%\n\x18warning_htlcmax_too_high\x18\t \x01(\tH\x02\x88\x01\x01\x42\x13\n\x11_short_channel_idB\x1a\n\x18_warning_htlcmin_too_lowB\x1b\n\x19_warning_htlcmax_too_high\"\'\n\x12SigninvoiceRequest\x12\x11\n\tinvstring\x18\x01 \x01(\t\"%\n\x13SigninvoiceResponse\x12\x0e\n\x06\x62olt11\x18\x01 \x01(\t\"%\n\x12SignmessageRequest\x12\x0f\n\x07message\x18\x01 \x01(\t\"F\n\x13SignmessageResponse\x12\x11\n\tsignature\x18\x01 \x01(\x0c\x12\r\n\x05recid\x18\x02 \x01(\x0c\x12\r\n\x05zbase\x18\x03 \x01(\t\"\r\n\x0bStopRequest\"\x0e\n\x0cStopResponse2\xbf\x18\n\x04Node\x12\x36\n\x07Getinfo\x12\x13.cln.GetinfoRequest\x1a\x14.cln.GetinfoResponse\"\x00\x12<\n\tListPeers\x12\x15.cln.ListpeersRequest\x1a\x16.cln.ListpeersResponse\"\x00\x12<\n\tListFunds\x12\x15.cln.ListfundsRequest\x1a\x16.cln.ListfundsResponse\"\x00\x12\x36\n\x07SendPay\x12\x13.cln.SendpayRequest\x1a\x14.cln.SendpayResponse\"\x00\x12\x45\n\x0cListChannels\x12\x18.cln.ListchannelsRequest\x1a\x19.cln.ListchannelsResponse\"\x00\x12<\n\tAddGossip\x12\x15.cln.AddgossipRequest\x1a\x16.cln.AddgossipResponse\"\x00\x12Q\n\x10\x41utoCleanInvoice\x12\x1c.cln.AutocleaninvoiceRequest\x1a\x1d.cln.AutocleaninvoiceResponse\"\x00\x12\x45\n\x0c\x43heckMessage\x12\x18.cln.CheckmessageRequest\x1a\x19.cln.CheckmessageResponse\"\x00\x12\x30\n\x05\x43lose\x12\x11.cln.CloseRequest\x1a\x12.cln.CloseResponse\"\x00\x12:\n\x0b\x43onnectPeer\x12\x13.cln.ConnectRequest\x1a\x14.cln.ConnectResponse\"\x00\x12H\n\rCreateInvoice\x12\x19.cln.CreateinvoiceRequest\x1a\x1a.cln.CreateinvoiceResponse\"\x00\x12<\n\tDatastore\x12\x15.cln.DatastoreRequest\x1a\x16.cln.DatastoreResponse\"\x00\x12\x42\n\x0b\x43reateOnion\x12\x17.cln.CreateonionRequest\x1a\x18.cln.CreateonionResponse\"\x00\x12\x45\n\x0c\x44\x65lDatastore\x12\x18.cln.DeldatastoreRequest\x1a\x19.cln.DeldatastoreResponse\"\x00\x12T\n\x11\x44\x65lExpiredInvoice\x12\x1d.cln.DelexpiredinvoiceRequest\x1a\x1e.cln.DelexpiredinvoiceResponse\"\x00\x12?\n\nDelInvoice\x12\x16.cln.DelinvoiceRequest\x1a\x17.cln.DelinvoiceResponse\"\x00\x12\x36\n\x07Invoice\x12\x13.cln.InvoiceRequest\x1a\x14.cln.InvoiceResponse\"\x00\x12H\n\rListDatastore\x12\x19.cln.ListdatastoreRequest\x1a\x1a.cln.ListdatastoreResponse\"\x00\x12\x45\n\x0cListInvoices\x12\x18.cln.ListinvoicesRequest\x1a\x19.cln.ListinvoicesResponse\"\x00\x12<\n\tSendOnion\x12\x15.cln.SendonionRequest\x1a\x16.cln.SendonionResponse\"\x00\x12\x45\n\x0cListSendPays\x12\x18.cln.ListsendpaysRequest\x1a\x19.cln.ListsendpaysResponse\"\x00\x12Q\n\x10ListTransactions\x12\x1c.cln.ListtransactionsRequest\x1a\x1d.cln.ListtransactionsResponse\"\x00\x12*\n\x03Pay\x12\x0f.cln.PayRequest\x1a\x10.cln.PayResponse\"\x00\x12<\n\tListNodes\x12\x15.cln.ListnodesRequest\x1a\x16.cln.ListnodesResponse\"\x00\x12K\n\x0eWaitAnyInvoice\x12\x1a.cln.WaitanyinvoiceRequest\x1a\x1b.cln.WaitanyinvoiceResponse\"\x00\x12\x42\n\x0bWaitInvoice\x12\x17.cln.WaitinvoiceRequest\x1a\x18.cln.WaitinvoiceResponse\"\x00\x12\x42\n\x0bWaitSendPay\x12\x17.cln.WaitsendpayRequest\x1a\x18.cln.WaitsendpayResponse\"\x00\x12\x36\n\x07NewAddr\x12\x13.cln.NewaddrRequest\x1a\x14.cln.NewaddrResponse\"\x00\x12\x39\n\x08Withdraw\x12\x14.cln.WithdrawRequest\x1a\x15.cln.WithdrawResponse\"\x00\x12\x36\n\x07KeySend\x12\x13.cln.KeysendRequest\x1a\x14.cln.KeysendResponse\"\x00\x12\x39\n\x08\x46undPsbt\x12\x14.cln.FundpsbtRequest\x1a\x15.cln.FundpsbtResponse\"\x00\x12\x39\n\x08SendPsbt\x12\x14.cln.SendpsbtRequest\x1a\x15.cln.SendpsbtResponse\"\x00\x12\x39\n\x08SignPsbt\x12\x14.cln.SignpsbtRequest\x1a\x15.cln.SignpsbtResponse\"\x00\x12\x39\n\x08UtxoPsbt\x12\x14.cln.UtxopsbtRequest\x1a\x15.cln.UtxopsbtResponse\"\x00\x12<\n\tTxDiscard\x12\x15.cln.TxdiscardRequest\x1a\x16.cln.TxdiscardResponse\"\x00\x12<\n\tTxPrepare\x12\x15.cln.TxprepareRequest\x1a\x16.cln.TxprepareResponse\"\x00\x12\x33\n\x06TxSend\x12\x12.cln.TxsendRequest\x1a\x13.cln.TxsendResponse\"\x00\x12?\n\nDisconnect\x12\x16.cln.DisconnectRequest\x1a\x17.cln.DisconnectResponse\"\x00\x12\x39\n\x08\x46\x65\x65rates\x12\x14.cln.FeeratesRequest\x1a\x15.cln.FeeratesResponse\"\x00\x12\x42\n\x0b\x46undChannel\x12\x17.cln.FundchannelRequest\x1a\x18.cln.FundchannelResponse\"\x00\x12\x39\n\x08GetRoute\x12\x14.cln.GetrouteRequest\x1a\x15.cln.GetrouteResponse\"\x00\x12\x45\n\x0cListForwards\x12\x18.cln.ListforwardsRequest\x1a\x19.cln.ListforwardsResponse\"\x00\x12\x39\n\x08ListPays\x12\x14.cln.ListpaysRequest\x1a\x15.cln.ListpaysResponse\"\x00\x12-\n\x04Ping\x12\x10.cln.PingRequest\x1a\x11.cln.PingResponse\"\x00\x12H\n\rSendCustomMsg\x12\x19.cln.SendcustommsgRequest\x1a\x1a.cln.SendcustommsgResponse\"\x00\x12?\n\nSetChannel\x12\x16.cln.SetchannelRequest\x1a\x17.cln.SetchannelResponse\"\x00\x12\x42\n\x0bSignInvoice\x12\x17.cln.SigninvoiceRequest\x1a\x18.cln.SigninvoiceResponse\"\x00\x12\x42\n\x0bSignMessage\x12\x17.cln.SignmessageRequest\x1a\x18.cln.SignmessageResponse\"\x00\x12-\n\x04Stop\x12\x10.cln.StopRequest\x1a\x11.cln.StopResponse\"\x00\x62\x06proto3') @@ -1124,337 +1124,337 @@ _GETINFOREQUEST._serialized_start=37 _GETINFOREQUEST._serialized_end=53 _GETINFORESPONSE._serialized_start=56 - _GETINFORESPONSE._serialized_end=684 - _GETINFOOUR_FEATURES._serialized_start=686 - _GETINFOOUR_FEATURES._serialized_end=769 - _GETINFOADDRESS._serialized_start=772 - _GETINFOADDRESS._serialized_end=983 - _GETINFOADDRESS_GETINFOADDRESSTYPE._serialized_start=885 - _GETINFOADDRESS_GETINFOADDRESSTYPE._serialized_end=971 - _GETINFOBINDING._serialized_start=986 - _GETINFOBINDING._serialized_end=1237 - _GETINFOBINDING_GETINFOBINDINGTYPE._serialized_start=1125 - _GETINFOBINDING_GETINFOBINDINGTYPE._serialized_end=1205 - _LISTPEERSREQUEST._serialized_start=1239 - _LISTPEERSREQUEST._serialized_end=1311 - _LISTPEERSRESPONSE._serialized_start=1313 - _LISTPEERSRESPONSE._serialized_end=1368 - _LISTPEERSPEERS._serialized_start=1371 - _LISTPEERSPEERS._serialized_end=1619 - _LISTPEERSPEERSLOG._serialized_start=1622 - _LISTPEERSPEERSLOG._serialized_end=2003 - _LISTPEERSPEERSLOG_LISTPEERSPEERSLOGTYPE._serialized_start=1833 - _LISTPEERSPEERSLOG_LISTPEERSPEERSLOGTYPE._serialized_end=1938 - _LISTPEERSPEERSCHANNELS._serialized_start=2006 - _LISTPEERSPEERSCHANNELS._serialized_end=5036 - _LISTPEERSPEERSCHANNELS_LISTPEERSPEERSCHANNELSSTATE._serialized_start=3906 - _LISTPEERSPEERSCHANNELS_LISTPEERSPEERSCHANNELSSTATE._serialized_end=4195 - _LISTPEERSPEERSCHANNELSFEERATE._serialized_start=5038 - _LISTPEERSPEERSCHANNELSFEERATE._serialized_end=5099 - _LISTPEERSPEERSCHANNELSINFLIGHT._serialized_start=5102 - _LISTPEERSPEERSCHANNELSINFLIGHT._serialized_end=5299 - _LISTPEERSPEERSCHANNELSFUNDING._serialized_start=5302 - _LISTPEERSPEERSCHANNELSFUNDING._serialized_end=5693 - _LISTPEERSPEERSCHANNELSALIAS._serialized_start=5695 - _LISTPEERSPEERSCHANNELSALIAS._serialized_end=5786 - _LISTPEERSPEERSCHANNELSHTLCS._serialized_start=5789 - _LISTPEERSPEERSCHANNELSHTLCS._serialized_end=6127 - _LISTPEERSPEERSCHANNELSHTLCS_LISTPEERSPEERSCHANNELSHTLCSDIRECTION._serialized_start=6043 - _LISTPEERSPEERSCHANNELSHTLCS_LISTPEERSPEERSCHANNELSHTLCSDIRECTION._serialized_end=6098 - _LISTFUNDSREQUEST._serialized_start=6129 - _LISTFUNDSREQUEST._serialized_end=6177 - _LISTFUNDSRESPONSE._serialized_start=6179 - _LISTFUNDSRESPONSE._serialized_end=6280 - _LISTFUNDSOUTPUTS._serialized_start=6283 - _LISTFUNDSOUTPUTS._serialized_end=6670 - _LISTFUNDSOUTPUTS_LISTFUNDSOUTPUTSSTATUS._serialized_start=6544 - _LISTFUNDSOUTPUTS_LISTFUNDSOUTPUTSSTATUS._serialized_end=6625 - _LISTFUNDSCHANNELS._serialized_start=6673 - _LISTFUNDSCHANNELS._serialized_end=6932 - _SENDPAYREQUEST._serialized_start=6935 - _SENDPAYREQUEST._serialized_end=7284 - _SENDPAYRESPONSE._serialized_start=7287 - _SENDPAYRESPONSE._serialized_end=7880 - _SENDPAYRESPONSE_SENDPAYSTATUS._serialized_start=7701 - _SENDPAYRESPONSE_SENDPAYSTATUS._serialized_end=7743 - _SENDPAYROUTE._serialized_start=7882 - _SENDPAYROUTE._serialized_end=7974 - _LISTCHANNELSREQUEST._serialized_start=7977 - _LISTCHANNELSREQUEST._serialized_end=8124 - _LISTCHANNELSRESPONSE._serialized_start=8126 - _LISTCHANNELSRESPONSE._serialized_end=8193 - _LISTCHANNELSCHANNELS._serialized_start=8196 - _LISTCHANNELSCHANNELS._serialized_end=8631 - _ADDGOSSIPREQUEST._serialized_start=8633 - _ADDGOSSIPREQUEST._serialized_end=8668 - _ADDGOSSIPRESPONSE._serialized_start=8670 - _ADDGOSSIPRESPONSE._serialized_end=8689 - _AUTOCLEANINVOICEREQUEST._serialized_start=8691 - _AUTOCLEANINVOICEREQUEST._serialized_end=8802 - _AUTOCLEANINVOICERESPONSE._serialized_start=8805 - _AUTOCLEANINVOICERESPONSE._serialized_end=8934 - _CHECKMESSAGEREQUEST._serialized_start=8936 - _CHECKMESSAGEREQUEST._serialized_end=9021 - _CHECKMESSAGERESPONSE._serialized_start=9023 - _CHECKMESSAGERESPONSE._serialized_end=9079 - _CLOSEREQUEST._serialized_start=9082 - _CLOSEREQUEST._serialized_end=9413 - _CLOSERESPONSE._serialized_start=9416 - _CLOSERESPONSE._serialized_end=9587 - _CLOSERESPONSE_CLOSETYPE._serialized_start=9518 - _CLOSERESPONSE_CLOSETYPE._serialized_end=9571 - _CONNECTREQUEST._serialized_start=9589 - _CONNECTREQUEST._serialized_end=9673 - _CONNECTRESPONSE._serialized_start=9676 - _CONNECTRESPONSE._serialized_end=9856 - _CONNECTRESPONSE_CONNECTDIRECTION._serialized_start=9821 - _CONNECTRESPONSE_CONNECTDIRECTION._serialized_end=9856 - _CONNECTADDRESS._serialized_start=9859 - _CONNECTADDRESS._serialized_end=10110 - _CONNECTADDRESS_CONNECTADDRESSTYPE._serialized_start=9998 - _CONNECTADDRESS_CONNECTADDRESSTYPE._serialized_end=10078 - _CREATEINVOICEREQUEST._serialized_start=10112 - _CREATEINVOICEREQUEST._serialized_end=10186 - _CREATEINVOICERESPONSE._serialized_start=10189 - _CREATEINVOICERESPONSE._serialized_end=10830 - _CREATEINVOICERESPONSE_CREATEINVOICESTATUS._serialized_start=10623 - _CREATEINVOICERESPONSE_CREATEINVOICESTATUS._serialized_end=10679 - _DATASTOREREQUEST._serialized_start=10833 - _DATASTOREREQUEST._serialized_end=11141 - _DATASTOREREQUEST_DATASTOREMODE._serialized_start=10986 - _DATASTOREREQUEST_DATASTOREMODE._serialized_end=11098 - _DATASTORERESPONSE._serialized_start=11144 - _DATASTORERESPONSE._serialized_end=11274 - _CREATEONIONREQUEST._serialized_start=11277 - _CREATEONIONREQUEST._serialized_end=11434 - _CREATEONIONRESPONSE._serialized_start=11436 - _CREATEONIONRESPONSE._serialized_end=11496 - _CREATEONIONHOPS._serialized_start=11498 - _CREATEONIONHOPS._serialized_end=11548 - _DELDATASTOREREQUEST._serialized_start=11550 - _DELDATASTOREREQUEST._serialized_end=11624 - _DELDATASTORERESPONSE._serialized_start=11627 - _DELDATASTORERESPONSE._serialized_end=11760 - _DELEXPIREDINVOICEREQUEST._serialized_start=11762 - _DELEXPIREDINVOICEREQUEST._serialized_end=11834 - _DELEXPIREDINVOICERESPONSE._serialized_start=11836 - _DELEXPIREDINVOICERESPONSE._serialized_end=11863 - _DELINVOICEREQUEST._serialized_start=11866 - _DELINVOICEREQUEST._serialized_end=12048 - _DELINVOICEREQUEST_DELINVOICESTATUS._serialized_start=11982 - _DELINVOICEREQUEST_DELINVOICESTATUS._serialized_end=12035 - _DELINVOICERESPONSE._serialized_start=12051 - _DELINVOICERESPONSE._serialized_end=12504 - _DELINVOICERESPONSE_DELINVOICESTATUS._serialized_start=11982 - _DELINVOICERESPONSE_DELINVOICESTATUS._serialized_end=12035 - _INVOICEREQUEST._serialized_start=12507 - _INVOICEREQUEST._serialized_end=12819 - _INVOICERESPONSE._serialized_start=12822 - _INVOICERESPONSE._serialized_end=13181 - _LISTDATASTOREREQUEST._serialized_start=13183 - _LISTDATASTOREREQUEST._serialized_end=13218 - _LISTDATASTORERESPONSE._serialized_start=13220 - _LISTDATASTORERESPONSE._serialized_end=13291 - _LISTDATASTOREDATASTORE._serialized_start=13294 - _LISTDATASTOREDATASTORE._serialized_end=13429 - _LISTINVOICESREQUEST._serialized_start=13432 - _LISTINVOICESREQUEST._serialized_end=13601 - _LISTINVOICESRESPONSE._serialized_start=13603 - _LISTINVOICESRESPONSE._serialized_end=13670 - _LISTINVOICESINVOICES._serialized_start=13673 - _LISTINVOICESINVOICES._serialized_end=14347 - _LISTINVOICESINVOICES_LISTINVOICESINVOICESSTATUS._serialized_start=14117 - _LISTINVOICESINVOICES_LISTINVOICESINVOICESSTATUS._serialized_end=14180 - _SENDONIONREQUEST._serialized_start=14350 - _SENDONIONREQUEST._serialized_end=14744 - _SENDONIONRESPONSE._serialized_start=14747 - _SENDONIONRESPONSE._serialized_end=15270 - _SENDONIONRESPONSE_SENDONIONSTATUS._serialized_start=15118 - _SENDONIONRESPONSE_SENDONIONSTATUS._serialized_end=15162 - _SENDONIONFIRST_HOP._serialized_start=15272 - _SENDONIONFIRST_HOP._serialized_end=15353 - _LISTSENDPAYSREQUEST._serialized_start=15356 - _LISTSENDPAYSREQUEST._serialized_end=15591 - _LISTSENDPAYSREQUEST_LISTSENDPAYSSTATUS._serialized_start=15493 - _LISTSENDPAYSREQUEST_LISTSENDPAYSSTATUS._serialized_end=15552 - _LISTSENDPAYSRESPONSE._serialized_start=15593 - _LISTSENDPAYSRESPONSE._serialized_end=15660 - _LISTSENDPAYSPAYMENTS._serialized_start=15663 - _LISTSENDPAYSPAYMENTS._serialized_end=16291 - _LISTSENDPAYSPAYMENTS_LISTSENDPAYSPAYMENTSSTATUS._serialized_start=16097 - _LISTSENDPAYSPAYMENTS_LISTSENDPAYSPAYMENTSSTATUS._serialized_end=16164 - _LISTTRANSACTIONSREQUEST._serialized_start=16293 - _LISTTRANSACTIONSREQUEST._serialized_end=16318 - _LISTTRANSACTIONSRESPONSE._serialized_start=16320 - _LISTTRANSACTIONSRESPONSE._serialized_end=16403 - _LISTTRANSACTIONSTRANSACTIONS._serialized_start=16406 - _LISTTRANSACTIONSTRANSACTIONS._serialized_end=16654 - _LISTTRANSACTIONSTRANSACTIONSINPUTS._serialized_start=16657 - _LISTTRANSACTIONSTRANSACTIONSINPUTS._serialized_end=17173 - _LISTTRANSACTIONSTRANSACTIONSINPUTS_LISTTRANSACTIONSTRANSACTIONSINPUTSTYPE._serialized_start=16869 - _LISTTRANSACTIONSTRANSACTIONSINPUTS_LISTTRANSACTIONSTRANSACTIONSINPUTSTYPE._serialized_end=17147 - _LISTTRANSACTIONSTRANSACTIONSOUTPUTS._serialized_start=17176 - _LISTTRANSACTIONSTRANSACTIONSOUTPUTS._serialized_end=17720 - _LISTTRANSACTIONSTRANSACTIONSOUTPUTS_LISTTRANSACTIONSTRANSACTIONSOUTPUTSTYPE._serialized_start=17415 - _LISTTRANSACTIONSTRANSACTIONSOUTPUTS_LISTTRANSACTIONSTRANSACTIONSOUTPUTSTYPE._serialized_end=17694 - _PAYREQUEST._serialized_start=17723 - _PAYREQUEST._serialized_end=18197 - _PAYRESPONSE._serialized_start=18200 - _PAYRESPONSE._serialized_end=18579 - _PAYRESPONSE_PAYSTATUS._serialized_start=18482 - _PAYRESPONSE_PAYSTATUS._serialized_end=18532 - _LISTNODESREQUEST._serialized_start=18581 - _LISTNODESREQUEST._serialized_end=18623 - _LISTNODESRESPONSE._serialized_start=18625 - _LISTNODESRESPONSE._serialized_end=18680 - _LISTNODESNODES._serialized_start=18683 - _LISTNODESNODES._serialized_end=18908 - _LISTNODESNODESADDRESSES._serialized_start=18911 - _LISTNODESNODESADDRESSES._serialized_end=19158 - _LISTNODESNODESADDRESSES_LISTNODESNODESADDRESSESTYPE._serialized_start=19051 - _LISTNODESNODESADDRESSES_LISTNODESNODESADDRESSESTYPE._serialized_end=19146 - _WAITANYINVOICEREQUEST._serialized_start=19160 - _WAITANYINVOICEREQUEST._serialized_end=19263 - _WAITANYINVOICERESPONSE._serialized_start=19266 - _WAITANYINVOICERESPONSE._serialized_end=19797 - _WAITANYINVOICERESPONSE_WAITANYINVOICESTATUS._serialized_start=19642 - _WAITANYINVOICERESPONSE_WAITANYINVOICESTATUS._serialized_end=19687 - _WAITINVOICEREQUEST._serialized_start=19799 - _WAITINVOICEREQUEST._serialized_end=19834 - _WAITINVOICERESPONSE._serialized_start=19837 - _WAITINVOICERESPONSE._serialized_end=20356 - _WAITINVOICERESPONSE_WAITINVOICESTATUS._serialized_start=20204 - _WAITINVOICERESPONSE_WAITINVOICESTATUS._serialized_end=20246 - _WAITSENDPAYREQUEST._serialized_start=20359 - _WAITSENDPAYREQUEST._serialized_end=20501 - _WAITSENDPAYRESPONSE._serialized_start=20504 - _WAITSENDPAYRESPONSE._serialized_end=21066 - _WAITSENDPAYRESPONSE_WAITSENDPAYSTATUS._serialized_start=20908 - _WAITSENDPAYRESPONSE_WAITSENDPAYSTATUS._serialized_end=20941 - _NEWADDRREQUEST._serialized_start=21069 - _NEWADDRREQUEST._serialized_end=21210 - _NEWADDRREQUEST_NEWADDRADDRESSTYPE._serialized_start=21153 - _NEWADDRREQUEST_NEWADDRADDRESSTYPE._serialized_end=21194 - _NEWADDRRESPONSE._serialized_start=21212 - _NEWADDRRESPONSE._serialized_end=21303 - _WITHDRAWREQUEST._serialized_start=21306 - _WITHDRAWREQUEST._serialized_end=21508 - _WITHDRAWRESPONSE._serialized_start=21510 - _WITHDRAWRESPONSE._serialized_end=21568 - _KEYSENDREQUEST._serialized_start=21571 - _KEYSENDREQUEST._serialized_end=21957 - _KEYSENDRESPONSE._serialized_start=21960 - _KEYSENDRESPONSE._serialized_end=22330 - _KEYSENDRESPONSE_KEYSENDSTATUS._serialized_start=22254 - _KEYSENDRESPONSE_KEYSENDSTATUS._serialized_end=22283 - _FUNDPSBTREQUEST._serialized_start=22333 - _FUNDPSBTREQUEST._serialized_end=22649 - _FUNDPSBTRESPONSE._serialized_start=22652 - _FUNDPSBTRESPONSE._serialized_end=22869 - _FUNDPSBTRESERVATIONS._serialized_start=22871 - _FUNDPSBTRESERVATIONS._serialized_end=22988 - _SENDPSBTREQUEST._serialized_start=22990 - _SENDPSBTREQUEST._serialized_end=23055 - _SENDPSBTRESPONSE._serialized_start=23057 - _SENDPSBTRESPONSE._serialized_end=23101 - _SIGNPSBTREQUEST._serialized_start=23103 - _SIGNPSBTREQUEST._serialized_end=23152 - _SIGNPSBTRESPONSE._serialized_start=23154 - _SIGNPSBTRESPONSE._serialized_end=23193 - _UTXOPSBTREQUEST._serialized_start=23196 - _UTXOPSBTREQUEST._serialized_end=23543 - _UTXOPSBTRESPONSE._serialized_start=23546 - _UTXOPSBTRESPONSE._serialized_end=23763 - _UTXOPSBTRESERVATIONS._serialized_start=23765 - _UTXOPSBTRESERVATIONS._serialized_end=23882 - _TXDISCARDREQUEST._serialized_start=23884 - _TXDISCARDREQUEST._serialized_end=23916 - _TXDISCARDRESPONSE._serialized_start=23918 - _TXDISCARDRESPONSE._serialized_end=23972 - _TXPREPAREREQUEST._serialized_start=23975 - _TXPREPAREREQUEST._serialized_end=24139 - _TXPREPARERESPONSE._serialized_start=24141 - _TXPREPARERESPONSE._serialized_end=24209 - _TXSENDREQUEST._serialized_start=24211 - _TXSENDREQUEST._serialized_end=24240 - _TXSENDRESPONSE._serialized_start=24242 - _TXSENDRESPONSE._serialized_end=24298 - _DISCONNECTREQUEST._serialized_start=24300 - _DISCONNECTREQUEST._serialized_end=24361 - _DISCONNECTRESPONSE._serialized_start=24363 - _DISCONNECTRESPONSE._serialized_end=24383 - _FEERATESREQUEST._serialized_start=24385 - _FEERATESREQUEST._serialized_end=24492 - _FEERATESREQUEST_FEERATESSTYLE._serialized_start=24455 - _FEERATESREQUEST_FEERATESSTYLE._serialized_end=24492 - _FEERATESRESPONSE._serialized_start=24495 - _FEERATESRESPONSE._serialized_end=24779 - _FEERATESPERKB._serialized_start=24782 - _FEERATESPERKB._serialized_end=25105 - _FEERATESPERKW._serialized_start=25108 - _FEERATESPERKW._serialized_end=25431 - _FEERATESONCHAIN_FEE_ESTIMATES._serialized_start=25434 - _FEERATESONCHAIN_FEE_ESTIMATES._serialized_end=25627 - _FUNDCHANNELREQUEST._serialized_start=25630 - _FUNDCHANNELREQUEST._serialized_end=26115 - _FUNDCHANNELRESPONSE._serialized_start=26118 - _FUNDCHANNELRESPONSE._serialized_end=26273 - _GETROUTEREQUEST._serialized_start=26276 - _GETROUTEREQUEST._serialized_end=26512 - _GETROUTERESPONSE._serialized_start=26514 - _GETROUTERESPONSE._serialized_end=26567 - _GETROUTEROUTE._serialized_start=26570 - _GETROUTEROUTE._serialized_end=26803 - _GETROUTEROUTE_GETROUTEROUTESTYLE._serialized_start=26761 - _GETROUTEROUTE_GETROUTEROUTESTYLE._serialized_end=26790 - _LISTFORWARDSREQUEST._serialized_start=26806 - _LISTFORWARDSREQUEST._serialized_end=27064 - _LISTFORWARDSREQUEST_LISTFORWARDSSTATUS._serialized_start=26946 - _LISTFORWARDSREQUEST_LISTFORWARDSSTATUS._serialized_end=27022 - _LISTFORWARDSRESPONSE._serialized_start=27066 - _LISTFORWARDSRESPONSE._serialized_end=27133 - _LISTFORWARDSFORWARDS._serialized_start=27136 - _LISTFORWARDSFORWARDS._serialized_end=27742 - _LISTFORWARDSFORWARDS_LISTFORWARDSFORWARDSSTATUS._serialized_start=27525 - _LISTFORWARDSFORWARDS_LISTFORWARDSFORWARDSSTATUS._serialized_end=27609 - _LISTFORWARDSFORWARDS_LISTFORWARDSFORWARDSSTYLE._serialized_start=27611 - _LISTFORWARDSFORWARDS_LISTFORWARDSFORWARDSSTYLE._serialized_end=27659 - _LISTPAYSREQUEST._serialized_start=27745 - _LISTPAYSREQUEST._serialized_end=27964 - _LISTPAYSREQUEST_LISTPAYSSTATUS._serialized_start=27870 - _LISTPAYSREQUEST_LISTPAYSSTATUS._serialized_end=27925 - _LISTPAYSRESPONSE._serialized_start=27966 - _LISTPAYSRESPONSE._serialized_end=28017 - _LISTPAYSPAYS._serialized_start=28020 - _LISTPAYSPAYS._serialized_end=28539 - _LISTPAYSPAYS_LISTPAYSPAYSSTATUS._serialized_start=28351 - _LISTPAYSPAYS_LISTPAYSPAYSSTATUS._serialized_end=28410 - _PINGREQUEST._serialized_start=28541 - _PINGREQUEST._serialized_end=28630 - _PINGRESPONSE._serialized_start=28632 - _PINGRESPONSE._serialized_end=28662 - _SENDCUSTOMMSGREQUEST._serialized_start=28664 - _SENDCUSTOMMSGREQUEST._serialized_end=28716 - _SENDCUSTOMMSGRESPONSE._serialized_start=28718 - _SENDCUSTOMMSGRESPONSE._serialized_end=28757 - _SETCHANNELREQUEST._serialized_start=28760 - _SETCHANNELREQUEST._serialized_end=29008 - _SETCHANNELRESPONSE._serialized_start=29010 - _SETCHANNELRESPONSE._serialized_end=29073 - _SETCHANNELCHANNELS._serialized_start=29076 - _SETCHANNELCHANNELS._serialized_end=29480 - _SIGNINVOICEREQUEST._serialized_start=29482 - _SIGNINVOICEREQUEST._serialized_end=29521 - _SIGNINVOICERESPONSE._serialized_start=29523 - _SIGNINVOICERESPONSE._serialized_end=29560 - _SIGNMESSAGEREQUEST._serialized_start=29562 - _SIGNMESSAGEREQUEST._serialized_end=29599 - _SIGNMESSAGERESPONSE._serialized_start=29601 - _SIGNMESSAGERESPONSE._serialized_end=29671 - _STOPREQUEST._serialized_start=29673 - _STOPREQUEST._serialized_end=29686 - _STOPRESPONSE._serialized_start=29688 - _STOPRESPONSE._serialized_end=29702 - _NODE._serialized_start=29705 - _NODE._serialized_end=32840 + _GETINFORESPONSE._serialized_end=618 + _GETINFOOUR_FEATURES._serialized_start=620 + _GETINFOOUR_FEATURES._serialized_end=703 + _GETINFOADDRESS._serialized_start=706 + _GETINFOADDRESS._serialized_end=917 + _GETINFOADDRESS_GETINFOADDRESSTYPE._serialized_start=819 + _GETINFOADDRESS_GETINFOADDRESSTYPE._serialized_end=905 + _GETINFOBINDING._serialized_start=920 + _GETINFOBINDING._serialized_end=1171 + _GETINFOBINDING_GETINFOBINDINGTYPE._serialized_start=1059 + _GETINFOBINDING_GETINFOBINDINGTYPE._serialized_end=1139 + _LISTPEERSREQUEST._serialized_start=1173 + _LISTPEERSREQUEST._serialized_end=1245 + _LISTPEERSRESPONSE._serialized_start=1247 + _LISTPEERSRESPONSE._serialized_end=1302 + _LISTPEERSPEERS._serialized_start=1305 + _LISTPEERSPEERS._serialized_end=1553 + _LISTPEERSPEERSLOG._serialized_start=1556 + _LISTPEERSPEERSLOG._serialized_end=1937 + _LISTPEERSPEERSLOG_LISTPEERSPEERSLOGTYPE._serialized_start=1767 + _LISTPEERSPEERSLOG_LISTPEERSPEERSLOGTYPE._serialized_end=1872 + _LISTPEERSPEERSCHANNELS._serialized_start=1940 + _LISTPEERSPEERSCHANNELS._serialized_end=4970 + _LISTPEERSPEERSCHANNELS_LISTPEERSPEERSCHANNELSSTATE._serialized_start=3840 + _LISTPEERSPEERSCHANNELS_LISTPEERSPEERSCHANNELSSTATE._serialized_end=4129 + _LISTPEERSPEERSCHANNELSFEERATE._serialized_start=4972 + _LISTPEERSPEERSCHANNELSFEERATE._serialized_end=5033 + _LISTPEERSPEERSCHANNELSINFLIGHT._serialized_start=5036 + _LISTPEERSPEERSCHANNELSINFLIGHT._serialized_end=5233 + _LISTPEERSPEERSCHANNELSFUNDING._serialized_start=5236 + _LISTPEERSPEERSCHANNELSFUNDING._serialized_end=5519 + _LISTPEERSPEERSCHANNELSALIAS._serialized_start=5521 + _LISTPEERSPEERSCHANNELSALIAS._serialized_end=5612 + _LISTPEERSPEERSCHANNELSHTLCS._serialized_start=5615 + _LISTPEERSPEERSCHANNELSHTLCS._serialized_end=5953 + _LISTPEERSPEERSCHANNELSHTLCS_LISTPEERSPEERSCHANNELSHTLCSDIRECTION._serialized_start=5869 + _LISTPEERSPEERSCHANNELSHTLCS_LISTPEERSPEERSCHANNELSHTLCSDIRECTION._serialized_end=5924 + _LISTFUNDSREQUEST._serialized_start=5955 + _LISTFUNDSREQUEST._serialized_end=6003 + _LISTFUNDSRESPONSE._serialized_start=6005 + _LISTFUNDSRESPONSE._serialized_end=6106 + _LISTFUNDSOUTPUTS._serialized_start=6109 + _LISTFUNDSOUTPUTS._serialized_end=6496 + _LISTFUNDSOUTPUTS_LISTFUNDSOUTPUTSSTATUS._serialized_start=6370 + _LISTFUNDSOUTPUTS_LISTFUNDSOUTPUTSSTATUS._serialized_end=6451 + _LISTFUNDSCHANNELS._serialized_start=6499 + _LISTFUNDSCHANNELS._serialized_end=6778 + _SENDPAYREQUEST._serialized_start=6781 + _SENDPAYREQUEST._serialized_end=7130 + _SENDPAYRESPONSE._serialized_start=7133 + _SENDPAYRESPONSE._serialized_end=7726 + _SENDPAYRESPONSE_SENDPAYSTATUS._serialized_start=7547 + _SENDPAYRESPONSE_SENDPAYSTATUS._serialized_end=7589 + _SENDPAYROUTE._serialized_start=7728 + _SENDPAYROUTE._serialized_end=7820 + _LISTCHANNELSREQUEST._serialized_start=7823 + _LISTCHANNELSREQUEST._serialized_end=7970 + _LISTCHANNELSRESPONSE._serialized_start=7972 + _LISTCHANNELSRESPONSE._serialized_end=8039 + _LISTCHANNELSCHANNELS._serialized_start=8042 + _LISTCHANNELSCHANNELS._serialized_end=8477 + _ADDGOSSIPREQUEST._serialized_start=8479 + _ADDGOSSIPREQUEST._serialized_end=8514 + _ADDGOSSIPRESPONSE._serialized_start=8516 + _ADDGOSSIPRESPONSE._serialized_end=8535 + _AUTOCLEANINVOICEREQUEST._serialized_start=8537 + _AUTOCLEANINVOICEREQUEST._serialized_end=8648 + _AUTOCLEANINVOICERESPONSE._serialized_start=8651 + _AUTOCLEANINVOICERESPONSE._serialized_end=8780 + _CHECKMESSAGEREQUEST._serialized_start=8782 + _CHECKMESSAGEREQUEST._serialized_end=8867 + _CHECKMESSAGERESPONSE._serialized_start=8869 + _CHECKMESSAGERESPONSE._serialized_end=8925 + _CLOSEREQUEST._serialized_start=8928 + _CLOSEREQUEST._serialized_end=9259 + _CLOSERESPONSE._serialized_start=9262 + _CLOSERESPONSE._serialized_end=9433 + _CLOSERESPONSE_CLOSETYPE._serialized_start=9364 + _CLOSERESPONSE_CLOSETYPE._serialized_end=9417 + _CONNECTREQUEST._serialized_start=9435 + _CONNECTREQUEST._serialized_end=9519 + _CONNECTRESPONSE._serialized_start=9522 + _CONNECTRESPONSE._serialized_end=9702 + _CONNECTRESPONSE_CONNECTDIRECTION._serialized_start=9667 + _CONNECTRESPONSE_CONNECTDIRECTION._serialized_end=9702 + _CONNECTADDRESS._serialized_start=9705 + _CONNECTADDRESS._serialized_end=9956 + _CONNECTADDRESS_CONNECTADDRESSTYPE._serialized_start=9844 + _CONNECTADDRESS_CONNECTADDRESSTYPE._serialized_end=9924 + _CREATEINVOICEREQUEST._serialized_start=9958 + _CREATEINVOICEREQUEST._serialized_end=10032 + _CREATEINVOICERESPONSE._serialized_start=10035 + _CREATEINVOICERESPONSE._serialized_end=10676 + _CREATEINVOICERESPONSE_CREATEINVOICESTATUS._serialized_start=10469 + _CREATEINVOICERESPONSE_CREATEINVOICESTATUS._serialized_end=10525 + _DATASTOREREQUEST._serialized_start=10679 + _DATASTOREREQUEST._serialized_end=10987 + _DATASTOREREQUEST_DATASTOREMODE._serialized_start=10832 + _DATASTOREREQUEST_DATASTOREMODE._serialized_end=10944 + _DATASTORERESPONSE._serialized_start=10990 + _DATASTORERESPONSE._serialized_end=11120 + _CREATEONIONREQUEST._serialized_start=11123 + _CREATEONIONREQUEST._serialized_end=11280 + _CREATEONIONRESPONSE._serialized_start=11282 + _CREATEONIONRESPONSE._serialized_end=11342 + _CREATEONIONHOPS._serialized_start=11344 + _CREATEONIONHOPS._serialized_end=11394 + _DELDATASTOREREQUEST._serialized_start=11396 + _DELDATASTOREREQUEST._serialized_end=11470 + _DELDATASTORERESPONSE._serialized_start=11473 + _DELDATASTORERESPONSE._serialized_end=11606 + _DELEXPIREDINVOICEREQUEST._serialized_start=11608 + _DELEXPIREDINVOICEREQUEST._serialized_end=11680 + _DELEXPIREDINVOICERESPONSE._serialized_start=11682 + _DELEXPIREDINVOICERESPONSE._serialized_end=11709 + _DELINVOICEREQUEST._serialized_start=11712 + _DELINVOICEREQUEST._serialized_end=11894 + _DELINVOICEREQUEST_DELINVOICESTATUS._serialized_start=11828 + _DELINVOICEREQUEST_DELINVOICESTATUS._serialized_end=11881 + _DELINVOICERESPONSE._serialized_start=11897 + _DELINVOICERESPONSE._serialized_end=12350 + _DELINVOICERESPONSE_DELINVOICESTATUS._serialized_start=11828 + _DELINVOICERESPONSE_DELINVOICESTATUS._serialized_end=11881 + _INVOICEREQUEST._serialized_start=12353 + _INVOICEREQUEST._serialized_end=12665 + _INVOICERESPONSE._serialized_start=12668 + _INVOICERESPONSE._serialized_end=13027 + _LISTDATASTOREREQUEST._serialized_start=13029 + _LISTDATASTOREREQUEST._serialized_end=13064 + _LISTDATASTORERESPONSE._serialized_start=13066 + _LISTDATASTORERESPONSE._serialized_end=13137 + _LISTDATASTOREDATASTORE._serialized_start=13140 + _LISTDATASTOREDATASTORE._serialized_end=13275 + _LISTINVOICESREQUEST._serialized_start=13278 + _LISTINVOICESREQUEST._serialized_end=13447 + _LISTINVOICESRESPONSE._serialized_start=13449 + _LISTINVOICESRESPONSE._serialized_end=13516 + _LISTINVOICESINVOICES._serialized_start=13519 + _LISTINVOICESINVOICES._serialized_end=14193 + _LISTINVOICESINVOICES_LISTINVOICESINVOICESSTATUS._serialized_start=13963 + _LISTINVOICESINVOICES_LISTINVOICESINVOICESSTATUS._serialized_end=14026 + _SENDONIONREQUEST._serialized_start=14196 + _SENDONIONREQUEST._serialized_end=14590 + _SENDONIONRESPONSE._serialized_start=14593 + _SENDONIONRESPONSE._serialized_end=15116 + _SENDONIONRESPONSE_SENDONIONSTATUS._serialized_start=14964 + _SENDONIONRESPONSE_SENDONIONSTATUS._serialized_end=15008 + _SENDONIONFIRST_HOP._serialized_start=15118 + _SENDONIONFIRST_HOP._serialized_end=15199 + _LISTSENDPAYSREQUEST._serialized_start=15202 + _LISTSENDPAYSREQUEST._serialized_end=15437 + _LISTSENDPAYSREQUEST_LISTSENDPAYSSTATUS._serialized_start=15339 + _LISTSENDPAYSREQUEST_LISTSENDPAYSSTATUS._serialized_end=15398 + _LISTSENDPAYSRESPONSE._serialized_start=15439 + _LISTSENDPAYSRESPONSE._serialized_end=15506 + _LISTSENDPAYSPAYMENTS._serialized_start=15509 + _LISTSENDPAYSPAYMENTS._serialized_end=16137 + _LISTSENDPAYSPAYMENTS_LISTSENDPAYSPAYMENTSSTATUS._serialized_start=15943 + _LISTSENDPAYSPAYMENTS_LISTSENDPAYSPAYMENTSSTATUS._serialized_end=16010 + _LISTTRANSACTIONSREQUEST._serialized_start=16139 + _LISTTRANSACTIONSREQUEST._serialized_end=16164 + _LISTTRANSACTIONSRESPONSE._serialized_start=16166 + _LISTTRANSACTIONSRESPONSE._serialized_end=16249 + _LISTTRANSACTIONSTRANSACTIONS._serialized_start=16252 + _LISTTRANSACTIONSTRANSACTIONS._serialized_end=16500 + _LISTTRANSACTIONSTRANSACTIONSINPUTS._serialized_start=16503 + _LISTTRANSACTIONSTRANSACTIONSINPUTS._serialized_end=17019 + _LISTTRANSACTIONSTRANSACTIONSINPUTS_LISTTRANSACTIONSTRANSACTIONSINPUTSTYPE._serialized_start=16715 + _LISTTRANSACTIONSTRANSACTIONSINPUTS_LISTTRANSACTIONSTRANSACTIONSINPUTSTYPE._serialized_end=16993 + _LISTTRANSACTIONSTRANSACTIONSOUTPUTS._serialized_start=17022 + _LISTTRANSACTIONSTRANSACTIONSOUTPUTS._serialized_end=17566 + _LISTTRANSACTIONSTRANSACTIONSOUTPUTS_LISTTRANSACTIONSTRANSACTIONSOUTPUTSTYPE._serialized_start=17261 + _LISTTRANSACTIONSTRANSACTIONSOUTPUTS_LISTTRANSACTIONSTRANSACTIONSOUTPUTSTYPE._serialized_end=17540 + _PAYREQUEST._serialized_start=17569 + _PAYREQUEST._serialized_end=18043 + _PAYRESPONSE._serialized_start=18046 + _PAYRESPONSE._serialized_end=18425 + _PAYRESPONSE_PAYSTATUS._serialized_start=18328 + _PAYRESPONSE_PAYSTATUS._serialized_end=18378 + _LISTNODESREQUEST._serialized_start=18427 + _LISTNODESREQUEST._serialized_end=18469 + _LISTNODESRESPONSE._serialized_start=18471 + _LISTNODESRESPONSE._serialized_end=18526 + _LISTNODESNODES._serialized_start=18529 + _LISTNODESNODES._serialized_end=18754 + _LISTNODESNODESADDRESSES._serialized_start=18757 + _LISTNODESNODESADDRESSES._serialized_end=19004 + _LISTNODESNODESADDRESSES_LISTNODESNODESADDRESSESTYPE._serialized_start=18897 + _LISTNODESNODESADDRESSES_LISTNODESNODESADDRESSESTYPE._serialized_end=18992 + _WAITANYINVOICEREQUEST._serialized_start=19006 + _WAITANYINVOICEREQUEST._serialized_end=19109 + _WAITANYINVOICERESPONSE._serialized_start=19112 + _WAITANYINVOICERESPONSE._serialized_end=19643 + _WAITANYINVOICERESPONSE_WAITANYINVOICESTATUS._serialized_start=19488 + _WAITANYINVOICERESPONSE_WAITANYINVOICESTATUS._serialized_end=19533 + _WAITINVOICEREQUEST._serialized_start=19645 + _WAITINVOICEREQUEST._serialized_end=19680 + _WAITINVOICERESPONSE._serialized_start=19683 + _WAITINVOICERESPONSE._serialized_end=20202 + _WAITINVOICERESPONSE_WAITINVOICESTATUS._serialized_start=20050 + _WAITINVOICERESPONSE_WAITINVOICESTATUS._serialized_end=20092 + _WAITSENDPAYREQUEST._serialized_start=20205 + _WAITSENDPAYREQUEST._serialized_end=20347 + _WAITSENDPAYRESPONSE._serialized_start=20350 + _WAITSENDPAYRESPONSE._serialized_end=20912 + _WAITSENDPAYRESPONSE_WAITSENDPAYSTATUS._serialized_start=20754 + _WAITSENDPAYRESPONSE_WAITSENDPAYSTATUS._serialized_end=20787 + _NEWADDRREQUEST._serialized_start=20915 + _NEWADDRREQUEST._serialized_end=21056 + _NEWADDRREQUEST_NEWADDRADDRESSTYPE._serialized_start=20999 + _NEWADDRREQUEST_NEWADDRADDRESSTYPE._serialized_end=21040 + _NEWADDRRESPONSE._serialized_start=21058 + _NEWADDRRESPONSE._serialized_end=21149 + _WITHDRAWREQUEST._serialized_start=21152 + _WITHDRAWREQUEST._serialized_end=21354 + _WITHDRAWRESPONSE._serialized_start=21356 + _WITHDRAWRESPONSE._serialized_end=21414 + _KEYSENDREQUEST._serialized_start=21417 + _KEYSENDREQUEST._serialized_end=21803 + _KEYSENDRESPONSE._serialized_start=21806 + _KEYSENDRESPONSE._serialized_end=22176 + _KEYSENDRESPONSE_KEYSENDSTATUS._serialized_start=22100 + _KEYSENDRESPONSE_KEYSENDSTATUS._serialized_end=22129 + _FUNDPSBTREQUEST._serialized_start=22179 + _FUNDPSBTREQUEST._serialized_end=22495 + _FUNDPSBTRESPONSE._serialized_start=22498 + _FUNDPSBTRESPONSE._serialized_end=22715 + _FUNDPSBTRESERVATIONS._serialized_start=22717 + _FUNDPSBTRESERVATIONS._serialized_end=22834 + _SENDPSBTREQUEST._serialized_start=22836 + _SENDPSBTREQUEST._serialized_end=22901 + _SENDPSBTRESPONSE._serialized_start=22903 + _SENDPSBTRESPONSE._serialized_end=22947 + _SIGNPSBTREQUEST._serialized_start=22949 + _SIGNPSBTREQUEST._serialized_end=22998 + _SIGNPSBTRESPONSE._serialized_start=23000 + _SIGNPSBTRESPONSE._serialized_end=23039 + _UTXOPSBTREQUEST._serialized_start=23042 + _UTXOPSBTREQUEST._serialized_end=23389 + _UTXOPSBTRESPONSE._serialized_start=23392 + _UTXOPSBTRESPONSE._serialized_end=23609 + _UTXOPSBTRESERVATIONS._serialized_start=23611 + _UTXOPSBTRESERVATIONS._serialized_end=23728 + _TXDISCARDREQUEST._serialized_start=23730 + _TXDISCARDREQUEST._serialized_end=23762 + _TXDISCARDRESPONSE._serialized_start=23764 + _TXDISCARDRESPONSE._serialized_end=23818 + _TXPREPAREREQUEST._serialized_start=23821 + _TXPREPAREREQUEST._serialized_end=23985 + _TXPREPARERESPONSE._serialized_start=23987 + _TXPREPARERESPONSE._serialized_end=24055 + _TXSENDREQUEST._serialized_start=24057 + _TXSENDREQUEST._serialized_end=24086 + _TXSENDRESPONSE._serialized_start=24088 + _TXSENDRESPONSE._serialized_end=24144 + _DISCONNECTREQUEST._serialized_start=24146 + _DISCONNECTREQUEST._serialized_end=24207 + _DISCONNECTRESPONSE._serialized_start=24209 + _DISCONNECTRESPONSE._serialized_end=24229 + _FEERATESREQUEST._serialized_start=24231 + _FEERATESREQUEST._serialized_end=24338 + _FEERATESREQUEST_FEERATESSTYLE._serialized_start=24301 + _FEERATESREQUEST_FEERATESSTYLE._serialized_end=24338 + _FEERATESRESPONSE._serialized_start=24341 + _FEERATESRESPONSE._serialized_end=24625 + _FEERATESPERKB._serialized_start=24628 + _FEERATESPERKB._serialized_end=24951 + _FEERATESPERKW._serialized_start=24954 + _FEERATESPERKW._serialized_end=25277 + _FEERATESONCHAIN_FEE_ESTIMATES._serialized_start=25280 + _FEERATESONCHAIN_FEE_ESTIMATES._serialized_end=25473 + _FUNDCHANNELREQUEST._serialized_start=25476 + _FUNDCHANNELREQUEST._serialized_end=25961 + _FUNDCHANNELRESPONSE._serialized_start=25964 + _FUNDCHANNELRESPONSE._serialized_end=26119 + _GETROUTEREQUEST._serialized_start=26122 + _GETROUTEREQUEST._serialized_end=26358 + _GETROUTERESPONSE._serialized_start=26360 + _GETROUTERESPONSE._serialized_end=26413 + _GETROUTEROUTE._serialized_start=26416 + _GETROUTEROUTE._serialized_end=26613 + _GETROUTEROUTE_GETROUTEROUTESTYLE._serialized_start=26584 + _GETROUTEROUTE_GETROUTEROUTESTYLE._serialized_end=26613 + _LISTFORWARDSREQUEST._serialized_start=26616 + _LISTFORWARDSREQUEST._serialized_end=26874 + _LISTFORWARDSREQUEST_LISTFORWARDSSTATUS._serialized_start=26756 + _LISTFORWARDSREQUEST_LISTFORWARDSSTATUS._serialized_end=26832 + _LISTFORWARDSRESPONSE._serialized_start=26876 + _LISTFORWARDSRESPONSE._serialized_end=26943 + _LISTFORWARDSFORWARDS._serialized_start=26946 + _LISTFORWARDSFORWARDS._serialized_end=27552 + _LISTFORWARDSFORWARDS_LISTFORWARDSFORWARDSSTATUS._serialized_start=27335 + _LISTFORWARDSFORWARDS_LISTFORWARDSFORWARDSSTATUS._serialized_end=27419 + _LISTFORWARDSFORWARDS_LISTFORWARDSFORWARDSSTYLE._serialized_start=27421 + _LISTFORWARDSFORWARDS_LISTFORWARDSFORWARDSSTYLE._serialized_end=27469 + _LISTPAYSREQUEST._serialized_start=27555 + _LISTPAYSREQUEST._serialized_end=27774 + _LISTPAYSREQUEST_LISTPAYSSTATUS._serialized_start=27680 + _LISTPAYSREQUEST_LISTPAYSSTATUS._serialized_end=27735 + _LISTPAYSRESPONSE._serialized_start=27776 + _LISTPAYSRESPONSE._serialized_end=27827 + _LISTPAYSPAYS._serialized_start=27830 + _LISTPAYSPAYS._serialized_end=28349 + _LISTPAYSPAYS_LISTPAYSPAYSSTATUS._serialized_start=28161 + _LISTPAYSPAYS_LISTPAYSPAYSSTATUS._serialized_end=28220 + _PINGREQUEST._serialized_start=28351 + _PINGREQUEST._serialized_end=28440 + _PINGRESPONSE._serialized_start=28442 + _PINGRESPONSE._serialized_end=28472 + _SENDCUSTOMMSGREQUEST._serialized_start=28474 + _SENDCUSTOMMSGREQUEST._serialized_end=28526 + _SENDCUSTOMMSGRESPONSE._serialized_start=28528 + _SENDCUSTOMMSGRESPONSE._serialized_end=28567 + _SETCHANNELREQUEST._serialized_start=28570 + _SETCHANNELREQUEST._serialized_end=28818 + _SETCHANNELRESPONSE._serialized_start=28820 + _SETCHANNELRESPONSE._serialized_end=28883 + _SETCHANNELCHANNELS._serialized_start=28886 + _SETCHANNELCHANNELS._serialized_end=29290 + _SIGNINVOICEREQUEST._serialized_start=29292 + _SIGNINVOICEREQUEST._serialized_end=29331 + _SIGNINVOICERESPONSE._serialized_start=29333 + _SIGNINVOICERESPONSE._serialized_end=29370 + _SIGNMESSAGEREQUEST._serialized_start=29372 + _SIGNMESSAGEREQUEST._serialized_end=29409 + _SIGNMESSAGERESPONSE._serialized_start=29411 + _SIGNMESSAGERESPONSE._serialized_end=29481 + _STOPREQUEST._serialized_start=29483 + _STOPREQUEST._serialized_end=29496 + _STOPRESPONSE._serialized_start=29498 + _STOPRESPONSE._serialized_end=29512 + _NODE._serialized_start=29515 + _NODE._serialized_end=32650 # @@protoc_insertion_point(module_scope) From a31e878c486108fe67fa3a8936b3cf9acdeccefe Mon Sep 17 00:00:00 2001 From: Christian Decker Date: Tue, 28 Mar 2023 13:05:17 +0200 Subject: [PATCH 2/4] msggen: Add an optional patch This patch annotates the fields with a new `optional` attribute which determines whether the field should be considered an inferred optional due to being added or deprecated. --- .msggen.json | 1442 +++++++++++++++++++++++++---- contrib/msggen/msggen/__main__.py | 5 +- contrib/msggen/msggen/model.py | 74 +- contrib/msggen/msggen/patch.py | 45 + 4 files changed, 1380 insertions(+), 186 deletions(-) diff --git a/.msggen.json b/.msggen.json index f7c635a78a65..5b58cc3bfdc5 100644 --- a/.msggen.json +++ b/.msggen.json @@ -1256,6 +1256,22 @@ "added": "pre-v0.10.1", "deprecated": false }, + "Connect.address.address": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Connect.address.port": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Connect.address.socket": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Connect.address.type": { + "added": "pre-v0.10.1", + "deprecated": false + }, "Connect.direction": { "added": "pre-v0.10.1", "deprecated": false @@ -1356,6 +1372,14 @@ "added": "pre-v0.10.1", "deprecated": false }, + "CreateOnion.hops[].payload": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "CreateOnion.hops[].pubkey": { + "added": "pre-v0.10.1", + "deprecated": false + }, "CreateOnion.onion": { "added": "pre-v0.10.1", "deprecated": false @@ -1492,571 +1516,1579 @@ "added": "pre-v0.10.1", "deprecated": false }, - "Feerates.perkb": { + "Feerates.onchain_fee_estimates.htlc_success_satoshis": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Feerates.onchain_fee_estimates.htlc_timeout_satoshis": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Feerates.onchain_fee_estimates.mutual_close_satoshis": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Feerates.onchain_fee_estimates.opening_channel_satoshis": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Feerates.onchain_fee_estimates.unilateral_close_satoshis": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Feerates.perkb": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Feerates.perkb.delayed_to_us": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Feerates.perkb.htlc_resolution": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Feerates.perkb.max_acceptable": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Feerates.perkb.min_acceptable": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Feerates.perkb.mutual_close": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Feerates.perkb.opening": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Feerates.perkb.penalty": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Feerates.perkb.unilateral_close": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Feerates.perkw": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Feerates.perkw.delayed_to_us": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Feerates.perkw.htlc_resolution": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Feerates.perkw.max_acceptable": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Feerates.perkw.min_acceptable": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Feerates.perkw.mutual_close": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Feerates.perkw.opening": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Feerates.perkw.penalty": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Feerates.perkw.unilateral_close": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Feerates.style": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Feerates.warning_missing_feerates": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "FundChannel": { + "added": "pre-v0.10.1", + "deprecated": null + }, + "FundChannel.amount": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "FundChannel.announce": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "FundChannel.channel_id": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "FundChannel.close_to": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "FundChannel.compact_lease": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "FundChannel.feerate": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "FundChannel.id": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "FundChannel.minconf": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "FundChannel.mindepth": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "FundChannel.outnum": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "FundChannel.push_msat": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "FundChannel.request_amt": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "FundChannel.reserve": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "FundChannel.tx": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "FundChannel.txid": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "FundChannel.utxos[]": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "FundPsbt": { + "added": "pre-v0.10.1", + "deprecated": null + }, + "FundPsbt.change_outnum": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "FundPsbt.estimated_final_weight": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "FundPsbt.excess_as_change": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "FundPsbt.excess_msat": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "FundPsbt.feerate": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "FundPsbt.feerate_per_kw": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "FundPsbt.locktime": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "FundPsbt.min_witness_weight": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "FundPsbt.minconf": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "FundPsbt.psbt": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "FundPsbt.reservations[]": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "FundPsbt.reservations[].reserved": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "FundPsbt.reservations[].reserved_to_block": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "FundPsbt.reservations[].txid": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "FundPsbt.reservations[].vout": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "FundPsbt.reservations[].was_reserved": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "FundPsbt.reserve": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "FundPsbt.satoshi": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "FundPsbt.startweight": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "GetRoute": { + "added": "pre-v0.10.1", + "deprecated": null + }, + "GetRoute.amount_msat": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "GetRoute.cltv": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "GetRoute.exclude[]": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "GetRoute.fromid": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "GetRoute.fuzzpercent": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "GetRoute.id": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "GetRoute.maxhops": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "GetRoute.riskfactor": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "GetRoute.route[]": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "GetRoute.route[].amount_msat": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "GetRoute.route[].channel": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "GetRoute.route[].delay": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "GetRoute.route[].direction": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "GetRoute.route[].id": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "GetRoute.route[].style": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Getinfo": { + "added": "pre-v0.10.1", + "deprecated": null + }, + "Getinfo.address[]": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Getinfo.address[].address": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Getinfo.address[].port": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Getinfo.address[].type": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Getinfo.alias": { + "added": "v0.12.0", + "deprecated": false + }, + "Getinfo.binding[]": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Getinfo.binding[].address": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Getinfo.binding[].port": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Getinfo.binding[].socket": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Getinfo.binding[].type": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Getinfo.blockheight": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Getinfo.color": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Getinfo.fees_collected_msat": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Getinfo.id": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Getinfo.lightning-dir": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Getinfo.network": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Getinfo.num_active_channels": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Getinfo.num_inactive_channels": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Getinfo.num_peers": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Getinfo.num_pending_channels": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Getinfo.our_features": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Getinfo.our_features.channel": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Getinfo.our_features.init": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Getinfo.our_features.invoice": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Getinfo.our_features.node": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Getinfo.version": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Getinfo.warning_bitcoind_sync": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Getinfo.warning_lightningd_sync": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Invoice": { + "added": "pre-v0.10.1", + "deprecated": null + }, + "Invoice.amount_msat": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Invoice.bolt11": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Invoice.cltv": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Invoice.deschashonly": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Invoice.description": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Invoice.expires_at": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Invoice.expiry": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Invoice.exposeprivatechannels": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Invoice.fallbacks[]": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Invoice.label": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Invoice.payment_hash": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Invoice.payment_secret": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Invoice.preimage": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Invoice.warning_capacity": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Invoice.warning_deadends": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Invoice.warning_mpp": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Invoice.warning_offline": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "Invoice.warning_private_unused": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "KeySend": { + "added": "pre-v0.10.1", + "deprecated": null + }, + "KeySend.amount_msat": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "KeySend.amount_sent_msat": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "KeySend.created_at": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "KeySend.destination": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "KeySend.exemptfee": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "KeySend.extratlvs": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "KeySend.label": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "KeySend.maxdelay": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "KeySend.maxfeepercent": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "KeySend.parts": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "KeySend.payment_hash": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "KeySend.payment_preimage": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "KeySend.retry_for": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "KeySend.routehints": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "KeySend.status": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "KeySend.warning_partial_completion": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListChannels": { + "added": "pre-v0.10.1", + "deprecated": null + }, + "ListChannels.channels[]": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListChannels.channels[].active": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListChannels.channels[].amount_msat": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListChannels.channels[].base_fee_millisatoshi": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListChannels.channels[].channel_flags": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListChannels.channels[].delay": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListChannels.channels[].destination": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListChannels.channels[].direction": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListChannels.channels[].features": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListChannels.channels[].fee_per_millionth": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListChannels.channels[].htlc_maximum_msat": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListChannels.channels[].htlc_minimum_msat": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListChannels.channels[].last_update": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListChannels.channels[].message_flags": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListChannels.channels[].public": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListChannels.channels[].short_channel_id": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListChannels.channels[].source": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListChannels.destination": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListChannels.short_channel_id": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListChannels.source": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListDatastore": { + "added": "pre-v0.10.1", + "deprecated": null + }, + "ListDatastore.datastore[]": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListDatastore.datastore[].generation": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListDatastore.datastore[].hex": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListDatastore.datastore[].key[]": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListDatastore.datastore[].string": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListDatastore.key": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListForwards": { + "added": "pre-v0.10.1", + "deprecated": null + }, + "ListForwards.forwards[]": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListForwards.forwards[].fee_msat": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListForwards.forwards[].in_channel": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListForwards.forwards[].in_htlc_id": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListForwards.forwards[].in_msat": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListForwards.forwards[].out_channel": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListForwards.forwards[].out_htlc_id": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListForwards.forwards[].out_msat": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListForwards.forwards[].received_time": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListForwards.forwards[].status": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListForwards.forwards[].style": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListForwards.in_channel": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListForwards.out_channel": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListForwards.status": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListFunds": { + "added": "pre-v0.10.1", + "deprecated": null + }, + "ListFunds.channels[]": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListFunds.channels[].amount_msat": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListFunds.channels[].channel_id": { + "added": "v23.05", + "deprecated": false + }, + "ListFunds.channels[].connected": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListFunds.channels[].funding_output": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListFunds.channels[].funding_txid": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListFunds.channels[].our_amount_msat": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListFunds.channels[].peer_id": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListFunds.channels[].short_channel_id": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListFunds.channels[].state": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListFunds.outputs[]": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListFunds.outputs[].address": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListFunds.outputs[].amount_msat": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListFunds.outputs[].blockheight": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListFunds.outputs[].output": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListFunds.outputs[].redeemscript": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListFunds.outputs[].reserved": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListFunds.outputs[].scriptpubkey": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListFunds.outputs[].status": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListFunds.outputs[].txid": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListFunds.spent": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListInvoices": { + "added": "pre-v0.10.1", + "deprecated": null + }, + "ListInvoices.invoices[]": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListInvoices.invoices[].amount_msat": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListInvoices.invoices[].amount_received_msat": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListInvoices.invoices[].bolt11": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListInvoices.invoices[].bolt12": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListInvoices.invoices[].description": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListInvoices.invoices[].expires_at": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListInvoices.invoices[].invreq_payer_note": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListInvoices.invoices[].label": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListInvoices.invoices[].local_offer_id": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListInvoices.invoices[].paid_at": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListInvoices.invoices[].pay_index": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListInvoices.invoices[].payment_hash": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListInvoices.invoices[].payment_preimage": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListInvoices.invoices[].status": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListInvoices.invstring": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListInvoices.label": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListInvoices.offer_id": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListInvoices.payment_hash": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListNodes": { + "added": "pre-v0.10.1", + "deprecated": null + }, + "ListNodes.id": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListNodes.nodes[]": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListNodes.nodes[].addresses[]": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListNodes.nodes[].addresses[].address": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListNodes.nodes[].addresses[].port": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListNodes.nodes[].addresses[].type": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListNodes.nodes[].alias": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListNodes.nodes[].color": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListNodes.nodes[].features": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListNodes.nodes[].last_timestamp": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListNodes.nodes[].nodeid": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListPays": { + "added": "pre-v0.10.1", + "deprecated": null + }, + "ListPays.bolt11": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListPays.payment_hash": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListPays.pays[]": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListPays.pays[].bolt11": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListPays.pays[].bolt12": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListPays.pays[].completed_at": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListPays.pays[].created_at": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListPays.pays[].description": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListPays.pays[].destination": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListPays.pays[].erroronion": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListPays.pays[].label": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListPays.pays[].number_of_parts": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListPays.pays[].payment_hash": { "added": "pre-v0.10.1", "deprecated": false }, - "Feerates.perkw": { + "ListPays.pays[].preimage": { "added": "pre-v0.10.1", "deprecated": false }, - "Feerates.style": { + "ListPays.pays[].status": { "added": "pre-v0.10.1", "deprecated": false }, - "Feerates.warning_missing_feerates": { + "ListPays.status": { "added": "pre-v0.10.1", "deprecated": false }, - "FundChannel": { + "ListPeers": { "added": "pre-v0.10.1", "deprecated": null }, - "FundChannel.amount": { + "ListPeers.id": { "added": "pre-v0.10.1", "deprecated": false }, - "FundChannel.announce": { + "ListPeers.level": { "added": "pre-v0.10.1", "deprecated": false }, - "FundChannel.channel_id": { + "ListPeers.peers[]": { "added": "pre-v0.10.1", "deprecated": false }, - "FundChannel.close_to": { + "ListPeers.peers[].channels[]": { "added": "pre-v0.10.1", - "deprecated": false + "deprecated": "v23.02" }, - "FundChannel.compact_lease": { + "ListPeers.peers[].channels[].alias": { "added": "pre-v0.10.1", "deprecated": false }, - "FundChannel.feerate": { + "ListPeers.peers[].channels[].alias.local": { "added": "pre-v0.10.1", "deprecated": false }, - "FundChannel.id": { + "ListPeers.peers[].channels[].alias.remote": { "added": "pre-v0.10.1", "deprecated": false }, - "FundChannel.minconf": { + "ListPeers.peers[].channels[].channel_id": { "added": "pre-v0.10.1", "deprecated": false }, - "FundChannel.mindepth": { + "ListPeers.peers[].channels[].close_to": { "added": "pre-v0.10.1", "deprecated": false }, - "FundChannel.outnum": { + "ListPeers.peers[].channels[].close_to_addr": { "added": "pre-v0.10.1", "deprecated": false }, - "FundChannel.push_msat": { + "ListPeers.peers[].channels[].closer": { "added": "pre-v0.10.1", "deprecated": false }, - "FundChannel.request_amt": { + "ListPeers.peers[].channels[].dust_limit_msat": { "added": "pre-v0.10.1", "deprecated": false }, - "FundChannel.reserve": { + "ListPeers.peers[].channels[].features[]": { "added": "pre-v0.10.1", "deprecated": false }, - "FundChannel.tx": { + "ListPeers.peers[].channels[].fee_base_msat": { "added": "pre-v0.10.1", "deprecated": false }, - "FundChannel.txid": { + "ListPeers.peers[].channels[].fee_proportional_millionths": { "added": "pre-v0.10.1", "deprecated": false }, - "FundChannel.utxos[]": { + "ListPeers.peers[].channels[].feerate": { "added": "pre-v0.10.1", "deprecated": false }, - "FundPsbt": { + "ListPeers.peers[].channels[].feerate.perkb": { "added": "pre-v0.10.1", - "deprecated": null + "deprecated": false }, - "FundPsbt.change_outnum": { + "ListPeers.peers[].channels[].feerate.perkw": { "added": "pre-v0.10.1", "deprecated": false }, - "FundPsbt.estimated_final_weight": { + "ListPeers.peers[].channels[].funding": { "added": "pre-v0.10.1", "deprecated": false }, - "FundPsbt.excess_as_change": { + "ListPeers.peers[].channels[].funding.fee_paid_msat": { "added": "pre-v0.10.1", "deprecated": false }, - "FundPsbt.excess_msat": { + "ListPeers.peers[].channels[].funding.fee_rcvd_msat": { "added": "pre-v0.10.1", "deprecated": false }, - "FundPsbt.feerate": { + "ListPeers.peers[].channels[].funding.local_funds_msat": { "added": "pre-v0.10.1", "deprecated": false }, - "FundPsbt.feerate_per_kw": { + "ListPeers.peers[].channels[].funding.pushed_msat": { "added": "pre-v0.10.1", "deprecated": false }, - "FundPsbt.locktime": { + "ListPeers.peers[].channels[].funding.remote_funds_msat": { "added": "pre-v0.10.1", "deprecated": false }, - "FundPsbt.min_witness_weight": { + "ListPeers.peers[].channels[].funding_outnum": { "added": "pre-v0.10.1", "deprecated": false }, - "FundPsbt.minconf": { + "ListPeers.peers[].channels[].funding_txid": { "added": "pre-v0.10.1", "deprecated": false }, - "FundPsbt.psbt": { + "ListPeers.peers[].channels[].htlcs[]": { "added": "pre-v0.10.1", "deprecated": false }, - "FundPsbt.reservations[]": { + "ListPeers.peers[].channels[].htlcs[].amount_msat": { "added": "pre-v0.10.1", "deprecated": false }, - "FundPsbt.reserve": { + "ListPeers.peers[].channels[].htlcs[].direction": { "added": "pre-v0.10.1", "deprecated": false }, - "FundPsbt.satoshi": { + "ListPeers.peers[].channels[].htlcs[].expiry": { "added": "pre-v0.10.1", "deprecated": false }, - "FundPsbt.startweight": { + "ListPeers.peers[].channels[].htlcs[].id": { "added": "pre-v0.10.1", "deprecated": false }, - "GetRoute": { + "ListPeers.peers[].channels[].htlcs[].local_trimmed": { "added": "pre-v0.10.1", - "deprecated": null + "deprecated": false }, - "GetRoute.amount_msat": { + "ListPeers.peers[].channels[].htlcs[].payment_hash": { "added": "pre-v0.10.1", "deprecated": false }, - "GetRoute.cltv": { + "ListPeers.peers[].channels[].htlcs[].state": { "added": "pre-v0.10.1", "deprecated": false }, - "GetRoute.exclude[]": { + "ListPeers.peers[].channels[].htlcs[].status": { "added": "pre-v0.10.1", "deprecated": false }, - "GetRoute.fromid": { + "ListPeers.peers[].channels[].in_fulfilled_msat": { "added": "pre-v0.10.1", "deprecated": false }, - "GetRoute.fuzzpercent": { + "ListPeers.peers[].channels[].in_offered_msat": { "added": "pre-v0.10.1", "deprecated": false }, - "GetRoute.id": { + "ListPeers.peers[].channels[].in_payments_fulfilled": { "added": "pre-v0.10.1", "deprecated": false }, - "GetRoute.maxhops": { + "ListPeers.peers[].channels[].in_payments_offered": { "added": "pre-v0.10.1", "deprecated": false }, - "GetRoute.riskfactor": { + "ListPeers.peers[].channels[].inflight[]": { "added": "pre-v0.10.1", "deprecated": false }, - "GetRoute.route[]": { + "ListPeers.peers[].channels[].inflight[].feerate": { "added": "pre-v0.10.1", "deprecated": false }, - "Getinfo": { + "ListPeers.peers[].channels[].inflight[].funding_outnum": { "added": "pre-v0.10.1", - "deprecated": null + "deprecated": false }, - "Getinfo.address[]": { + "ListPeers.peers[].channels[].inflight[].funding_txid": { "added": "pre-v0.10.1", "deprecated": false }, - "Getinfo.alias": { + "ListPeers.peers[].channels[].inflight[].our_funding_msat": { "added": "pre-v0.10.1", "deprecated": false }, - "Getinfo.binding[]": { + "ListPeers.peers[].channels[].inflight[].scratch_txid": { "added": "pre-v0.10.1", "deprecated": false }, - "Getinfo.blockheight": { + "ListPeers.peers[].channels[].inflight[].total_funding_msat": { "added": "pre-v0.10.1", "deprecated": false }, - "Getinfo.color": { + "ListPeers.peers[].channels[].initial_feerate": { "added": "pre-v0.10.1", "deprecated": false }, - "Getinfo.fees_collected_msat": { + "ListPeers.peers[].channels[].last_feerate": { "added": "pre-v0.10.1", "deprecated": false }, - "Getinfo.id": { + "ListPeers.peers[].channels[].max_accepted_htlcs": { "added": "pre-v0.10.1", "deprecated": false }, - "Getinfo.lightning-dir": { + "ListPeers.peers[].channels[].max_to_us_msat": { "added": "pre-v0.10.1", "deprecated": false }, - "Getinfo.network": { + "ListPeers.peers[].channels[].max_total_htlc_in_msat": { "added": "pre-v0.10.1", "deprecated": false }, - "Getinfo.num_active_channels": { + "ListPeers.peers[].channels[].maximum_htlc_out_msat": { "added": "pre-v0.10.1", "deprecated": false }, - "Getinfo.num_inactive_channels": { + "ListPeers.peers[].channels[].min_to_us_msat": { "added": "pre-v0.10.1", "deprecated": false }, - "Getinfo.num_peers": { - "added": "v0.12.0", + "ListPeers.peers[].channels[].minimum_htlc_in_msat": { + "added": "pre-v0.10.1", "deprecated": false }, - "Getinfo.num_pending_channels": { + "ListPeers.peers[].channels[].minimum_htlc_out_msat": { "added": "pre-v0.10.1", "deprecated": false }, - "Getinfo.our_features": { + "ListPeers.peers[].channels[].next_fee_step": { "added": "pre-v0.10.1", "deprecated": false }, - "Getinfo.version": { + "ListPeers.peers[].channels[].next_feerate": { "added": "pre-v0.10.1", "deprecated": false }, - "Getinfo.warning_bitcoind_sync": { + "ListPeers.peers[].channels[].opener": { "added": "pre-v0.10.1", "deprecated": false }, - "Getinfo.warning_lightningd_sync": { + "ListPeers.peers[].channels[].our_reserve_msat": { "added": "pre-v0.10.1", "deprecated": false }, - "Invoice": { + "ListPeers.peers[].channels[].our_to_self_delay": { "added": "pre-v0.10.1", - "deprecated": null + "deprecated": false }, - "Invoice.amount_msat": { + "ListPeers.peers[].channels[].out_fulfilled_msat": { "added": "pre-v0.10.1", "deprecated": false }, - "Invoice.bolt11": { + "ListPeers.peers[].channels[].out_offered_msat": { "added": "pre-v0.10.1", "deprecated": false }, - "Invoice.cltv": { + "ListPeers.peers[].channels[].out_payments_fulfilled": { "added": "pre-v0.10.1", "deprecated": false }, - "Invoice.deschashonly": { + "ListPeers.peers[].channels[].out_payments_offered": { "added": "pre-v0.10.1", "deprecated": false }, - "Invoice.description": { + "ListPeers.peers[].channels[].owner": { "added": "pre-v0.10.1", "deprecated": false }, - "Invoice.expires_at": { + "ListPeers.peers[].channels[].private": { "added": "pre-v0.10.1", "deprecated": false }, - "Invoice.expiry": { + "ListPeers.peers[].channels[].receivable_msat": { "added": "pre-v0.10.1", "deprecated": false }, - "Invoice.exposeprivatechannels": { + "ListPeers.peers[].channels[].scratch_txid": { "added": "pre-v0.10.1", "deprecated": false }, - "Invoice.fallbacks[]": { + "ListPeers.peers[].channels[].short_channel_id": { "added": "pre-v0.10.1", "deprecated": false }, - "Invoice.label": { + "ListPeers.peers[].channels[].spendable_msat": { "added": "pre-v0.10.1", "deprecated": false }, - "Invoice.payment_hash": { + "ListPeers.peers[].channels[].state": { "added": "pre-v0.10.1", "deprecated": false }, - "Invoice.payment_secret": { + "ListPeers.peers[].channels[].state_changes[]": { "added": "pre-v0.10.1", "deprecated": false }, - "Invoice.preimage": { + "ListPeers.peers[].channels[].state_changes[].cause": { "added": "pre-v0.10.1", "deprecated": false }, - "Invoice.warning_capacity": { + "ListPeers.peers[].channels[].state_changes[].message": { "added": "pre-v0.10.1", "deprecated": false }, - "Invoice.warning_deadends": { + "ListPeers.peers[].channels[].state_changes[].new_state": { "added": "pre-v0.10.1", "deprecated": false }, - "Invoice.warning_mpp": { + "ListPeers.peers[].channels[].state_changes[].old_state": { "added": "pre-v0.10.1", "deprecated": false }, - "Invoice.warning_offline": { + "ListPeers.peers[].channels[].state_changes[].timestamp": { "added": "pre-v0.10.1", "deprecated": false }, - "Invoice.warning_private_unused": { + "ListPeers.peers[].channels[].status[]": { "added": "pre-v0.10.1", "deprecated": false }, - "KeySend": { + "ListPeers.peers[].channels[].their_reserve_msat": { "added": "pre-v0.10.1", - "deprecated": null + "deprecated": false }, - "KeySend.amount_msat": { + "ListPeers.peers[].channels[].their_to_self_delay": { "added": "pre-v0.10.1", "deprecated": false }, - "KeySend.amount_sent_msat": { + "ListPeers.peers[].channels[].to_us_msat": { "added": "pre-v0.10.1", "deprecated": false }, - "KeySend.created_at": { + "ListPeers.peers[].channels[].total_msat": { "added": "pre-v0.10.1", "deprecated": false }, - "KeySend.destination": { + "ListPeers.peers[].connected": { "added": "pre-v0.10.1", "deprecated": false }, - "KeySend.exemptfee": { + "ListPeers.peers[].features": { "added": "pre-v0.10.1", "deprecated": false }, - "KeySend.extratlvs": { + "ListPeers.peers[].id": { "added": "pre-v0.10.1", "deprecated": false }, - "KeySend.label": { + "ListPeers.peers[].log[]": { "added": "pre-v0.10.1", "deprecated": false }, - "KeySend.maxdelay": { + "ListPeers.peers[].log[].data": { "added": "pre-v0.10.1", "deprecated": false }, - "KeySend.maxfeepercent": { + "ListPeers.peers[].log[].log": { "added": "pre-v0.10.1", "deprecated": false }, - "KeySend.parts": { + "ListPeers.peers[].log[].node_id": { "added": "pre-v0.10.1", "deprecated": false }, - "KeySend.payment_hash": { + "ListPeers.peers[].log[].num_skipped": { "added": "pre-v0.10.1", "deprecated": false }, - "KeySend.payment_preimage": { + "ListPeers.peers[].log[].source": { "added": "pre-v0.10.1", "deprecated": false }, - "KeySend.retry_for": { + "ListPeers.peers[].log[].time": { "added": "pre-v0.10.1", "deprecated": false }, - "KeySend.routehints": { + "ListPeers.peers[].log[].type": { "added": "pre-v0.10.1", "deprecated": false }, - "KeySend.status": { + "ListPeers.peers[].netaddr[]": { "added": "pre-v0.10.1", "deprecated": false }, - "KeySend.warning_partial_completion": { + "ListPeers.peers[].num_channels": { + "added": "v23.02", + "deprecated": false + }, + "ListPeers.peers[].remote_addr": { "added": "pre-v0.10.1", "deprecated": false }, - "ListChannels": { + "ListSendPays": { "added": "pre-v0.10.1", "deprecated": null }, - "ListChannels.channels[]": { + "ListSendPays.bolt11": { "added": "pre-v0.10.1", "deprecated": false }, - "ListChannels.destination": { + "ListSendPays.payment_hash": { "added": "pre-v0.10.1", "deprecated": false }, - "ListChannels.short_channel_id": { + "ListSendPays.payments[]": { "added": "pre-v0.10.1", "deprecated": false }, - "ListChannels.source": { + "ListSendPays.payments[].amount_msat": { "added": "pre-v0.10.1", "deprecated": false }, - "ListDatastore": { - "added": "pre-v0.10.1", - "deprecated": null - }, - "ListDatastore.datastore[]": { + "ListSendPays.payments[].amount_sent_msat": { "added": "pre-v0.10.1", "deprecated": false }, - "ListDatastore.key": { + "ListSendPays.payments[].bolt11": { "added": "pre-v0.10.1", "deprecated": false }, - "ListForwards": { - "added": "pre-v0.10.1", - "deprecated": null - }, - "ListForwards.forwards[]": { + "ListSendPays.payments[].bolt12": { "added": "pre-v0.10.1", "deprecated": false }, - "ListForwards.in_channel": { + "ListSendPays.payments[].created_at": { "added": "pre-v0.10.1", "deprecated": false }, - "ListForwards.out_channel": { + "ListSendPays.payments[].description": { "added": "pre-v0.10.1", "deprecated": false }, - "ListForwards.status": { + "ListSendPays.payments[].destination": { "added": "pre-v0.10.1", "deprecated": false }, - "ListFunds": { - "added": "pre-v0.10.1", - "deprecated": null - }, - "ListFunds.channels[]": { + "ListSendPays.payments[].erroronion": { "added": "pre-v0.10.1", "deprecated": false }, - "ListFunds.outputs[]": { + "ListSendPays.payments[].groupid": { "added": "pre-v0.10.1", "deprecated": false }, - "ListFunds.spent": { + "ListSendPays.payments[].id": { "added": "pre-v0.10.1", "deprecated": false }, - "ListInvoices": { + "ListSendPays.payments[].label": { "added": "pre-v0.10.1", - "deprecated": null + "deprecated": false }, - "ListInvoices.invoices[]": { + "ListSendPays.payments[].partid": { "added": "pre-v0.10.1", "deprecated": false }, - "ListInvoices.invstring": { + "ListSendPays.payments[].payment_hash": { "added": "pre-v0.10.1", "deprecated": false }, - "ListInvoices.label": { + "ListSendPays.payments[].payment_preimage": { "added": "pre-v0.10.1", "deprecated": false }, - "ListInvoices.offer_id": { + "ListSendPays.payments[].status": { "added": "pre-v0.10.1", "deprecated": false }, - "ListInvoices.payment_hash": { + "ListSendPays.status": { "added": "pre-v0.10.1", "deprecated": false }, - "ListNodes": { + "ListTransactions": { "added": "pre-v0.10.1", "deprecated": null }, - "ListNodes.id": { + "ListTransactions.transactions[]": { "added": "pre-v0.10.1", "deprecated": false }, - "ListNodes.nodes[]": { + "ListTransactions.transactions[].blockheight": { "added": "pre-v0.10.1", "deprecated": false }, - "ListPays": { + "ListTransactions.transactions[].hash": { "added": "pre-v0.10.1", - "deprecated": null + "deprecated": false }, - "ListPays.bolt11": { + "ListTransactions.transactions[].inputs[]": { "added": "pre-v0.10.1", "deprecated": false }, - "ListPays.payment_hash": { + "ListTransactions.transactions[].inputs[].channel": { "added": "pre-v0.10.1", "deprecated": false }, - "ListPays.pays[]": { + "ListTransactions.transactions[].inputs[].index": { "added": "pre-v0.10.1", "deprecated": false }, - "ListPays.status": { + "ListTransactions.transactions[].inputs[].sequence": { "added": "pre-v0.10.1", "deprecated": false }, - "ListPeers": { + "ListTransactions.transactions[].inputs[].txid": { "added": "pre-v0.10.1", - "deprecated": null + "deprecated": false }, - "ListPeers.id": { + "ListTransactions.transactions[].inputs[].type": { "added": "pre-v0.10.1", "deprecated": false }, - "ListPeers.level": { + "ListTransactions.transactions[].locktime": { "added": "pre-v0.10.1", "deprecated": false }, - "ListPeers.peers[]": { + "ListTransactions.transactions[].outputs[]": { "added": "pre-v0.10.1", "deprecated": false }, - "ListSendPays": { + "ListTransactions.transactions[].outputs[].amount_msat": { "added": "pre-v0.10.1", - "deprecated": null + "deprecated": false }, - "ListSendPays.bolt11": { + "ListTransactions.transactions[].outputs[].channel": { "added": "pre-v0.10.1", "deprecated": false }, - "ListSendPays.payment_hash": { + "ListTransactions.transactions[].outputs[].index": { "added": "pre-v0.10.1", "deprecated": false }, - "ListSendPays.payments[]": { + "ListTransactions.transactions[].outputs[].scriptPubKey": { "added": "pre-v0.10.1", "deprecated": false }, - "ListSendPays.status": { + "ListTransactions.transactions[].outputs[].type": { "added": "pre-v0.10.1", "deprecated": false }, - "ListTransactions": { + "ListTransactions.transactions[].rawtx": { "added": "pre-v0.10.1", - "deprecated": null + "deprecated": false }, - "ListTransactions.transactions[]": { + "ListTransactions.transactions[].txindex": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "ListTransactions.transactions[].version": { "added": "pre-v0.10.1", "deprecated": false }, @@ -2228,6 +3260,18 @@ "added": "pre-v0.10.1", "deprecated": false }, + "SendOnion.first_hop.amount_msat": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "SendOnion.first_hop.delay": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "SendOnion.first_hop.id": { + "added": "pre-v0.10.1", + "deprecated": false + }, "SendOnion.groupid": { "added": "pre-v0.10.1", "deprecated": false @@ -2344,6 +3388,22 @@ "added": "pre-v0.10.1", "deprecated": false }, + "SendPay.route[].amount_msat": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "SendPay.route[].channel": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "SendPay.route[].delay": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "SendPay.route[].id": { + "added": "pre-v0.10.1", + "deprecated": false + }, "SendPay.status": { "added": "pre-v0.10.1", "deprecated": false @@ -2376,6 +3436,42 @@ "added": "pre-v0.10.1", "deprecated": false }, + "SetChannel.channels[].channel_id": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "SetChannel.channels[].fee_base_msat": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "SetChannel.channels[].fee_proportional_millionths": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "SetChannel.channels[].maximum_htlc_out_msat": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "SetChannel.channels[].minimum_htlc_out_msat": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "SetChannel.channels[].peer_id": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "SetChannel.channels[].short_channel_id": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "SetChannel.channels[].warning_htlcmax_too_high": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "SetChannel.channels[].warning_htlcmin_too_low": { + "added": "pre-v0.10.1", + "deprecated": false + }, "SetChannel.enforcedelay": { "added": "pre-v0.10.1", "deprecated": false @@ -2556,6 +3652,26 @@ "added": "pre-v0.10.1", "deprecated": false }, + "UtxoPsbt.reservations[].reserved": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "UtxoPsbt.reservations[].reserved_to_block": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "UtxoPsbt.reservations[].txid": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "UtxoPsbt.reservations[].vout": { + "added": "pre-v0.10.1", + "deprecated": false + }, + "UtxoPsbt.reservations[].was_reserved": { + "added": "pre-v0.10.1", + "deprecated": false + }, "UtxoPsbt.reserve": { "added": "pre-v0.10.1", "deprecated": false diff --git a/contrib/msggen/msggen/__main__.py b/contrib/msggen/msggen/__main__.py index a95ee8f16305..98ba0c526fce 100644 --- a/contrib/msggen/msggen/__main__.py +++ b/contrib/msggen/msggen/__main__.py @@ -8,6 +8,9 @@ from msggen.gen.generator import GeneratorChain from msggen.utils import load_jsonrpc_service import logging +from msggen.patch import VersionAnnotationPatch, OptionalPatch +from msggen.checks import VersioningCheck + logging.basicConfig( level=logging.DEBUG, @@ -51,7 +54,6 @@ def load_msggen_meta(): meta = json.load(open('.msggen.json', 'r')) return meta -from msggen.patch import VersionAnnotationPatch def write_msggen_meta(meta): pid = os.getpid() @@ -69,6 +71,7 @@ def run(rootdir: Path): p = VersionAnnotationPatch(meta=meta) p.apply(service) + OptionalPatch().apply(service) generator_chain = GeneratorChain() diff --git a/contrib/msggen/msggen/model.py b/contrib/msggen/msggen/model.py index e779ca16763e..2acc589a484f 100644 --- a/contrib/msggen/msggen/model.py +++ b/contrib/msggen/msggen/model.py @@ -27,11 +27,17 @@ def __str__(self): class Field: - def __init__(self, path, description): + def __init__( + self, + path, + description, + added=None, + deprecated=None + ): self.path = path self.description = description - self.deprecated = None - self.added = None + self.added = added + self.deprecated = deprecated self.required = False @property @@ -93,8 +99,22 @@ def __init__(self, name: str, request: Field, response: Field): class CompositeField(Field): - def __init__(self, typename, fields, path, description): - Field.__init__(self, path, description) + def __init__( + self, + typename, + fields, + path, + description, + added, + deprecated + ): + Field.__init__( + self, + path, + description, + added=added, + deprecated=deprecated + ) self.typename = typename self.fields = fields @@ -131,6 +151,8 @@ def from_js(cls, js, path): field = None desc = ftype["description"] if "description" in ftype else "" fpath = f"{path}.{fname}" + added = ftype.get('added', None) + deprecated = ftype.get('deprecated', None) if fpath in overrides: field = copy(overrides[fpath]) @@ -160,7 +182,7 @@ def from_js(cls, js, path): field = ArrayField.from_js(fpath, ftype) elif ftype["type"] in PrimitiveField.types: - field = PrimitiveField(ftype["type"], fpath, desc) + field = PrimitiveField(ftype["type"], fpath, desc, added=added, deprecated=deprecated) else: logger.warning( @@ -174,7 +196,7 @@ def from_js(cls, js, path): logger.debug(field) return CompositeField( - typename, fields, path, js["description"] if "description" in js else "" + typename, fields, path, js["description"] if "description" in js else "", added=js.get('added', None), deprecated=js.get('deprecated', None) ) def __str__(self): @@ -196,8 +218,8 @@ def normalized(self): class EnumField(Field): - def __init__(self, typename, values, path, description): - Field.__init__(self, path, description) + def __init__(self, typename, values, path, description, added, deprecated): + Field.__init__(self, path, description, added=added, deprecated=deprecated) self.typename = typename self.values = values self.variants = [EnumVariant(v) for v in self.values] @@ -211,6 +233,8 @@ def from_js(cls, js, path): values=filter(lambda i: i is not None, js["enum"]), path=path, description=js["description"] if "description" in js else "", + added=js.get('added', None), + deprecated=js.get('deprecated', None), ) def __str__(self): @@ -225,8 +249,8 @@ class UnionField(Field): and a `oneof` in protobuf. """ - def __init__(self, path, description, variants): - Field.__init__(self, path, description) + def __init__(self, path, description, variants, added, deprecated): + Field.__init__(self, path, description, added=added, deprecated=deprecated) self.variants = variants self.typename = path2type(path) @@ -282,8 +306,8 @@ class PrimitiveField(Field): "hash", ] - def __init__(self, typename, path, description): - Field.__init__(self, path, description) + def __init__(self, typename, path, description, added, deprecated): + Field.__init__(self, path, description, added=added, deprecated=deprecated) self.typename = typename def __str__(self): @@ -291,8 +315,8 @@ def __str__(self): class ArrayField(Field): - def __init__(self, itemtype, dims, path, description): - Field.__init__(self, path, description) + def __init__(self, itemtype, dims, path, description, added, deprecated): + Field.__init__(self, path, description, added=added, deprecated=deprecated) self.itemtype = itemtype self.dims = dims self.path = path @@ -322,11 +346,13 @@ def from_js(cls, path, js): child_js["type"], path, child_js.get("description", ""), + added=child_js.get("added", None), + deprecated=child_js.get("deprecated", None), ) logger.debug(f"Array path={path} dims={dims}, type={itemtype}") return ArrayField( - itemtype, dims=dims, path=path, description=js.get("description", "") + itemtype, dims=dims, path=path, description=js.get("description", ""), added=js.get('added', None), deprecated=js.get('deprecated', None) ) @@ -340,14 +366,16 @@ def __str__(self): return f"Command[name={self.name}, fields=[{fieldnames}]]" -InvoiceLabelField = PrimitiveField("string", None, None) -DatastoreKeyField = ArrayField(itemtype=PrimitiveField("string", None, None), dims=1, path=None, description=None) -InvoiceExposeprivatechannelsField = PrimitiveField("boolean", None, None) -PayExclude = ArrayField(itemtype=PrimitiveField("string", None, None), dims=1, path=None, description=None) +InvoiceLabelField = PrimitiveField("string", None, None, added=None, deprecated=None) +DatastoreKeyField = ArrayField(itemtype=PrimitiveField("string", None, None, added=None, deprecated=None), dims=1, path=None, description=None, added=None, deprecated=None) +InvoiceExposeprivatechannelsField = PrimitiveField("boolean", None, None, added=None, deprecated=None) +PayExclude = ArrayField(itemtype=PrimitiveField("string", None, None, added=None, deprecated=None), dims=1, path=None, description=None, added=None, deprecated=None) RoutehintListField = PrimitiveField( "RoutehintList", None, - None + None, + added=None, + deprecated=None ) # TlvStreams are special, they don't have preset dict-keys, rather @@ -356,7 +384,9 @@ def __str__(self): TlvStreamField = PrimitiveField( "TlvStream", None, - None + None, + added=None, + deprecated=None ) # Override fields with manually managed types, fieldpath -> field mapping diff --git a/contrib/msggen/msggen/patch.py b/contrib/msggen/msggen/patch.py index 198b773923c2..d0648bbab9e9 100644 --- a/contrib/msggen/msggen/patch.py +++ b/contrib/msggen/msggen/patch.py @@ -82,3 +82,48 @@ def visit(self, f: model.Field) -> None: 'deprecated': f.deprecated, } + +class OptionalPatch(Patch): + """Annotates fields with `.optional` + + Optional fields are either non-required fields, or fields that + were not required in prior versions. This latter case covers the + deprecation and addition for schema evolution + """ + + versions = [ + 'pre-v0.10.1', # Dummy versions collecting all fields that predate the versioning. + 'v0.10.1', + 'v0.10.2', + 'v0.11.0', + 'v0.12.0', + 'v0.12.1', + 'v22.11', + 'v23.02', + 'v23.05', + ] + # Oldest supported versions. Bump this if you no longer want to + # support older versions, and you want to make required fields + # more stringent. + supported = 'v0.12.0' + + def visit(self, f: model.Field) -> None: + if f.added not in self.versions: + raise ValueError(f"Version {f.added} in unknown, please add it to {__file__}") + if f.deprecated and f.deprecated not in self.versions: + raise ValueError(f"Version {f.deprecated} in unknown, please add it to {__file__}") + + idx = ( + self.versions.index(self.supported), + len(self.versions) - 1, + ) + # Default to false, and then overwrite it if required. + f.optional = False + if not f.required: + f.optional = True + + if self.versions.index(f.added) > idx[0]: + f.optional = True + + if f.deprecated and self.versions.index(f.deprecated) < idx[1]: + f.optional = True From 5af1f55b9c305ed425f318156685028f2f15efbe Mon Sep 17 00:00:00 2001 From: Christian Decker Date: Tue, 28 Mar 2023 13:59:35 +0200 Subject: [PATCH 3/4] msggen: Use the inferred optional field Changelog-Changed: msggen: The generated interfaces `cln-rpc` anc `cln-grpc` can now work with a range of versions rather than having to match the CLN version --- cln-grpc/proto/node.proto | 4 +- cln-grpc/src/convert.rs | 8 +- cln-rpc/src/model.rs | 6 +- contrib/msggen/msggen/gen/grpc.py | 18 +- contrib/msggen/msggen/gen/rust.py | 8 +- contrib/msggen/msggen/patch.py | 16 +- contrib/pyln-testing/pyln/testing/node_pb2.py | 636 +++++++++--------- 7 files changed, 352 insertions(+), 344 deletions(-) diff --git a/cln-grpc/proto/node.proto b/cln-grpc/proto/node.proto index d201783f6367..4f48ee7ec0a5 100644 --- a/cln-grpc/proto/node.proto +++ b/cln-grpc/proto/node.proto @@ -131,7 +131,7 @@ message ListpeersResponse { message ListpeersPeers { bytes id = 1; bool connected = 2; - uint32 num_channels = 8; + optional uint32 num_channels = 8; repeated ListpeersPeersLog log = 3; repeated ListpeersPeersChannels channels = 4; repeated string netaddr = 5; @@ -303,7 +303,7 @@ message ListfundsChannels { uint32 funding_output = 5; bool connected = 6; ChannelState state = 7; - bytes channel_id = 9; + optional bytes channel_id = 9; optional string short_channel_id = 8; } diff --git a/cln-grpc/src/convert.rs b/cln-grpc/src/convert.rs index 1b5553fcc9bd..5e2039db79f2 100644 --- a/cln-grpc/src/convert.rs +++ b/cln-grpc/src/convert.rs @@ -212,7 +212,7 @@ impl From for pb::ListpeersPeers { Self { id: c.id.serialize().to_vec(), // Rule #2 for type pubkey connected: c.connected, // Rule #2 for type boolean - num_channels: c.num_channels, // Rule #2 for type u32 + num_channels: c.num_channels, // Rule #2 for type u32? log: c.log.map(|arr| arr.into_iter().map(|i| i.into()).collect()).unwrap_or(vec![]), // Rule #3 channels: c.channels.map(|arr| arr.into_iter().map(|i| i.into()).collect()).unwrap_or(vec![]), // Rule #3 netaddr: c.netaddr.map(|arr| arr.into_iter().map(|i| i.into()).collect()).unwrap_or(vec![]), // Rule #3 @@ -259,7 +259,7 @@ impl From for pb::ListfundsChannels { funding_output: c.funding_output, // Rule #2 for type u32 connected: c.connected, // Rule #2 for type boolean state: c.state as i32, - channel_id: c.channel_id.to_vec(), // Rule #2 for type hash + channel_id: c.channel_id.map(|v| v.to_vec()), // Rule #2 for type hash? short_channel_id: c.short_channel_id.map(|v| v.to_string()), // Rule #2 for type short_channel_id? } } @@ -2550,7 +2550,7 @@ impl From for responses::ListpeersPeers { Self { id: PublicKey::from_slice(&c.id).unwrap(), // Rule #1 for type pubkey connected: c.connected, // Rule #1 for type boolean - num_channels: c.num_channels, // Rule #1 for type u32 + num_channels: c.num_channels, // Rule #1 for type u32? log: Some(c.log.into_iter().map(|s| s.into()).collect()), // Rule #4 channels: Some(c.channels.into_iter().map(|s| s.into()).collect()), // Rule #4 netaddr: Some(c.netaddr.into_iter().map(|s| s.into()).collect()), // Rule #4 @@ -2597,7 +2597,7 @@ impl From for responses::ListfundsChannels { funding_output: c.funding_output, // Rule #1 for type u32 connected: c.connected, // Rule #1 for type boolean state: c.state.try_into().unwrap(), - channel_id: Sha256::from_slice(&c.channel_id).unwrap(), // Rule #1 for type hash + channel_id: c.channel_id.map(|v| Sha256::from_slice(&v).unwrap()), // Rule #1 for type hash? short_channel_id: c.short_channel_id.map(|v| cln_rpc::primitives::ShortChannelId::from_str(&v).unwrap()), // Rule #1 for type short_channel_id? } } diff --git a/cln-rpc/src/model.rs b/cln-rpc/src/model.rs index 37fa0bd364d8..a79780216782 100644 --- a/cln-rpc/src/model.rs +++ b/cln-rpc/src/model.rs @@ -1728,7 +1728,8 @@ pub mod responses { pub struct ListpeersPeers { pub id: PublicKey, pub connected: bool, - pub num_channels: u32, + #[serde(skip_serializing_if = "Option::is_none")] + pub num_channels: Option, #[serde(skip_serializing_if = "crate::is_none_or_empty")] pub log: Option>, #[deprecated] @@ -1809,7 +1810,8 @@ pub mod responses { pub connected: bool, // Path `ListFunds.channels[].state` pub state: ChannelState, - pub channel_id: Sha256, + #[serde(skip_serializing_if = "Option::is_none")] + pub channel_id: Option, #[serde(skip_serializing_if = "Option::is_none")] pub short_channel_id: Option, } diff --git a/contrib/msggen/msggen/gen/grpc.py b/contrib/msggen/msggen/gen/grpc.py index e7f942653bf8..438025324cd8 100644 --- a/contrib/msggen/msggen/gen/grpc.py +++ b/contrib/msggen/msggen/gen/grpc.py @@ -194,7 +194,7 @@ def generate_message(self, message: CompositeField): if overrides.get(f.path, "") is None: continue - opt = "optional " if not f.required else "" + opt = "optional " if f.optional else "" if isinstance(f, ArrayField): typename = typemap.get(f.itemtype.typename, f.itemtype.typename) if f.path in overrides: @@ -288,18 +288,18 @@ def generate_composite(self, prefix, field: CompositeField): 'secret': f'i.to_vec()', }.get(typ, f'i.into()') - if f.required: + if not f.optional: self.write(f"{name}: c.{name}.into_iter().map(|i| {mapping}).collect(), // Rule #3 for type {typ}\n", numindent=3) else: self.write(f"{name}: c.{name}.map(|arr| arr.into_iter().map(|i| {mapping}).collect()).unwrap_or(vec![]), // Rule #3\n", numindent=3) elif isinstance(f, EnumField): - if f.required: + if not f.optional: self.write(f"{name}: c.{name} as i32,\n", numindent=3) else: self.write(f"{name}: c.{name}.map(|v| v as i32),\n", numindent=3) elif isinstance(f, PrimitiveField): - typ = f.typename + ("?" if not f.required else "") + typ = f.typename + ("?" if f.optional else "") # We may need to reduce or increase the size of some # types, or have some conversion such as # hex-decoding. Also includes the `Some()` that grpc @@ -344,7 +344,7 @@ def generate_composite(self, prefix, field: CompositeField): elif isinstance(f, CompositeField): rhs = "" - if f.required: + if not f.optional: rhs = f'Some(c.{name}.into())' else: rhs = f'c.{name}.map(|v| v.into())' @@ -446,7 +446,7 @@ def generate_composite(self, prefix, field: CompositeField) -> None: self.write(f" state_changes: None,") continue - if f.required: + if not f.optional: self.write(f"{name}: c.{name}.into_iter().map(|s| {mapping}).collect(), // Rule #4\n", numindent=3) else: self.write(f"{name}: Some(c.{name}.into_iter().map(|s| {mapping}).collect()), // Rule #4\n", numindent=3) @@ -454,13 +454,13 @@ def generate_composite(self, prefix, field: CompositeField) -> None: elif isinstance(f, EnumField): if f.path == 'ListPeers.peers[].channels[].htlcs[].state': continue - if f.required: + if not f.optional: self.write(f"{name}: c.{name}.try_into().unwrap(),\n", numindent=3) else: self.write(f"{name}: c.{name}.map(|v| v.try_into().unwrap()),\n", numindent=3) pass elif isinstance(f, PrimitiveField): - typ = f.typename + ("?" if not f.required else "") + typ = f.typename + ("?" if f.optional else "") # We may need to reduce or increase the size of some # types, or have some conversion such as # hex-decoding. Also includes the `Some()` that grpc @@ -503,7 +503,7 @@ def generate_composite(self, prefix, field: CompositeField) -> None: self.write(f"{name}: {rhs}, // Rule #1 for type {typ}\n", numindent=3) elif isinstance(f, CompositeField): rhs = "" - if f.required: + if not f.optional: rhs = f'c.{name}.unwrap().into()' else: rhs = f'c.{name}.map(|v| v.into())' diff --git a/contrib/msggen/msggen/gen/rust.py b/contrib/msggen/msggen/gen/rust.py index a773f065cff1..b3d9c4c0e41f 100644 --- a/contrib/msggen/msggen/gen/rust.py +++ b/contrib/msggen/msggen/gen/rust.py @@ -132,7 +132,7 @@ def gen_enum(e): decl = "" # No declaration if we have an override typename = overrides[e.path] - if e.required: + if not e.optional: defi = f" // Path `{e.path}`\n" defi += rename_if_necessary(str(e.name), e.name.normalized()) defi += f" pub {e.name.normalized()}: {typename},\n" @@ -152,7 +152,7 @@ def gen_primitive(p): if p.deprecated: defi += " #[deprecated]\n" defi += rename_if_necessary(org, p.name.name) - if p.required: + if not p.optional: defi += f" pub {p.name}: {typename},\n" else: defi += f" #[serde(skip_serializing_if = \"Option::is_none\")]\n pub {p.name}: Option<{typename}>,\n" @@ -191,7 +191,7 @@ def gen_array(a): if a.deprecated: defi += " #[deprecated]\n" defi += rename_if_necessary(alias, name) - if a.required: + if not a.optional: defi += f" pub {name}: {'Vec<'*a.dims}{itemtype}{'>'*a.dims},\n" else: defi += f" #[serde(skip_serializing_if = \"crate::is_none_or_empty\")]\n pub {name}: Option<{'Vec<'*a.dims}{itemtype}{'>'*a.dims}>,\n" @@ -216,7 +216,7 @@ def gen_composite(c) -> Tuple[str, str]: defi = "" if c.deprecated: defi += " #[deprecated]\n" - if c.required: + if not c.optional: defi += f" pub {c.name}: {c.typename},\n" else: defi += f" #[serde(skip_serializing_if = \"Option::is_none\")]\n pub {c.name}: Option<{c.typename}>,\n" diff --git a/contrib/msggen/msggen/patch.py b/contrib/msggen/msggen/patch.py index d0648bbab9e9..d8b12ff2b01b 100644 --- a/contrib/msggen/msggen/patch.py +++ b/contrib/msggen/msggen/patch.py @@ -64,17 +64,23 @@ def visit(self, f: model.Field) -> None: # if f.added is None and 'added' not in m: # m['added'] = 'pre-v0.10.1' - assert m.get('added', None) is not None or f.added is not None, f"Field {f.path} does not have an `added` annotation" + added = m.get('added', None) + deprecated = m.get('deprecated', None) + + assert added or not f.added, f"Field {f.path} does not have an `added` annotation" # We do not allow the added and deprecated flags to be # modified after the fact. - assert f.added is None or f.added == m['added'] - assert f.deprecated is None or f.deprecated == m.get('deprecated', None) + if f.added and added and f.added != m['added']: + raise ValueError(f"Field {f.path} changed `added` annotation: {f.added} != {m['added']}") + + if f.deprecated and deprecated and f.deprecated != deprecated: + raise ValueError(f"Field {f.path} changed `deprecated` annotation: {f.deprecated} != {m['deprecated']}") if f.added is None: - f.added = m['added'] + f.added = added if f.deprecated is None: - f.deprecated = m.get('deprecated', None) + f.deprecated = deprecated # Backfill the metadata using the annotation self.meta['model-field-versions'][f.path] = { diff --git a/contrib/pyln-testing/pyln/testing/node_pb2.py b/contrib/pyln-testing/pyln/testing/node_pb2.py index c4f9e4a6abb2..3985ff462eef 100644 --- a/contrib/pyln-testing/pyln/testing/node_pb2.py +++ b/contrib/pyln-testing/pyln/testing/node_pb2.py @@ -15,7 +15,7 @@ from . import primitives_pb2 as primitives__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\nnode.proto\x12\x03\x63ln\x1a\x10primitives.proto\"\x10\n\x0eGetinfoRequest\"\xb2\x04\n\x0fGetinfoResponse\x12\n\n\x02id\x18\x01 \x01(\x0c\x12\r\n\x05\x61lias\x18\x02 \x01(\t\x12\r\n\x05\x63olor\x18\x03 \x01(\x0c\x12\x11\n\tnum_peers\x18\x04 \x01(\r\x12\x1c\n\x14num_pending_channels\x18\x05 \x01(\r\x12\x1b\n\x13num_active_channels\x18\x06 \x01(\r\x12\x1d\n\x15num_inactive_channels\x18\x07 \x01(\r\x12\x0f\n\x07version\x18\x08 \x01(\t\x12\x15\n\rlightning_dir\x18\t \x01(\t\x12\x33\n\x0cour_features\x18\n \x01(\x0b\x32\x18.cln.GetinfoOur_featuresH\x00\x88\x01\x01\x12\x13\n\x0b\x62lockheight\x18\x0b \x01(\r\x12\x0f\n\x07network\x18\x0c \x01(\t\x12(\n\x13\x66\x65\x65s_collected_msat\x18\r \x01(\x0b\x32\x0b.cln.Amount\x12$\n\x07\x61\x64\x64ress\x18\x0e \x03(\x0b\x32\x13.cln.GetinfoAddress\x12$\n\x07\x62inding\x18\x0f \x03(\x0b\x32\x13.cln.GetinfoBinding\x12\"\n\x15warning_bitcoind_sync\x18\x10 \x01(\tH\x01\x88\x01\x01\x12$\n\x17warning_lightningd_sync\x18\x11 \x01(\tH\x02\x88\x01\x01\x42\x0f\n\r_our_featuresB\x18\n\x16_warning_bitcoind_syncB\x1a\n\x18_warning_lightningd_sync\"S\n\x13GetinfoOur_features\x12\x0c\n\x04init\x18\x01 \x01(\x0c\x12\x0c\n\x04node\x18\x02 \x01(\x0c\x12\x0f\n\x07\x63hannel\x18\x03 \x01(\x0c\x12\x0f\n\x07invoice\x18\x04 \x01(\x0c\"\xd3\x01\n\x0eGetinfoAddress\x12\x39\n\titem_type\x18\x01 \x01(\x0e\x32&.cln.GetinfoAddress.GetinfoAddressType\x12\x0c\n\x04port\x18\x02 \x01(\r\x12\x14\n\x07\x61\x64\x64ress\x18\x03 \x01(\tH\x00\x88\x01\x01\"V\n\x12GetinfoAddressType\x12\x07\n\x03\x44NS\x10\x00\x12\x08\n\x04IPV4\x10\x01\x12\x08\n\x04IPV6\x10\x02\x12\t\n\x05TORV2\x10\x03\x12\t\n\x05TORV3\x10\x04\x12\r\n\tWEBSOCKET\x10\x05\x42\n\n\x08_address\"\xfb\x01\n\x0eGetinfoBinding\x12\x39\n\titem_type\x18\x01 \x01(\x0e\x32&.cln.GetinfoBinding.GetinfoBindingType\x12\x14\n\x07\x61\x64\x64ress\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x11\n\x04port\x18\x03 \x01(\rH\x01\x88\x01\x01\x12\x13\n\x06socket\x18\x04 \x01(\tH\x02\x88\x01\x01\"P\n\x12GetinfoBindingType\x12\x10\n\x0cLOCAL_SOCKET\x10\x00\x12\x08\n\x04IPV4\x10\x01\x12\x08\n\x04IPV6\x10\x02\x12\t\n\x05TORV2\x10\x03\x12\t\n\x05TORV3\x10\x04\x42\n\n\x08_addressB\x07\n\x05_portB\t\n\x07_socket\"H\n\x10ListpeersRequest\x12\x0f\n\x02id\x18\x01 \x01(\x0cH\x00\x88\x01\x01\x12\x12\n\x05level\x18\x02 \x01(\tH\x01\x88\x01\x01\x42\x05\n\x03_idB\x08\n\x06_level\"7\n\x11ListpeersResponse\x12\"\n\x05peers\x18\x01 \x03(\x0b\x32\x13.cln.ListpeersPeers\"\xf8\x01\n\x0eListpeersPeers\x12\n\n\x02id\x18\x01 \x01(\x0c\x12\x11\n\tconnected\x18\x02 \x01(\x08\x12\x14\n\x0cnum_channels\x18\x08 \x01(\r\x12#\n\x03log\x18\x03 \x03(\x0b\x32\x16.cln.ListpeersPeersLog\x12-\n\x08\x63hannels\x18\x04 \x03(\x0b\x32\x1b.cln.ListpeersPeersChannels\x12\x0f\n\x07netaddr\x18\x05 \x03(\t\x12\x18\n\x0bremote_addr\x18\x07 \x01(\tH\x00\x88\x01\x01\x12\x15\n\x08\x66\x65\x61tures\x18\x06 \x01(\x0cH\x01\x88\x01\x01\x42\x0e\n\x0c_remote_addrB\x0b\n\t_features\"\xfd\x02\n\x11ListpeersPeersLog\x12?\n\titem_type\x18\x01 \x01(\x0e\x32,.cln.ListpeersPeersLog.ListpeersPeersLogType\x12\x18\n\x0bnum_skipped\x18\x02 \x01(\rH\x00\x88\x01\x01\x12\x11\n\x04time\x18\x03 \x01(\tH\x01\x88\x01\x01\x12\x13\n\x06source\x18\x04 \x01(\tH\x02\x88\x01\x01\x12\x10\n\x03log\x18\x05 \x01(\tH\x03\x88\x01\x01\x12\x14\n\x07node_id\x18\x06 \x01(\x0cH\x04\x88\x01\x01\x12\x11\n\x04\x64\x61ta\x18\x07 \x01(\x0cH\x05\x88\x01\x01\"i\n\x15ListpeersPeersLogType\x12\x0b\n\x07SKIPPED\x10\x00\x12\n\n\x06\x42ROKEN\x10\x01\x12\x0b\n\x07UNUSUAL\x10\x02\x12\x08\n\x04INFO\x10\x03\x12\t\n\x05\x44\x45\x42UG\x10\x04\x12\t\n\x05IO_IN\x10\x05\x12\n\n\x06IO_OUT\x10\x06\x42\x0e\n\x0c_num_skippedB\x07\n\x05_timeB\t\n\x07_sourceB\x06\n\x04_logB\n\n\x08_node_idB\x07\n\x05_data\"\xd6\x17\n\x16ListpeersPeersChannels\x12\x46\n\x05state\x18\x01 \x01(\x0e\x32\x37.cln.ListpeersPeersChannels.ListpeersPeersChannelsState\x12\x19\n\x0cscratch_txid\x18\x02 \x01(\x0cH\x00\x88\x01\x01\x12\x38\n\x07\x66\x65\x65rate\x18\x03 \x01(\x0b\x32\".cln.ListpeersPeersChannelsFeerateH\x01\x88\x01\x01\x12\x12\n\x05owner\x18\x04 \x01(\tH\x02\x88\x01\x01\x12\x1d\n\x10short_channel_id\x18\x05 \x01(\tH\x03\x88\x01\x01\x12\x17\n\nchannel_id\x18\x06 \x01(\x0cH\x04\x88\x01\x01\x12\x19\n\x0c\x66unding_txid\x18\x07 \x01(\x0cH\x05\x88\x01\x01\x12\x1b\n\x0e\x66unding_outnum\x18\x08 \x01(\rH\x06\x88\x01\x01\x12\x1c\n\x0finitial_feerate\x18\t \x01(\tH\x07\x88\x01\x01\x12\x19\n\x0clast_feerate\x18\n \x01(\tH\x08\x88\x01\x01\x12\x19\n\x0cnext_feerate\x18\x0b \x01(\tH\t\x88\x01\x01\x12\x1a\n\rnext_fee_step\x18\x0c \x01(\rH\n\x88\x01\x01\x12\x35\n\x08inflight\x18\r \x03(\x0b\x32#.cln.ListpeersPeersChannelsInflight\x12\x15\n\x08\x63lose_to\x18\x0e \x01(\x0cH\x0b\x88\x01\x01\x12\x14\n\x07private\x18\x0f \x01(\x08H\x0c\x88\x01\x01\x12 \n\x06opener\x18\x10 \x01(\x0e\x32\x10.cln.ChannelSide\x12%\n\x06\x63loser\x18\x11 \x01(\x0e\x32\x10.cln.ChannelSideH\r\x88\x01\x01\x12\x10\n\x08\x66\x65\x61tures\x18\x12 \x03(\t\x12\x38\n\x07\x66unding\x18\x13 \x01(\x0b\x32\".cln.ListpeersPeersChannelsFundingH\x0e\x88\x01\x01\x12$\n\nto_us_msat\x18\x14 \x01(\x0b\x32\x0b.cln.AmountH\x0f\x88\x01\x01\x12(\n\x0emin_to_us_msat\x18\x15 \x01(\x0b\x32\x0b.cln.AmountH\x10\x88\x01\x01\x12(\n\x0emax_to_us_msat\x18\x16 \x01(\x0b\x32\x0b.cln.AmountH\x11\x88\x01\x01\x12$\n\ntotal_msat\x18\x17 \x01(\x0b\x32\x0b.cln.AmountH\x12\x88\x01\x01\x12\'\n\rfee_base_msat\x18\x18 \x01(\x0b\x32\x0b.cln.AmountH\x13\x88\x01\x01\x12(\n\x1b\x66\x65\x65_proportional_millionths\x18\x19 \x01(\rH\x14\x88\x01\x01\x12)\n\x0f\x64ust_limit_msat\x18\x1a \x01(\x0b\x32\x0b.cln.AmountH\x15\x88\x01\x01\x12\x30\n\x16max_total_htlc_in_msat\x18\x1b \x01(\x0b\x32\x0b.cln.AmountH\x16\x88\x01\x01\x12,\n\x12their_reserve_msat\x18\x1c \x01(\x0b\x32\x0b.cln.AmountH\x17\x88\x01\x01\x12*\n\x10our_reserve_msat\x18\x1d \x01(\x0b\x32\x0b.cln.AmountH\x18\x88\x01\x01\x12(\n\x0espendable_msat\x18\x1e \x01(\x0b\x32\x0b.cln.AmountH\x19\x88\x01\x01\x12)\n\x0freceivable_msat\x18\x1f \x01(\x0b\x32\x0b.cln.AmountH\x1a\x88\x01\x01\x12.\n\x14minimum_htlc_in_msat\x18 \x01(\x0b\x32\x0b.cln.AmountH\x1b\x88\x01\x01\x12/\n\x15minimum_htlc_out_msat\x18\x30 \x01(\x0b\x32\x0b.cln.AmountH\x1c\x88\x01\x01\x12/\n\x15maximum_htlc_out_msat\x18\x31 \x01(\x0b\x32\x0b.cln.AmountH\x1d\x88\x01\x01\x12 \n\x13their_to_self_delay\x18! \x01(\rH\x1e\x88\x01\x01\x12\x1e\n\x11our_to_self_delay\x18\" \x01(\rH\x1f\x88\x01\x01\x12\x1f\n\x12max_accepted_htlcs\x18# \x01(\rH \x88\x01\x01\x12\x34\n\x05\x61lias\x18\x32 \x01(\x0b\x32 .cln.ListpeersPeersChannelsAliasH!\x88\x01\x01\x12\x0e\n\x06status\x18% \x03(\t\x12 \n\x13in_payments_offered\x18& \x01(\x04H\"\x88\x01\x01\x12)\n\x0fin_offered_msat\x18\' \x01(\x0b\x32\x0b.cln.AmountH#\x88\x01\x01\x12\"\n\x15in_payments_fulfilled\x18( \x01(\x04H$\x88\x01\x01\x12+\n\x11in_fulfilled_msat\x18) \x01(\x0b\x32\x0b.cln.AmountH%\x88\x01\x01\x12!\n\x14out_payments_offered\x18* \x01(\x04H&\x88\x01\x01\x12*\n\x10out_offered_msat\x18+ \x01(\x0b\x32\x0b.cln.AmountH\'\x88\x01\x01\x12#\n\x16out_payments_fulfilled\x18, \x01(\x04H(\x88\x01\x01\x12,\n\x12out_fulfilled_msat\x18- \x01(\x0b\x32\x0b.cln.AmountH)\x88\x01\x01\x12/\n\x05htlcs\x18. \x03(\x0b\x32 .cln.ListpeersPeersChannelsHtlcs\x12\x1a\n\rclose_to_addr\x18/ \x01(\tH*\x88\x01\x01\"\xa1\x02\n\x1bListpeersPeersChannelsState\x12\x0c\n\x08OPENINGD\x10\x00\x12\x1c\n\x18\x43HANNELD_AWAITING_LOCKIN\x10\x01\x12\x13\n\x0f\x43HANNELD_NORMAL\x10\x02\x12\x1a\n\x16\x43HANNELD_SHUTTING_DOWN\x10\x03\x12\x18\n\x14\x43LOSINGD_SIGEXCHANGE\x10\x04\x12\x15\n\x11\x43LOSINGD_COMPLETE\x10\x05\x12\x17\n\x13\x41WAITING_UNILATERAL\x10\x06\x12\x16\n\x12\x46UNDING_SPEND_SEEN\x10\x07\x12\x0b\n\x07ONCHAIN\x10\x08\x12\x17\n\x13\x44UALOPEND_OPEN_INIT\x10\t\x12\x1d\n\x19\x44UALOPEND_AWAITING_LOCKIN\x10\nB\x0f\n\r_scratch_txidB\n\n\x08_feerateB\x08\n\x06_ownerB\x13\n\x11_short_channel_idB\r\n\x0b_channel_idB\x0f\n\r_funding_txidB\x11\n\x0f_funding_outnumB\x12\n\x10_initial_feerateB\x0f\n\r_last_feerateB\x0f\n\r_next_feerateB\x10\n\x0e_next_fee_stepB\x0b\n\t_close_toB\n\n\x08_privateB\t\n\x07_closerB\n\n\x08_fundingB\r\n\x0b_to_us_msatB\x11\n\x0f_min_to_us_msatB\x11\n\x0f_max_to_us_msatB\r\n\x0b_total_msatB\x10\n\x0e_fee_base_msatB\x1e\n\x1c_fee_proportional_millionthsB\x12\n\x10_dust_limit_msatB\x19\n\x17_max_total_htlc_in_msatB\x15\n\x13_their_reserve_msatB\x13\n\x11_our_reserve_msatB\x11\n\x0f_spendable_msatB\x12\n\x10_receivable_msatB\x17\n\x15_minimum_htlc_in_msatB\x18\n\x16_minimum_htlc_out_msatB\x18\n\x16_maximum_htlc_out_msatB\x16\n\x14_their_to_self_delayB\x14\n\x12_our_to_self_delayB\x15\n\x13_max_accepted_htlcsB\x08\n\x06_aliasB\x16\n\x14_in_payments_offeredB\x12\n\x10_in_offered_msatB\x18\n\x16_in_payments_fulfilledB\x14\n\x12_in_fulfilled_msatB\x17\n\x15_out_payments_offeredB\x13\n\x11_out_offered_msatB\x19\n\x17_out_payments_fulfilledB\x15\n\x13_out_fulfilled_msatB\x10\n\x0e_close_to_addr\"=\n\x1dListpeersPeersChannelsFeerate\x12\r\n\x05perkw\x18\x01 \x01(\r\x12\r\n\x05perkb\x18\x02 \x01(\r\"\xc5\x01\n\x1eListpeersPeersChannelsInflight\x12\x14\n\x0c\x66unding_txid\x18\x01 \x01(\x0c\x12\x16\n\x0e\x66unding_outnum\x18\x02 \x01(\r\x12\x0f\n\x07\x66\x65\x65rate\x18\x03 \x01(\t\x12\'\n\x12total_funding_msat\x18\x04 \x01(\x0b\x32\x0b.cln.Amount\x12%\n\x10our_funding_msat\x18\x05 \x01(\x0b\x32\x0b.cln.Amount\x12\x14\n\x0cscratch_txid\x18\x06 \x01(\x0c\"\x9b\x02\n\x1dListpeersPeersChannelsFunding\x12%\n\x0bpushed_msat\x18\x03 \x01(\x0b\x32\x0b.cln.AmountH\x00\x88\x01\x01\x12%\n\x10local_funds_msat\x18\x04 \x01(\x0b\x32\x0b.cln.Amount\x12&\n\x11remote_funds_msat\x18\x07 \x01(\x0b\x32\x0b.cln.Amount\x12\'\n\rfee_paid_msat\x18\x05 \x01(\x0b\x32\x0b.cln.AmountH\x01\x88\x01\x01\x12\'\n\rfee_rcvd_msat\x18\x06 \x01(\x0b\x32\x0b.cln.AmountH\x02\x88\x01\x01\x42\x0e\n\x0c_pushed_msatB\x10\n\x0e_fee_paid_msatB\x10\n\x0e_fee_rcvd_msat\"[\n\x1bListpeersPeersChannelsAlias\x12\x12\n\x05local\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x13\n\x06remote\x18\x02 \x01(\tH\x01\x88\x01\x01\x42\x08\n\x06_localB\t\n\x07_remote\"\xd2\x02\n\x1bListpeersPeersChannelsHtlcs\x12X\n\tdirection\x18\x01 \x01(\x0e\x32\x45.cln.ListpeersPeersChannelsHtlcs.ListpeersPeersChannelsHtlcsDirection\x12\n\n\x02id\x18\x02 \x01(\x04\x12 \n\x0b\x61mount_msat\x18\x03 \x01(\x0b\x32\x0b.cln.Amount\x12\x0e\n\x06\x65xpiry\x18\x04 \x01(\r\x12\x14\n\x0cpayment_hash\x18\x05 \x01(\x0c\x12\x1a\n\rlocal_trimmed\x18\x06 \x01(\x08H\x00\x88\x01\x01\x12\x13\n\x06status\x18\x07 \x01(\tH\x01\x88\x01\x01\"7\n$ListpeersPeersChannelsHtlcsDirection\x12\x06\n\x02IN\x10\x00\x12\x07\n\x03OUT\x10\x01\x42\x10\n\x0e_local_trimmedB\t\n\x07_status\"0\n\x10ListfundsRequest\x12\x12\n\x05spent\x18\x01 \x01(\x08H\x00\x88\x01\x01\x42\x08\n\x06_spent\"e\n\x11ListfundsResponse\x12&\n\x07outputs\x18\x01 \x03(\x0b\x32\x15.cln.ListfundsOutputs\x12(\n\x08\x63hannels\x18\x02 \x03(\x0b\x32\x16.cln.ListfundsChannels\"\x83\x03\n\x10ListfundsOutputs\x12\x0c\n\x04txid\x18\x01 \x01(\x0c\x12\x0e\n\x06output\x18\x02 \x01(\r\x12 \n\x0b\x61mount_msat\x18\x03 \x01(\x0b\x32\x0b.cln.Amount\x12\x14\n\x0cscriptpubkey\x18\x04 \x01(\x0c\x12\x14\n\x07\x61\x64\x64ress\x18\x05 \x01(\tH\x00\x88\x01\x01\x12\x19\n\x0credeemscript\x18\x06 \x01(\x0cH\x01\x88\x01\x01\x12<\n\x06status\x18\x07 \x01(\x0e\x32,.cln.ListfundsOutputs.ListfundsOutputsStatus\x12\x10\n\x08reserved\x18\t \x01(\x08\x12\x18\n\x0b\x62lockheight\x18\x08 \x01(\rH\x02\x88\x01\x01\"Q\n\x16ListfundsOutputsStatus\x12\x0f\n\x0bUNCONFIRMED\x10\x00\x12\r\n\tCONFIRMED\x10\x01\x12\t\n\x05SPENT\x10\x02\x12\x0c\n\x08IMMATURE\x10\x03\x42\n\n\x08_addressB\x0f\n\r_redeemscriptB\x0e\n\x0c_blockheight\"\x97\x02\n\x11ListfundsChannels\x12\x0f\n\x07peer_id\x18\x01 \x01(\x0c\x12$\n\x0four_amount_msat\x18\x02 \x01(\x0b\x32\x0b.cln.Amount\x12 \n\x0b\x61mount_msat\x18\x03 \x01(\x0b\x32\x0b.cln.Amount\x12\x14\n\x0c\x66unding_txid\x18\x04 \x01(\x0c\x12\x16\n\x0e\x66unding_output\x18\x05 \x01(\r\x12\x11\n\tconnected\x18\x06 \x01(\x08\x12 \n\x05state\x18\x07 \x01(\x0e\x32\x11.cln.ChannelState\x12\x12\n\nchannel_id\x18\t \x01(\x0c\x12\x1d\n\x10short_channel_id\x18\x08 \x01(\tH\x00\x88\x01\x01\x42\x13\n\x11_short_channel_id\"\xdd\x02\n\x0eSendpayRequest\x12 \n\x05route\x18\x01 \x03(\x0b\x32\x11.cln.SendpayRoute\x12\x14\n\x0cpayment_hash\x18\x02 \x01(\x0c\x12\x12\n\x05label\x18\x03 \x01(\tH\x00\x88\x01\x01\x12%\n\x0b\x61mount_msat\x18\n \x01(\x0b\x32\x0b.cln.AmountH\x01\x88\x01\x01\x12\x13\n\x06\x62olt11\x18\x05 \x01(\tH\x02\x88\x01\x01\x12\x1b\n\x0epayment_secret\x18\x06 \x01(\x0cH\x03\x88\x01\x01\x12\x13\n\x06partid\x18\x07 \x01(\rH\x04\x88\x01\x01\x12\x1a\n\rlocalinvreqid\x18\x0b \x01(\x0cH\x05\x88\x01\x01\x12\x14\n\x07groupid\x18\t \x01(\x04H\x06\x88\x01\x01\x42\x08\n\x06_labelB\x0e\n\x0c_amount_msatB\t\n\x07_bolt11B\x11\n\x0f_payment_secretB\t\n\x07_partidB\x10\n\x0e_localinvreqidB\n\n\x08_groupid\"\xd1\x04\n\x0fSendpayResponse\x12\n\n\x02id\x18\x01 \x01(\x04\x12\x14\n\x07groupid\x18\x02 \x01(\x04H\x00\x88\x01\x01\x12\x14\n\x0cpayment_hash\x18\x03 \x01(\x0c\x12\x32\n\x06status\x18\x04 \x01(\x0e\x32\".cln.SendpayResponse.SendpayStatus\x12%\n\x0b\x61mount_msat\x18\x05 \x01(\x0b\x32\x0b.cln.AmountH\x01\x88\x01\x01\x12\x18\n\x0b\x64\x65stination\x18\x06 \x01(\x0cH\x02\x88\x01\x01\x12\x12\n\ncreated_at\x18\x07 \x01(\x04\x12\x19\n\x0c\x63ompleted_at\x18\x0f \x01(\x04H\x03\x88\x01\x01\x12%\n\x10\x61mount_sent_msat\x18\x08 \x01(\x0b\x32\x0b.cln.Amount\x12\x12\n\x05label\x18\t \x01(\tH\x04\x88\x01\x01\x12\x13\n\x06partid\x18\n \x01(\x04H\x05\x88\x01\x01\x12\x13\n\x06\x62olt11\x18\x0b \x01(\tH\x06\x88\x01\x01\x12\x13\n\x06\x62olt12\x18\x0c \x01(\tH\x07\x88\x01\x01\x12\x1d\n\x10payment_preimage\x18\r \x01(\x0cH\x08\x88\x01\x01\x12\x14\n\x07message\x18\x0e \x01(\tH\t\x88\x01\x01\"*\n\rSendpayStatus\x12\x0b\n\x07PENDING\x10\x00\x12\x0c\n\x08\x43OMPLETE\x10\x01\x42\n\n\x08_groupidB\x0e\n\x0c_amount_msatB\x0e\n\x0c_destinationB\x0f\n\r_completed_atB\x08\n\x06_labelB\t\n\x07_partidB\t\n\x07_bolt11B\t\n\x07_bolt12B\x13\n\x11_payment_preimageB\n\n\x08_message\"\\\n\x0cSendpayRoute\x12 \n\x0b\x61mount_msat\x18\x05 \x01(\x0b\x32\x0b.cln.Amount\x12\n\n\x02id\x18\x02 \x01(\x0c\x12\r\n\x05\x64\x65lay\x18\x03 \x01(\r\x12\x0f\n\x07\x63hannel\x18\x04 \x01(\t\"\x93\x01\n\x13ListchannelsRequest\x12\x1d\n\x10short_channel_id\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x13\n\x06source\x18\x02 \x01(\x0cH\x01\x88\x01\x01\x12\x18\n\x0b\x64\x65stination\x18\x03 \x01(\x0cH\x02\x88\x01\x01\x42\x13\n\x11_short_channel_idB\t\n\x07_sourceB\x0e\n\x0c_destination\"C\n\x14ListchannelsResponse\x12+\n\x08\x63hannels\x18\x01 \x03(\x0b\x32\x19.cln.ListchannelsChannels\"\xb3\x03\n\x14ListchannelsChannels\x12\x0e\n\x06source\x18\x01 \x01(\x0c\x12\x13\n\x0b\x64\x65stination\x18\x02 \x01(\x0c\x12\x18\n\x10short_channel_id\x18\x03 \x01(\t\x12\x11\n\tdirection\x18\x10 \x01(\r\x12\x0e\n\x06public\x18\x04 \x01(\x08\x12 \n\x0b\x61mount_msat\x18\x05 \x01(\x0b\x32\x0b.cln.Amount\x12\x15\n\rmessage_flags\x18\x06 \x01(\r\x12\x15\n\rchannel_flags\x18\x07 \x01(\r\x12\x0e\n\x06\x61\x63tive\x18\x08 \x01(\x08\x12\x13\n\x0blast_update\x18\t \x01(\r\x12\x1d\n\x15\x62\x61se_fee_millisatoshi\x18\n \x01(\r\x12\x19\n\x11\x66\x65\x65_per_millionth\x18\x0b \x01(\r\x12\r\n\x05\x64\x65lay\x18\x0c \x01(\r\x12&\n\x11htlc_minimum_msat\x18\r \x01(\x0b\x32\x0b.cln.Amount\x12+\n\x11htlc_maximum_msat\x18\x0e \x01(\x0b\x32\x0b.cln.AmountH\x00\x88\x01\x01\x12\x10\n\x08\x66\x65\x61tures\x18\x0f \x01(\x0c\x42\x14\n\x12_htlc_maximum_msat\"#\n\x10\x41\x64\x64gossipRequest\x12\x0f\n\x07message\x18\x01 \x01(\x0c\"\x13\n\x11\x41\x64\x64gossipResponse\"o\n\x17\x41utocleaninvoiceRequest\x12\x17\n\nexpired_by\x18\x01 \x01(\x04H\x00\x88\x01\x01\x12\x1a\n\rcycle_seconds\x18\x02 \x01(\x04H\x01\x88\x01\x01\x42\r\n\x0b_expired_byB\x10\n\x0e_cycle_seconds\"\x81\x01\n\x18\x41utocleaninvoiceResponse\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x17\n\nexpired_by\x18\x02 \x01(\x04H\x00\x88\x01\x01\x12\x1a\n\rcycle_seconds\x18\x03 \x01(\x04H\x01\x88\x01\x01\x42\r\n\x0b_expired_byB\x10\n\x0e_cycle_seconds\"U\n\x13\x43heckmessageRequest\x12\x0f\n\x07message\x18\x01 \x01(\t\x12\r\n\x05zbase\x18\x02 \x01(\t\x12\x13\n\x06pubkey\x18\x03 \x01(\x0cH\x00\x88\x01\x01\x42\t\n\x07_pubkey\"8\n\x14\x43heckmessageResponse\x12\x10\n\x08verified\x18\x01 \x01(\x08\x12\x0e\n\x06pubkey\x18\x02 \x01(\x0c\"\xcb\x02\n\x0c\x43loseRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\x1e\n\x11unilateraltimeout\x18\x02 \x01(\rH\x00\x88\x01\x01\x12\x18\n\x0b\x64\x65stination\x18\x03 \x01(\tH\x01\x88\x01\x01\x12!\n\x14\x66\x65\x65_negotiation_step\x18\x04 \x01(\tH\x02\x88\x01\x01\x12)\n\rwrong_funding\x18\x05 \x01(\x0b\x32\r.cln.OutpointH\x03\x88\x01\x01\x12\x1f\n\x12\x66orce_lease_closed\x18\x06 \x01(\x08H\x04\x88\x01\x01\x12\x1e\n\x08\x66\x65\x65range\x18\x07 \x03(\x0b\x32\x0c.cln.FeerateB\x14\n\x12_unilateraltimeoutB\x0e\n\x0c_destinationB\x17\n\x15_fee_negotiation_stepB\x10\n\x0e_wrong_fundingB\x15\n\x13_force_lease_closed\"\xab\x01\n\rCloseResponse\x12/\n\titem_type\x18\x01 \x01(\x0e\x32\x1c.cln.CloseResponse.CloseType\x12\x0f\n\x02tx\x18\x02 \x01(\x0cH\x00\x88\x01\x01\x12\x11\n\x04txid\x18\x03 \x01(\x0cH\x01\x88\x01\x01\"5\n\tCloseType\x12\n\n\x06MUTUAL\x10\x00\x12\x0e\n\nUNILATERAL\x10\x01\x12\x0c\n\x08UNOPENED\x10\x02\x42\x05\n\x03_txB\x07\n\x05_txid\"T\n\x0e\x43onnectRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\x04host\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x11\n\x04port\x18\x03 \x01(\rH\x01\x88\x01\x01\x42\x07\n\x05_hostB\x07\n\x05_port\"\xb4\x01\n\x0f\x43onnectResponse\x12\n\n\x02id\x18\x01 \x01(\x0c\x12\x10\n\x08\x66\x65\x61tures\x18\x02 \x01(\x0c\x12\x38\n\tdirection\x18\x03 \x01(\x0e\x32%.cln.ConnectResponse.ConnectDirection\x12$\n\x07\x61\x64\x64ress\x18\x04 \x01(\x0b\x32\x13.cln.ConnectAddress\"#\n\x10\x43onnectDirection\x12\x06\n\x02IN\x10\x00\x12\x07\n\x03OUT\x10\x01\"\xfb\x01\n\x0e\x43onnectAddress\x12\x39\n\titem_type\x18\x01 \x01(\x0e\x32&.cln.ConnectAddress.ConnectAddressType\x12\x13\n\x06socket\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x14\n\x07\x61\x64\x64ress\x18\x03 \x01(\tH\x01\x88\x01\x01\x12\x11\n\x04port\x18\x04 \x01(\rH\x02\x88\x01\x01\"P\n\x12\x43onnectAddressType\x12\x10\n\x0cLOCAL_SOCKET\x10\x00\x12\x08\n\x04IPV4\x10\x01\x12\x08\n\x04IPV6\x10\x02\x12\t\n\x05TORV2\x10\x03\x12\t\n\x05TORV3\x10\x04\x42\t\n\x07_socketB\n\n\x08_addressB\x07\n\x05_port\"J\n\x14\x43reateinvoiceRequest\x12\x11\n\tinvstring\x18\x01 \x01(\t\x12\r\n\x05label\x18\x02 \x01(\t\x12\x10\n\x08preimage\x18\x03 \x01(\x0c\"\x81\x05\n\x15\x43reateinvoiceResponse\x12\r\n\x05label\x18\x01 \x01(\t\x12\x13\n\x06\x62olt11\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x13\n\x06\x62olt12\x18\x03 \x01(\tH\x01\x88\x01\x01\x12\x14\n\x0cpayment_hash\x18\x04 \x01(\x0c\x12%\n\x0b\x61mount_msat\x18\x05 \x01(\x0b\x32\x0b.cln.AmountH\x02\x88\x01\x01\x12>\n\x06status\x18\x06 \x01(\x0e\x32..cln.CreateinvoiceResponse.CreateinvoiceStatus\x12\x13\n\x0b\x64\x65scription\x18\x07 \x01(\t\x12\x12\n\nexpires_at\x18\x08 \x01(\x04\x12\x16\n\tpay_index\x18\t \x01(\x04H\x03\x88\x01\x01\x12.\n\x14\x61mount_received_msat\x18\n \x01(\x0b\x32\x0b.cln.AmountH\x04\x88\x01\x01\x12\x14\n\x07paid_at\x18\x0b \x01(\x04H\x05\x88\x01\x01\x12\x1d\n\x10payment_preimage\x18\x0c \x01(\x0cH\x06\x88\x01\x01\x12\x1b\n\x0elocal_offer_id\x18\r \x01(\x0cH\x07\x88\x01\x01\x12\x1e\n\x11invreq_payer_note\x18\x0f \x01(\tH\x08\x88\x01\x01\"8\n\x13\x43reateinvoiceStatus\x12\x08\n\x04PAID\x10\x00\x12\x0b\n\x07\x45XPIRED\x10\x01\x12\n\n\x06UNPAID\x10\x02\x42\t\n\x07_bolt11B\t\n\x07_bolt12B\x0e\n\x0c_amount_msatB\x0c\n\n_pay_indexB\x17\n\x15_amount_received_msatB\n\n\x08_paid_atB\x13\n\x11_payment_preimageB\x11\n\x0f_local_offer_idB\x14\n\x12_invreq_payer_note\"\xb4\x02\n\x10\x44\x61tastoreRequest\x12\x0b\n\x03key\x18\x05 \x03(\t\x12\x13\n\x06string\x18\x06 \x01(\tH\x00\x88\x01\x01\x12\x10\n\x03hex\x18\x02 \x01(\x0cH\x01\x88\x01\x01\x12\x36\n\x04mode\x18\x03 \x01(\x0e\x32#.cln.DatastoreRequest.DatastoreModeH\x02\x88\x01\x01\x12\x17\n\ngeneration\x18\x04 \x01(\x04H\x03\x88\x01\x01\"p\n\rDatastoreMode\x12\x0f\n\x0bMUST_CREATE\x10\x00\x12\x10\n\x0cMUST_REPLACE\x10\x01\x12\x15\n\x11\x43REATE_OR_REPLACE\x10\x02\x12\x0f\n\x0bMUST_APPEND\x10\x03\x12\x14\n\x10\x43REATE_OR_APPEND\x10\x04\x42\t\n\x07_stringB\x06\n\x04_hexB\x07\n\x05_modeB\r\n\x0b_generation\"\x82\x01\n\x11\x44\x61tastoreResponse\x12\x0b\n\x03key\x18\x05 \x03(\t\x12\x17\n\ngeneration\x18\x02 \x01(\x04H\x00\x88\x01\x01\x12\x10\n\x03hex\x18\x03 \x01(\x0cH\x01\x88\x01\x01\x12\x13\n\x06string\x18\x04 \x01(\tH\x02\x88\x01\x01\x42\r\n\x0b_generationB\x06\n\x04_hexB\t\n\x07_string\"\x9d\x01\n\x12\x43reateonionRequest\x12\"\n\x04hops\x18\x01 \x03(\x0b\x32\x14.cln.CreateonionHops\x12\x11\n\tassocdata\x18\x02 \x01(\x0c\x12\x18\n\x0bsession_key\x18\x03 \x01(\x0cH\x00\x88\x01\x01\x12\x17\n\nonion_size\x18\x04 \x01(\rH\x01\x88\x01\x01\x42\x0e\n\x0c_session_keyB\r\n\x0b_onion_size\"<\n\x13\x43reateonionResponse\x12\r\n\x05onion\x18\x01 \x01(\x0c\x12\x16\n\x0eshared_secrets\x18\x02 \x03(\x0c\"2\n\x0f\x43reateonionHops\x12\x0e\n\x06pubkey\x18\x01 \x01(\x0c\x12\x0f\n\x07payload\x18\x02 \x01(\x0c\"J\n\x13\x44\x65ldatastoreRequest\x12\x0b\n\x03key\x18\x03 \x03(\t\x12\x17\n\ngeneration\x18\x02 \x01(\x04H\x00\x88\x01\x01\x42\r\n\x0b_generation\"\x85\x01\n\x14\x44\x65ldatastoreResponse\x12\x0b\n\x03key\x18\x05 \x03(\t\x12\x17\n\ngeneration\x18\x02 \x01(\x04H\x00\x88\x01\x01\x12\x10\n\x03hex\x18\x03 \x01(\x0cH\x01\x88\x01\x01\x12\x13\n\x06string\x18\x04 \x01(\tH\x02\x88\x01\x01\x42\r\n\x0b_generationB\x06\n\x04_hexB\t\n\x07_string\"H\n\x18\x44\x65lexpiredinvoiceRequest\x12\x1a\n\rmaxexpirytime\x18\x01 \x01(\x04H\x00\x88\x01\x01\x42\x10\n\x0e_maxexpirytime\"\x1b\n\x19\x44\x65lexpiredinvoiceResponse\"\xb6\x01\n\x11\x44\x65linvoiceRequest\x12\r\n\x05label\x18\x01 \x01(\t\x12\x37\n\x06status\x18\x02 \x01(\x0e\x32\'.cln.DelinvoiceRequest.DelinvoiceStatus\x12\x15\n\x08\x64\x65sconly\x18\x03 \x01(\x08H\x00\x88\x01\x01\"5\n\x10\x44\x65linvoiceStatus\x12\x08\n\x04PAID\x10\x00\x12\x0b\n\x07\x45XPIRED\x10\x01\x12\n\n\x06UNPAID\x10\x02\x42\x0b\n\t_desconly\"\xc5\x03\n\x12\x44\x65linvoiceResponse\x12\r\n\x05label\x18\x01 \x01(\t\x12\x13\n\x06\x62olt11\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x13\n\x06\x62olt12\x18\x03 \x01(\tH\x01\x88\x01\x01\x12%\n\x0b\x61mount_msat\x18\x04 \x01(\x0b\x32\x0b.cln.AmountH\x02\x88\x01\x01\x12\x18\n\x0b\x64\x65scription\x18\x05 \x01(\tH\x03\x88\x01\x01\x12\x14\n\x0cpayment_hash\x18\x06 \x01(\x0c\x12\x38\n\x06status\x18\x07 \x01(\x0e\x32(.cln.DelinvoiceResponse.DelinvoiceStatus\x12\x12\n\nexpires_at\x18\x08 \x01(\x04\x12\x1b\n\x0elocal_offer_id\x18\t \x01(\x0cH\x04\x88\x01\x01\x12\x1e\n\x11invreq_payer_note\x18\x0b \x01(\tH\x05\x88\x01\x01\"5\n\x10\x44\x65linvoiceStatus\x12\x08\n\x04PAID\x10\x00\x12\x0b\n\x07\x45XPIRED\x10\x01\x12\n\n\x06UNPAID\x10\x02\x42\t\n\x07_bolt11B\t\n\x07_bolt12B\x0e\n\x0c_amount_msatB\x0e\n\x0c_descriptionB\x11\n\x0f_local_offer_idB\x14\n\x12_invreq_payer_note\"\xb8\x02\n\x0eInvoiceRequest\x12%\n\x0b\x61mount_msat\x18\n \x01(\x0b\x32\x10.cln.AmountOrAny\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\r\n\x05label\x18\x03 \x01(\t\x12\x13\n\x06\x65xpiry\x18\x07 \x01(\x04H\x00\x88\x01\x01\x12\x11\n\tfallbacks\x18\x04 \x03(\t\x12\x15\n\x08preimage\x18\x05 \x01(\x0cH\x01\x88\x01\x01\x12\"\n\x15\x65xposeprivatechannels\x18\x08 \x01(\x08H\x02\x88\x01\x01\x12\x11\n\x04\x63ltv\x18\x06 \x01(\rH\x03\x88\x01\x01\x12\x19\n\x0c\x64\x65schashonly\x18\t \x01(\x08H\x04\x88\x01\x01\x42\t\n\x07_expiryB\x0b\n\t_preimageB\x18\n\x16_exposeprivatechannelsB\x07\n\x05_cltvB\x0f\n\r_deschashonly\"\xe7\x02\n\x0fInvoiceResponse\x12\x0e\n\x06\x62olt11\x18\x01 \x01(\t\x12\x14\n\x0cpayment_hash\x18\x02 \x01(\x0c\x12\x16\n\x0epayment_secret\x18\x03 \x01(\x0c\x12\x12\n\nexpires_at\x18\x04 \x01(\x04\x12\x1d\n\x10warning_capacity\x18\x05 \x01(\tH\x00\x88\x01\x01\x12\x1c\n\x0fwarning_offline\x18\x06 \x01(\tH\x01\x88\x01\x01\x12\x1d\n\x10warning_deadends\x18\x07 \x01(\tH\x02\x88\x01\x01\x12#\n\x16warning_private_unused\x18\x08 \x01(\tH\x03\x88\x01\x01\x12\x18\n\x0bwarning_mpp\x18\t \x01(\tH\x04\x88\x01\x01\x42\x13\n\x11_warning_capacityB\x12\n\x10_warning_offlineB\x13\n\x11_warning_deadendsB\x19\n\x17_warning_private_unusedB\x0e\n\x0c_warning_mpp\"#\n\x14ListdatastoreRequest\x12\x0b\n\x03key\x18\x02 \x03(\t\"G\n\x15ListdatastoreResponse\x12.\n\tdatastore\x18\x01 \x03(\x0b\x32\x1b.cln.ListdatastoreDatastore\"\x87\x01\n\x16ListdatastoreDatastore\x12\x0b\n\x03key\x18\x01 \x03(\t\x12\x17\n\ngeneration\x18\x02 \x01(\x04H\x00\x88\x01\x01\x12\x10\n\x03hex\x18\x03 \x01(\x0cH\x01\x88\x01\x01\x12\x13\n\x06string\x18\x04 \x01(\tH\x02\x88\x01\x01\x42\r\n\x0b_generationB\x06\n\x04_hexB\t\n\x07_string\"\xa9\x01\n\x13ListinvoicesRequest\x12\x12\n\x05label\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x16\n\tinvstring\x18\x02 \x01(\tH\x01\x88\x01\x01\x12\x19\n\x0cpayment_hash\x18\x03 \x01(\x0cH\x02\x88\x01\x01\x12\x15\n\x08offer_id\x18\x04 \x01(\tH\x03\x88\x01\x01\x42\x08\n\x06_labelB\x0c\n\n_invstringB\x0f\n\r_payment_hashB\x0b\n\t_offer_id\"C\n\x14ListinvoicesResponse\x12+\n\x08invoices\x18\x01 \x03(\x0b\x32\x19.cln.ListinvoicesInvoices\"\xa2\x05\n\x14ListinvoicesInvoices\x12\r\n\x05label\x18\x01 \x01(\t\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x14\n\x0cpayment_hash\x18\x03 \x01(\x0c\x12\x44\n\x06status\x18\x04 \x01(\x0e\x32\x34.cln.ListinvoicesInvoices.ListinvoicesInvoicesStatus\x12\x12\n\nexpires_at\x18\x05 \x01(\x04\x12%\n\x0b\x61mount_msat\x18\x06 \x01(\x0b\x32\x0b.cln.AmountH\x01\x88\x01\x01\x12\x13\n\x06\x62olt11\x18\x07 \x01(\tH\x02\x88\x01\x01\x12\x13\n\x06\x62olt12\x18\x08 \x01(\tH\x03\x88\x01\x01\x12\x1b\n\x0elocal_offer_id\x18\t \x01(\x0cH\x04\x88\x01\x01\x12\x1e\n\x11invreq_payer_note\x18\x0f \x01(\tH\x05\x88\x01\x01\x12\x16\n\tpay_index\x18\x0b \x01(\x04H\x06\x88\x01\x01\x12.\n\x14\x61mount_received_msat\x18\x0c \x01(\x0b\x32\x0b.cln.AmountH\x07\x88\x01\x01\x12\x14\n\x07paid_at\x18\r \x01(\x04H\x08\x88\x01\x01\x12\x1d\n\x10payment_preimage\x18\x0e \x01(\x0cH\t\x88\x01\x01\"?\n\x1aListinvoicesInvoicesStatus\x12\n\n\x06UNPAID\x10\x00\x12\x08\n\x04PAID\x10\x01\x12\x0b\n\x07\x45XPIRED\x10\x02\x42\x0e\n\x0c_descriptionB\x0e\n\x0c_amount_msatB\t\n\x07_bolt11B\t\n\x07_bolt12B\x11\n\x0f_local_offer_idB\x14\n\x12_invreq_payer_noteB\x0c\n\n_pay_indexB\x17\n\x15_amount_received_msatB\n\n\x08_paid_atB\x13\n\x11_payment_preimage\"\x8a\x03\n\x10SendonionRequest\x12\r\n\x05onion\x18\x01 \x01(\x0c\x12*\n\tfirst_hop\x18\x02 \x01(\x0b\x32\x17.cln.SendonionFirst_hop\x12\x14\n\x0cpayment_hash\x18\x03 \x01(\x0c\x12\x12\n\x05label\x18\x04 \x01(\tH\x00\x88\x01\x01\x12\x16\n\x0eshared_secrets\x18\x05 \x03(\x0c\x12\x13\n\x06partid\x18\x06 \x01(\rH\x01\x88\x01\x01\x12\x13\n\x06\x62olt11\x18\x07 \x01(\tH\x02\x88\x01\x01\x12%\n\x0b\x61mount_msat\x18\x0c \x01(\x0b\x32\x0b.cln.AmountH\x03\x88\x01\x01\x12\x18\n\x0b\x64\x65stination\x18\t \x01(\x0cH\x04\x88\x01\x01\x12\x1a\n\rlocalinvreqid\x18\r \x01(\x0cH\x05\x88\x01\x01\x12\x14\n\x07groupid\x18\x0b \x01(\x04H\x06\x88\x01\x01\x42\x08\n\x06_labelB\t\n\x07_partidB\t\n\x07_bolt11B\x0e\n\x0c_amount_msatB\x0e\n\x0c_destinationB\x10\n\x0e_localinvreqidB\n\n\x08_groupid\"\x8b\x04\n\x11SendonionResponse\x12\n\n\x02id\x18\x01 \x01(\x04\x12\x14\n\x0cpayment_hash\x18\x02 \x01(\x0c\x12\x36\n\x06status\x18\x03 \x01(\x0e\x32&.cln.SendonionResponse.SendonionStatus\x12%\n\x0b\x61mount_msat\x18\x04 \x01(\x0b\x32\x0b.cln.AmountH\x00\x88\x01\x01\x12\x18\n\x0b\x64\x65stination\x18\x05 \x01(\x0cH\x01\x88\x01\x01\x12\x12\n\ncreated_at\x18\x06 \x01(\x04\x12%\n\x10\x61mount_sent_msat\x18\x07 \x01(\x0b\x32\x0b.cln.Amount\x12\x12\n\x05label\x18\x08 \x01(\tH\x02\x88\x01\x01\x12\x13\n\x06\x62olt11\x18\t \x01(\tH\x03\x88\x01\x01\x12\x13\n\x06\x62olt12\x18\n \x01(\tH\x04\x88\x01\x01\x12\x13\n\x06partid\x18\r \x01(\x04H\x05\x88\x01\x01\x12\x1d\n\x10payment_preimage\x18\x0b \x01(\x0cH\x06\x88\x01\x01\x12\x14\n\x07message\x18\x0c \x01(\tH\x07\x88\x01\x01\",\n\x0fSendonionStatus\x12\x0b\n\x07PENDING\x10\x00\x12\x0c\n\x08\x43OMPLETE\x10\x01\x42\x0e\n\x0c_amount_msatB\x0e\n\x0c_destinationB\x08\n\x06_labelB\t\n\x07_bolt11B\t\n\x07_bolt12B\t\n\x07_partidB\x13\n\x11_payment_preimageB\n\n\x08_message\"Q\n\x12SendonionFirst_hop\x12\n\n\x02id\x18\x01 \x01(\x0c\x12 \n\x0b\x61mount_msat\x18\x02 \x01(\x0b\x32\x0b.cln.Amount\x12\r\n\x05\x64\x65lay\x18\x03 \x01(\r\"\xeb\x01\n\x13ListsendpaysRequest\x12\x13\n\x06\x62olt11\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x19\n\x0cpayment_hash\x18\x02 \x01(\x0cH\x01\x88\x01\x01\x12@\n\x06status\x18\x03 \x01(\x0e\x32+.cln.ListsendpaysRequest.ListsendpaysStatusH\x02\x88\x01\x01\";\n\x12ListsendpaysStatus\x12\x0b\n\x07PENDING\x10\x00\x12\x0c\n\x08\x43OMPLETE\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\x42\t\n\x07_bolt11B\x0f\n\r_payment_hashB\t\n\x07_status\"C\n\x14ListsendpaysResponse\x12+\n\x08payments\x18\x01 \x03(\x0b\x32\x19.cln.ListsendpaysPayments\"\xf4\x04\n\x14ListsendpaysPayments\x12\n\n\x02id\x18\x01 \x01(\x04\x12\x0f\n\x07groupid\x18\x02 \x01(\x04\x12\x13\n\x06partid\x18\x0f \x01(\x04H\x00\x88\x01\x01\x12\x14\n\x0cpayment_hash\x18\x03 \x01(\x0c\x12\x44\n\x06status\x18\x04 \x01(\x0e\x32\x34.cln.ListsendpaysPayments.ListsendpaysPaymentsStatus\x12%\n\x0b\x61mount_msat\x18\x05 \x01(\x0b\x32\x0b.cln.AmountH\x01\x88\x01\x01\x12\x18\n\x0b\x64\x65stination\x18\x06 \x01(\x0cH\x02\x88\x01\x01\x12\x12\n\ncreated_at\x18\x07 \x01(\x04\x12%\n\x10\x61mount_sent_msat\x18\x08 \x01(\x0b\x32\x0b.cln.Amount\x12\x12\n\x05label\x18\t \x01(\tH\x03\x88\x01\x01\x12\x13\n\x06\x62olt11\x18\n \x01(\tH\x04\x88\x01\x01\x12\x18\n\x0b\x64\x65scription\x18\x0e \x01(\tH\x05\x88\x01\x01\x12\x13\n\x06\x62olt12\x18\x0b \x01(\tH\x06\x88\x01\x01\x12\x1d\n\x10payment_preimage\x18\x0c \x01(\x0cH\x07\x88\x01\x01\x12\x17\n\nerroronion\x18\r \x01(\x0cH\x08\x88\x01\x01\"C\n\x1aListsendpaysPaymentsStatus\x12\x0b\n\x07PENDING\x10\x00\x12\n\n\x06\x46\x41ILED\x10\x01\x12\x0c\n\x08\x43OMPLETE\x10\x02\x42\t\n\x07_partidB\x0e\n\x0c_amount_msatB\x0e\n\x0c_destinationB\x08\n\x06_labelB\t\n\x07_bolt11B\x0e\n\x0c_descriptionB\t\n\x07_bolt12B\x13\n\x11_payment_preimageB\r\n\x0b_erroronion\"\x19\n\x17ListtransactionsRequest\"S\n\x18ListtransactionsResponse\x12\x37\n\x0ctransactions\x18\x01 \x03(\x0b\x32!.cln.ListtransactionsTransactions\"\xf8\x01\n\x1cListtransactionsTransactions\x12\x0c\n\x04hash\x18\x01 \x01(\x0c\x12\r\n\x05rawtx\x18\x02 \x01(\x0c\x12\x13\n\x0b\x62lockheight\x18\x03 \x01(\r\x12\x0f\n\x07txindex\x18\x04 \x01(\r\x12\x10\n\x08locktime\x18\x07 \x01(\r\x12\x0f\n\x07version\x18\x08 \x01(\r\x12\x37\n\x06inputs\x18\t \x03(\x0b\x32\'.cln.ListtransactionsTransactionsInputs\x12\x39\n\x07outputs\x18\n \x03(\x0b\x32(.cln.ListtransactionsTransactionsOutputs\"\x84\x04\n\"ListtransactionsTransactionsInputs\x12\x0c\n\x04txid\x18\x01 \x01(\x0c\x12\r\n\x05index\x18\x02 \x01(\r\x12\x10\n\x08sequence\x18\x03 \x01(\r\x12\x66\n\titem_type\x18\x04 \x01(\x0e\x32N.cln.ListtransactionsTransactionsInputs.ListtransactionsTransactionsInputsTypeH\x00\x88\x01\x01\x12\x14\n\x07\x63hannel\x18\x05 \x01(\tH\x01\x88\x01\x01\"\x96\x02\n&ListtransactionsTransactionsInputsType\x12\n\n\x06THEIRS\x10\x00\x12\x0b\n\x07\x44\x45POSIT\x10\x01\x12\x0c\n\x08WITHDRAW\x10\x02\x12\x13\n\x0f\x43HANNEL_FUNDING\x10\x03\x12\x18\n\x14\x43HANNEL_MUTUAL_CLOSE\x10\x04\x12\x1c\n\x18\x43HANNEL_UNILATERAL_CLOSE\x10\x05\x12\x11\n\rCHANNEL_SWEEP\x10\x06\x12\x18\n\x14\x43HANNEL_HTLC_SUCCESS\x10\x07\x12\x18\n\x14\x43HANNEL_HTLC_TIMEOUT\x10\x08\x12\x13\n\x0f\x43HANNEL_PENALTY\x10\t\x12\x1c\n\x18\x43HANNEL_UNILATERAL_CHEAT\x10\nB\x0c\n\n_item_typeB\n\n\x08_channel\"\xa0\x04\n#ListtransactionsTransactionsOutputs\x12\r\n\x05index\x18\x01 \x01(\r\x12 \n\x0b\x61mount_msat\x18\x06 \x01(\x0b\x32\x0b.cln.Amount\x12\x14\n\x0cscriptPubKey\x18\x03 \x01(\x0c\x12h\n\titem_type\x18\x04 \x01(\x0e\x32P.cln.ListtransactionsTransactionsOutputs.ListtransactionsTransactionsOutputsTypeH\x00\x88\x01\x01\x12\x14\n\x07\x63hannel\x18\x05 \x01(\tH\x01\x88\x01\x01\"\x97\x02\n\'ListtransactionsTransactionsOutputsType\x12\n\n\x06THEIRS\x10\x00\x12\x0b\n\x07\x44\x45POSIT\x10\x01\x12\x0c\n\x08WITHDRAW\x10\x02\x12\x13\n\x0f\x43HANNEL_FUNDING\x10\x03\x12\x18\n\x14\x43HANNEL_MUTUAL_CLOSE\x10\x04\x12\x1c\n\x18\x43HANNEL_UNILATERAL_CLOSE\x10\x05\x12\x11\n\rCHANNEL_SWEEP\x10\x06\x12\x18\n\x14\x43HANNEL_HTLC_SUCCESS\x10\x07\x12\x18\n\x14\x43HANNEL_HTLC_TIMEOUT\x10\x08\x12\x13\n\x0f\x43HANNEL_PENALTY\x10\t\x12\x1c\n\x18\x43HANNEL_UNILATERAL_CHEAT\x10\nB\x0c\n\n_item_typeB\n\n\x08_channel\"\xda\x03\n\nPayRequest\x12\x0e\n\x06\x62olt11\x18\x01 \x01(\t\x12%\n\x0b\x61mount_msat\x18\r \x01(\x0b\x32\x0b.cln.AmountH\x00\x88\x01\x01\x12\x12\n\x05label\x18\x03 \x01(\tH\x01\x88\x01\x01\x12\x17\n\nriskfactor\x18\x08 \x01(\x01H\x02\x88\x01\x01\x12\x1a\n\rmaxfeepercent\x18\x04 \x01(\x01H\x03\x88\x01\x01\x12\x16\n\tretry_for\x18\x05 \x01(\rH\x04\x88\x01\x01\x12\x15\n\x08maxdelay\x18\x06 \x01(\rH\x05\x88\x01\x01\x12#\n\texemptfee\x18\x07 \x01(\x0b\x32\x0b.cln.AmountH\x06\x88\x01\x01\x12\x1a\n\rlocalinvreqid\x18\x0e \x01(\x0cH\x07\x88\x01\x01\x12\x0f\n\x07\x65xclude\x18\n \x03(\t\x12 \n\x06maxfee\x18\x0b \x01(\x0b\x32\x0b.cln.AmountH\x08\x88\x01\x01\x12\x18\n\x0b\x64\x65scription\x18\x0c \x01(\tH\t\x88\x01\x01\x42\x0e\n\x0c_amount_msatB\x08\n\x06_labelB\r\n\x0b_riskfactorB\x10\n\x0e_maxfeepercentB\x0c\n\n_retry_forB\x0b\n\t_maxdelayB\x0c\n\n_exemptfeeB\x10\n\x0e_localinvreqidB\t\n\x07_maxfeeB\x0e\n\x0c_description\"\xfb\x02\n\x0bPayResponse\x12\x18\n\x10payment_preimage\x18\x01 \x01(\x0c\x12\x18\n\x0b\x64\x65stination\x18\x02 \x01(\x0cH\x00\x88\x01\x01\x12\x14\n\x0cpayment_hash\x18\x03 \x01(\x0c\x12\x12\n\ncreated_at\x18\x04 \x01(\x01\x12\r\n\x05parts\x18\x05 \x01(\r\x12 \n\x0b\x61mount_msat\x18\x06 \x01(\x0b\x32\x0b.cln.Amount\x12%\n\x10\x61mount_sent_msat\x18\x07 \x01(\x0b\x32\x0b.cln.Amount\x12\'\n\x1awarning_partial_completion\x18\x08 \x01(\tH\x01\x88\x01\x01\x12*\n\x06status\x18\t \x01(\x0e\x32\x1a.cln.PayResponse.PayStatus\"2\n\tPayStatus\x12\x0c\n\x08\x43OMPLETE\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\x42\x0e\n\x0c_destinationB\x1d\n\x1b_warning_partial_completion\"*\n\x10ListnodesRequest\x12\x0f\n\x02id\x18\x01 \x01(\x0cH\x00\x88\x01\x01\x42\x05\n\x03_id\"7\n\x11ListnodesResponse\x12\"\n\x05nodes\x18\x01 \x03(\x0b\x32\x13.cln.ListnodesNodes\"\xe1\x01\n\x0eListnodesNodes\x12\x0e\n\x06nodeid\x18\x01 \x01(\x0c\x12\x1b\n\x0elast_timestamp\x18\x02 \x01(\rH\x00\x88\x01\x01\x12\x12\n\x05\x61lias\x18\x03 \x01(\tH\x01\x88\x01\x01\x12\x12\n\x05\x63olor\x18\x04 \x01(\x0cH\x02\x88\x01\x01\x12\x15\n\x08\x66\x65\x61tures\x18\x05 \x01(\x0cH\x03\x88\x01\x01\x12/\n\taddresses\x18\x06 \x03(\x0b\x32\x1c.cln.ListnodesNodesAddressesB\x11\n\x0f_last_timestampB\x08\n\x06_aliasB\x08\n\x06_colorB\x0b\n\t_features\"\xf7\x01\n\x17ListnodesNodesAddresses\x12K\n\titem_type\x18\x01 \x01(\x0e\x32\x38.cln.ListnodesNodesAddresses.ListnodesNodesAddressesType\x12\x0c\n\x04port\x18\x02 \x01(\r\x12\x14\n\x07\x61\x64\x64ress\x18\x03 \x01(\tH\x00\x88\x01\x01\"_\n\x1bListnodesNodesAddressesType\x12\x07\n\x03\x44NS\x10\x00\x12\x08\n\x04IPV4\x10\x01\x12\x08\n\x04IPV6\x10\x02\x12\t\n\x05TORV2\x10\x03\x12\t\n\x05TORV3\x10\x04\x12\r\n\tWEBSOCKET\x10\x05\x42\n\n\x08_address\"g\n\x15WaitanyinvoiceRequest\x12\x1a\n\rlastpay_index\x18\x01 \x01(\x04H\x00\x88\x01\x01\x12\x14\n\x07timeout\x18\x02 \x01(\x04H\x01\x88\x01\x01\x42\x10\n\x0e_lastpay_indexB\n\n\x08_timeout\"\x93\x04\n\x16WaitanyinvoiceResponse\x12\r\n\x05label\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x14\n\x0cpayment_hash\x18\x03 \x01(\x0c\x12@\n\x06status\x18\x04 \x01(\x0e\x32\x30.cln.WaitanyinvoiceResponse.WaitanyinvoiceStatus\x12\x12\n\nexpires_at\x18\x05 \x01(\x04\x12%\n\x0b\x61mount_msat\x18\x06 \x01(\x0b\x32\x0b.cln.AmountH\x00\x88\x01\x01\x12\x13\n\x06\x62olt11\x18\x07 \x01(\tH\x01\x88\x01\x01\x12\x13\n\x06\x62olt12\x18\x08 \x01(\tH\x02\x88\x01\x01\x12\x16\n\tpay_index\x18\t \x01(\x04H\x03\x88\x01\x01\x12.\n\x14\x61mount_received_msat\x18\n \x01(\x0b\x32\x0b.cln.AmountH\x04\x88\x01\x01\x12\x14\n\x07paid_at\x18\x0b \x01(\x04H\x05\x88\x01\x01\x12\x1d\n\x10payment_preimage\x18\x0c \x01(\x0cH\x06\x88\x01\x01\"-\n\x14WaitanyinvoiceStatus\x12\x08\n\x04PAID\x10\x00\x12\x0b\n\x07\x45XPIRED\x10\x01\x42\x0e\n\x0c_amount_msatB\t\n\x07_bolt11B\t\n\x07_bolt12B\x0c\n\n_pay_indexB\x17\n\x15_amount_received_msatB\n\n\x08_paid_atB\x13\n\x11_payment_preimage\"#\n\x12WaitinvoiceRequest\x12\r\n\x05label\x18\x01 \x01(\t\"\x87\x04\n\x13WaitinvoiceResponse\x12\r\n\x05label\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x14\n\x0cpayment_hash\x18\x03 \x01(\x0c\x12:\n\x06status\x18\x04 \x01(\x0e\x32*.cln.WaitinvoiceResponse.WaitinvoiceStatus\x12\x12\n\nexpires_at\x18\x05 \x01(\x04\x12%\n\x0b\x61mount_msat\x18\x06 \x01(\x0b\x32\x0b.cln.AmountH\x00\x88\x01\x01\x12\x13\n\x06\x62olt11\x18\x07 \x01(\tH\x01\x88\x01\x01\x12\x13\n\x06\x62olt12\x18\x08 \x01(\tH\x02\x88\x01\x01\x12\x16\n\tpay_index\x18\t \x01(\x04H\x03\x88\x01\x01\x12.\n\x14\x61mount_received_msat\x18\n \x01(\x0b\x32\x0b.cln.AmountH\x04\x88\x01\x01\x12\x14\n\x07paid_at\x18\x0b \x01(\x04H\x05\x88\x01\x01\x12\x1d\n\x10payment_preimage\x18\x0c \x01(\x0cH\x06\x88\x01\x01\"*\n\x11WaitinvoiceStatus\x12\x08\n\x04PAID\x10\x00\x12\x0b\n\x07\x45XPIRED\x10\x01\x42\x0e\n\x0c_amount_msatB\t\n\x07_bolt11B\t\n\x07_bolt12B\x0c\n\n_pay_indexB\x17\n\x15_amount_received_msatB\n\n\x08_paid_atB\x13\n\x11_payment_preimage\"\x8e\x01\n\x12WaitsendpayRequest\x12\x14\n\x0cpayment_hash\x18\x01 \x01(\x0c\x12\x14\n\x07timeout\x18\x03 \x01(\rH\x00\x88\x01\x01\x12\x13\n\x06partid\x18\x02 \x01(\x04H\x01\x88\x01\x01\x12\x14\n\x07groupid\x18\x04 \x01(\x04H\x02\x88\x01\x01\x42\n\n\x08_timeoutB\t\n\x07_partidB\n\n\x08_groupid\"\xb2\x04\n\x13WaitsendpayResponse\x12\n\n\x02id\x18\x01 \x01(\x04\x12\x14\n\x07groupid\x18\x02 \x01(\x04H\x00\x88\x01\x01\x12\x14\n\x0cpayment_hash\x18\x03 \x01(\x0c\x12:\n\x06status\x18\x04 \x01(\x0e\x32*.cln.WaitsendpayResponse.WaitsendpayStatus\x12%\n\x0b\x61mount_msat\x18\x05 \x01(\x0b\x32\x0b.cln.AmountH\x01\x88\x01\x01\x12\x18\n\x0b\x64\x65stination\x18\x06 \x01(\x0cH\x02\x88\x01\x01\x12\x12\n\ncreated_at\x18\x07 \x01(\x04\x12\x19\n\x0c\x63ompleted_at\x18\x0e \x01(\x01H\x03\x88\x01\x01\x12%\n\x10\x61mount_sent_msat\x18\x08 \x01(\x0b\x32\x0b.cln.Amount\x12\x12\n\x05label\x18\t \x01(\tH\x04\x88\x01\x01\x12\x13\n\x06partid\x18\n \x01(\x04H\x05\x88\x01\x01\x12\x13\n\x06\x62olt11\x18\x0b \x01(\tH\x06\x88\x01\x01\x12\x13\n\x06\x62olt12\x18\x0c \x01(\tH\x07\x88\x01\x01\x12\x1d\n\x10payment_preimage\x18\r \x01(\x0cH\x08\x88\x01\x01\"!\n\x11WaitsendpayStatus\x12\x0c\n\x08\x43OMPLETE\x10\x00\x42\n\n\x08_groupidB\x0e\n\x0c_amount_msatB\x0e\n\x0c_destinationB\x0f\n\r_completed_atB\x08\n\x06_labelB\t\n\x07_partidB\t\n\x07_bolt11B\t\n\x07_bolt12B\x13\n\x11_payment_preimage\"\x8d\x01\n\x0eNewaddrRequest\x12@\n\x0b\x61\x64\x64resstype\x18\x01 \x01(\x0e\x32&.cln.NewaddrRequest.NewaddrAddresstypeH\x00\x88\x01\x01\")\n\x12NewaddrAddresstype\x12\n\n\x06\x42\x45\x43H32\x10\x00\x12\x07\n\x03\x41LL\x10\x02\x42\x0e\n\x0c_addresstype\"[\n\x0fNewaddrResponse\x12\x13\n\x06\x62\x65\x63h32\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x18\n\x0bp2sh_segwit\x18\x02 \x01(\tH\x01\x88\x01\x01\x42\t\n\x07_bech32B\x0e\n\x0c_p2sh_segwit\"\xca\x01\n\x0fWithdrawRequest\x12\x13\n\x0b\x64\x65stination\x18\x01 \x01(\t\x12&\n\x07satoshi\x18\x02 \x01(\x0b\x32\x10.cln.AmountOrAllH\x00\x88\x01\x01\x12\"\n\x07\x66\x65\x65rate\x18\x05 \x01(\x0b\x32\x0c.cln.FeerateH\x01\x88\x01\x01\x12\x14\n\x07minconf\x18\x03 \x01(\rH\x02\x88\x01\x01\x12\x1c\n\x05utxos\x18\x04 \x03(\x0b\x32\r.cln.OutpointB\n\n\x08_satoshiB\n\n\x08_feerateB\n\n\x08_minconf\":\n\x10WithdrawResponse\x12\n\n\x02tx\x18\x01 \x01(\x0c\x12\x0c\n\x04txid\x18\x02 \x01(\x0c\x12\x0c\n\x04psbt\x18\x03 \x01(\t\"\x82\x03\n\x0eKeysendRequest\x12\x13\n\x0b\x64\x65stination\x18\x01 \x01(\x0c\x12 \n\x0b\x61mount_msat\x18\n \x01(\x0b\x32\x0b.cln.Amount\x12\x12\n\x05label\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x1a\n\rmaxfeepercent\x18\x04 \x01(\x01H\x01\x88\x01\x01\x12\x16\n\tretry_for\x18\x05 \x01(\rH\x02\x88\x01\x01\x12\x15\n\x08maxdelay\x18\x06 \x01(\rH\x03\x88\x01\x01\x12#\n\texemptfee\x18\x07 \x01(\x0b\x32\x0b.cln.AmountH\x04\x88\x01\x01\x12+\n\nroutehints\x18\x08 \x01(\x0b\x32\x12.cln.RoutehintListH\x05\x88\x01\x01\x12&\n\textratlvs\x18\t \x01(\x0b\x32\x0e.cln.TlvStreamH\x06\x88\x01\x01\x42\x08\n\x06_labelB\x10\n\x0e_maxfeepercentB\x0c\n\n_retry_forB\x0b\n\t_maxdelayB\x0c\n\n_exemptfeeB\r\n\x0b_routehintsB\x0c\n\n_extratlvs\"\xf2\x02\n\x0fKeysendResponse\x12\x18\n\x10payment_preimage\x18\x01 \x01(\x0c\x12\x18\n\x0b\x64\x65stination\x18\x02 \x01(\x0cH\x00\x88\x01\x01\x12\x14\n\x0cpayment_hash\x18\x03 \x01(\x0c\x12\x12\n\ncreated_at\x18\x04 \x01(\x01\x12\r\n\x05parts\x18\x05 \x01(\r\x12 \n\x0b\x61mount_msat\x18\x06 \x01(\x0b\x32\x0b.cln.Amount\x12%\n\x10\x61mount_sent_msat\x18\x07 \x01(\x0b\x32\x0b.cln.Amount\x12\'\n\x1awarning_partial_completion\x18\x08 \x01(\tH\x01\x88\x01\x01\x12\x32\n\x06status\x18\t \x01(\x0e\x32\".cln.KeysendResponse.KeysendStatus\"\x1d\n\rKeysendStatus\x12\x0c\n\x08\x43OMPLETE\x10\x00\x42\x0e\n\x0c_destinationB\x1d\n\x1b_warning_partial_completion\"\xbc\x02\n\x0f\x46undpsbtRequest\x12!\n\x07satoshi\x18\x01 \x01(\x0b\x32\x10.cln.AmountOrAll\x12\x1d\n\x07\x66\x65\x65rate\x18\x02 \x01(\x0b\x32\x0c.cln.Feerate\x12\x13\n\x0bstartweight\x18\x03 \x01(\r\x12\x14\n\x07minconf\x18\x04 \x01(\rH\x00\x88\x01\x01\x12\x14\n\x07reserve\x18\x05 \x01(\rH\x01\x88\x01\x01\x12\x15\n\x08locktime\x18\x06 \x01(\rH\x02\x88\x01\x01\x12\x1f\n\x12min_witness_weight\x18\x07 \x01(\rH\x03\x88\x01\x01\x12\x1d\n\x10\x65xcess_as_change\x18\x08 \x01(\x08H\x04\x88\x01\x01\x42\n\n\x08_minconfB\n\n\x08_reserveB\x0b\n\t_locktimeB\x15\n\x13_min_witness_weightB\x13\n\x11_excess_as_change\"\xd9\x01\n\x10\x46undpsbtResponse\x12\x0c\n\x04psbt\x18\x01 \x01(\t\x12\x16\n\x0e\x66\x65\x65rate_per_kw\x18\x02 \x01(\r\x12\x1e\n\x16\x65stimated_final_weight\x18\x03 \x01(\r\x12 \n\x0b\x65xcess_msat\x18\x04 \x01(\x0b\x32\x0b.cln.Amount\x12\x1a\n\rchange_outnum\x18\x05 \x01(\rH\x00\x88\x01\x01\x12/\n\x0creservations\x18\x06 \x03(\x0b\x32\x19.cln.FundpsbtReservationsB\x10\n\x0e_change_outnum\"u\n\x14\x46undpsbtReservations\x12\x0c\n\x04txid\x18\x01 \x01(\x0c\x12\x0c\n\x04vout\x18\x02 \x01(\r\x12\x14\n\x0cwas_reserved\x18\x03 \x01(\x08\x12\x10\n\x08reserved\x18\x04 \x01(\x08\x12\x19\n\x11reserved_to_block\x18\x05 \x01(\r\"A\n\x0fSendpsbtRequest\x12\x0c\n\x04psbt\x18\x01 \x01(\t\x12\x14\n\x07reserve\x18\x02 \x01(\x08H\x00\x88\x01\x01\x42\n\n\x08_reserve\",\n\x10SendpsbtResponse\x12\n\n\x02tx\x18\x01 \x01(\x0c\x12\x0c\n\x04txid\x18\x02 \x01(\x0c\"1\n\x0fSignpsbtRequest\x12\x0c\n\x04psbt\x18\x01 \x01(\t\x12\x10\n\x08signonly\x18\x02 \x03(\r\"\'\n\x10SignpsbtResponse\x12\x13\n\x0bsigned_psbt\x18\x01 \x01(\t\"\xdb\x02\n\x0fUtxopsbtRequest\x12\x1c\n\x07satoshi\x18\x01 \x01(\x0b\x32\x0b.cln.Amount\x12\x1d\n\x07\x66\x65\x65rate\x18\x02 \x01(\x0b\x32\x0c.cln.Feerate\x12\x13\n\x0bstartweight\x18\x03 \x01(\r\x12\x1c\n\x05utxos\x18\x04 \x03(\x0b\x32\r.cln.Outpoint\x12\x14\n\x07reserve\x18\x05 \x01(\rH\x00\x88\x01\x01\x12\x17\n\nreservedok\x18\x08 \x01(\x08H\x01\x88\x01\x01\x12\x15\n\x08locktime\x18\x06 \x01(\rH\x02\x88\x01\x01\x12\x1f\n\x12min_witness_weight\x18\x07 \x01(\rH\x03\x88\x01\x01\x12\x1d\n\x10\x65xcess_as_change\x18\t \x01(\x08H\x04\x88\x01\x01\x42\n\n\x08_reserveB\r\n\x0b_reservedokB\x0b\n\t_locktimeB\x15\n\x13_min_witness_weightB\x13\n\x11_excess_as_change\"\xd9\x01\n\x10UtxopsbtResponse\x12\x0c\n\x04psbt\x18\x01 \x01(\t\x12\x16\n\x0e\x66\x65\x65rate_per_kw\x18\x02 \x01(\r\x12\x1e\n\x16\x65stimated_final_weight\x18\x03 \x01(\r\x12 \n\x0b\x65xcess_msat\x18\x04 \x01(\x0b\x32\x0b.cln.Amount\x12\x1a\n\rchange_outnum\x18\x05 \x01(\rH\x00\x88\x01\x01\x12/\n\x0creservations\x18\x06 \x03(\x0b\x32\x19.cln.UtxopsbtReservationsB\x10\n\x0e_change_outnum\"u\n\x14UtxopsbtReservations\x12\x0c\n\x04txid\x18\x01 \x01(\x0c\x12\x0c\n\x04vout\x18\x02 \x01(\r\x12\x14\n\x0cwas_reserved\x18\x03 \x01(\x08\x12\x10\n\x08reserved\x18\x04 \x01(\x08\x12\x19\n\x11reserved_to_block\x18\x05 \x01(\r\" \n\x10TxdiscardRequest\x12\x0c\n\x04txid\x18\x01 \x01(\x0c\"6\n\x11TxdiscardResponse\x12\x13\n\x0bunsigned_tx\x18\x01 \x01(\x0c\x12\x0c\n\x04txid\x18\x02 \x01(\x0c\"\xa4\x01\n\x10TxprepareRequest\x12 \n\x07outputs\x18\x05 \x03(\x0b\x32\x0f.cln.OutputDesc\x12\"\n\x07\x66\x65\x65rate\x18\x02 \x01(\x0b\x32\x0c.cln.FeerateH\x00\x88\x01\x01\x12\x14\n\x07minconf\x18\x03 \x01(\rH\x01\x88\x01\x01\x12\x1c\n\x05utxos\x18\x04 \x03(\x0b\x32\r.cln.OutpointB\n\n\x08_feerateB\n\n\x08_minconf\"D\n\x11TxprepareResponse\x12\x0c\n\x04psbt\x18\x01 \x01(\t\x12\x13\n\x0bunsigned_tx\x18\x02 \x01(\x0c\x12\x0c\n\x04txid\x18\x03 \x01(\x0c\"\x1d\n\rTxsendRequest\x12\x0c\n\x04txid\x18\x01 \x01(\x0c\"8\n\x0eTxsendResponse\x12\x0c\n\x04psbt\x18\x01 \x01(\t\x12\n\n\x02tx\x18\x02 \x01(\x0c\x12\x0c\n\x04txid\x18\x03 \x01(\x0c\"=\n\x11\x44isconnectRequest\x12\n\n\x02id\x18\x01 \x01(\x0c\x12\x12\n\x05\x66orce\x18\x02 \x01(\x08H\x00\x88\x01\x01\x42\x08\n\x06_force\"\x14\n\x12\x44isconnectResponse\"k\n\x0f\x46\x65\x65ratesRequest\x12\x31\n\x05style\x18\x01 \x01(\x0e\x32\".cln.FeeratesRequest.FeeratesStyle\"%\n\rFeeratesStyle\x12\t\n\x05PERKB\x10\x00\x12\t\n\x05PERKW\x10\x01\"\x9c\x02\n\x10\x46\x65\x65ratesResponse\x12%\n\x18warning_missing_feerates\x18\x01 \x01(\tH\x00\x88\x01\x01\x12&\n\x05perkb\x18\x02 \x01(\x0b\x32\x12.cln.FeeratesPerkbH\x01\x88\x01\x01\x12&\n\x05perkw\x18\x03 \x01(\x0b\x32\x12.cln.FeeratesPerkwH\x02\x88\x01\x01\x12\x46\n\x15onchain_fee_estimates\x18\x04 \x01(\x0b\x32\".cln.FeeratesOnchain_fee_estimatesH\x03\x88\x01\x01\x42\x1b\n\x19_warning_missing_feeratesB\x08\n\x06_perkbB\x08\n\x06_perkwB\x18\n\x16_onchain_fee_estimates\"\xc3\x02\n\rFeeratesPerkb\x12\x16\n\x0emin_acceptable\x18\x01 \x01(\r\x12\x16\n\x0emax_acceptable\x18\x02 \x01(\r\x12\x14\n\x07opening\x18\x03 \x01(\rH\x00\x88\x01\x01\x12\x19\n\x0cmutual_close\x18\x04 \x01(\rH\x01\x88\x01\x01\x12\x1d\n\x10unilateral_close\x18\x05 \x01(\rH\x02\x88\x01\x01\x12\x1a\n\rdelayed_to_us\x18\x06 \x01(\rH\x03\x88\x01\x01\x12\x1c\n\x0fhtlc_resolution\x18\x07 \x01(\rH\x04\x88\x01\x01\x12\x14\n\x07penalty\x18\x08 \x01(\rH\x05\x88\x01\x01\x42\n\n\x08_openingB\x0f\n\r_mutual_closeB\x13\n\x11_unilateral_closeB\x10\n\x0e_delayed_to_usB\x12\n\x10_htlc_resolutionB\n\n\x08_penalty\"\xc3\x02\n\rFeeratesPerkw\x12\x16\n\x0emin_acceptable\x18\x01 \x01(\r\x12\x16\n\x0emax_acceptable\x18\x02 \x01(\r\x12\x14\n\x07opening\x18\x03 \x01(\rH\x00\x88\x01\x01\x12\x19\n\x0cmutual_close\x18\x04 \x01(\rH\x01\x88\x01\x01\x12\x1d\n\x10unilateral_close\x18\x05 \x01(\rH\x02\x88\x01\x01\x12\x1a\n\rdelayed_to_us\x18\x06 \x01(\rH\x03\x88\x01\x01\x12\x1c\n\x0fhtlc_resolution\x18\x07 \x01(\rH\x04\x88\x01\x01\x12\x14\n\x07penalty\x18\x08 \x01(\rH\x05\x88\x01\x01\x42\n\n\x08_openingB\x0f\n\r_mutual_closeB\x13\n\x11_unilateral_closeB\x10\n\x0e_delayed_to_usB\x12\n\x10_htlc_resolutionB\n\n\x08_penalty\"\xc1\x01\n\x1d\x46\x65\x65ratesOnchain_fee_estimates\x12 \n\x18opening_channel_satoshis\x18\x01 \x01(\x04\x12\x1d\n\x15mutual_close_satoshis\x18\x02 \x01(\x04\x12!\n\x19unilateral_close_satoshis\x18\x03 \x01(\x04\x12\x1d\n\x15htlc_timeout_satoshis\x18\x04 \x01(\x04\x12\x1d\n\x15htlc_success_satoshis\x18\x05 \x01(\x04\"\xe5\x03\n\x12\x46undchannelRequest\x12\n\n\x02id\x18\t \x01(\x0c\x12 \n\x06\x61mount\x18\x01 \x01(\x0b\x32\x10.cln.AmountOrAll\x12\"\n\x07\x66\x65\x65rate\x18\x02 \x01(\x0b\x32\x0c.cln.FeerateH\x00\x88\x01\x01\x12\x15\n\x08\x61nnounce\x18\x03 \x01(\x08H\x01\x88\x01\x01\x12\x14\n\x07minconf\x18\n \x01(\rH\x02\x88\x01\x01\x12#\n\tpush_msat\x18\x05 \x01(\x0b\x32\x0b.cln.AmountH\x03\x88\x01\x01\x12\x15\n\x08\x63lose_to\x18\x06 \x01(\tH\x04\x88\x01\x01\x12%\n\x0brequest_amt\x18\x07 \x01(\x0b\x32\x0b.cln.AmountH\x05\x88\x01\x01\x12\x1a\n\rcompact_lease\x18\x08 \x01(\tH\x06\x88\x01\x01\x12\x1c\n\x05utxos\x18\x0b \x03(\x0b\x32\r.cln.Outpoint\x12\x15\n\x08mindepth\x18\x0c \x01(\rH\x07\x88\x01\x01\x12!\n\x07reserve\x18\r \x01(\x0b\x32\x0b.cln.AmountH\x08\x88\x01\x01\x42\n\n\x08_feerateB\x0b\n\t_announceB\n\n\x08_minconfB\x0c\n\n_push_msatB\x0b\n\t_close_toB\x0e\n\x0c_request_amtB\x10\n\x0e_compact_leaseB\x0b\n\t_mindepthB\n\n\x08_reserve\"\x9b\x01\n\x13\x46undchannelResponse\x12\n\n\x02tx\x18\x01 \x01(\x0c\x12\x0c\n\x04txid\x18\x02 \x01(\x0c\x12\x0e\n\x06outnum\x18\x03 \x01(\r\x12\x12\n\nchannel_id\x18\x04 \x01(\x0c\x12\x15\n\x08\x63lose_to\x18\x05 \x01(\x0cH\x00\x88\x01\x01\x12\x15\n\x08mindepth\x18\x06 \x01(\rH\x01\x88\x01\x01\x42\x0b\n\t_close_toB\x0b\n\t_mindepth\"\xec\x01\n\x0fGetrouteRequest\x12\n\n\x02id\x18\x01 \x01(\x0c\x12 \n\x0b\x61mount_msat\x18\t \x01(\x0b\x32\x0b.cln.Amount\x12\x12\n\nriskfactor\x18\x03 \x01(\x04\x12\x11\n\x04\x63ltv\x18\x04 \x01(\x01H\x00\x88\x01\x01\x12\x13\n\x06\x66romid\x18\x05 \x01(\x0cH\x01\x88\x01\x01\x12\x18\n\x0b\x66uzzpercent\x18\x06 \x01(\rH\x02\x88\x01\x01\x12\x0f\n\x07\x65xclude\x18\x07 \x03(\t\x12\x14\n\x07maxhops\x18\x08 \x01(\rH\x03\x88\x01\x01\x42\x07\n\x05_cltvB\t\n\x07_fromidB\x0e\n\x0c_fuzzpercentB\n\n\x08_maxhops\"5\n\x10GetrouteResponse\x12!\n\x05route\x18\x01 \x03(\x0b\x32\x12.cln.GetrouteRoute\"\xc5\x01\n\rGetrouteRoute\x12\n\n\x02id\x18\x01 \x01(\x0c\x12\x0f\n\x07\x63hannel\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\r\x12 \n\x0b\x61mount_msat\x18\x04 \x01(\x0b\x32\x0b.cln.Amount\x12\r\n\x05\x64\x65lay\x18\x05 \x01(\r\x12\x34\n\x05style\x18\x06 \x01(\x0e\x32%.cln.GetrouteRoute.GetrouteRouteStyle\"\x1d\n\x12GetrouteRouteStyle\x12\x07\n\x03TLV\x10\x00\"\x82\x02\n\x13ListforwardsRequest\x12@\n\x06status\x18\x01 \x01(\x0e\x32+.cln.ListforwardsRequest.ListforwardsStatusH\x00\x88\x01\x01\x12\x17\n\nin_channel\x18\x02 \x01(\tH\x01\x88\x01\x01\x12\x18\n\x0bout_channel\x18\x03 \x01(\tH\x02\x88\x01\x01\"L\n\x12ListforwardsStatus\x12\x0b\n\x07OFFERED\x10\x00\x12\x0b\n\x07SETTLED\x10\x01\x12\x10\n\x0cLOCAL_FAILED\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\x42\t\n\x07_statusB\r\n\x0b_in_channelB\x0e\n\x0c_out_channel\"C\n\x14ListforwardsResponse\x12+\n\x08\x66orwards\x18\x01 \x03(\x0b\x32\x19.cln.ListforwardsForwards\"\xde\x04\n\x14ListforwardsForwards\x12\x12\n\nin_channel\x18\x01 \x01(\t\x12\x17\n\nin_htlc_id\x18\n \x01(\x04H\x00\x88\x01\x01\x12\x1c\n\x07in_msat\x18\x02 \x01(\x0b\x32\x0b.cln.Amount\x12\x44\n\x06status\x18\x03 \x01(\x0e\x32\x34.cln.ListforwardsForwards.ListforwardsForwardsStatus\x12\x15\n\rreceived_time\x18\x04 \x01(\x01\x12\x18\n\x0bout_channel\x18\x05 \x01(\tH\x01\x88\x01\x01\x12\x18\n\x0bout_htlc_id\x18\x0b \x01(\x04H\x02\x88\x01\x01\x12G\n\x05style\x18\t \x01(\x0e\x32\x33.cln.ListforwardsForwards.ListforwardsForwardsStyleH\x03\x88\x01\x01\x12\"\n\x08\x66\x65\x65_msat\x18\x07 \x01(\x0b\x32\x0b.cln.AmountH\x04\x88\x01\x01\x12\"\n\x08out_msat\x18\x08 \x01(\x0b\x32\x0b.cln.AmountH\x05\x88\x01\x01\"T\n\x1aListforwardsForwardsStatus\x12\x0b\n\x07OFFERED\x10\x00\x12\x0b\n\x07SETTLED\x10\x01\x12\x10\n\x0cLOCAL_FAILED\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\"0\n\x19ListforwardsForwardsStyle\x12\n\n\x06LEGACY\x10\x00\x12\x07\n\x03TLV\x10\x01\x42\r\n\x0b_in_htlc_idB\x0e\n\x0c_out_channelB\x0e\n\x0c_out_htlc_idB\x08\n\x06_styleB\x0b\n\t_fee_msatB\x0b\n\t_out_msat\"\xdb\x01\n\x0fListpaysRequest\x12\x13\n\x06\x62olt11\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x19\n\x0cpayment_hash\x18\x02 \x01(\x0cH\x01\x88\x01\x01\x12\x38\n\x06status\x18\x03 \x01(\x0e\x32#.cln.ListpaysRequest.ListpaysStatusH\x02\x88\x01\x01\"7\n\x0eListpaysStatus\x12\x0b\n\x07PENDING\x10\x00\x12\x0c\n\x08\x43OMPLETE\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\x42\t\n\x07_bolt11B\x0f\n\r_payment_hashB\t\n\x07_status\"3\n\x10ListpaysResponse\x12\x1f\n\x04pays\x18\x01 \x03(\x0b\x32\x11.cln.ListpaysPays\"\x87\x04\n\x0cListpaysPays\x12\x14\n\x0cpayment_hash\x18\x01 \x01(\x0c\x12\x34\n\x06status\x18\x02 \x01(\x0e\x32$.cln.ListpaysPays.ListpaysPaysStatus\x12\x18\n\x0b\x64\x65stination\x18\x03 \x01(\x0cH\x00\x88\x01\x01\x12\x12\n\ncreated_at\x18\x04 \x01(\x04\x12\x19\n\x0c\x63ompleted_at\x18\x0c \x01(\x04H\x01\x88\x01\x01\x12\x12\n\x05label\x18\x05 \x01(\tH\x02\x88\x01\x01\x12\x13\n\x06\x62olt11\x18\x06 \x01(\tH\x03\x88\x01\x01\x12\x18\n\x0b\x64\x65scription\x18\x0b \x01(\tH\x04\x88\x01\x01\x12\x13\n\x06\x62olt12\x18\x07 \x01(\tH\x05\x88\x01\x01\x12\x15\n\x08preimage\x18\r \x01(\x0cH\x06\x88\x01\x01\x12\x1c\n\x0fnumber_of_parts\x18\x0e \x01(\x04H\x07\x88\x01\x01\x12\x17\n\nerroronion\x18\n \x01(\x0cH\x08\x88\x01\x01\";\n\x12ListpaysPaysStatus\x12\x0b\n\x07PENDING\x10\x00\x12\n\n\x06\x46\x41ILED\x10\x01\x12\x0c\n\x08\x43OMPLETE\x10\x02\x42\x0e\n\x0c_destinationB\x0f\n\r_completed_atB\x08\n\x06_labelB\t\n\x07_bolt11B\x0e\n\x0c_descriptionB\t\n\x07_bolt12B\x0b\n\t_preimageB\x12\n\x10_number_of_partsB\r\n\x0b_erroronion\"Y\n\x0bPingRequest\x12\n\n\x02id\x18\x01 \x01(\x0c\x12\x10\n\x03len\x18\x02 \x01(\rH\x00\x88\x01\x01\x12\x16\n\tpongbytes\x18\x03 \x01(\rH\x01\x88\x01\x01\x42\x06\n\x04_lenB\x0c\n\n_pongbytes\"\x1e\n\x0cPingResponse\x12\x0e\n\x06totlen\x18\x01 \x01(\r\"4\n\x14SendcustommsgRequest\x12\x0f\n\x07node_id\x18\x01 \x01(\x0c\x12\x0b\n\x03msg\x18\x02 \x01(\x0c\"\'\n\x15SendcustommsgResponse\x12\x0e\n\x06status\x18\x01 \x01(\t\"\xf8\x01\n\x11SetchannelRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12!\n\x07\x66\x65\x65\x62\x61se\x18\x02 \x01(\x0b\x32\x0b.cln.AmountH\x00\x88\x01\x01\x12\x13\n\x06\x66\x65\x65ppm\x18\x03 \x01(\rH\x01\x88\x01\x01\x12!\n\x07htlcmin\x18\x04 \x01(\x0b\x32\x0b.cln.AmountH\x02\x88\x01\x01\x12!\n\x07htlcmax\x18\x05 \x01(\x0b\x32\x0b.cln.AmountH\x03\x88\x01\x01\x12\x19\n\x0c\x65nforcedelay\x18\x06 \x01(\rH\x04\x88\x01\x01\x42\n\n\x08_feebaseB\t\n\x07_feeppmB\n\n\x08_htlcminB\n\n\x08_htlcmaxB\x0f\n\r_enforcedelay\"?\n\x12SetchannelResponse\x12)\n\x08\x63hannels\x18\x01 \x03(\x0b\x32\x17.cln.SetchannelChannels\"\x94\x03\n\x12SetchannelChannels\x12\x0f\n\x07peer_id\x18\x01 \x01(\x0c\x12\x12\n\nchannel_id\x18\x02 \x01(\x0c\x12\x1d\n\x10short_channel_id\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\"\n\rfee_base_msat\x18\x04 \x01(\x0b\x32\x0b.cln.Amount\x12#\n\x1b\x66\x65\x65_proportional_millionths\x18\x05 \x01(\r\x12*\n\x15minimum_htlc_out_msat\x18\x06 \x01(\x0b\x32\x0b.cln.Amount\x12$\n\x17warning_htlcmin_too_low\x18\x07 \x01(\tH\x01\x88\x01\x01\x12*\n\x15maximum_htlc_out_msat\x18\x08 \x01(\x0b\x32\x0b.cln.Amount\x12%\n\x18warning_htlcmax_too_high\x18\t \x01(\tH\x02\x88\x01\x01\x42\x13\n\x11_short_channel_idB\x1a\n\x18_warning_htlcmin_too_lowB\x1b\n\x19_warning_htlcmax_too_high\"\'\n\x12SigninvoiceRequest\x12\x11\n\tinvstring\x18\x01 \x01(\t\"%\n\x13SigninvoiceResponse\x12\x0e\n\x06\x62olt11\x18\x01 \x01(\t\"%\n\x12SignmessageRequest\x12\x0f\n\x07message\x18\x01 \x01(\t\"F\n\x13SignmessageResponse\x12\x11\n\tsignature\x18\x01 \x01(\x0c\x12\r\n\x05recid\x18\x02 \x01(\x0c\x12\r\n\x05zbase\x18\x03 \x01(\t\"\r\n\x0bStopRequest\"\x0e\n\x0cStopResponse2\xbf\x18\n\x04Node\x12\x36\n\x07Getinfo\x12\x13.cln.GetinfoRequest\x1a\x14.cln.GetinfoResponse\"\x00\x12<\n\tListPeers\x12\x15.cln.ListpeersRequest\x1a\x16.cln.ListpeersResponse\"\x00\x12<\n\tListFunds\x12\x15.cln.ListfundsRequest\x1a\x16.cln.ListfundsResponse\"\x00\x12\x36\n\x07SendPay\x12\x13.cln.SendpayRequest\x1a\x14.cln.SendpayResponse\"\x00\x12\x45\n\x0cListChannels\x12\x18.cln.ListchannelsRequest\x1a\x19.cln.ListchannelsResponse\"\x00\x12<\n\tAddGossip\x12\x15.cln.AddgossipRequest\x1a\x16.cln.AddgossipResponse\"\x00\x12Q\n\x10\x41utoCleanInvoice\x12\x1c.cln.AutocleaninvoiceRequest\x1a\x1d.cln.AutocleaninvoiceResponse\"\x00\x12\x45\n\x0c\x43heckMessage\x12\x18.cln.CheckmessageRequest\x1a\x19.cln.CheckmessageResponse\"\x00\x12\x30\n\x05\x43lose\x12\x11.cln.CloseRequest\x1a\x12.cln.CloseResponse\"\x00\x12:\n\x0b\x43onnectPeer\x12\x13.cln.ConnectRequest\x1a\x14.cln.ConnectResponse\"\x00\x12H\n\rCreateInvoice\x12\x19.cln.CreateinvoiceRequest\x1a\x1a.cln.CreateinvoiceResponse\"\x00\x12<\n\tDatastore\x12\x15.cln.DatastoreRequest\x1a\x16.cln.DatastoreResponse\"\x00\x12\x42\n\x0b\x43reateOnion\x12\x17.cln.CreateonionRequest\x1a\x18.cln.CreateonionResponse\"\x00\x12\x45\n\x0c\x44\x65lDatastore\x12\x18.cln.DeldatastoreRequest\x1a\x19.cln.DeldatastoreResponse\"\x00\x12T\n\x11\x44\x65lExpiredInvoice\x12\x1d.cln.DelexpiredinvoiceRequest\x1a\x1e.cln.DelexpiredinvoiceResponse\"\x00\x12?\n\nDelInvoice\x12\x16.cln.DelinvoiceRequest\x1a\x17.cln.DelinvoiceResponse\"\x00\x12\x36\n\x07Invoice\x12\x13.cln.InvoiceRequest\x1a\x14.cln.InvoiceResponse\"\x00\x12H\n\rListDatastore\x12\x19.cln.ListdatastoreRequest\x1a\x1a.cln.ListdatastoreResponse\"\x00\x12\x45\n\x0cListInvoices\x12\x18.cln.ListinvoicesRequest\x1a\x19.cln.ListinvoicesResponse\"\x00\x12<\n\tSendOnion\x12\x15.cln.SendonionRequest\x1a\x16.cln.SendonionResponse\"\x00\x12\x45\n\x0cListSendPays\x12\x18.cln.ListsendpaysRequest\x1a\x19.cln.ListsendpaysResponse\"\x00\x12Q\n\x10ListTransactions\x12\x1c.cln.ListtransactionsRequest\x1a\x1d.cln.ListtransactionsResponse\"\x00\x12*\n\x03Pay\x12\x0f.cln.PayRequest\x1a\x10.cln.PayResponse\"\x00\x12<\n\tListNodes\x12\x15.cln.ListnodesRequest\x1a\x16.cln.ListnodesResponse\"\x00\x12K\n\x0eWaitAnyInvoice\x12\x1a.cln.WaitanyinvoiceRequest\x1a\x1b.cln.WaitanyinvoiceResponse\"\x00\x12\x42\n\x0bWaitInvoice\x12\x17.cln.WaitinvoiceRequest\x1a\x18.cln.WaitinvoiceResponse\"\x00\x12\x42\n\x0bWaitSendPay\x12\x17.cln.WaitsendpayRequest\x1a\x18.cln.WaitsendpayResponse\"\x00\x12\x36\n\x07NewAddr\x12\x13.cln.NewaddrRequest\x1a\x14.cln.NewaddrResponse\"\x00\x12\x39\n\x08Withdraw\x12\x14.cln.WithdrawRequest\x1a\x15.cln.WithdrawResponse\"\x00\x12\x36\n\x07KeySend\x12\x13.cln.KeysendRequest\x1a\x14.cln.KeysendResponse\"\x00\x12\x39\n\x08\x46undPsbt\x12\x14.cln.FundpsbtRequest\x1a\x15.cln.FundpsbtResponse\"\x00\x12\x39\n\x08SendPsbt\x12\x14.cln.SendpsbtRequest\x1a\x15.cln.SendpsbtResponse\"\x00\x12\x39\n\x08SignPsbt\x12\x14.cln.SignpsbtRequest\x1a\x15.cln.SignpsbtResponse\"\x00\x12\x39\n\x08UtxoPsbt\x12\x14.cln.UtxopsbtRequest\x1a\x15.cln.UtxopsbtResponse\"\x00\x12<\n\tTxDiscard\x12\x15.cln.TxdiscardRequest\x1a\x16.cln.TxdiscardResponse\"\x00\x12<\n\tTxPrepare\x12\x15.cln.TxprepareRequest\x1a\x16.cln.TxprepareResponse\"\x00\x12\x33\n\x06TxSend\x12\x12.cln.TxsendRequest\x1a\x13.cln.TxsendResponse\"\x00\x12?\n\nDisconnect\x12\x16.cln.DisconnectRequest\x1a\x17.cln.DisconnectResponse\"\x00\x12\x39\n\x08\x46\x65\x65rates\x12\x14.cln.FeeratesRequest\x1a\x15.cln.FeeratesResponse\"\x00\x12\x42\n\x0b\x46undChannel\x12\x17.cln.FundchannelRequest\x1a\x18.cln.FundchannelResponse\"\x00\x12\x39\n\x08GetRoute\x12\x14.cln.GetrouteRequest\x1a\x15.cln.GetrouteResponse\"\x00\x12\x45\n\x0cListForwards\x12\x18.cln.ListforwardsRequest\x1a\x19.cln.ListforwardsResponse\"\x00\x12\x39\n\x08ListPays\x12\x14.cln.ListpaysRequest\x1a\x15.cln.ListpaysResponse\"\x00\x12-\n\x04Ping\x12\x10.cln.PingRequest\x1a\x11.cln.PingResponse\"\x00\x12H\n\rSendCustomMsg\x12\x19.cln.SendcustommsgRequest\x1a\x1a.cln.SendcustommsgResponse\"\x00\x12?\n\nSetChannel\x12\x16.cln.SetchannelRequest\x1a\x17.cln.SetchannelResponse\"\x00\x12\x42\n\x0bSignInvoice\x12\x17.cln.SigninvoiceRequest\x1a\x18.cln.SigninvoiceResponse\"\x00\x12\x42\n\x0bSignMessage\x12\x17.cln.SignmessageRequest\x1a\x18.cln.SignmessageResponse\"\x00\x12-\n\x04Stop\x12\x10.cln.StopRequest\x1a\x11.cln.StopResponse\"\x00\x62\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\nnode.proto\x12\x03\x63ln\x1a\x10primitives.proto\"\x10\n\x0eGetinfoRequest\"\xb2\x04\n\x0fGetinfoResponse\x12\n\n\x02id\x18\x01 \x01(\x0c\x12\r\n\x05\x61lias\x18\x02 \x01(\t\x12\r\n\x05\x63olor\x18\x03 \x01(\x0c\x12\x11\n\tnum_peers\x18\x04 \x01(\r\x12\x1c\n\x14num_pending_channels\x18\x05 \x01(\r\x12\x1b\n\x13num_active_channels\x18\x06 \x01(\r\x12\x1d\n\x15num_inactive_channels\x18\x07 \x01(\r\x12\x0f\n\x07version\x18\x08 \x01(\t\x12\x15\n\rlightning_dir\x18\t \x01(\t\x12\x33\n\x0cour_features\x18\n \x01(\x0b\x32\x18.cln.GetinfoOur_featuresH\x00\x88\x01\x01\x12\x13\n\x0b\x62lockheight\x18\x0b \x01(\r\x12\x0f\n\x07network\x18\x0c \x01(\t\x12(\n\x13\x66\x65\x65s_collected_msat\x18\r \x01(\x0b\x32\x0b.cln.Amount\x12$\n\x07\x61\x64\x64ress\x18\x0e \x03(\x0b\x32\x13.cln.GetinfoAddress\x12$\n\x07\x62inding\x18\x0f \x03(\x0b\x32\x13.cln.GetinfoBinding\x12\"\n\x15warning_bitcoind_sync\x18\x10 \x01(\tH\x01\x88\x01\x01\x12$\n\x17warning_lightningd_sync\x18\x11 \x01(\tH\x02\x88\x01\x01\x42\x0f\n\r_our_featuresB\x18\n\x16_warning_bitcoind_syncB\x1a\n\x18_warning_lightningd_sync\"S\n\x13GetinfoOur_features\x12\x0c\n\x04init\x18\x01 \x01(\x0c\x12\x0c\n\x04node\x18\x02 \x01(\x0c\x12\x0f\n\x07\x63hannel\x18\x03 \x01(\x0c\x12\x0f\n\x07invoice\x18\x04 \x01(\x0c\"\xd3\x01\n\x0eGetinfoAddress\x12\x39\n\titem_type\x18\x01 \x01(\x0e\x32&.cln.GetinfoAddress.GetinfoAddressType\x12\x0c\n\x04port\x18\x02 \x01(\r\x12\x14\n\x07\x61\x64\x64ress\x18\x03 \x01(\tH\x00\x88\x01\x01\"V\n\x12GetinfoAddressType\x12\x07\n\x03\x44NS\x10\x00\x12\x08\n\x04IPV4\x10\x01\x12\x08\n\x04IPV6\x10\x02\x12\t\n\x05TORV2\x10\x03\x12\t\n\x05TORV3\x10\x04\x12\r\n\tWEBSOCKET\x10\x05\x42\n\n\x08_address\"\xfb\x01\n\x0eGetinfoBinding\x12\x39\n\titem_type\x18\x01 \x01(\x0e\x32&.cln.GetinfoBinding.GetinfoBindingType\x12\x14\n\x07\x61\x64\x64ress\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x11\n\x04port\x18\x03 \x01(\rH\x01\x88\x01\x01\x12\x13\n\x06socket\x18\x04 \x01(\tH\x02\x88\x01\x01\"P\n\x12GetinfoBindingType\x12\x10\n\x0cLOCAL_SOCKET\x10\x00\x12\x08\n\x04IPV4\x10\x01\x12\x08\n\x04IPV6\x10\x02\x12\t\n\x05TORV2\x10\x03\x12\t\n\x05TORV3\x10\x04\x42\n\n\x08_addressB\x07\n\x05_portB\t\n\x07_socket\"H\n\x10ListpeersRequest\x12\x0f\n\x02id\x18\x01 \x01(\x0cH\x00\x88\x01\x01\x12\x12\n\x05level\x18\x02 \x01(\tH\x01\x88\x01\x01\x42\x05\n\x03_idB\x08\n\x06_level\"7\n\x11ListpeersResponse\x12\"\n\x05peers\x18\x01 \x03(\x0b\x32\x13.cln.ListpeersPeers\"\x8e\x02\n\x0eListpeersPeers\x12\n\n\x02id\x18\x01 \x01(\x0c\x12\x11\n\tconnected\x18\x02 \x01(\x08\x12\x19\n\x0cnum_channels\x18\x08 \x01(\rH\x00\x88\x01\x01\x12#\n\x03log\x18\x03 \x03(\x0b\x32\x16.cln.ListpeersPeersLog\x12-\n\x08\x63hannels\x18\x04 \x03(\x0b\x32\x1b.cln.ListpeersPeersChannels\x12\x0f\n\x07netaddr\x18\x05 \x03(\t\x12\x18\n\x0bremote_addr\x18\x07 \x01(\tH\x01\x88\x01\x01\x12\x15\n\x08\x66\x65\x61tures\x18\x06 \x01(\x0cH\x02\x88\x01\x01\x42\x0f\n\r_num_channelsB\x0e\n\x0c_remote_addrB\x0b\n\t_features\"\xfd\x02\n\x11ListpeersPeersLog\x12?\n\titem_type\x18\x01 \x01(\x0e\x32,.cln.ListpeersPeersLog.ListpeersPeersLogType\x12\x18\n\x0bnum_skipped\x18\x02 \x01(\rH\x00\x88\x01\x01\x12\x11\n\x04time\x18\x03 \x01(\tH\x01\x88\x01\x01\x12\x13\n\x06source\x18\x04 \x01(\tH\x02\x88\x01\x01\x12\x10\n\x03log\x18\x05 \x01(\tH\x03\x88\x01\x01\x12\x14\n\x07node_id\x18\x06 \x01(\x0cH\x04\x88\x01\x01\x12\x11\n\x04\x64\x61ta\x18\x07 \x01(\x0cH\x05\x88\x01\x01\"i\n\x15ListpeersPeersLogType\x12\x0b\n\x07SKIPPED\x10\x00\x12\n\n\x06\x42ROKEN\x10\x01\x12\x0b\n\x07UNUSUAL\x10\x02\x12\x08\n\x04INFO\x10\x03\x12\t\n\x05\x44\x45\x42UG\x10\x04\x12\t\n\x05IO_IN\x10\x05\x12\n\n\x06IO_OUT\x10\x06\x42\x0e\n\x0c_num_skippedB\x07\n\x05_timeB\t\n\x07_sourceB\x06\n\x04_logB\n\n\x08_node_idB\x07\n\x05_data\"\xd6\x17\n\x16ListpeersPeersChannels\x12\x46\n\x05state\x18\x01 \x01(\x0e\x32\x37.cln.ListpeersPeersChannels.ListpeersPeersChannelsState\x12\x19\n\x0cscratch_txid\x18\x02 \x01(\x0cH\x00\x88\x01\x01\x12\x38\n\x07\x66\x65\x65rate\x18\x03 \x01(\x0b\x32\".cln.ListpeersPeersChannelsFeerateH\x01\x88\x01\x01\x12\x12\n\x05owner\x18\x04 \x01(\tH\x02\x88\x01\x01\x12\x1d\n\x10short_channel_id\x18\x05 \x01(\tH\x03\x88\x01\x01\x12\x17\n\nchannel_id\x18\x06 \x01(\x0cH\x04\x88\x01\x01\x12\x19\n\x0c\x66unding_txid\x18\x07 \x01(\x0cH\x05\x88\x01\x01\x12\x1b\n\x0e\x66unding_outnum\x18\x08 \x01(\rH\x06\x88\x01\x01\x12\x1c\n\x0finitial_feerate\x18\t \x01(\tH\x07\x88\x01\x01\x12\x19\n\x0clast_feerate\x18\n \x01(\tH\x08\x88\x01\x01\x12\x19\n\x0cnext_feerate\x18\x0b \x01(\tH\t\x88\x01\x01\x12\x1a\n\rnext_fee_step\x18\x0c \x01(\rH\n\x88\x01\x01\x12\x35\n\x08inflight\x18\r \x03(\x0b\x32#.cln.ListpeersPeersChannelsInflight\x12\x15\n\x08\x63lose_to\x18\x0e \x01(\x0cH\x0b\x88\x01\x01\x12\x14\n\x07private\x18\x0f \x01(\x08H\x0c\x88\x01\x01\x12 \n\x06opener\x18\x10 \x01(\x0e\x32\x10.cln.ChannelSide\x12%\n\x06\x63loser\x18\x11 \x01(\x0e\x32\x10.cln.ChannelSideH\r\x88\x01\x01\x12\x10\n\x08\x66\x65\x61tures\x18\x12 \x03(\t\x12\x38\n\x07\x66unding\x18\x13 \x01(\x0b\x32\".cln.ListpeersPeersChannelsFundingH\x0e\x88\x01\x01\x12$\n\nto_us_msat\x18\x14 \x01(\x0b\x32\x0b.cln.AmountH\x0f\x88\x01\x01\x12(\n\x0emin_to_us_msat\x18\x15 \x01(\x0b\x32\x0b.cln.AmountH\x10\x88\x01\x01\x12(\n\x0emax_to_us_msat\x18\x16 \x01(\x0b\x32\x0b.cln.AmountH\x11\x88\x01\x01\x12$\n\ntotal_msat\x18\x17 \x01(\x0b\x32\x0b.cln.AmountH\x12\x88\x01\x01\x12\'\n\rfee_base_msat\x18\x18 \x01(\x0b\x32\x0b.cln.AmountH\x13\x88\x01\x01\x12(\n\x1b\x66\x65\x65_proportional_millionths\x18\x19 \x01(\rH\x14\x88\x01\x01\x12)\n\x0f\x64ust_limit_msat\x18\x1a \x01(\x0b\x32\x0b.cln.AmountH\x15\x88\x01\x01\x12\x30\n\x16max_total_htlc_in_msat\x18\x1b \x01(\x0b\x32\x0b.cln.AmountH\x16\x88\x01\x01\x12,\n\x12their_reserve_msat\x18\x1c \x01(\x0b\x32\x0b.cln.AmountH\x17\x88\x01\x01\x12*\n\x10our_reserve_msat\x18\x1d \x01(\x0b\x32\x0b.cln.AmountH\x18\x88\x01\x01\x12(\n\x0espendable_msat\x18\x1e \x01(\x0b\x32\x0b.cln.AmountH\x19\x88\x01\x01\x12)\n\x0freceivable_msat\x18\x1f \x01(\x0b\x32\x0b.cln.AmountH\x1a\x88\x01\x01\x12.\n\x14minimum_htlc_in_msat\x18 \x01(\x0b\x32\x0b.cln.AmountH\x1b\x88\x01\x01\x12/\n\x15minimum_htlc_out_msat\x18\x30 \x01(\x0b\x32\x0b.cln.AmountH\x1c\x88\x01\x01\x12/\n\x15maximum_htlc_out_msat\x18\x31 \x01(\x0b\x32\x0b.cln.AmountH\x1d\x88\x01\x01\x12 \n\x13their_to_self_delay\x18! \x01(\rH\x1e\x88\x01\x01\x12\x1e\n\x11our_to_self_delay\x18\" \x01(\rH\x1f\x88\x01\x01\x12\x1f\n\x12max_accepted_htlcs\x18# \x01(\rH \x88\x01\x01\x12\x34\n\x05\x61lias\x18\x32 \x01(\x0b\x32 .cln.ListpeersPeersChannelsAliasH!\x88\x01\x01\x12\x0e\n\x06status\x18% \x03(\t\x12 \n\x13in_payments_offered\x18& \x01(\x04H\"\x88\x01\x01\x12)\n\x0fin_offered_msat\x18\' \x01(\x0b\x32\x0b.cln.AmountH#\x88\x01\x01\x12\"\n\x15in_payments_fulfilled\x18( \x01(\x04H$\x88\x01\x01\x12+\n\x11in_fulfilled_msat\x18) \x01(\x0b\x32\x0b.cln.AmountH%\x88\x01\x01\x12!\n\x14out_payments_offered\x18* \x01(\x04H&\x88\x01\x01\x12*\n\x10out_offered_msat\x18+ \x01(\x0b\x32\x0b.cln.AmountH\'\x88\x01\x01\x12#\n\x16out_payments_fulfilled\x18, \x01(\x04H(\x88\x01\x01\x12,\n\x12out_fulfilled_msat\x18- \x01(\x0b\x32\x0b.cln.AmountH)\x88\x01\x01\x12/\n\x05htlcs\x18. \x03(\x0b\x32 .cln.ListpeersPeersChannelsHtlcs\x12\x1a\n\rclose_to_addr\x18/ \x01(\tH*\x88\x01\x01\"\xa1\x02\n\x1bListpeersPeersChannelsState\x12\x0c\n\x08OPENINGD\x10\x00\x12\x1c\n\x18\x43HANNELD_AWAITING_LOCKIN\x10\x01\x12\x13\n\x0f\x43HANNELD_NORMAL\x10\x02\x12\x1a\n\x16\x43HANNELD_SHUTTING_DOWN\x10\x03\x12\x18\n\x14\x43LOSINGD_SIGEXCHANGE\x10\x04\x12\x15\n\x11\x43LOSINGD_COMPLETE\x10\x05\x12\x17\n\x13\x41WAITING_UNILATERAL\x10\x06\x12\x16\n\x12\x46UNDING_SPEND_SEEN\x10\x07\x12\x0b\n\x07ONCHAIN\x10\x08\x12\x17\n\x13\x44UALOPEND_OPEN_INIT\x10\t\x12\x1d\n\x19\x44UALOPEND_AWAITING_LOCKIN\x10\nB\x0f\n\r_scratch_txidB\n\n\x08_feerateB\x08\n\x06_ownerB\x13\n\x11_short_channel_idB\r\n\x0b_channel_idB\x0f\n\r_funding_txidB\x11\n\x0f_funding_outnumB\x12\n\x10_initial_feerateB\x0f\n\r_last_feerateB\x0f\n\r_next_feerateB\x10\n\x0e_next_fee_stepB\x0b\n\t_close_toB\n\n\x08_privateB\t\n\x07_closerB\n\n\x08_fundingB\r\n\x0b_to_us_msatB\x11\n\x0f_min_to_us_msatB\x11\n\x0f_max_to_us_msatB\r\n\x0b_total_msatB\x10\n\x0e_fee_base_msatB\x1e\n\x1c_fee_proportional_millionthsB\x12\n\x10_dust_limit_msatB\x19\n\x17_max_total_htlc_in_msatB\x15\n\x13_their_reserve_msatB\x13\n\x11_our_reserve_msatB\x11\n\x0f_spendable_msatB\x12\n\x10_receivable_msatB\x17\n\x15_minimum_htlc_in_msatB\x18\n\x16_minimum_htlc_out_msatB\x18\n\x16_maximum_htlc_out_msatB\x16\n\x14_their_to_self_delayB\x14\n\x12_our_to_self_delayB\x15\n\x13_max_accepted_htlcsB\x08\n\x06_aliasB\x16\n\x14_in_payments_offeredB\x12\n\x10_in_offered_msatB\x18\n\x16_in_payments_fulfilledB\x14\n\x12_in_fulfilled_msatB\x17\n\x15_out_payments_offeredB\x13\n\x11_out_offered_msatB\x19\n\x17_out_payments_fulfilledB\x15\n\x13_out_fulfilled_msatB\x10\n\x0e_close_to_addr\"=\n\x1dListpeersPeersChannelsFeerate\x12\r\n\x05perkw\x18\x01 \x01(\r\x12\r\n\x05perkb\x18\x02 \x01(\r\"\xc5\x01\n\x1eListpeersPeersChannelsInflight\x12\x14\n\x0c\x66unding_txid\x18\x01 \x01(\x0c\x12\x16\n\x0e\x66unding_outnum\x18\x02 \x01(\r\x12\x0f\n\x07\x66\x65\x65rate\x18\x03 \x01(\t\x12\'\n\x12total_funding_msat\x18\x04 \x01(\x0b\x32\x0b.cln.Amount\x12%\n\x10our_funding_msat\x18\x05 \x01(\x0b\x32\x0b.cln.Amount\x12\x14\n\x0cscratch_txid\x18\x06 \x01(\x0c\"\x9b\x02\n\x1dListpeersPeersChannelsFunding\x12%\n\x0bpushed_msat\x18\x03 \x01(\x0b\x32\x0b.cln.AmountH\x00\x88\x01\x01\x12%\n\x10local_funds_msat\x18\x04 \x01(\x0b\x32\x0b.cln.Amount\x12&\n\x11remote_funds_msat\x18\x07 \x01(\x0b\x32\x0b.cln.Amount\x12\'\n\rfee_paid_msat\x18\x05 \x01(\x0b\x32\x0b.cln.AmountH\x01\x88\x01\x01\x12\'\n\rfee_rcvd_msat\x18\x06 \x01(\x0b\x32\x0b.cln.AmountH\x02\x88\x01\x01\x42\x0e\n\x0c_pushed_msatB\x10\n\x0e_fee_paid_msatB\x10\n\x0e_fee_rcvd_msat\"[\n\x1bListpeersPeersChannelsAlias\x12\x12\n\x05local\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x13\n\x06remote\x18\x02 \x01(\tH\x01\x88\x01\x01\x42\x08\n\x06_localB\t\n\x07_remote\"\xd2\x02\n\x1bListpeersPeersChannelsHtlcs\x12X\n\tdirection\x18\x01 \x01(\x0e\x32\x45.cln.ListpeersPeersChannelsHtlcs.ListpeersPeersChannelsHtlcsDirection\x12\n\n\x02id\x18\x02 \x01(\x04\x12 \n\x0b\x61mount_msat\x18\x03 \x01(\x0b\x32\x0b.cln.Amount\x12\x0e\n\x06\x65xpiry\x18\x04 \x01(\r\x12\x14\n\x0cpayment_hash\x18\x05 \x01(\x0c\x12\x1a\n\rlocal_trimmed\x18\x06 \x01(\x08H\x00\x88\x01\x01\x12\x13\n\x06status\x18\x07 \x01(\tH\x01\x88\x01\x01\"7\n$ListpeersPeersChannelsHtlcsDirection\x12\x06\n\x02IN\x10\x00\x12\x07\n\x03OUT\x10\x01\x42\x10\n\x0e_local_trimmedB\t\n\x07_status\"0\n\x10ListfundsRequest\x12\x12\n\x05spent\x18\x01 \x01(\x08H\x00\x88\x01\x01\x42\x08\n\x06_spent\"e\n\x11ListfundsResponse\x12&\n\x07outputs\x18\x01 \x03(\x0b\x32\x15.cln.ListfundsOutputs\x12(\n\x08\x63hannels\x18\x02 \x03(\x0b\x32\x16.cln.ListfundsChannels\"\x83\x03\n\x10ListfundsOutputs\x12\x0c\n\x04txid\x18\x01 \x01(\x0c\x12\x0e\n\x06output\x18\x02 \x01(\r\x12 \n\x0b\x61mount_msat\x18\x03 \x01(\x0b\x32\x0b.cln.Amount\x12\x14\n\x0cscriptpubkey\x18\x04 \x01(\x0c\x12\x14\n\x07\x61\x64\x64ress\x18\x05 \x01(\tH\x00\x88\x01\x01\x12\x19\n\x0credeemscript\x18\x06 \x01(\x0cH\x01\x88\x01\x01\x12<\n\x06status\x18\x07 \x01(\x0e\x32,.cln.ListfundsOutputs.ListfundsOutputsStatus\x12\x10\n\x08reserved\x18\t \x01(\x08\x12\x18\n\x0b\x62lockheight\x18\x08 \x01(\rH\x02\x88\x01\x01\"Q\n\x16ListfundsOutputsStatus\x12\x0f\n\x0bUNCONFIRMED\x10\x00\x12\r\n\tCONFIRMED\x10\x01\x12\t\n\x05SPENT\x10\x02\x12\x0c\n\x08IMMATURE\x10\x03\x42\n\n\x08_addressB\x0f\n\r_redeemscriptB\x0e\n\x0c_blockheight\"\xab\x02\n\x11ListfundsChannels\x12\x0f\n\x07peer_id\x18\x01 \x01(\x0c\x12$\n\x0four_amount_msat\x18\x02 \x01(\x0b\x32\x0b.cln.Amount\x12 \n\x0b\x61mount_msat\x18\x03 \x01(\x0b\x32\x0b.cln.Amount\x12\x14\n\x0c\x66unding_txid\x18\x04 \x01(\x0c\x12\x16\n\x0e\x66unding_output\x18\x05 \x01(\r\x12\x11\n\tconnected\x18\x06 \x01(\x08\x12 \n\x05state\x18\x07 \x01(\x0e\x32\x11.cln.ChannelState\x12\x17\n\nchannel_id\x18\t \x01(\x0cH\x00\x88\x01\x01\x12\x1d\n\x10short_channel_id\x18\x08 \x01(\tH\x01\x88\x01\x01\x42\r\n\x0b_channel_idB\x13\n\x11_short_channel_id\"\xdd\x02\n\x0eSendpayRequest\x12 \n\x05route\x18\x01 \x03(\x0b\x32\x11.cln.SendpayRoute\x12\x14\n\x0cpayment_hash\x18\x02 \x01(\x0c\x12\x12\n\x05label\x18\x03 \x01(\tH\x00\x88\x01\x01\x12%\n\x0b\x61mount_msat\x18\n \x01(\x0b\x32\x0b.cln.AmountH\x01\x88\x01\x01\x12\x13\n\x06\x62olt11\x18\x05 \x01(\tH\x02\x88\x01\x01\x12\x1b\n\x0epayment_secret\x18\x06 \x01(\x0cH\x03\x88\x01\x01\x12\x13\n\x06partid\x18\x07 \x01(\rH\x04\x88\x01\x01\x12\x1a\n\rlocalinvreqid\x18\x0b \x01(\x0cH\x05\x88\x01\x01\x12\x14\n\x07groupid\x18\t \x01(\x04H\x06\x88\x01\x01\x42\x08\n\x06_labelB\x0e\n\x0c_amount_msatB\t\n\x07_bolt11B\x11\n\x0f_payment_secretB\t\n\x07_partidB\x10\n\x0e_localinvreqidB\n\n\x08_groupid\"\xd1\x04\n\x0fSendpayResponse\x12\n\n\x02id\x18\x01 \x01(\x04\x12\x14\n\x07groupid\x18\x02 \x01(\x04H\x00\x88\x01\x01\x12\x14\n\x0cpayment_hash\x18\x03 \x01(\x0c\x12\x32\n\x06status\x18\x04 \x01(\x0e\x32\".cln.SendpayResponse.SendpayStatus\x12%\n\x0b\x61mount_msat\x18\x05 \x01(\x0b\x32\x0b.cln.AmountH\x01\x88\x01\x01\x12\x18\n\x0b\x64\x65stination\x18\x06 \x01(\x0cH\x02\x88\x01\x01\x12\x12\n\ncreated_at\x18\x07 \x01(\x04\x12\x19\n\x0c\x63ompleted_at\x18\x0f \x01(\x04H\x03\x88\x01\x01\x12%\n\x10\x61mount_sent_msat\x18\x08 \x01(\x0b\x32\x0b.cln.Amount\x12\x12\n\x05label\x18\t \x01(\tH\x04\x88\x01\x01\x12\x13\n\x06partid\x18\n \x01(\x04H\x05\x88\x01\x01\x12\x13\n\x06\x62olt11\x18\x0b \x01(\tH\x06\x88\x01\x01\x12\x13\n\x06\x62olt12\x18\x0c \x01(\tH\x07\x88\x01\x01\x12\x1d\n\x10payment_preimage\x18\r \x01(\x0cH\x08\x88\x01\x01\x12\x14\n\x07message\x18\x0e \x01(\tH\t\x88\x01\x01\"*\n\rSendpayStatus\x12\x0b\n\x07PENDING\x10\x00\x12\x0c\n\x08\x43OMPLETE\x10\x01\x42\n\n\x08_groupidB\x0e\n\x0c_amount_msatB\x0e\n\x0c_destinationB\x0f\n\r_completed_atB\x08\n\x06_labelB\t\n\x07_partidB\t\n\x07_bolt11B\t\n\x07_bolt12B\x13\n\x11_payment_preimageB\n\n\x08_message\"\\\n\x0cSendpayRoute\x12 \n\x0b\x61mount_msat\x18\x05 \x01(\x0b\x32\x0b.cln.Amount\x12\n\n\x02id\x18\x02 \x01(\x0c\x12\r\n\x05\x64\x65lay\x18\x03 \x01(\r\x12\x0f\n\x07\x63hannel\x18\x04 \x01(\t\"\x93\x01\n\x13ListchannelsRequest\x12\x1d\n\x10short_channel_id\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x13\n\x06source\x18\x02 \x01(\x0cH\x01\x88\x01\x01\x12\x18\n\x0b\x64\x65stination\x18\x03 \x01(\x0cH\x02\x88\x01\x01\x42\x13\n\x11_short_channel_idB\t\n\x07_sourceB\x0e\n\x0c_destination\"C\n\x14ListchannelsResponse\x12+\n\x08\x63hannels\x18\x01 \x03(\x0b\x32\x19.cln.ListchannelsChannels\"\xb3\x03\n\x14ListchannelsChannels\x12\x0e\n\x06source\x18\x01 \x01(\x0c\x12\x13\n\x0b\x64\x65stination\x18\x02 \x01(\x0c\x12\x18\n\x10short_channel_id\x18\x03 \x01(\t\x12\x11\n\tdirection\x18\x10 \x01(\r\x12\x0e\n\x06public\x18\x04 \x01(\x08\x12 \n\x0b\x61mount_msat\x18\x05 \x01(\x0b\x32\x0b.cln.Amount\x12\x15\n\rmessage_flags\x18\x06 \x01(\r\x12\x15\n\rchannel_flags\x18\x07 \x01(\r\x12\x0e\n\x06\x61\x63tive\x18\x08 \x01(\x08\x12\x13\n\x0blast_update\x18\t \x01(\r\x12\x1d\n\x15\x62\x61se_fee_millisatoshi\x18\n \x01(\r\x12\x19\n\x11\x66\x65\x65_per_millionth\x18\x0b \x01(\r\x12\r\n\x05\x64\x65lay\x18\x0c \x01(\r\x12&\n\x11htlc_minimum_msat\x18\r \x01(\x0b\x32\x0b.cln.Amount\x12+\n\x11htlc_maximum_msat\x18\x0e \x01(\x0b\x32\x0b.cln.AmountH\x00\x88\x01\x01\x12\x10\n\x08\x66\x65\x61tures\x18\x0f \x01(\x0c\x42\x14\n\x12_htlc_maximum_msat\"#\n\x10\x41\x64\x64gossipRequest\x12\x0f\n\x07message\x18\x01 \x01(\x0c\"\x13\n\x11\x41\x64\x64gossipResponse\"o\n\x17\x41utocleaninvoiceRequest\x12\x17\n\nexpired_by\x18\x01 \x01(\x04H\x00\x88\x01\x01\x12\x1a\n\rcycle_seconds\x18\x02 \x01(\x04H\x01\x88\x01\x01\x42\r\n\x0b_expired_byB\x10\n\x0e_cycle_seconds\"\x81\x01\n\x18\x41utocleaninvoiceResponse\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x17\n\nexpired_by\x18\x02 \x01(\x04H\x00\x88\x01\x01\x12\x1a\n\rcycle_seconds\x18\x03 \x01(\x04H\x01\x88\x01\x01\x42\r\n\x0b_expired_byB\x10\n\x0e_cycle_seconds\"U\n\x13\x43heckmessageRequest\x12\x0f\n\x07message\x18\x01 \x01(\t\x12\r\n\x05zbase\x18\x02 \x01(\t\x12\x13\n\x06pubkey\x18\x03 \x01(\x0cH\x00\x88\x01\x01\x42\t\n\x07_pubkey\"8\n\x14\x43heckmessageResponse\x12\x10\n\x08verified\x18\x01 \x01(\x08\x12\x0e\n\x06pubkey\x18\x02 \x01(\x0c\"\xcb\x02\n\x0c\x43loseRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\x1e\n\x11unilateraltimeout\x18\x02 \x01(\rH\x00\x88\x01\x01\x12\x18\n\x0b\x64\x65stination\x18\x03 \x01(\tH\x01\x88\x01\x01\x12!\n\x14\x66\x65\x65_negotiation_step\x18\x04 \x01(\tH\x02\x88\x01\x01\x12)\n\rwrong_funding\x18\x05 \x01(\x0b\x32\r.cln.OutpointH\x03\x88\x01\x01\x12\x1f\n\x12\x66orce_lease_closed\x18\x06 \x01(\x08H\x04\x88\x01\x01\x12\x1e\n\x08\x66\x65\x65range\x18\x07 \x03(\x0b\x32\x0c.cln.FeerateB\x14\n\x12_unilateraltimeoutB\x0e\n\x0c_destinationB\x17\n\x15_fee_negotiation_stepB\x10\n\x0e_wrong_fundingB\x15\n\x13_force_lease_closed\"\xab\x01\n\rCloseResponse\x12/\n\titem_type\x18\x01 \x01(\x0e\x32\x1c.cln.CloseResponse.CloseType\x12\x0f\n\x02tx\x18\x02 \x01(\x0cH\x00\x88\x01\x01\x12\x11\n\x04txid\x18\x03 \x01(\x0cH\x01\x88\x01\x01\"5\n\tCloseType\x12\n\n\x06MUTUAL\x10\x00\x12\x0e\n\nUNILATERAL\x10\x01\x12\x0c\n\x08UNOPENED\x10\x02\x42\x05\n\x03_txB\x07\n\x05_txid\"T\n\x0e\x43onnectRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\x04host\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x11\n\x04port\x18\x03 \x01(\rH\x01\x88\x01\x01\x42\x07\n\x05_hostB\x07\n\x05_port\"\xb4\x01\n\x0f\x43onnectResponse\x12\n\n\x02id\x18\x01 \x01(\x0c\x12\x10\n\x08\x66\x65\x61tures\x18\x02 \x01(\x0c\x12\x38\n\tdirection\x18\x03 \x01(\x0e\x32%.cln.ConnectResponse.ConnectDirection\x12$\n\x07\x61\x64\x64ress\x18\x04 \x01(\x0b\x32\x13.cln.ConnectAddress\"#\n\x10\x43onnectDirection\x12\x06\n\x02IN\x10\x00\x12\x07\n\x03OUT\x10\x01\"\xfb\x01\n\x0e\x43onnectAddress\x12\x39\n\titem_type\x18\x01 \x01(\x0e\x32&.cln.ConnectAddress.ConnectAddressType\x12\x13\n\x06socket\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x14\n\x07\x61\x64\x64ress\x18\x03 \x01(\tH\x01\x88\x01\x01\x12\x11\n\x04port\x18\x04 \x01(\rH\x02\x88\x01\x01\"P\n\x12\x43onnectAddressType\x12\x10\n\x0cLOCAL_SOCKET\x10\x00\x12\x08\n\x04IPV4\x10\x01\x12\x08\n\x04IPV6\x10\x02\x12\t\n\x05TORV2\x10\x03\x12\t\n\x05TORV3\x10\x04\x42\t\n\x07_socketB\n\n\x08_addressB\x07\n\x05_port\"J\n\x14\x43reateinvoiceRequest\x12\x11\n\tinvstring\x18\x01 \x01(\t\x12\r\n\x05label\x18\x02 \x01(\t\x12\x10\n\x08preimage\x18\x03 \x01(\x0c\"\x81\x05\n\x15\x43reateinvoiceResponse\x12\r\n\x05label\x18\x01 \x01(\t\x12\x13\n\x06\x62olt11\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x13\n\x06\x62olt12\x18\x03 \x01(\tH\x01\x88\x01\x01\x12\x14\n\x0cpayment_hash\x18\x04 \x01(\x0c\x12%\n\x0b\x61mount_msat\x18\x05 \x01(\x0b\x32\x0b.cln.AmountH\x02\x88\x01\x01\x12>\n\x06status\x18\x06 \x01(\x0e\x32..cln.CreateinvoiceResponse.CreateinvoiceStatus\x12\x13\n\x0b\x64\x65scription\x18\x07 \x01(\t\x12\x12\n\nexpires_at\x18\x08 \x01(\x04\x12\x16\n\tpay_index\x18\t \x01(\x04H\x03\x88\x01\x01\x12.\n\x14\x61mount_received_msat\x18\n \x01(\x0b\x32\x0b.cln.AmountH\x04\x88\x01\x01\x12\x14\n\x07paid_at\x18\x0b \x01(\x04H\x05\x88\x01\x01\x12\x1d\n\x10payment_preimage\x18\x0c \x01(\x0cH\x06\x88\x01\x01\x12\x1b\n\x0elocal_offer_id\x18\r \x01(\x0cH\x07\x88\x01\x01\x12\x1e\n\x11invreq_payer_note\x18\x0f \x01(\tH\x08\x88\x01\x01\"8\n\x13\x43reateinvoiceStatus\x12\x08\n\x04PAID\x10\x00\x12\x0b\n\x07\x45XPIRED\x10\x01\x12\n\n\x06UNPAID\x10\x02\x42\t\n\x07_bolt11B\t\n\x07_bolt12B\x0e\n\x0c_amount_msatB\x0c\n\n_pay_indexB\x17\n\x15_amount_received_msatB\n\n\x08_paid_atB\x13\n\x11_payment_preimageB\x11\n\x0f_local_offer_idB\x14\n\x12_invreq_payer_note\"\xb4\x02\n\x10\x44\x61tastoreRequest\x12\x0b\n\x03key\x18\x05 \x03(\t\x12\x13\n\x06string\x18\x06 \x01(\tH\x00\x88\x01\x01\x12\x10\n\x03hex\x18\x02 \x01(\x0cH\x01\x88\x01\x01\x12\x36\n\x04mode\x18\x03 \x01(\x0e\x32#.cln.DatastoreRequest.DatastoreModeH\x02\x88\x01\x01\x12\x17\n\ngeneration\x18\x04 \x01(\x04H\x03\x88\x01\x01\"p\n\rDatastoreMode\x12\x0f\n\x0bMUST_CREATE\x10\x00\x12\x10\n\x0cMUST_REPLACE\x10\x01\x12\x15\n\x11\x43REATE_OR_REPLACE\x10\x02\x12\x0f\n\x0bMUST_APPEND\x10\x03\x12\x14\n\x10\x43REATE_OR_APPEND\x10\x04\x42\t\n\x07_stringB\x06\n\x04_hexB\x07\n\x05_modeB\r\n\x0b_generation\"\x82\x01\n\x11\x44\x61tastoreResponse\x12\x0b\n\x03key\x18\x05 \x03(\t\x12\x17\n\ngeneration\x18\x02 \x01(\x04H\x00\x88\x01\x01\x12\x10\n\x03hex\x18\x03 \x01(\x0cH\x01\x88\x01\x01\x12\x13\n\x06string\x18\x04 \x01(\tH\x02\x88\x01\x01\x42\r\n\x0b_generationB\x06\n\x04_hexB\t\n\x07_string\"\x9d\x01\n\x12\x43reateonionRequest\x12\"\n\x04hops\x18\x01 \x03(\x0b\x32\x14.cln.CreateonionHops\x12\x11\n\tassocdata\x18\x02 \x01(\x0c\x12\x18\n\x0bsession_key\x18\x03 \x01(\x0cH\x00\x88\x01\x01\x12\x17\n\nonion_size\x18\x04 \x01(\rH\x01\x88\x01\x01\x42\x0e\n\x0c_session_keyB\r\n\x0b_onion_size\"<\n\x13\x43reateonionResponse\x12\r\n\x05onion\x18\x01 \x01(\x0c\x12\x16\n\x0eshared_secrets\x18\x02 \x03(\x0c\"2\n\x0f\x43reateonionHops\x12\x0e\n\x06pubkey\x18\x01 \x01(\x0c\x12\x0f\n\x07payload\x18\x02 \x01(\x0c\"J\n\x13\x44\x65ldatastoreRequest\x12\x0b\n\x03key\x18\x03 \x03(\t\x12\x17\n\ngeneration\x18\x02 \x01(\x04H\x00\x88\x01\x01\x42\r\n\x0b_generation\"\x85\x01\n\x14\x44\x65ldatastoreResponse\x12\x0b\n\x03key\x18\x05 \x03(\t\x12\x17\n\ngeneration\x18\x02 \x01(\x04H\x00\x88\x01\x01\x12\x10\n\x03hex\x18\x03 \x01(\x0cH\x01\x88\x01\x01\x12\x13\n\x06string\x18\x04 \x01(\tH\x02\x88\x01\x01\x42\r\n\x0b_generationB\x06\n\x04_hexB\t\n\x07_string\"H\n\x18\x44\x65lexpiredinvoiceRequest\x12\x1a\n\rmaxexpirytime\x18\x01 \x01(\x04H\x00\x88\x01\x01\x42\x10\n\x0e_maxexpirytime\"\x1b\n\x19\x44\x65lexpiredinvoiceResponse\"\xb6\x01\n\x11\x44\x65linvoiceRequest\x12\r\n\x05label\x18\x01 \x01(\t\x12\x37\n\x06status\x18\x02 \x01(\x0e\x32\'.cln.DelinvoiceRequest.DelinvoiceStatus\x12\x15\n\x08\x64\x65sconly\x18\x03 \x01(\x08H\x00\x88\x01\x01\"5\n\x10\x44\x65linvoiceStatus\x12\x08\n\x04PAID\x10\x00\x12\x0b\n\x07\x45XPIRED\x10\x01\x12\n\n\x06UNPAID\x10\x02\x42\x0b\n\t_desconly\"\xc5\x03\n\x12\x44\x65linvoiceResponse\x12\r\n\x05label\x18\x01 \x01(\t\x12\x13\n\x06\x62olt11\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x13\n\x06\x62olt12\x18\x03 \x01(\tH\x01\x88\x01\x01\x12%\n\x0b\x61mount_msat\x18\x04 \x01(\x0b\x32\x0b.cln.AmountH\x02\x88\x01\x01\x12\x18\n\x0b\x64\x65scription\x18\x05 \x01(\tH\x03\x88\x01\x01\x12\x14\n\x0cpayment_hash\x18\x06 \x01(\x0c\x12\x38\n\x06status\x18\x07 \x01(\x0e\x32(.cln.DelinvoiceResponse.DelinvoiceStatus\x12\x12\n\nexpires_at\x18\x08 \x01(\x04\x12\x1b\n\x0elocal_offer_id\x18\t \x01(\x0cH\x04\x88\x01\x01\x12\x1e\n\x11invreq_payer_note\x18\x0b \x01(\tH\x05\x88\x01\x01\"5\n\x10\x44\x65linvoiceStatus\x12\x08\n\x04PAID\x10\x00\x12\x0b\n\x07\x45XPIRED\x10\x01\x12\n\n\x06UNPAID\x10\x02\x42\t\n\x07_bolt11B\t\n\x07_bolt12B\x0e\n\x0c_amount_msatB\x0e\n\x0c_descriptionB\x11\n\x0f_local_offer_idB\x14\n\x12_invreq_payer_note\"\xb8\x02\n\x0eInvoiceRequest\x12%\n\x0b\x61mount_msat\x18\n \x01(\x0b\x32\x10.cln.AmountOrAny\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\r\n\x05label\x18\x03 \x01(\t\x12\x13\n\x06\x65xpiry\x18\x07 \x01(\x04H\x00\x88\x01\x01\x12\x11\n\tfallbacks\x18\x04 \x03(\t\x12\x15\n\x08preimage\x18\x05 \x01(\x0cH\x01\x88\x01\x01\x12\"\n\x15\x65xposeprivatechannels\x18\x08 \x01(\x08H\x02\x88\x01\x01\x12\x11\n\x04\x63ltv\x18\x06 \x01(\rH\x03\x88\x01\x01\x12\x19\n\x0c\x64\x65schashonly\x18\t \x01(\x08H\x04\x88\x01\x01\x42\t\n\x07_expiryB\x0b\n\t_preimageB\x18\n\x16_exposeprivatechannelsB\x07\n\x05_cltvB\x0f\n\r_deschashonly\"\xe7\x02\n\x0fInvoiceResponse\x12\x0e\n\x06\x62olt11\x18\x01 \x01(\t\x12\x14\n\x0cpayment_hash\x18\x02 \x01(\x0c\x12\x16\n\x0epayment_secret\x18\x03 \x01(\x0c\x12\x12\n\nexpires_at\x18\x04 \x01(\x04\x12\x1d\n\x10warning_capacity\x18\x05 \x01(\tH\x00\x88\x01\x01\x12\x1c\n\x0fwarning_offline\x18\x06 \x01(\tH\x01\x88\x01\x01\x12\x1d\n\x10warning_deadends\x18\x07 \x01(\tH\x02\x88\x01\x01\x12#\n\x16warning_private_unused\x18\x08 \x01(\tH\x03\x88\x01\x01\x12\x18\n\x0bwarning_mpp\x18\t \x01(\tH\x04\x88\x01\x01\x42\x13\n\x11_warning_capacityB\x12\n\x10_warning_offlineB\x13\n\x11_warning_deadendsB\x19\n\x17_warning_private_unusedB\x0e\n\x0c_warning_mpp\"#\n\x14ListdatastoreRequest\x12\x0b\n\x03key\x18\x02 \x03(\t\"G\n\x15ListdatastoreResponse\x12.\n\tdatastore\x18\x01 \x03(\x0b\x32\x1b.cln.ListdatastoreDatastore\"\x87\x01\n\x16ListdatastoreDatastore\x12\x0b\n\x03key\x18\x01 \x03(\t\x12\x17\n\ngeneration\x18\x02 \x01(\x04H\x00\x88\x01\x01\x12\x10\n\x03hex\x18\x03 \x01(\x0cH\x01\x88\x01\x01\x12\x13\n\x06string\x18\x04 \x01(\tH\x02\x88\x01\x01\x42\r\n\x0b_generationB\x06\n\x04_hexB\t\n\x07_string\"\xa9\x01\n\x13ListinvoicesRequest\x12\x12\n\x05label\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x16\n\tinvstring\x18\x02 \x01(\tH\x01\x88\x01\x01\x12\x19\n\x0cpayment_hash\x18\x03 \x01(\x0cH\x02\x88\x01\x01\x12\x15\n\x08offer_id\x18\x04 \x01(\tH\x03\x88\x01\x01\x42\x08\n\x06_labelB\x0c\n\n_invstringB\x0f\n\r_payment_hashB\x0b\n\t_offer_id\"C\n\x14ListinvoicesResponse\x12+\n\x08invoices\x18\x01 \x03(\x0b\x32\x19.cln.ListinvoicesInvoices\"\xa2\x05\n\x14ListinvoicesInvoices\x12\r\n\x05label\x18\x01 \x01(\t\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x14\n\x0cpayment_hash\x18\x03 \x01(\x0c\x12\x44\n\x06status\x18\x04 \x01(\x0e\x32\x34.cln.ListinvoicesInvoices.ListinvoicesInvoicesStatus\x12\x12\n\nexpires_at\x18\x05 \x01(\x04\x12%\n\x0b\x61mount_msat\x18\x06 \x01(\x0b\x32\x0b.cln.AmountH\x01\x88\x01\x01\x12\x13\n\x06\x62olt11\x18\x07 \x01(\tH\x02\x88\x01\x01\x12\x13\n\x06\x62olt12\x18\x08 \x01(\tH\x03\x88\x01\x01\x12\x1b\n\x0elocal_offer_id\x18\t \x01(\x0cH\x04\x88\x01\x01\x12\x1e\n\x11invreq_payer_note\x18\x0f \x01(\tH\x05\x88\x01\x01\x12\x16\n\tpay_index\x18\x0b \x01(\x04H\x06\x88\x01\x01\x12.\n\x14\x61mount_received_msat\x18\x0c \x01(\x0b\x32\x0b.cln.AmountH\x07\x88\x01\x01\x12\x14\n\x07paid_at\x18\r \x01(\x04H\x08\x88\x01\x01\x12\x1d\n\x10payment_preimage\x18\x0e \x01(\x0cH\t\x88\x01\x01\"?\n\x1aListinvoicesInvoicesStatus\x12\n\n\x06UNPAID\x10\x00\x12\x08\n\x04PAID\x10\x01\x12\x0b\n\x07\x45XPIRED\x10\x02\x42\x0e\n\x0c_descriptionB\x0e\n\x0c_amount_msatB\t\n\x07_bolt11B\t\n\x07_bolt12B\x11\n\x0f_local_offer_idB\x14\n\x12_invreq_payer_noteB\x0c\n\n_pay_indexB\x17\n\x15_amount_received_msatB\n\n\x08_paid_atB\x13\n\x11_payment_preimage\"\x8a\x03\n\x10SendonionRequest\x12\r\n\x05onion\x18\x01 \x01(\x0c\x12*\n\tfirst_hop\x18\x02 \x01(\x0b\x32\x17.cln.SendonionFirst_hop\x12\x14\n\x0cpayment_hash\x18\x03 \x01(\x0c\x12\x12\n\x05label\x18\x04 \x01(\tH\x00\x88\x01\x01\x12\x16\n\x0eshared_secrets\x18\x05 \x03(\x0c\x12\x13\n\x06partid\x18\x06 \x01(\rH\x01\x88\x01\x01\x12\x13\n\x06\x62olt11\x18\x07 \x01(\tH\x02\x88\x01\x01\x12%\n\x0b\x61mount_msat\x18\x0c \x01(\x0b\x32\x0b.cln.AmountH\x03\x88\x01\x01\x12\x18\n\x0b\x64\x65stination\x18\t \x01(\x0cH\x04\x88\x01\x01\x12\x1a\n\rlocalinvreqid\x18\r \x01(\x0cH\x05\x88\x01\x01\x12\x14\n\x07groupid\x18\x0b \x01(\x04H\x06\x88\x01\x01\x42\x08\n\x06_labelB\t\n\x07_partidB\t\n\x07_bolt11B\x0e\n\x0c_amount_msatB\x0e\n\x0c_destinationB\x10\n\x0e_localinvreqidB\n\n\x08_groupid\"\x8b\x04\n\x11SendonionResponse\x12\n\n\x02id\x18\x01 \x01(\x04\x12\x14\n\x0cpayment_hash\x18\x02 \x01(\x0c\x12\x36\n\x06status\x18\x03 \x01(\x0e\x32&.cln.SendonionResponse.SendonionStatus\x12%\n\x0b\x61mount_msat\x18\x04 \x01(\x0b\x32\x0b.cln.AmountH\x00\x88\x01\x01\x12\x18\n\x0b\x64\x65stination\x18\x05 \x01(\x0cH\x01\x88\x01\x01\x12\x12\n\ncreated_at\x18\x06 \x01(\x04\x12%\n\x10\x61mount_sent_msat\x18\x07 \x01(\x0b\x32\x0b.cln.Amount\x12\x12\n\x05label\x18\x08 \x01(\tH\x02\x88\x01\x01\x12\x13\n\x06\x62olt11\x18\t \x01(\tH\x03\x88\x01\x01\x12\x13\n\x06\x62olt12\x18\n \x01(\tH\x04\x88\x01\x01\x12\x13\n\x06partid\x18\r \x01(\x04H\x05\x88\x01\x01\x12\x1d\n\x10payment_preimage\x18\x0b \x01(\x0cH\x06\x88\x01\x01\x12\x14\n\x07message\x18\x0c \x01(\tH\x07\x88\x01\x01\",\n\x0fSendonionStatus\x12\x0b\n\x07PENDING\x10\x00\x12\x0c\n\x08\x43OMPLETE\x10\x01\x42\x0e\n\x0c_amount_msatB\x0e\n\x0c_destinationB\x08\n\x06_labelB\t\n\x07_bolt11B\t\n\x07_bolt12B\t\n\x07_partidB\x13\n\x11_payment_preimageB\n\n\x08_message\"Q\n\x12SendonionFirst_hop\x12\n\n\x02id\x18\x01 \x01(\x0c\x12 \n\x0b\x61mount_msat\x18\x02 \x01(\x0b\x32\x0b.cln.Amount\x12\r\n\x05\x64\x65lay\x18\x03 \x01(\r\"\xeb\x01\n\x13ListsendpaysRequest\x12\x13\n\x06\x62olt11\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x19\n\x0cpayment_hash\x18\x02 \x01(\x0cH\x01\x88\x01\x01\x12@\n\x06status\x18\x03 \x01(\x0e\x32+.cln.ListsendpaysRequest.ListsendpaysStatusH\x02\x88\x01\x01\";\n\x12ListsendpaysStatus\x12\x0b\n\x07PENDING\x10\x00\x12\x0c\n\x08\x43OMPLETE\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\x42\t\n\x07_bolt11B\x0f\n\r_payment_hashB\t\n\x07_status\"C\n\x14ListsendpaysResponse\x12+\n\x08payments\x18\x01 \x03(\x0b\x32\x19.cln.ListsendpaysPayments\"\xf4\x04\n\x14ListsendpaysPayments\x12\n\n\x02id\x18\x01 \x01(\x04\x12\x0f\n\x07groupid\x18\x02 \x01(\x04\x12\x13\n\x06partid\x18\x0f \x01(\x04H\x00\x88\x01\x01\x12\x14\n\x0cpayment_hash\x18\x03 \x01(\x0c\x12\x44\n\x06status\x18\x04 \x01(\x0e\x32\x34.cln.ListsendpaysPayments.ListsendpaysPaymentsStatus\x12%\n\x0b\x61mount_msat\x18\x05 \x01(\x0b\x32\x0b.cln.AmountH\x01\x88\x01\x01\x12\x18\n\x0b\x64\x65stination\x18\x06 \x01(\x0cH\x02\x88\x01\x01\x12\x12\n\ncreated_at\x18\x07 \x01(\x04\x12%\n\x10\x61mount_sent_msat\x18\x08 \x01(\x0b\x32\x0b.cln.Amount\x12\x12\n\x05label\x18\t \x01(\tH\x03\x88\x01\x01\x12\x13\n\x06\x62olt11\x18\n \x01(\tH\x04\x88\x01\x01\x12\x18\n\x0b\x64\x65scription\x18\x0e \x01(\tH\x05\x88\x01\x01\x12\x13\n\x06\x62olt12\x18\x0b \x01(\tH\x06\x88\x01\x01\x12\x1d\n\x10payment_preimage\x18\x0c \x01(\x0cH\x07\x88\x01\x01\x12\x17\n\nerroronion\x18\r \x01(\x0cH\x08\x88\x01\x01\"C\n\x1aListsendpaysPaymentsStatus\x12\x0b\n\x07PENDING\x10\x00\x12\n\n\x06\x46\x41ILED\x10\x01\x12\x0c\n\x08\x43OMPLETE\x10\x02\x42\t\n\x07_partidB\x0e\n\x0c_amount_msatB\x0e\n\x0c_destinationB\x08\n\x06_labelB\t\n\x07_bolt11B\x0e\n\x0c_descriptionB\t\n\x07_bolt12B\x13\n\x11_payment_preimageB\r\n\x0b_erroronion\"\x19\n\x17ListtransactionsRequest\"S\n\x18ListtransactionsResponse\x12\x37\n\x0ctransactions\x18\x01 \x03(\x0b\x32!.cln.ListtransactionsTransactions\"\xf8\x01\n\x1cListtransactionsTransactions\x12\x0c\n\x04hash\x18\x01 \x01(\x0c\x12\r\n\x05rawtx\x18\x02 \x01(\x0c\x12\x13\n\x0b\x62lockheight\x18\x03 \x01(\r\x12\x0f\n\x07txindex\x18\x04 \x01(\r\x12\x10\n\x08locktime\x18\x07 \x01(\r\x12\x0f\n\x07version\x18\x08 \x01(\r\x12\x37\n\x06inputs\x18\t \x03(\x0b\x32\'.cln.ListtransactionsTransactionsInputs\x12\x39\n\x07outputs\x18\n \x03(\x0b\x32(.cln.ListtransactionsTransactionsOutputs\"\x84\x04\n\"ListtransactionsTransactionsInputs\x12\x0c\n\x04txid\x18\x01 \x01(\x0c\x12\r\n\x05index\x18\x02 \x01(\r\x12\x10\n\x08sequence\x18\x03 \x01(\r\x12\x66\n\titem_type\x18\x04 \x01(\x0e\x32N.cln.ListtransactionsTransactionsInputs.ListtransactionsTransactionsInputsTypeH\x00\x88\x01\x01\x12\x14\n\x07\x63hannel\x18\x05 \x01(\tH\x01\x88\x01\x01\"\x96\x02\n&ListtransactionsTransactionsInputsType\x12\n\n\x06THEIRS\x10\x00\x12\x0b\n\x07\x44\x45POSIT\x10\x01\x12\x0c\n\x08WITHDRAW\x10\x02\x12\x13\n\x0f\x43HANNEL_FUNDING\x10\x03\x12\x18\n\x14\x43HANNEL_MUTUAL_CLOSE\x10\x04\x12\x1c\n\x18\x43HANNEL_UNILATERAL_CLOSE\x10\x05\x12\x11\n\rCHANNEL_SWEEP\x10\x06\x12\x18\n\x14\x43HANNEL_HTLC_SUCCESS\x10\x07\x12\x18\n\x14\x43HANNEL_HTLC_TIMEOUT\x10\x08\x12\x13\n\x0f\x43HANNEL_PENALTY\x10\t\x12\x1c\n\x18\x43HANNEL_UNILATERAL_CHEAT\x10\nB\x0c\n\n_item_typeB\n\n\x08_channel\"\xa0\x04\n#ListtransactionsTransactionsOutputs\x12\r\n\x05index\x18\x01 \x01(\r\x12 \n\x0b\x61mount_msat\x18\x06 \x01(\x0b\x32\x0b.cln.Amount\x12\x14\n\x0cscriptPubKey\x18\x03 \x01(\x0c\x12h\n\titem_type\x18\x04 \x01(\x0e\x32P.cln.ListtransactionsTransactionsOutputs.ListtransactionsTransactionsOutputsTypeH\x00\x88\x01\x01\x12\x14\n\x07\x63hannel\x18\x05 \x01(\tH\x01\x88\x01\x01\"\x97\x02\n\'ListtransactionsTransactionsOutputsType\x12\n\n\x06THEIRS\x10\x00\x12\x0b\n\x07\x44\x45POSIT\x10\x01\x12\x0c\n\x08WITHDRAW\x10\x02\x12\x13\n\x0f\x43HANNEL_FUNDING\x10\x03\x12\x18\n\x14\x43HANNEL_MUTUAL_CLOSE\x10\x04\x12\x1c\n\x18\x43HANNEL_UNILATERAL_CLOSE\x10\x05\x12\x11\n\rCHANNEL_SWEEP\x10\x06\x12\x18\n\x14\x43HANNEL_HTLC_SUCCESS\x10\x07\x12\x18\n\x14\x43HANNEL_HTLC_TIMEOUT\x10\x08\x12\x13\n\x0f\x43HANNEL_PENALTY\x10\t\x12\x1c\n\x18\x43HANNEL_UNILATERAL_CHEAT\x10\nB\x0c\n\n_item_typeB\n\n\x08_channel\"\xda\x03\n\nPayRequest\x12\x0e\n\x06\x62olt11\x18\x01 \x01(\t\x12%\n\x0b\x61mount_msat\x18\r \x01(\x0b\x32\x0b.cln.AmountH\x00\x88\x01\x01\x12\x12\n\x05label\x18\x03 \x01(\tH\x01\x88\x01\x01\x12\x17\n\nriskfactor\x18\x08 \x01(\x01H\x02\x88\x01\x01\x12\x1a\n\rmaxfeepercent\x18\x04 \x01(\x01H\x03\x88\x01\x01\x12\x16\n\tretry_for\x18\x05 \x01(\rH\x04\x88\x01\x01\x12\x15\n\x08maxdelay\x18\x06 \x01(\rH\x05\x88\x01\x01\x12#\n\texemptfee\x18\x07 \x01(\x0b\x32\x0b.cln.AmountH\x06\x88\x01\x01\x12\x1a\n\rlocalinvreqid\x18\x0e \x01(\x0cH\x07\x88\x01\x01\x12\x0f\n\x07\x65xclude\x18\n \x03(\t\x12 \n\x06maxfee\x18\x0b \x01(\x0b\x32\x0b.cln.AmountH\x08\x88\x01\x01\x12\x18\n\x0b\x64\x65scription\x18\x0c \x01(\tH\t\x88\x01\x01\x42\x0e\n\x0c_amount_msatB\x08\n\x06_labelB\r\n\x0b_riskfactorB\x10\n\x0e_maxfeepercentB\x0c\n\n_retry_forB\x0b\n\t_maxdelayB\x0c\n\n_exemptfeeB\x10\n\x0e_localinvreqidB\t\n\x07_maxfeeB\x0e\n\x0c_description\"\xfb\x02\n\x0bPayResponse\x12\x18\n\x10payment_preimage\x18\x01 \x01(\x0c\x12\x18\n\x0b\x64\x65stination\x18\x02 \x01(\x0cH\x00\x88\x01\x01\x12\x14\n\x0cpayment_hash\x18\x03 \x01(\x0c\x12\x12\n\ncreated_at\x18\x04 \x01(\x01\x12\r\n\x05parts\x18\x05 \x01(\r\x12 \n\x0b\x61mount_msat\x18\x06 \x01(\x0b\x32\x0b.cln.Amount\x12%\n\x10\x61mount_sent_msat\x18\x07 \x01(\x0b\x32\x0b.cln.Amount\x12\'\n\x1awarning_partial_completion\x18\x08 \x01(\tH\x01\x88\x01\x01\x12*\n\x06status\x18\t \x01(\x0e\x32\x1a.cln.PayResponse.PayStatus\"2\n\tPayStatus\x12\x0c\n\x08\x43OMPLETE\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\x42\x0e\n\x0c_destinationB\x1d\n\x1b_warning_partial_completion\"*\n\x10ListnodesRequest\x12\x0f\n\x02id\x18\x01 \x01(\x0cH\x00\x88\x01\x01\x42\x05\n\x03_id\"7\n\x11ListnodesResponse\x12\"\n\x05nodes\x18\x01 \x03(\x0b\x32\x13.cln.ListnodesNodes\"\xe1\x01\n\x0eListnodesNodes\x12\x0e\n\x06nodeid\x18\x01 \x01(\x0c\x12\x1b\n\x0elast_timestamp\x18\x02 \x01(\rH\x00\x88\x01\x01\x12\x12\n\x05\x61lias\x18\x03 \x01(\tH\x01\x88\x01\x01\x12\x12\n\x05\x63olor\x18\x04 \x01(\x0cH\x02\x88\x01\x01\x12\x15\n\x08\x66\x65\x61tures\x18\x05 \x01(\x0cH\x03\x88\x01\x01\x12/\n\taddresses\x18\x06 \x03(\x0b\x32\x1c.cln.ListnodesNodesAddressesB\x11\n\x0f_last_timestampB\x08\n\x06_aliasB\x08\n\x06_colorB\x0b\n\t_features\"\xf7\x01\n\x17ListnodesNodesAddresses\x12K\n\titem_type\x18\x01 \x01(\x0e\x32\x38.cln.ListnodesNodesAddresses.ListnodesNodesAddressesType\x12\x0c\n\x04port\x18\x02 \x01(\r\x12\x14\n\x07\x61\x64\x64ress\x18\x03 \x01(\tH\x00\x88\x01\x01\"_\n\x1bListnodesNodesAddressesType\x12\x07\n\x03\x44NS\x10\x00\x12\x08\n\x04IPV4\x10\x01\x12\x08\n\x04IPV6\x10\x02\x12\t\n\x05TORV2\x10\x03\x12\t\n\x05TORV3\x10\x04\x12\r\n\tWEBSOCKET\x10\x05\x42\n\n\x08_address\"g\n\x15WaitanyinvoiceRequest\x12\x1a\n\rlastpay_index\x18\x01 \x01(\x04H\x00\x88\x01\x01\x12\x14\n\x07timeout\x18\x02 \x01(\x04H\x01\x88\x01\x01\x42\x10\n\x0e_lastpay_indexB\n\n\x08_timeout\"\x93\x04\n\x16WaitanyinvoiceResponse\x12\r\n\x05label\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x14\n\x0cpayment_hash\x18\x03 \x01(\x0c\x12@\n\x06status\x18\x04 \x01(\x0e\x32\x30.cln.WaitanyinvoiceResponse.WaitanyinvoiceStatus\x12\x12\n\nexpires_at\x18\x05 \x01(\x04\x12%\n\x0b\x61mount_msat\x18\x06 \x01(\x0b\x32\x0b.cln.AmountH\x00\x88\x01\x01\x12\x13\n\x06\x62olt11\x18\x07 \x01(\tH\x01\x88\x01\x01\x12\x13\n\x06\x62olt12\x18\x08 \x01(\tH\x02\x88\x01\x01\x12\x16\n\tpay_index\x18\t \x01(\x04H\x03\x88\x01\x01\x12.\n\x14\x61mount_received_msat\x18\n \x01(\x0b\x32\x0b.cln.AmountH\x04\x88\x01\x01\x12\x14\n\x07paid_at\x18\x0b \x01(\x04H\x05\x88\x01\x01\x12\x1d\n\x10payment_preimage\x18\x0c \x01(\x0cH\x06\x88\x01\x01\"-\n\x14WaitanyinvoiceStatus\x12\x08\n\x04PAID\x10\x00\x12\x0b\n\x07\x45XPIRED\x10\x01\x42\x0e\n\x0c_amount_msatB\t\n\x07_bolt11B\t\n\x07_bolt12B\x0c\n\n_pay_indexB\x17\n\x15_amount_received_msatB\n\n\x08_paid_atB\x13\n\x11_payment_preimage\"#\n\x12WaitinvoiceRequest\x12\r\n\x05label\x18\x01 \x01(\t\"\x87\x04\n\x13WaitinvoiceResponse\x12\r\n\x05label\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x14\n\x0cpayment_hash\x18\x03 \x01(\x0c\x12:\n\x06status\x18\x04 \x01(\x0e\x32*.cln.WaitinvoiceResponse.WaitinvoiceStatus\x12\x12\n\nexpires_at\x18\x05 \x01(\x04\x12%\n\x0b\x61mount_msat\x18\x06 \x01(\x0b\x32\x0b.cln.AmountH\x00\x88\x01\x01\x12\x13\n\x06\x62olt11\x18\x07 \x01(\tH\x01\x88\x01\x01\x12\x13\n\x06\x62olt12\x18\x08 \x01(\tH\x02\x88\x01\x01\x12\x16\n\tpay_index\x18\t \x01(\x04H\x03\x88\x01\x01\x12.\n\x14\x61mount_received_msat\x18\n \x01(\x0b\x32\x0b.cln.AmountH\x04\x88\x01\x01\x12\x14\n\x07paid_at\x18\x0b \x01(\x04H\x05\x88\x01\x01\x12\x1d\n\x10payment_preimage\x18\x0c \x01(\x0cH\x06\x88\x01\x01\"*\n\x11WaitinvoiceStatus\x12\x08\n\x04PAID\x10\x00\x12\x0b\n\x07\x45XPIRED\x10\x01\x42\x0e\n\x0c_amount_msatB\t\n\x07_bolt11B\t\n\x07_bolt12B\x0c\n\n_pay_indexB\x17\n\x15_amount_received_msatB\n\n\x08_paid_atB\x13\n\x11_payment_preimage\"\x8e\x01\n\x12WaitsendpayRequest\x12\x14\n\x0cpayment_hash\x18\x01 \x01(\x0c\x12\x14\n\x07timeout\x18\x03 \x01(\rH\x00\x88\x01\x01\x12\x13\n\x06partid\x18\x02 \x01(\x04H\x01\x88\x01\x01\x12\x14\n\x07groupid\x18\x04 \x01(\x04H\x02\x88\x01\x01\x42\n\n\x08_timeoutB\t\n\x07_partidB\n\n\x08_groupid\"\xb2\x04\n\x13WaitsendpayResponse\x12\n\n\x02id\x18\x01 \x01(\x04\x12\x14\n\x07groupid\x18\x02 \x01(\x04H\x00\x88\x01\x01\x12\x14\n\x0cpayment_hash\x18\x03 \x01(\x0c\x12:\n\x06status\x18\x04 \x01(\x0e\x32*.cln.WaitsendpayResponse.WaitsendpayStatus\x12%\n\x0b\x61mount_msat\x18\x05 \x01(\x0b\x32\x0b.cln.AmountH\x01\x88\x01\x01\x12\x18\n\x0b\x64\x65stination\x18\x06 \x01(\x0cH\x02\x88\x01\x01\x12\x12\n\ncreated_at\x18\x07 \x01(\x04\x12\x19\n\x0c\x63ompleted_at\x18\x0e \x01(\x01H\x03\x88\x01\x01\x12%\n\x10\x61mount_sent_msat\x18\x08 \x01(\x0b\x32\x0b.cln.Amount\x12\x12\n\x05label\x18\t \x01(\tH\x04\x88\x01\x01\x12\x13\n\x06partid\x18\n \x01(\x04H\x05\x88\x01\x01\x12\x13\n\x06\x62olt11\x18\x0b \x01(\tH\x06\x88\x01\x01\x12\x13\n\x06\x62olt12\x18\x0c \x01(\tH\x07\x88\x01\x01\x12\x1d\n\x10payment_preimage\x18\r \x01(\x0cH\x08\x88\x01\x01\"!\n\x11WaitsendpayStatus\x12\x0c\n\x08\x43OMPLETE\x10\x00\x42\n\n\x08_groupidB\x0e\n\x0c_amount_msatB\x0e\n\x0c_destinationB\x0f\n\r_completed_atB\x08\n\x06_labelB\t\n\x07_partidB\t\n\x07_bolt11B\t\n\x07_bolt12B\x13\n\x11_payment_preimage\"\x8d\x01\n\x0eNewaddrRequest\x12@\n\x0b\x61\x64\x64resstype\x18\x01 \x01(\x0e\x32&.cln.NewaddrRequest.NewaddrAddresstypeH\x00\x88\x01\x01\")\n\x12NewaddrAddresstype\x12\n\n\x06\x42\x45\x43H32\x10\x00\x12\x07\n\x03\x41LL\x10\x02\x42\x0e\n\x0c_addresstype\"[\n\x0fNewaddrResponse\x12\x13\n\x06\x62\x65\x63h32\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x18\n\x0bp2sh_segwit\x18\x02 \x01(\tH\x01\x88\x01\x01\x42\t\n\x07_bech32B\x0e\n\x0c_p2sh_segwit\"\xca\x01\n\x0fWithdrawRequest\x12\x13\n\x0b\x64\x65stination\x18\x01 \x01(\t\x12&\n\x07satoshi\x18\x02 \x01(\x0b\x32\x10.cln.AmountOrAllH\x00\x88\x01\x01\x12\"\n\x07\x66\x65\x65rate\x18\x05 \x01(\x0b\x32\x0c.cln.FeerateH\x01\x88\x01\x01\x12\x14\n\x07minconf\x18\x03 \x01(\rH\x02\x88\x01\x01\x12\x1c\n\x05utxos\x18\x04 \x03(\x0b\x32\r.cln.OutpointB\n\n\x08_satoshiB\n\n\x08_feerateB\n\n\x08_minconf\":\n\x10WithdrawResponse\x12\n\n\x02tx\x18\x01 \x01(\x0c\x12\x0c\n\x04txid\x18\x02 \x01(\x0c\x12\x0c\n\x04psbt\x18\x03 \x01(\t\"\x82\x03\n\x0eKeysendRequest\x12\x13\n\x0b\x64\x65stination\x18\x01 \x01(\x0c\x12 \n\x0b\x61mount_msat\x18\n \x01(\x0b\x32\x0b.cln.Amount\x12\x12\n\x05label\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x1a\n\rmaxfeepercent\x18\x04 \x01(\x01H\x01\x88\x01\x01\x12\x16\n\tretry_for\x18\x05 \x01(\rH\x02\x88\x01\x01\x12\x15\n\x08maxdelay\x18\x06 \x01(\rH\x03\x88\x01\x01\x12#\n\texemptfee\x18\x07 \x01(\x0b\x32\x0b.cln.AmountH\x04\x88\x01\x01\x12+\n\nroutehints\x18\x08 \x01(\x0b\x32\x12.cln.RoutehintListH\x05\x88\x01\x01\x12&\n\textratlvs\x18\t \x01(\x0b\x32\x0e.cln.TlvStreamH\x06\x88\x01\x01\x42\x08\n\x06_labelB\x10\n\x0e_maxfeepercentB\x0c\n\n_retry_forB\x0b\n\t_maxdelayB\x0c\n\n_exemptfeeB\r\n\x0b_routehintsB\x0c\n\n_extratlvs\"\xf2\x02\n\x0fKeysendResponse\x12\x18\n\x10payment_preimage\x18\x01 \x01(\x0c\x12\x18\n\x0b\x64\x65stination\x18\x02 \x01(\x0cH\x00\x88\x01\x01\x12\x14\n\x0cpayment_hash\x18\x03 \x01(\x0c\x12\x12\n\ncreated_at\x18\x04 \x01(\x01\x12\r\n\x05parts\x18\x05 \x01(\r\x12 \n\x0b\x61mount_msat\x18\x06 \x01(\x0b\x32\x0b.cln.Amount\x12%\n\x10\x61mount_sent_msat\x18\x07 \x01(\x0b\x32\x0b.cln.Amount\x12\'\n\x1awarning_partial_completion\x18\x08 \x01(\tH\x01\x88\x01\x01\x12\x32\n\x06status\x18\t \x01(\x0e\x32\".cln.KeysendResponse.KeysendStatus\"\x1d\n\rKeysendStatus\x12\x0c\n\x08\x43OMPLETE\x10\x00\x42\x0e\n\x0c_destinationB\x1d\n\x1b_warning_partial_completion\"\xbc\x02\n\x0f\x46undpsbtRequest\x12!\n\x07satoshi\x18\x01 \x01(\x0b\x32\x10.cln.AmountOrAll\x12\x1d\n\x07\x66\x65\x65rate\x18\x02 \x01(\x0b\x32\x0c.cln.Feerate\x12\x13\n\x0bstartweight\x18\x03 \x01(\r\x12\x14\n\x07minconf\x18\x04 \x01(\rH\x00\x88\x01\x01\x12\x14\n\x07reserve\x18\x05 \x01(\rH\x01\x88\x01\x01\x12\x15\n\x08locktime\x18\x06 \x01(\rH\x02\x88\x01\x01\x12\x1f\n\x12min_witness_weight\x18\x07 \x01(\rH\x03\x88\x01\x01\x12\x1d\n\x10\x65xcess_as_change\x18\x08 \x01(\x08H\x04\x88\x01\x01\x42\n\n\x08_minconfB\n\n\x08_reserveB\x0b\n\t_locktimeB\x15\n\x13_min_witness_weightB\x13\n\x11_excess_as_change\"\xd9\x01\n\x10\x46undpsbtResponse\x12\x0c\n\x04psbt\x18\x01 \x01(\t\x12\x16\n\x0e\x66\x65\x65rate_per_kw\x18\x02 \x01(\r\x12\x1e\n\x16\x65stimated_final_weight\x18\x03 \x01(\r\x12 \n\x0b\x65xcess_msat\x18\x04 \x01(\x0b\x32\x0b.cln.Amount\x12\x1a\n\rchange_outnum\x18\x05 \x01(\rH\x00\x88\x01\x01\x12/\n\x0creservations\x18\x06 \x03(\x0b\x32\x19.cln.FundpsbtReservationsB\x10\n\x0e_change_outnum\"u\n\x14\x46undpsbtReservations\x12\x0c\n\x04txid\x18\x01 \x01(\x0c\x12\x0c\n\x04vout\x18\x02 \x01(\r\x12\x14\n\x0cwas_reserved\x18\x03 \x01(\x08\x12\x10\n\x08reserved\x18\x04 \x01(\x08\x12\x19\n\x11reserved_to_block\x18\x05 \x01(\r\"A\n\x0fSendpsbtRequest\x12\x0c\n\x04psbt\x18\x01 \x01(\t\x12\x14\n\x07reserve\x18\x02 \x01(\x08H\x00\x88\x01\x01\x42\n\n\x08_reserve\",\n\x10SendpsbtResponse\x12\n\n\x02tx\x18\x01 \x01(\x0c\x12\x0c\n\x04txid\x18\x02 \x01(\x0c\"1\n\x0fSignpsbtRequest\x12\x0c\n\x04psbt\x18\x01 \x01(\t\x12\x10\n\x08signonly\x18\x02 \x03(\r\"\'\n\x10SignpsbtResponse\x12\x13\n\x0bsigned_psbt\x18\x01 \x01(\t\"\xdb\x02\n\x0fUtxopsbtRequest\x12\x1c\n\x07satoshi\x18\x01 \x01(\x0b\x32\x0b.cln.Amount\x12\x1d\n\x07\x66\x65\x65rate\x18\x02 \x01(\x0b\x32\x0c.cln.Feerate\x12\x13\n\x0bstartweight\x18\x03 \x01(\r\x12\x1c\n\x05utxos\x18\x04 \x03(\x0b\x32\r.cln.Outpoint\x12\x14\n\x07reserve\x18\x05 \x01(\rH\x00\x88\x01\x01\x12\x17\n\nreservedok\x18\x08 \x01(\x08H\x01\x88\x01\x01\x12\x15\n\x08locktime\x18\x06 \x01(\rH\x02\x88\x01\x01\x12\x1f\n\x12min_witness_weight\x18\x07 \x01(\rH\x03\x88\x01\x01\x12\x1d\n\x10\x65xcess_as_change\x18\t \x01(\x08H\x04\x88\x01\x01\x42\n\n\x08_reserveB\r\n\x0b_reservedokB\x0b\n\t_locktimeB\x15\n\x13_min_witness_weightB\x13\n\x11_excess_as_change\"\xd9\x01\n\x10UtxopsbtResponse\x12\x0c\n\x04psbt\x18\x01 \x01(\t\x12\x16\n\x0e\x66\x65\x65rate_per_kw\x18\x02 \x01(\r\x12\x1e\n\x16\x65stimated_final_weight\x18\x03 \x01(\r\x12 \n\x0b\x65xcess_msat\x18\x04 \x01(\x0b\x32\x0b.cln.Amount\x12\x1a\n\rchange_outnum\x18\x05 \x01(\rH\x00\x88\x01\x01\x12/\n\x0creservations\x18\x06 \x03(\x0b\x32\x19.cln.UtxopsbtReservationsB\x10\n\x0e_change_outnum\"u\n\x14UtxopsbtReservations\x12\x0c\n\x04txid\x18\x01 \x01(\x0c\x12\x0c\n\x04vout\x18\x02 \x01(\r\x12\x14\n\x0cwas_reserved\x18\x03 \x01(\x08\x12\x10\n\x08reserved\x18\x04 \x01(\x08\x12\x19\n\x11reserved_to_block\x18\x05 \x01(\r\" \n\x10TxdiscardRequest\x12\x0c\n\x04txid\x18\x01 \x01(\x0c\"6\n\x11TxdiscardResponse\x12\x13\n\x0bunsigned_tx\x18\x01 \x01(\x0c\x12\x0c\n\x04txid\x18\x02 \x01(\x0c\"\xa4\x01\n\x10TxprepareRequest\x12 \n\x07outputs\x18\x05 \x03(\x0b\x32\x0f.cln.OutputDesc\x12\"\n\x07\x66\x65\x65rate\x18\x02 \x01(\x0b\x32\x0c.cln.FeerateH\x00\x88\x01\x01\x12\x14\n\x07minconf\x18\x03 \x01(\rH\x01\x88\x01\x01\x12\x1c\n\x05utxos\x18\x04 \x03(\x0b\x32\r.cln.OutpointB\n\n\x08_feerateB\n\n\x08_minconf\"D\n\x11TxprepareResponse\x12\x0c\n\x04psbt\x18\x01 \x01(\t\x12\x13\n\x0bunsigned_tx\x18\x02 \x01(\x0c\x12\x0c\n\x04txid\x18\x03 \x01(\x0c\"\x1d\n\rTxsendRequest\x12\x0c\n\x04txid\x18\x01 \x01(\x0c\"8\n\x0eTxsendResponse\x12\x0c\n\x04psbt\x18\x01 \x01(\t\x12\n\n\x02tx\x18\x02 \x01(\x0c\x12\x0c\n\x04txid\x18\x03 \x01(\x0c\"=\n\x11\x44isconnectRequest\x12\n\n\x02id\x18\x01 \x01(\x0c\x12\x12\n\x05\x66orce\x18\x02 \x01(\x08H\x00\x88\x01\x01\x42\x08\n\x06_force\"\x14\n\x12\x44isconnectResponse\"k\n\x0f\x46\x65\x65ratesRequest\x12\x31\n\x05style\x18\x01 \x01(\x0e\x32\".cln.FeeratesRequest.FeeratesStyle\"%\n\rFeeratesStyle\x12\t\n\x05PERKB\x10\x00\x12\t\n\x05PERKW\x10\x01\"\x9c\x02\n\x10\x46\x65\x65ratesResponse\x12%\n\x18warning_missing_feerates\x18\x01 \x01(\tH\x00\x88\x01\x01\x12&\n\x05perkb\x18\x02 \x01(\x0b\x32\x12.cln.FeeratesPerkbH\x01\x88\x01\x01\x12&\n\x05perkw\x18\x03 \x01(\x0b\x32\x12.cln.FeeratesPerkwH\x02\x88\x01\x01\x12\x46\n\x15onchain_fee_estimates\x18\x04 \x01(\x0b\x32\".cln.FeeratesOnchain_fee_estimatesH\x03\x88\x01\x01\x42\x1b\n\x19_warning_missing_feeratesB\x08\n\x06_perkbB\x08\n\x06_perkwB\x18\n\x16_onchain_fee_estimates\"\xc3\x02\n\rFeeratesPerkb\x12\x16\n\x0emin_acceptable\x18\x01 \x01(\r\x12\x16\n\x0emax_acceptable\x18\x02 \x01(\r\x12\x14\n\x07opening\x18\x03 \x01(\rH\x00\x88\x01\x01\x12\x19\n\x0cmutual_close\x18\x04 \x01(\rH\x01\x88\x01\x01\x12\x1d\n\x10unilateral_close\x18\x05 \x01(\rH\x02\x88\x01\x01\x12\x1a\n\rdelayed_to_us\x18\x06 \x01(\rH\x03\x88\x01\x01\x12\x1c\n\x0fhtlc_resolution\x18\x07 \x01(\rH\x04\x88\x01\x01\x12\x14\n\x07penalty\x18\x08 \x01(\rH\x05\x88\x01\x01\x42\n\n\x08_openingB\x0f\n\r_mutual_closeB\x13\n\x11_unilateral_closeB\x10\n\x0e_delayed_to_usB\x12\n\x10_htlc_resolutionB\n\n\x08_penalty\"\xc3\x02\n\rFeeratesPerkw\x12\x16\n\x0emin_acceptable\x18\x01 \x01(\r\x12\x16\n\x0emax_acceptable\x18\x02 \x01(\r\x12\x14\n\x07opening\x18\x03 \x01(\rH\x00\x88\x01\x01\x12\x19\n\x0cmutual_close\x18\x04 \x01(\rH\x01\x88\x01\x01\x12\x1d\n\x10unilateral_close\x18\x05 \x01(\rH\x02\x88\x01\x01\x12\x1a\n\rdelayed_to_us\x18\x06 \x01(\rH\x03\x88\x01\x01\x12\x1c\n\x0fhtlc_resolution\x18\x07 \x01(\rH\x04\x88\x01\x01\x12\x14\n\x07penalty\x18\x08 \x01(\rH\x05\x88\x01\x01\x42\n\n\x08_openingB\x0f\n\r_mutual_closeB\x13\n\x11_unilateral_closeB\x10\n\x0e_delayed_to_usB\x12\n\x10_htlc_resolutionB\n\n\x08_penalty\"\xc1\x01\n\x1d\x46\x65\x65ratesOnchain_fee_estimates\x12 \n\x18opening_channel_satoshis\x18\x01 \x01(\x04\x12\x1d\n\x15mutual_close_satoshis\x18\x02 \x01(\x04\x12!\n\x19unilateral_close_satoshis\x18\x03 \x01(\x04\x12\x1d\n\x15htlc_timeout_satoshis\x18\x04 \x01(\x04\x12\x1d\n\x15htlc_success_satoshis\x18\x05 \x01(\x04\"\xe5\x03\n\x12\x46undchannelRequest\x12\n\n\x02id\x18\t \x01(\x0c\x12 \n\x06\x61mount\x18\x01 \x01(\x0b\x32\x10.cln.AmountOrAll\x12\"\n\x07\x66\x65\x65rate\x18\x02 \x01(\x0b\x32\x0c.cln.FeerateH\x00\x88\x01\x01\x12\x15\n\x08\x61nnounce\x18\x03 \x01(\x08H\x01\x88\x01\x01\x12\x14\n\x07minconf\x18\n \x01(\rH\x02\x88\x01\x01\x12#\n\tpush_msat\x18\x05 \x01(\x0b\x32\x0b.cln.AmountH\x03\x88\x01\x01\x12\x15\n\x08\x63lose_to\x18\x06 \x01(\tH\x04\x88\x01\x01\x12%\n\x0brequest_amt\x18\x07 \x01(\x0b\x32\x0b.cln.AmountH\x05\x88\x01\x01\x12\x1a\n\rcompact_lease\x18\x08 \x01(\tH\x06\x88\x01\x01\x12\x1c\n\x05utxos\x18\x0b \x03(\x0b\x32\r.cln.Outpoint\x12\x15\n\x08mindepth\x18\x0c \x01(\rH\x07\x88\x01\x01\x12!\n\x07reserve\x18\r \x01(\x0b\x32\x0b.cln.AmountH\x08\x88\x01\x01\x42\n\n\x08_feerateB\x0b\n\t_announceB\n\n\x08_minconfB\x0c\n\n_push_msatB\x0b\n\t_close_toB\x0e\n\x0c_request_amtB\x10\n\x0e_compact_leaseB\x0b\n\t_mindepthB\n\n\x08_reserve\"\x9b\x01\n\x13\x46undchannelResponse\x12\n\n\x02tx\x18\x01 \x01(\x0c\x12\x0c\n\x04txid\x18\x02 \x01(\x0c\x12\x0e\n\x06outnum\x18\x03 \x01(\r\x12\x12\n\nchannel_id\x18\x04 \x01(\x0c\x12\x15\n\x08\x63lose_to\x18\x05 \x01(\x0cH\x00\x88\x01\x01\x12\x15\n\x08mindepth\x18\x06 \x01(\rH\x01\x88\x01\x01\x42\x0b\n\t_close_toB\x0b\n\t_mindepth\"\xec\x01\n\x0fGetrouteRequest\x12\n\n\x02id\x18\x01 \x01(\x0c\x12 \n\x0b\x61mount_msat\x18\t \x01(\x0b\x32\x0b.cln.Amount\x12\x12\n\nriskfactor\x18\x03 \x01(\x04\x12\x11\n\x04\x63ltv\x18\x04 \x01(\x01H\x00\x88\x01\x01\x12\x13\n\x06\x66romid\x18\x05 \x01(\x0cH\x01\x88\x01\x01\x12\x18\n\x0b\x66uzzpercent\x18\x06 \x01(\rH\x02\x88\x01\x01\x12\x0f\n\x07\x65xclude\x18\x07 \x03(\t\x12\x14\n\x07maxhops\x18\x08 \x01(\rH\x03\x88\x01\x01\x42\x07\n\x05_cltvB\t\n\x07_fromidB\x0e\n\x0c_fuzzpercentB\n\n\x08_maxhops\"5\n\x10GetrouteResponse\x12!\n\x05route\x18\x01 \x03(\x0b\x32\x12.cln.GetrouteRoute\"\xc5\x01\n\rGetrouteRoute\x12\n\n\x02id\x18\x01 \x01(\x0c\x12\x0f\n\x07\x63hannel\x18\x02 \x01(\t\x12\x11\n\tdirection\x18\x03 \x01(\r\x12 \n\x0b\x61mount_msat\x18\x04 \x01(\x0b\x32\x0b.cln.Amount\x12\r\n\x05\x64\x65lay\x18\x05 \x01(\r\x12\x34\n\x05style\x18\x06 \x01(\x0e\x32%.cln.GetrouteRoute.GetrouteRouteStyle\"\x1d\n\x12GetrouteRouteStyle\x12\x07\n\x03TLV\x10\x00\"\x82\x02\n\x13ListforwardsRequest\x12@\n\x06status\x18\x01 \x01(\x0e\x32+.cln.ListforwardsRequest.ListforwardsStatusH\x00\x88\x01\x01\x12\x17\n\nin_channel\x18\x02 \x01(\tH\x01\x88\x01\x01\x12\x18\n\x0bout_channel\x18\x03 \x01(\tH\x02\x88\x01\x01\"L\n\x12ListforwardsStatus\x12\x0b\n\x07OFFERED\x10\x00\x12\x0b\n\x07SETTLED\x10\x01\x12\x10\n\x0cLOCAL_FAILED\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\x42\t\n\x07_statusB\r\n\x0b_in_channelB\x0e\n\x0c_out_channel\"C\n\x14ListforwardsResponse\x12+\n\x08\x66orwards\x18\x01 \x03(\x0b\x32\x19.cln.ListforwardsForwards\"\xde\x04\n\x14ListforwardsForwards\x12\x12\n\nin_channel\x18\x01 \x01(\t\x12\x17\n\nin_htlc_id\x18\n \x01(\x04H\x00\x88\x01\x01\x12\x1c\n\x07in_msat\x18\x02 \x01(\x0b\x32\x0b.cln.Amount\x12\x44\n\x06status\x18\x03 \x01(\x0e\x32\x34.cln.ListforwardsForwards.ListforwardsForwardsStatus\x12\x15\n\rreceived_time\x18\x04 \x01(\x01\x12\x18\n\x0bout_channel\x18\x05 \x01(\tH\x01\x88\x01\x01\x12\x18\n\x0bout_htlc_id\x18\x0b \x01(\x04H\x02\x88\x01\x01\x12G\n\x05style\x18\t \x01(\x0e\x32\x33.cln.ListforwardsForwards.ListforwardsForwardsStyleH\x03\x88\x01\x01\x12\"\n\x08\x66\x65\x65_msat\x18\x07 \x01(\x0b\x32\x0b.cln.AmountH\x04\x88\x01\x01\x12\"\n\x08out_msat\x18\x08 \x01(\x0b\x32\x0b.cln.AmountH\x05\x88\x01\x01\"T\n\x1aListforwardsForwardsStatus\x12\x0b\n\x07OFFERED\x10\x00\x12\x0b\n\x07SETTLED\x10\x01\x12\x10\n\x0cLOCAL_FAILED\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\"0\n\x19ListforwardsForwardsStyle\x12\n\n\x06LEGACY\x10\x00\x12\x07\n\x03TLV\x10\x01\x42\r\n\x0b_in_htlc_idB\x0e\n\x0c_out_channelB\x0e\n\x0c_out_htlc_idB\x08\n\x06_styleB\x0b\n\t_fee_msatB\x0b\n\t_out_msat\"\xdb\x01\n\x0fListpaysRequest\x12\x13\n\x06\x62olt11\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x19\n\x0cpayment_hash\x18\x02 \x01(\x0cH\x01\x88\x01\x01\x12\x38\n\x06status\x18\x03 \x01(\x0e\x32#.cln.ListpaysRequest.ListpaysStatusH\x02\x88\x01\x01\"7\n\x0eListpaysStatus\x12\x0b\n\x07PENDING\x10\x00\x12\x0c\n\x08\x43OMPLETE\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\x42\t\n\x07_bolt11B\x0f\n\r_payment_hashB\t\n\x07_status\"3\n\x10ListpaysResponse\x12\x1f\n\x04pays\x18\x01 \x03(\x0b\x32\x11.cln.ListpaysPays\"\x87\x04\n\x0cListpaysPays\x12\x14\n\x0cpayment_hash\x18\x01 \x01(\x0c\x12\x34\n\x06status\x18\x02 \x01(\x0e\x32$.cln.ListpaysPays.ListpaysPaysStatus\x12\x18\n\x0b\x64\x65stination\x18\x03 \x01(\x0cH\x00\x88\x01\x01\x12\x12\n\ncreated_at\x18\x04 \x01(\x04\x12\x19\n\x0c\x63ompleted_at\x18\x0c \x01(\x04H\x01\x88\x01\x01\x12\x12\n\x05label\x18\x05 \x01(\tH\x02\x88\x01\x01\x12\x13\n\x06\x62olt11\x18\x06 \x01(\tH\x03\x88\x01\x01\x12\x18\n\x0b\x64\x65scription\x18\x0b \x01(\tH\x04\x88\x01\x01\x12\x13\n\x06\x62olt12\x18\x07 \x01(\tH\x05\x88\x01\x01\x12\x15\n\x08preimage\x18\r \x01(\x0cH\x06\x88\x01\x01\x12\x1c\n\x0fnumber_of_parts\x18\x0e \x01(\x04H\x07\x88\x01\x01\x12\x17\n\nerroronion\x18\n \x01(\x0cH\x08\x88\x01\x01\";\n\x12ListpaysPaysStatus\x12\x0b\n\x07PENDING\x10\x00\x12\n\n\x06\x46\x41ILED\x10\x01\x12\x0c\n\x08\x43OMPLETE\x10\x02\x42\x0e\n\x0c_destinationB\x0f\n\r_completed_atB\x08\n\x06_labelB\t\n\x07_bolt11B\x0e\n\x0c_descriptionB\t\n\x07_bolt12B\x0b\n\t_preimageB\x12\n\x10_number_of_partsB\r\n\x0b_erroronion\"Y\n\x0bPingRequest\x12\n\n\x02id\x18\x01 \x01(\x0c\x12\x10\n\x03len\x18\x02 \x01(\rH\x00\x88\x01\x01\x12\x16\n\tpongbytes\x18\x03 \x01(\rH\x01\x88\x01\x01\x42\x06\n\x04_lenB\x0c\n\n_pongbytes\"\x1e\n\x0cPingResponse\x12\x0e\n\x06totlen\x18\x01 \x01(\r\"4\n\x14SendcustommsgRequest\x12\x0f\n\x07node_id\x18\x01 \x01(\x0c\x12\x0b\n\x03msg\x18\x02 \x01(\x0c\"\'\n\x15SendcustommsgResponse\x12\x0e\n\x06status\x18\x01 \x01(\t\"\xf8\x01\n\x11SetchannelRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12!\n\x07\x66\x65\x65\x62\x61se\x18\x02 \x01(\x0b\x32\x0b.cln.AmountH\x00\x88\x01\x01\x12\x13\n\x06\x66\x65\x65ppm\x18\x03 \x01(\rH\x01\x88\x01\x01\x12!\n\x07htlcmin\x18\x04 \x01(\x0b\x32\x0b.cln.AmountH\x02\x88\x01\x01\x12!\n\x07htlcmax\x18\x05 \x01(\x0b\x32\x0b.cln.AmountH\x03\x88\x01\x01\x12\x19\n\x0c\x65nforcedelay\x18\x06 \x01(\rH\x04\x88\x01\x01\x42\n\n\x08_feebaseB\t\n\x07_feeppmB\n\n\x08_htlcminB\n\n\x08_htlcmaxB\x0f\n\r_enforcedelay\"?\n\x12SetchannelResponse\x12)\n\x08\x63hannels\x18\x01 \x03(\x0b\x32\x17.cln.SetchannelChannels\"\x94\x03\n\x12SetchannelChannels\x12\x0f\n\x07peer_id\x18\x01 \x01(\x0c\x12\x12\n\nchannel_id\x18\x02 \x01(\x0c\x12\x1d\n\x10short_channel_id\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\"\n\rfee_base_msat\x18\x04 \x01(\x0b\x32\x0b.cln.Amount\x12#\n\x1b\x66\x65\x65_proportional_millionths\x18\x05 \x01(\r\x12*\n\x15minimum_htlc_out_msat\x18\x06 \x01(\x0b\x32\x0b.cln.Amount\x12$\n\x17warning_htlcmin_too_low\x18\x07 \x01(\tH\x01\x88\x01\x01\x12*\n\x15maximum_htlc_out_msat\x18\x08 \x01(\x0b\x32\x0b.cln.Amount\x12%\n\x18warning_htlcmax_too_high\x18\t \x01(\tH\x02\x88\x01\x01\x42\x13\n\x11_short_channel_idB\x1a\n\x18_warning_htlcmin_too_lowB\x1b\n\x19_warning_htlcmax_too_high\"\'\n\x12SigninvoiceRequest\x12\x11\n\tinvstring\x18\x01 \x01(\t\"%\n\x13SigninvoiceResponse\x12\x0e\n\x06\x62olt11\x18\x01 \x01(\t\"%\n\x12SignmessageRequest\x12\x0f\n\x07message\x18\x01 \x01(\t\"F\n\x13SignmessageResponse\x12\x11\n\tsignature\x18\x01 \x01(\x0c\x12\r\n\x05recid\x18\x02 \x01(\x0c\x12\r\n\x05zbase\x18\x03 \x01(\t\"\r\n\x0bStopRequest\"\x0e\n\x0cStopResponse2\xbf\x18\n\x04Node\x12\x36\n\x07Getinfo\x12\x13.cln.GetinfoRequest\x1a\x14.cln.GetinfoResponse\"\x00\x12<\n\tListPeers\x12\x15.cln.ListpeersRequest\x1a\x16.cln.ListpeersResponse\"\x00\x12<\n\tListFunds\x12\x15.cln.ListfundsRequest\x1a\x16.cln.ListfundsResponse\"\x00\x12\x36\n\x07SendPay\x12\x13.cln.SendpayRequest\x1a\x14.cln.SendpayResponse\"\x00\x12\x45\n\x0cListChannels\x12\x18.cln.ListchannelsRequest\x1a\x19.cln.ListchannelsResponse\"\x00\x12<\n\tAddGossip\x12\x15.cln.AddgossipRequest\x1a\x16.cln.AddgossipResponse\"\x00\x12Q\n\x10\x41utoCleanInvoice\x12\x1c.cln.AutocleaninvoiceRequest\x1a\x1d.cln.AutocleaninvoiceResponse\"\x00\x12\x45\n\x0c\x43heckMessage\x12\x18.cln.CheckmessageRequest\x1a\x19.cln.CheckmessageResponse\"\x00\x12\x30\n\x05\x43lose\x12\x11.cln.CloseRequest\x1a\x12.cln.CloseResponse\"\x00\x12:\n\x0b\x43onnectPeer\x12\x13.cln.ConnectRequest\x1a\x14.cln.ConnectResponse\"\x00\x12H\n\rCreateInvoice\x12\x19.cln.CreateinvoiceRequest\x1a\x1a.cln.CreateinvoiceResponse\"\x00\x12<\n\tDatastore\x12\x15.cln.DatastoreRequest\x1a\x16.cln.DatastoreResponse\"\x00\x12\x42\n\x0b\x43reateOnion\x12\x17.cln.CreateonionRequest\x1a\x18.cln.CreateonionResponse\"\x00\x12\x45\n\x0c\x44\x65lDatastore\x12\x18.cln.DeldatastoreRequest\x1a\x19.cln.DeldatastoreResponse\"\x00\x12T\n\x11\x44\x65lExpiredInvoice\x12\x1d.cln.DelexpiredinvoiceRequest\x1a\x1e.cln.DelexpiredinvoiceResponse\"\x00\x12?\n\nDelInvoice\x12\x16.cln.DelinvoiceRequest\x1a\x17.cln.DelinvoiceResponse\"\x00\x12\x36\n\x07Invoice\x12\x13.cln.InvoiceRequest\x1a\x14.cln.InvoiceResponse\"\x00\x12H\n\rListDatastore\x12\x19.cln.ListdatastoreRequest\x1a\x1a.cln.ListdatastoreResponse\"\x00\x12\x45\n\x0cListInvoices\x12\x18.cln.ListinvoicesRequest\x1a\x19.cln.ListinvoicesResponse\"\x00\x12<\n\tSendOnion\x12\x15.cln.SendonionRequest\x1a\x16.cln.SendonionResponse\"\x00\x12\x45\n\x0cListSendPays\x12\x18.cln.ListsendpaysRequest\x1a\x19.cln.ListsendpaysResponse\"\x00\x12Q\n\x10ListTransactions\x12\x1c.cln.ListtransactionsRequest\x1a\x1d.cln.ListtransactionsResponse\"\x00\x12*\n\x03Pay\x12\x0f.cln.PayRequest\x1a\x10.cln.PayResponse\"\x00\x12<\n\tListNodes\x12\x15.cln.ListnodesRequest\x1a\x16.cln.ListnodesResponse\"\x00\x12K\n\x0eWaitAnyInvoice\x12\x1a.cln.WaitanyinvoiceRequest\x1a\x1b.cln.WaitanyinvoiceResponse\"\x00\x12\x42\n\x0bWaitInvoice\x12\x17.cln.WaitinvoiceRequest\x1a\x18.cln.WaitinvoiceResponse\"\x00\x12\x42\n\x0bWaitSendPay\x12\x17.cln.WaitsendpayRequest\x1a\x18.cln.WaitsendpayResponse\"\x00\x12\x36\n\x07NewAddr\x12\x13.cln.NewaddrRequest\x1a\x14.cln.NewaddrResponse\"\x00\x12\x39\n\x08Withdraw\x12\x14.cln.WithdrawRequest\x1a\x15.cln.WithdrawResponse\"\x00\x12\x36\n\x07KeySend\x12\x13.cln.KeysendRequest\x1a\x14.cln.KeysendResponse\"\x00\x12\x39\n\x08\x46undPsbt\x12\x14.cln.FundpsbtRequest\x1a\x15.cln.FundpsbtResponse\"\x00\x12\x39\n\x08SendPsbt\x12\x14.cln.SendpsbtRequest\x1a\x15.cln.SendpsbtResponse\"\x00\x12\x39\n\x08SignPsbt\x12\x14.cln.SignpsbtRequest\x1a\x15.cln.SignpsbtResponse\"\x00\x12\x39\n\x08UtxoPsbt\x12\x14.cln.UtxopsbtRequest\x1a\x15.cln.UtxopsbtResponse\"\x00\x12<\n\tTxDiscard\x12\x15.cln.TxdiscardRequest\x1a\x16.cln.TxdiscardResponse\"\x00\x12<\n\tTxPrepare\x12\x15.cln.TxprepareRequest\x1a\x16.cln.TxprepareResponse\"\x00\x12\x33\n\x06TxSend\x12\x12.cln.TxsendRequest\x1a\x13.cln.TxsendResponse\"\x00\x12?\n\nDisconnect\x12\x16.cln.DisconnectRequest\x1a\x17.cln.DisconnectResponse\"\x00\x12\x39\n\x08\x46\x65\x65rates\x12\x14.cln.FeeratesRequest\x1a\x15.cln.FeeratesResponse\"\x00\x12\x42\n\x0b\x46undChannel\x12\x17.cln.FundchannelRequest\x1a\x18.cln.FundchannelResponse\"\x00\x12\x39\n\x08GetRoute\x12\x14.cln.GetrouteRequest\x1a\x15.cln.GetrouteResponse\"\x00\x12\x45\n\x0cListForwards\x12\x18.cln.ListforwardsRequest\x1a\x19.cln.ListforwardsResponse\"\x00\x12\x39\n\x08ListPays\x12\x14.cln.ListpaysRequest\x1a\x15.cln.ListpaysResponse\"\x00\x12-\n\x04Ping\x12\x10.cln.PingRequest\x1a\x11.cln.PingResponse\"\x00\x12H\n\rSendCustomMsg\x12\x19.cln.SendcustommsgRequest\x1a\x1a.cln.SendcustommsgResponse\"\x00\x12?\n\nSetChannel\x12\x16.cln.SetchannelRequest\x1a\x17.cln.SetchannelResponse\"\x00\x12\x42\n\x0bSignInvoice\x12\x17.cln.SigninvoiceRequest\x1a\x18.cln.SigninvoiceResponse\"\x00\x12\x42\n\x0bSignMessage\x12\x17.cln.SignmessageRequest\x1a\x18.cln.SignmessageResponse\"\x00\x12-\n\x04Stop\x12\x10.cln.StopRequest\x1a\x11.cln.StopResponse\"\x00\x62\x06proto3') @@ -1140,321 +1140,321 @@ _LISTPEERSRESPONSE._serialized_start=1247 _LISTPEERSRESPONSE._serialized_end=1302 _LISTPEERSPEERS._serialized_start=1305 - _LISTPEERSPEERS._serialized_end=1553 - _LISTPEERSPEERSLOG._serialized_start=1556 - _LISTPEERSPEERSLOG._serialized_end=1937 - _LISTPEERSPEERSLOG_LISTPEERSPEERSLOGTYPE._serialized_start=1767 - _LISTPEERSPEERSLOG_LISTPEERSPEERSLOGTYPE._serialized_end=1872 - _LISTPEERSPEERSCHANNELS._serialized_start=1940 - _LISTPEERSPEERSCHANNELS._serialized_end=4970 - _LISTPEERSPEERSCHANNELS_LISTPEERSPEERSCHANNELSSTATE._serialized_start=3840 - _LISTPEERSPEERSCHANNELS_LISTPEERSPEERSCHANNELSSTATE._serialized_end=4129 - _LISTPEERSPEERSCHANNELSFEERATE._serialized_start=4972 - _LISTPEERSPEERSCHANNELSFEERATE._serialized_end=5033 - _LISTPEERSPEERSCHANNELSINFLIGHT._serialized_start=5036 - _LISTPEERSPEERSCHANNELSINFLIGHT._serialized_end=5233 - _LISTPEERSPEERSCHANNELSFUNDING._serialized_start=5236 - _LISTPEERSPEERSCHANNELSFUNDING._serialized_end=5519 - _LISTPEERSPEERSCHANNELSALIAS._serialized_start=5521 - _LISTPEERSPEERSCHANNELSALIAS._serialized_end=5612 - _LISTPEERSPEERSCHANNELSHTLCS._serialized_start=5615 - _LISTPEERSPEERSCHANNELSHTLCS._serialized_end=5953 - _LISTPEERSPEERSCHANNELSHTLCS_LISTPEERSPEERSCHANNELSHTLCSDIRECTION._serialized_start=5869 - _LISTPEERSPEERSCHANNELSHTLCS_LISTPEERSPEERSCHANNELSHTLCSDIRECTION._serialized_end=5924 - _LISTFUNDSREQUEST._serialized_start=5955 - _LISTFUNDSREQUEST._serialized_end=6003 - _LISTFUNDSRESPONSE._serialized_start=6005 - _LISTFUNDSRESPONSE._serialized_end=6106 - _LISTFUNDSOUTPUTS._serialized_start=6109 - _LISTFUNDSOUTPUTS._serialized_end=6496 - _LISTFUNDSOUTPUTS_LISTFUNDSOUTPUTSSTATUS._serialized_start=6370 - _LISTFUNDSOUTPUTS_LISTFUNDSOUTPUTSSTATUS._serialized_end=6451 - _LISTFUNDSCHANNELS._serialized_start=6499 - _LISTFUNDSCHANNELS._serialized_end=6778 - _SENDPAYREQUEST._serialized_start=6781 - _SENDPAYREQUEST._serialized_end=7130 - _SENDPAYRESPONSE._serialized_start=7133 - _SENDPAYRESPONSE._serialized_end=7726 - _SENDPAYRESPONSE_SENDPAYSTATUS._serialized_start=7547 - _SENDPAYRESPONSE_SENDPAYSTATUS._serialized_end=7589 - _SENDPAYROUTE._serialized_start=7728 - _SENDPAYROUTE._serialized_end=7820 - _LISTCHANNELSREQUEST._serialized_start=7823 - _LISTCHANNELSREQUEST._serialized_end=7970 - _LISTCHANNELSRESPONSE._serialized_start=7972 - _LISTCHANNELSRESPONSE._serialized_end=8039 - _LISTCHANNELSCHANNELS._serialized_start=8042 - _LISTCHANNELSCHANNELS._serialized_end=8477 - _ADDGOSSIPREQUEST._serialized_start=8479 - _ADDGOSSIPREQUEST._serialized_end=8514 - _ADDGOSSIPRESPONSE._serialized_start=8516 - _ADDGOSSIPRESPONSE._serialized_end=8535 - _AUTOCLEANINVOICEREQUEST._serialized_start=8537 - _AUTOCLEANINVOICEREQUEST._serialized_end=8648 - _AUTOCLEANINVOICERESPONSE._serialized_start=8651 - _AUTOCLEANINVOICERESPONSE._serialized_end=8780 - _CHECKMESSAGEREQUEST._serialized_start=8782 - _CHECKMESSAGEREQUEST._serialized_end=8867 - _CHECKMESSAGERESPONSE._serialized_start=8869 - _CHECKMESSAGERESPONSE._serialized_end=8925 - _CLOSEREQUEST._serialized_start=8928 - _CLOSEREQUEST._serialized_end=9259 - _CLOSERESPONSE._serialized_start=9262 - _CLOSERESPONSE._serialized_end=9433 - _CLOSERESPONSE_CLOSETYPE._serialized_start=9364 - _CLOSERESPONSE_CLOSETYPE._serialized_end=9417 - _CONNECTREQUEST._serialized_start=9435 - _CONNECTREQUEST._serialized_end=9519 - _CONNECTRESPONSE._serialized_start=9522 - _CONNECTRESPONSE._serialized_end=9702 - _CONNECTRESPONSE_CONNECTDIRECTION._serialized_start=9667 - _CONNECTRESPONSE_CONNECTDIRECTION._serialized_end=9702 - _CONNECTADDRESS._serialized_start=9705 - _CONNECTADDRESS._serialized_end=9956 - _CONNECTADDRESS_CONNECTADDRESSTYPE._serialized_start=9844 - _CONNECTADDRESS_CONNECTADDRESSTYPE._serialized_end=9924 - _CREATEINVOICEREQUEST._serialized_start=9958 - _CREATEINVOICEREQUEST._serialized_end=10032 - _CREATEINVOICERESPONSE._serialized_start=10035 - _CREATEINVOICERESPONSE._serialized_end=10676 - _CREATEINVOICERESPONSE_CREATEINVOICESTATUS._serialized_start=10469 - _CREATEINVOICERESPONSE_CREATEINVOICESTATUS._serialized_end=10525 - _DATASTOREREQUEST._serialized_start=10679 - _DATASTOREREQUEST._serialized_end=10987 - _DATASTOREREQUEST_DATASTOREMODE._serialized_start=10832 - _DATASTOREREQUEST_DATASTOREMODE._serialized_end=10944 - _DATASTORERESPONSE._serialized_start=10990 - _DATASTORERESPONSE._serialized_end=11120 - _CREATEONIONREQUEST._serialized_start=11123 - _CREATEONIONREQUEST._serialized_end=11280 - _CREATEONIONRESPONSE._serialized_start=11282 - _CREATEONIONRESPONSE._serialized_end=11342 - _CREATEONIONHOPS._serialized_start=11344 - _CREATEONIONHOPS._serialized_end=11394 - _DELDATASTOREREQUEST._serialized_start=11396 - _DELDATASTOREREQUEST._serialized_end=11470 - _DELDATASTORERESPONSE._serialized_start=11473 - _DELDATASTORERESPONSE._serialized_end=11606 - _DELEXPIREDINVOICEREQUEST._serialized_start=11608 - _DELEXPIREDINVOICEREQUEST._serialized_end=11680 - _DELEXPIREDINVOICERESPONSE._serialized_start=11682 - _DELEXPIREDINVOICERESPONSE._serialized_end=11709 - _DELINVOICEREQUEST._serialized_start=11712 - _DELINVOICEREQUEST._serialized_end=11894 - _DELINVOICEREQUEST_DELINVOICESTATUS._serialized_start=11828 - _DELINVOICEREQUEST_DELINVOICESTATUS._serialized_end=11881 - _DELINVOICERESPONSE._serialized_start=11897 - _DELINVOICERESPONSE._serialized_end=12350 - _DELINVOICERESPONSE_DELINVOICESTATUS._serialized_start=11828 - _DELINVOICERESPONSE_DELINVOICESTATUS._serialized_end=11881 - _INVOICEREQUEST._serialized_start=12353 - _INVOICEREQUEST._serialized_end=12665 - _INVOICERESPONSE._serialized_start=12668 - _INVOICERESPONSE._serialized_end=13027 - _LISTDATASTOREREQUEST._serialized_start=13029 - _LISTDATASTOREREQUEST._serialized_end=13064 - _LISTDATASTORERESPONSE._serialized_start=13066 - _LISTDATASTORERESPONSE._serialized_end=13137 - _LISTDATASTOREDATASTORE._serialized_start=13140 - _LISTDATASTOREDATASTORE._serialized_end=13275 - _LISTINVOICESREQUEST._serialized_start=13278 - _LISTINVOICESREQUEST._serialized_end=13447 - _LISTINVOICESRESPONSE._serialized_start=13449 - _LISTINVOICESRESPONSE._serialized_end=13516 - _LISTINVOICESINVOICES._serialized_start=13519 - _LISTINVOICESINVOICES._serialized_end=14193 - _LISTINVOICESINVOICES_LISTINVOICESINVOICESSTATUS._serialized_start=13963 - _LISTINVOICESINVOICES_LISTINVOICESINVOICESSTATUS._serialized_end=14026 - _SENDONIONREQUEST._serialized_start=14196 - _SENDONIONREQUEST._serialized_end=14590 - _SENDONIONRESPONSE._serialized_start=14593 - _SENDONIONRESPONSE._serialized_end=15116 - _SENDONIONRESPONSE_SENDONIONSTATUS._serialized_start=14964 - _SENDONIONRESPONSE_SENDONIONSTATUS._serialized_end=15008 - _SENDONIONFIRST_HOP._serialized_start=15118 - _SENDONIONFIRST_HOP._serialized_end=15199 - _LISTSENDPAYSREQUEST._serialized_start=15202 - _LISTSENDPAYSREQUEST._serialized_end=15437 - _LISTSENDPAYSREQUEST_LISTSENDPAYSSTATUS._serialized_start=15339 - _LISTSENDPAYSREQUEST_LISTSENDPAYSSTATUS._serialized_end=15398 - _LISTSENDPAYSRESPONSE._serialized_start=15439 - _LISTSENDPAYSRESPONSE._serialized_end=15506 - _LISTSENDPAYSPAYMENTS._serialized_start=15509 - _LISTSENDPAYSPAYMENTS._serialized_end=16137 - _LISTSENDPAYSPAYMENTS_LISTSENDPAYSPAYMENTSSTATUS._serialized_start=15943 - _LISTSENDPAYSPAYMENTS_LISTSENDPAYSPAYMENTSSTATUS._serialized_end=16010 - _LISTTRANSACTIONSREQUEST._serialized_start=16139 - _LISTTRANSACTIONSREQUEST._serialized_end=16164 - _LISTTRANSACTIONSRESPONSE._serialized_start=16166 - _LISTTRANSACTIONSRESPONSE._serialized_end=16249 - _LISTTRANSACTIONSTRANSACTIONS._serialized_start=16252 - _LISTTRANSACTIONSTRANSACTIONS._serialized_end=16500 - _LISTTRANSACTIONSTRANSACTIONSINPUTS._serialized_start=16503 - _LISTTRANSACTIONSTRANSACTIONSINPUTS._serialized_end=17019 - _LISTTRANSACTIONSTRANSACTIONSINPUTS_LISTTRANSACTIONSTRANSACTIONSINPUTSTYPE._serialized_start=16715 - _LISTTRANSACTIONSTRANSACTIONSINPUTS_LISTTRANSACTIONSTRANSACTIONSINPUTSTYPE._serialized_end=16993 - _LISTTRANSACTIONSTRANSACTIONSOUTPUTS._serialized_start=17022 - _LISTTRANSACTIONSTRANSACTIONSOUTPUTS._serialized_end=17566 - _LISTTRANSACTIONSTRANSACTIONSOUTPUTS_LISTTRANSACTIONSTRANSACTIONSOUTPUTSTYPE._serialized_start=17261 - _LISTTRANSACTIONSTRANSACTIONSOUTPUTS_LISTTRANSACTIONSTRANSACTIONSOUTPUTSTYPE._serialized_end=17540 - _PAYREQUEST._serialized_start=17569 - _PAYREQUEST._serialized_end=18043 - _PAYRESPONSE._serialized_start=18046 - _PAYRESPONSE._serialized_end=18425 - _PAYRESPONSE_PAYSTATUS._serialized_start=18328 - _PAYRESPONSE_PAYSTATUS._serialized_end=18378 - _LISTNODESREQUEST._serialized_start=18427 - _LISTNODESREQUEST._serialized_end=18469 - _LISTNODESRESPONSE._serialized_start=18471 - _LISTNODESRESPONSE._serialized_end=18526 - _LISTNODESNODES._serialized_start=18529 - _LISTNODESNODES._serialized_end=18754 - _LISTNODESNODESADDRESSES._serialized_start=18757 - _LISTNODESNODESADDRESSES._serialized_end=19004 - _LISTNODESNODESADDRESSES_LISTNODESNODESADDRESSESTYPE._serialized_start=18897 - _LISTNODESNODESADDRESSES_LISTNODESNODESADDRESSESTYPE._serialized_end=18992 - _WAITANYINVOICEREQUEST._serialized_start=19006 - _WAITANYINVOICEREQUEST._serialized_end=19109 - _WAITANYINVOICERESPONSE._serialized_start=19112 - _WAITANYINVOICERESPONSE._serialized_end=19643 - _WAITANYINVOICERESPONSE_WAITANYINVOICESTATUS._serialized_start=19488 - _WAITANYINVOICERESPONSE_WAITANYINVOICESTATUS._serialized_end=19533 - _WAITINVOICEREQUEST._serialized_start=19645 - _WAITINVOICEREQUEST._serialized_end=19680 - _WAITINVOICERESPONSE._serialized_start=19683 - _WAITINVOICERESPONSE._serialized_end=20202 - _WAITINVOICERESPONSE_WAITINVOICESTATUS._serialized_start=20050 - _WAITINVOICERESPONSE_WAITINVOICESTATUS._serialized_end=20092 - _WAITSENDPAYREQUEST._serialized_start=20205 - _WAITSENDPAYREQUEST._serialized_end=20347 - _WAITSENDPAYRESPONSE._serialized_start=20350 - _WAITSENDPAYRESPONSE._serialized_end=20912 - _WAITSENDPAYRESPONSE_WAITSENDPAYSTATUS._serialized_start=20754 - _WAITSENDPAYRESPONSE_WAITSENDPAYSTATUS._serialized_end=20787 - _NEWADDRREQUEST._serialized_start=20915 - _NEWADDRREQUEST._serialized_end=21056 - _NEWADDRREQUEST_NEWADDRADDRESSTYPE._serialized_start=20999 - _NEWADDRREQUEST_NEWADDRADDRESSTYPE._serialized_end=21040 - _NEWADDRRESPONSE._serialized_start=21058 - _NEWADDRRESPONSE._serialized_end=21149 - _WITHDRAWREQUEST._serialized_start=21152 - _WITHDRAWREQUEST._serialized_end=21354 - _WITHDRAWRESPONSE._serialized_start=21356 - _WITHDRAWRESPONSE._serialized_end=21414 - _KEYSENDREQUEST._serialized_start=21417 - _KEYSENDREQUEST._serialized_end=21803 - _KEYSENDRESPONSE._serialized_start=21806 - _KEYSENDRESPONSE._serialized_end=22176 - _KEYSENDRESPONSE_KEYSENDSTATUS._serialized_start=22100 - _KEYSENDRESPONSE_KEYSENDSTATUS._serialized_end=22129 - _FUNDPSBTREQUEST._serialized_start=22179 - _FUNDPSBTREQUEST._serialized_end=22495 - _FUNDPSBTRESPONSE._serialized_start=22498 - _FUNDPSBTRESPONSE._serialized_end=22715 - _FUNDPSBTRESERVATIONS._serialized_start=22717 - _FUNDPSBTRESERVATIONS._serialized_end=22834 - _SENDPSBTREQUEST._serialized_start=22836 - _SENDPSBTREQUEST._serialized_end=22901 - _SENDPSBTRESPONSE._serialized_start=22903 - _SENDPSBTRESPONSE._serialized_end=22947 - _SIGNPSBTREQUEST._serialized_start=22949 - _SIGNPSBTREQUEST._serialized_end=22998 - _SIGNPSBTRESPONSE._serialized_start=23000 - _SIGNPSBTRESPONSE._serialized_end=23039 - _UTXOPSBTREQUEST._serialized_start=23042 - _UTXOPSBTREQUEST._serialized_end=23389 - _UTXOPSBTRESPONSE._serialized_start=23392 - _UTXOPSBTRESPONSE._serialized_end=23609 - _UTXOPSBTRESERVATIONS._serialized_start=23611 - _UTXOPSBTRESERVATIONS._serialized_end=23728 - _TXDISCARDREQUEST._serialized_start=23730 - _TXDISCARDREQUEST._serialized_end=23762 - _TXDISCARDRESPONSE._serialized_start=23764 - _TXDISCARDRESPONSE._serialized_end=23818 - _TXPREPAREREQUEST._serialized_start=23821 - _TXPREPAREREQUEST._serialized_end=23985 - _TXPREPARERESPONSE._serialized_start=23987 - _TXPREPARERESPONSE._serialized_end=24055 - _TXSENDREQUEST._serialized_start=24057 - _TXSENDREQUEST._serialized_end=24086 - _TXSENDRESPONSE._serialized_start=24088 - _TXSENDRESPONSE._serialized_end=24144 - _DISCONNECTREQUEST._serialized_start=24146 - _DISCONNECTREQUEST._serialized_end=24207 - _DISCONNECTRESPONSE._serialized_start=24209 - _DISCONNECTRESPONSE._serialized_end=24229 - _FEERATESREQUEST._serialized_start=24231 - _FEERATESREQUEST._serialized_end=24338 - _FEERATESREQUEST_FEERATESSTYLE._serialized_start=24301 - _FEERATESREQUEST_FEERATESSTYLE._serialized_end=24338 - _FEERATESRESPONSE._serialized_start=24341 - _FEERATESRESPONSE._serialized_end=24625 - _FEERATESPERKB._serialized_start=24628 - _FEERATESPERKB._serialized_end=24951 - _FEERATESPERKW._serialized_start=24954 - _FEERATESPERKW._serialized_end=25277 - _FEERATESONCHAIN_FEE_ESTIMATES._serialized_start=25280 - _FEERATESONCHAIN_FEE_ESTIMATES._serialized_end=25473 - _FUNDCHANNELREQUEST._serialized_start=25476 - _FUNDCHANNELREQUEST._serialized_end=25961 - _FUNDCHANNELRESPONSE._serialized_start=25964 - _FUNDCHANNELRESPONSE._serialized_end=26119 - _GETROUTEREQUEST._serialized_start=26122 - _GETROUTEREQUEST._serialized_end=26358 - _GETROUTERESPONSE._serialized_start=26360 - _GETROUTERESPONSE._serialized_end=26413 - _GETROUTEROUTE._serialized_start=26416 - _GETROUTEROUTE._serialized_end=26613 - _GETROUTEROUTE_GETROUTEROUTESTYLE._serialized_start=26584 - _GETROUTEROUTE_GETROUTEROUTESTYLE._serialized_end=26613 - _LISTFORWARDSREQUEST._serialized_start=26616 - _LISTFORWARDSREQUEST._serialized_end=26874 - _LISTFORWARDSREQUEST_LISTFORWARDSSTATUS._serialized_start=26756 - _LISTFORWARDSREQUEST_LISTFORWARDSSTATUS._serialized_end=26832 - _LISTFORWARDSRESPONSE._serialized_start=26876 - _LISTFORWARDSRESPONSE._serialized_end=26943 - _LISTFORWARDSFORWARDS._serialized_start=26946 - _LISTFORWARDSFORWARDS._serialized_end=27552 - _LISTFORWARDSFORWARDS_LISTFORWARDSFORWARDSSTATUS._serialized_start=27335 - _LISTFORWARDSFORWARDS_LISTFORWARDSFORWARDSSTATUS._serialized_end=27419 - _LISTFORWARDSFORWARDS_LISTFORWARDSFORWARDSSTYLE._serialized_start=27421 - _LISTFORWARDSFORWARDS_LISTFORWARDSFORWARDSSTYLE._serialized_end=27469 - _LISTPAYSREQUEST._serialized_start=27555 - _LISTPAYSREQUEST._serialized_end=27774 - _LISTPAYSREQUEST_LISTPAYSSTATUS._serialized_start=27680 - _LISTPAYSREQUEST_LISTPAYSSTATUS._serialized_end=27735 - _LISTPAYSRESPONSE._serialized_start=27776 - _LISTPAYSRESPONSE._serialized_end=27827 - _LISTPAYSPAYS._serialized_start=27830 - _LISTPAYSPAYS._serialized_end=28349 - _LISTPAYSPAYS_LISTPAYSPAYSSTATUS._serialized_start=28161 - _LISTPAYSPAYS_LISTPAYSPAYSSTATUS._serialized_end=28220 - _PINGREQUEST._serialized_start=28351 - _PINGREQUEST._serialized_end=28440 - _PINGRESPONSE._serialized_start=28442 - _PINGRESPONSE._serialized_end=28472 - _SENDCUSTOMMSGREQUEST._serialized_start=28474 - _SENDCUSTOMMSGREQUEST._serialized_end=28526 - _SENDCUSTOMMSGRESPONSE._serialized_start=28528 - _SENDCUSTOMMSGRESPONSE._serialized_end=28567 - _SETCHANNELREQUEST._serialized_start=28570 - _SETCHANNELREQUEST._serialized_end=28818 - _SETCHANNELRESPONSE._serialized_start=28820 - _SETCHANNELRESPONSE._serialized_end=28883 - _SETCHANNELCHANNELS._serialized_start=28886 - _SETCHANNELCHANNELS._serialized_end=29290 - _SIGNINVOICEREQUEST._serialized_start=29292 - _SIGNINVOICEREQUEST._serialized_end=29331 - _SIGNINVOICERESPONSE._serialized_start=29333 - _SIGNINVOICERESPONSE._serialized_end=29370 - _SIGNMESSAGEREQUEST._serialized_start=29372 - _SIGNMESSAGEREQUEST._serialized_end=29409 - _SIGNMESSAGERESPONSE._serialized_start=29411 - _SIGNMESSAGERESPONSE._serialized_end=29481 - _STOPREQUEST._serialized_start=29483 - _STOPREQUEST._serialized_end=29496 - _STOPRESPONSE._serialized_start=29498 - _STOPRESPONSE._serialized_end=29512 - _NODE._serialized_start=29515 - _NODE._serialized_end=32650 + _LISTPEERSPEERS._serialized_end=1575 + _LISTPEERSPEERSLOG._serialized_start=1578 + _LISTPEERSPEERSLOG._serialized_end=1959 + _LISTPEERSPEERSLOG_LISTPEERSPEERSLOGTYPE._serialized_start=1789 + _LISTPEERSPEERSLOG_LISTPEERSPEERSLOGTYPE._serialized_end=1894 + _LISTPEERSPEERSCHANNELS._serialized_start=1962 + _LISTPEERSPEERSCHANNELS._serialized_end=4992 + _LISTPEERSPEERSCHANNELS_LISTPEERSPEERSCHANNELSSTATE._serialized_start=3862 + _LISTPEERSPEERSCHANNELS_LISTPEERSPEERSCHANNELSSTATE._serialized_end=4151 + _LISTPEERSPEERSCHANNELSFEERATE._serialized_start=4994 + _LISTPEERSPEERSCHANNELSFEERATE._serialized_end=5055 + _LISTPEERSPEERSCHANNELSINFLIGHT._serialized_start=5058 + _LISTPEERSPEERSCHANNELSINFLIGHT._serialized_end=5255 + _LISTPEERSPEERSCHANNELSFUNDING._serialized_start=5258 + _LISTPEERSPEERSCHANNELSFUNDING._serialized_end=5541 + _LISTPEERSPEERSCHANNELSALIAS._serialized_start=5543 + _LISTPEERSPEERSCHANNELSALIAS._serialized_end=5634 + _LISTPEERSPEERSCHANNELSHTLCS._serialized_start=5637 + _LISTPEERSPEERSCHANNELSHTLCS._serialized_end=5975 + _LISTPEERSPEERSCHANNELSHTLCS_LISTPEERSPEERSCHANNELSHTLCSDIRECTION._serialized_start=5891 + _LISTPEERSPEERSCHANNELSHTLCS_LISTPEERSPEERSCHANNELSHTLCSDIRECTION._serialized_end=5946 + _LISTFUNDSREQUEST._serialized_start=5977 + _LISTFUNDSREQUEST._serialized_end=6025 + _LISTFUNDSRESPONSE._serialized_start=6027 + _LISTFUNDSRESPONSE._serialized_end=6128 + _LISTFUNDSOUTPUTS._serialized_start=6131 + _LISTFUNDSOUTPUTS._serialized_end=6518 + _LISTFUNDSOUTPUTS_LISTFUNDSOUTPUTSSTATUS._serialized_start=6392 + _LISTFUNDSOUTPUTS_LISTFUNDSOUTPUTSSTATUS._serialized_end=6473 + _LISTFUNDSCHANNELS._serialized_start=6521 + _LISTFUNDSCHANNELS._serialized_end=6820 + _SENDPAYREQUEST._serialized_start=6823 + _SENDPAYREQUEST._serialized_end=7172 + _SENDPAYRESPONSE._serialized_start=7175 + _SENDPAYRESPONSE._serialized_end=7768 + _SENDPAYRESPONSE_SENDPAYSTATUS._serialized_start=7589 + _SENDPAYRESPONSE_SENDPAYSTATUS._serialized_end=7631 + _SENDPAYROUTE._serialized_start=7770 + _SENDPAYROUTE._serialized_end=7862 + _LISTCHANNELSREQUEST._serialized_start=7865 + _LISTCHANNELSREQUEST._serialized_end=8012 + _LISTCHANNELSRESPONSE._serialized_start=8014 + _LISTCHANNELSRESPONSE._serialized_end=8081 + _LISTCHANNELSCHANNELS._serialized_start=8084 + _LISTCHANNELSCHANNELS._serialized_end=8519 + _ADDGOSSIPREQUEST._serialized_start=8521 + _ADDGOSSIPREQUEST._serialized_end=8556 + _ADDGOSSIPRESPONSE._serialized_start=8558 + _ADDGOSSIPRESPONSE._serialized_end=8577 + _AUTOCLEANINVOICEREQUEST._serialized_start=8579 + _AUTOCLEANINVOICEREQUEST._serialized_end=8690 + _AUTOCLEANINVOICERESPONSE._serialized_start=8693 + _AUTOCLEANINVOICERESPONSE._serialized_end=8822 + _CHECKMESSAGEREQUEST._serialized_start=8824 + _CHECKMESSAGEREQUEST._serialized_end=8909 + _CHECKMESSAGERESPONSE._serialized_start=8911 + _CHECKMESSAGERESPONSE._serialized_end=8967 + _CLOSEREQUEST._serialized_start=8970 + _CLOSEREQUEST._serialized_end=9301 + _CLOSERESPONSE._serialized_start=9304 + _CLOSERESPONSE._serialized_end=9475 + _CLOSERESPONSE_CLOSETYPE._serialized_start=9406 + _CLOSERESPONSE_CLOSETYPE._serialized_end=9459 + _CONNECTREQUEST._serialized_start=9477 + _CONNECTREQUEST._serialized_end=9561 + _CONNECTRESPONSE._serialized_start=9564 + _CONNECTRESPONSE._serialized_end=9744 + _CONNECTRESPONSE_CONNECTDIRECTION._serialized_start=9709 + _CONNECTRESPONSE_CONNECTDIRECTION._serialized_end=9744 + _CONNECTADDRESS._serialized_start=9747 + _CONNECTADDRESS._serialized_end=9998 + _CONNECTADDRESS_CONNECTADDRESSTYPE._serialized_start=9886 + _CONNECTADDRESS_CONNECTADDRESSTYPE._serialized_end=9966 + _CREATEINVOICEREQUEST._serialized_start=10000 + _CREATEINVOICEREQUEST._serialized_end=10074 + _CREATEINVOICERESPONSE._serialized_start=10077 + _CREATEINVOICERESPONSE._serialized_end=10718 + _CREATEINVOICERESPONSE_CREATEINVOICESTATUS._serialized_start=10511 + _CREATEINVOICERESPONSE_CREATEINVOICESTATUS._serialized_end=10567 + _DATASTOREREQUEST._serialized_start=10721 + _DATASTOREREQUEST._serialized_end=11029 + _DATASTOREREQUEST_DATASTOREMODE._serialized_start=10874 + _DATASTOREREQUEST_DATASTOREMODE._serialized_end=10986 + _DATASTORERESPONSE._serialized_start=11032 + _DATASTORERESPONSE._serialized_end=11162 + _CREATEONIONREQUEST._serialized_start=11165 + _CREATEONIONREQUEST._serialized_end=11322 + _CREATEONIONRESPONSE._serialized_start=11324 + _CREATEONIONRESPONSE._serialized_end=11384 + _CREATEONIONHOPS._serialized_start=11386 + _CREATEONIONHOPS._serialized_end=11436 + _DELDATASTOREREQUEST._serialized_start=11438 + _DELDATASTOREREQUEST._serialized_end=11512 + _DELDATASTORERESPONSE._serialized_start=11515 + _DELDATASTORERESPONSE._serialized_end=11648 + _DELEXPIREDINVOICEREQUEST._serialized_start=11650 + _DELEXPIREDINVOICEREQUEST._serialized_end=11722 + _DELEXPIREDINVOICERESPONSE._serialized_start=11724 + _DELEXPIREDINVOICERESPONSE._serialized_end=11751 + _DELINVOICEREQUEST._serialized_start=11754 + _DELINVOICEREQUEST._serialized_end=11936 + _DELINVOICEREQUEST_DELINVOICESTATUS._serialized_start=11870 + _DELINVOICEREQUEST_DELINVOICESTATUS._serialized_end=11923 + _DELINVOICERESPONSE._serialized_start=11939 + _DELINVOICERESPONSE._serialized_end=12392 + _DELINVOICERESPONSE_DELINVOICESTATUS._serialized_start=11870 + _DELINVOICERESPONSE_DELINVOICESTATUS._serialized_end=11923 + _INVOICEREQUEST._serialized_start=12395 + _INVOICEREQUEST._serialized_end=12707 + _INVOICERESPONSE._serialized_start=12710 + _INVOICERESPONSE._serialized_end=13069 + _LISTDATASTOREREQUEST._serialized_start=13071 + _LISTDATASTOREREQUEST._serialized_end=13106 + _LISTDATASTORERESPONSE._serialized_start=13108 + _LISTDATASTORERESPONSE._serialized_end=13179 + _LISTDATASTOREDATASTORE._serialized_start=13182 + _LISTDATASTOREDATASTORE._serialized_end=13317 + _LISTINVOICESREQUEST._serialized_start=13320 + _LISTINVOICESREQUEST._serialized_end=13489 + _LISTINVOICESRESPONSE._serialized_start=13491 + _LISTINVOICESRESPONSE._serialized_end=13558 + _LISTINVOICESINVOICES._serialized_start=13561 + _LISTINVOICESINVOICES._serialized_end=14235 + _LISTINVOICESINVOICES_LISTINVOICESINVOICESSTATUS._serialized_start=14005 + _LISTINVOICESINVOICES_LISTINVOICESINVOICESSTATUS._serialized_end=14068 + _SENDONIONREQUEST._serialized_start=14238 + _SENDONIONREQUEST._serialized_end=14632 + _SENDONIONRESPONSE._serialized_start=14635 + _SENDONIONRESPONSE._serialized_end=15158 + _SENDONIONRESPONSE_SENDONIONSTATUS._serialized_start=15006 + _SENDONIONRESPONSE_SENDONIONSTATUS._serialized_end=15050 + _SENDONIONFIRST_HOP._serialized_start=15160 + _SENDONIONFIRST_HOP._serialized_end=15241 + _LISTSENDPAYSREQUEST._serialized_start=15244 + _LISTSENDPAYSREQUEST._serialized_end=15479 + _LISTSENDPAYSREQUEST_LISTSENDPAYSSTATUS._serialized_start=15381 + _LISTSENDPAYSREQUEST_LISTSENDPAYSSTATUS._serialized_end=15440 + _LISTSENDPAYSRESPONSE._serialized_start=15481 + _LISTSENDPAYSRESPONSE._serialized_end=15548 + _LISTSENDPAYSPAYMENTS._serialized_start=15551 + _LISTSENDPAYSPAYMENTS._serialized_end=16179 + _LISTSENDPAYSPAYMENTS_LISTSENDPAYSPAYMENTSSTATUS._serialized_start=15985 + _LISTSENDPAYSPAYMENTS_LISTSENDPAYSPAYMENTSSTATUS._serialized_end=16052 + _LISTTRANSACTIONSREQUEST._serialized_start=16181 + _LISTTRANSACTIONSREQUEST._serialized_end=16206 + _LISTTRANSACTIONSRESPONSE._serialized_start=16208 + _LISTTRANSACTIONSRESPONSE._serialized_end=16291 + _LISTTRANSACTIONSTRANSACTIONS._serialized_start=16294 + _LISTTRANSACTIONSTRANSACTIONS._serialized_end=16542 + _LISTTRANSACTIONSTRANSACTIONSINPUTS._serialized_start=16545 + _LISTTRANSACTIONSTRANSACTIONSINPUTS._serialized_end=17061 + _LISTTRANSACTIONSTRANSACTIONSINPUTS_LISTTRANSACTIONSTRANSACTIONSINPUTSTYPE._serialized_start=16757 + _LISTTRANSACTIONSTRANSACTIONSINPUTS_LISTTRANSACTIONSTRANSACTIONSINPUTSTYPE._serialized_end=17035 + _LISTTRANSACTIONSTRANSACTIONSOUTPUTS._serialized_start=17064 + _LISTTRANSACTIONSTRANSACTIONSOUTPUTS._serialized_end=17608 + _LISTTRANSACTIONSTRANSACTIONSOUTPUTS_LISTTRANSACTIONSTRANSACTIONSOUTPUTSTYPE._serialized_start=17303 + _LISTTRANSACTIONSTRANSACTIONSOUTPUTS_LISTTRANSACTIONSTRANSACTIONSOUTPUTSTYPE._serialized_end=17582 + _PAYREQUEST._serialized_start=17611 + _PAYREQUEST._serialized_end=18085 + _PAYRESPONSE._serialized_start=18088 + _PAYRESPONSE._serialized_end=18467 + _PAYRESPONSE_PAYSTATUS._serialized_start=18370 + _PAYRESPONSE_PAYSTATUS._serialized_end=18420 + _LISTNODESREQUEST._serialized_start=18469 + _LISTNODESREQUEST._serialized_end=18511 + _LISTNODESRESPONSE._serialized_start=18513 + _LISTNODESRESPONSE._serialized_end=18568 + _LISTNODESNODES._serialized_start=18571 + _LISTNODESNODES._serialized_end=18796 + _LISTNODESNODESADDRESSES._serialized_start=18799 + _LISTNODESNODESADDRESSES._serialized_end=19046 + _LISTNODESNODESADDRESSES_LISTNODESNODESADDRESSESTYPE._serialized_start=18939 + _LISTNODESNODESADDRESSES_LISTNODESNODESADDRESSESTYPE._serialized_end=19034 + _WAITANYINVOICEREQUEST._serialized_start=19048 + _WAITANYINVOICEREQUEST._serialized_end=19151 + _WAITANYINVOICERESPONSE._serialized_start=19154 + _WAITANYINVOICERESPONSE._serialized_end=19685 + _WAITANYINVOICERESPONSE_WAITANYINVOICESTATUS._serialized_start=19530 + _WAITANYINVOICERESPONSE_WAITANYINVOICESTATUS._serialized_end=19575 + _WAITINVOICEREQUEST._serialized_start=19687 + _WAITINVOICEREQUEST._serialized_end=19722 + _WAITINVOICERESPONSE._serialized_start=19725 + _WAITINVOICERESPONSE._serialized_end=20244 + _WAITINVOICERESPONSE_WAITINVOICESTATUS._serialized_start=20092 + _WAITINVOICERESPONSE_WAITINVOICESTATUS._serialized_end=20134 + _WAITSENDPAYREQUEST._serialized_start=20247 + _WAITSENDPAYREQUEST._serialized_end=20389 + _WAITSENDPAYRESPONSE._serialized_start=20392 + _WAITSENDPAYRESPONSE._serialized_end=20954 + _WAITSENDPAYRESPONSE_WAITSENDPAYSTATUS._serialized_start=20796 + _WAITSENDPAYRESPONSE_WAITSENDPAYSTATUS._serialized_end=20829 + _NEWADDRREQUEST._serialized_start=20957 + _NEWADDRREQUEST._serialized_end=21098 + _NEWADDRREQUEST_NEWADDRADDRESSTYPE._serialized_start=21041 + _NEWADDRREQUEST_NEWADDRADDRESSTYPE._serialized_end=21082 + _NEWADDRRESPONSE._serialized_start=21100 + _NEWADDRRESPONSE._serialized_end=21191 + _WITHDRAWREQUEST._serialized_start=21194 + _WITHDRAWREQUEST._serialized_end=21396 + _WITHDRAWRESPONSE._serialized_start=21398 + _WITHDRAWRESPONSE._serialized_end=21456 + _KEYSENDREQUEST._serialized_start=21459 + _KEYSENDREQUEST._serialized_end=21845 + _KEYSENDRESPONSE._serialized_start=21848 + _KEYSENDRESPONSE._serialized_end=22218 + _KEYSENDRESPONSE_KEYSENDSTATUS._serialized_start=22142 + _KEYSENDRESPONSE_KEYSENDSTATUS._serialized_end=22171 + _FUNDPSBTREQUEST._serialized_start=22221 + _FUNDPSBTREQUEST._serialized_end=22537 + _FUNDPSBTRESPONSE._serialized_start=22540 + _FUNDPSBTRESPONSE._serialized_end=22757 + _FUNDPSBTRESERVATIONS._serialized_start=22759 + _FUNDPSBTRESERVATIONS._serialized_end=22876 + _SENDPSBTREQUEST._serialized_start=22878 + _SENDPSBTREQUEST._serialized_end=22943 + _SENDPSBTRESPONSE._serialized_start=22945 + _SENDPSBTRESPONSE._serialized_end=22989 + _SIGNPSBTREQUEST._serialized_start=22991 + _SIGNPSBTREQUEST._serialized_end=23040 + _SIGNPSBTRESPONSE._serialized_start=23042 + _SIGNPSBTRESPONSE._serialized_end=23081 + _UTXOPSBTREQUEST._serialized_start=23084 + _UTXOPSBTREQUEST._serialized_end=23431 + _UTXOPSBTRESPONSE._serialized_start=23434 + _UTXOPSBTRESPONSE._serialized_end=23651 + _UTXOPSBTRESERVATIONS._serialized_start=23653 + _UTXOPSBTRESERVATIONS._serialized_end=23770 + _TXDISCARDREQUEST._serialized_start=23772 + _TXDISCARDREQUEST._serialized_end=23804 + _TXDISCARDRESPONSE._serialized_start=23806 + _TXDISCARDRESPONSE._serialized_end=23860 + _TXPREPAREREQUEST._serialized_start=23863 + _TXPREPAREREQUEST._serialized_end=24027 + _TXPREPARERESPONSE._serialized_start=24029 + _TXPREPARERESPONSE._serialized_end=24097 + _TXSENDREQUEST._serialized_start=24099 + _TXSENDREQUEST._serialized_end=24128 + _TXSENDRESPONSE._serialized_start=24130 + _TXSENDRESPONSE._serialized_end=24186 + _DISCONNECTREQUEST._serialized_start=24188 + _DISCONNECTREQUEST._serialized_end=24249 + _DISCONNECTRESPONSE._serialized_start=24251 + _DISCONNECTRESPONSE._serialized_end=24271 + _FEERATESREQUEST._serialized_start=24273 + _FEERATESREQUEST._serialized_end=24380 + _FEERATESREQUEST_FEERATESSTYLE._serialized_start=24343 + _FEERATESREQUEST_FEERATESSTYLE._serialized_end=24380 + _FEERATESRESPONSE._serialized_start=24383 + _FEERATESRESPONSE._serialized_end=24667 + _FEERATESPERKB._serialized_start=24670 + _FEERATESPERKB._serialized_end=24993 + _FEERATESPERKW._serialized_start=24996 + _FEERATESPERKW._serialized_end=25319 + _FEERATESONCHAIN_FEE_ESTIMATES._serialized_start=25322 + _FEERATESONCHAIN_FEE_ESTIMATES._serialized_end=25515 + _FUNDCHANNELREQUEST._serialized_start=25518 + _FUNDCHANNELREQUEST._serialized_end=26003 + _FUNDCHANNELRESPONSE._serialized_start=26006 + _FUNDCHANNELRESPONSE._serialized_end=26161 + _GETROUTEREQUEST._serialized_start=26164 + _GETROUTEREQUEST._serialized_end=26400 + _GETROUTERESPONSE._serialized_start=26402 + _GETROUTERESPONSE._serialized_end=26455 + _GETROUTEROUTE._serialized_start=26458 + _GETROUTEROUTE._serialized_end=26655 + _GETROUTEROUTE_GETROUTEROUTESTYLE._serialized_start=26626 + _GETROUTEROUTE_GETROUTEROUTESTYLE._serialized_end=26655 + _LISTFORWARDSREQUEST._serialized_start=26658 + _LISTFORWARDSREQUEST._serialized_end=26916 + _LISTFORWARDSREQUEST_LISTFORWARDSSTATUS._serialized_start=26798 + _LISTFORWARDSREQUEST_LISTFORWARDSSTATUS._serialized_end=26874 + _LISTFORWARDSRESPONSE._serialized_start=26918 + _LISTFORWARDSRESPONSE._serialized_end=26985 + _LISTFORWARDSFORWARDS._serialized_start=26988 + _LISTFORWARDSFORWARDS._serialized_end=27594 + _LISTFORWARDSFORWARDS_LISTFORWARDSFORWARDSSTATUS._serialized_start=27377 + _LISTFORWARDSFORWARDS_LISTFORWARDSFORWARDSSTATUS._serialized_end=27461 + _LISTFORWARDSFORWARDS_LISTFORWARDSFORWARDSSTYLE._serialized_start=27463 + _LISTFORWARDSFORWARDS_LISTFORWARDSFORWARDSSTYLE._serialized_end=27511 + _LISTPAYSREQUEST._serialized_start=27597 + _LISTPAYSREQUEST._serialized_end=27816 + _LISTPAYSREQUEST_LISTPAYSSTATUS._serialized_start=27722 + _LISTPAYSREQUEST_LISTPAYSSTATUS._serialized_end=27777 + _LISTPAYSRESPONSE._serialized_start=27818 + _LISTPAYSRESPONSE._serialized_end=27869 + _LISTPAYSPAYS._serialized_start=27872 + _LISTPAYSPAYS._serialized_end=28391 + _LISTPAYSPAYS_LISTPAYSPAYSSTATUS._serialized_start=28203 + _LISTPAYSPAYS_LISTPAYSPAYSSTATUS._serialized_end=28262 + _PINGREQUEST._serialized_start=28393 + _PINGREQUEST._serialized_end=28482 + _PINGRESPONSE._serialized_start=28484 + _PINGRESPONSE._serialized_end=28514 + _SENDCUSTOMMSGREQUEST._serialized_start=28516 + _SENDCUSTOMMSGREQUEST._serialized_end=28568 + _SENDCUSTOMMSGRESPONSE._serialized_start=28570 + _SENDCUSTOMMSGRESPONSE._serialized_end=28609 + _SETCHANNELREQUEST._serialized_start=28612 + _SETCHANNELREQUEST._serialized_end=28860 + _SETCHANNELRESPONSE._serialized_start=28862 + _SETCHANNELRESPONSE._serialized_end=28925 + _SETCHANNELCHANNELS._serialized_start=28928 + _SETCHANNELCHANNELS._serialized_end=29332 + _SIGNINVOICEREQUEST._serialized_start=29334 + _SIGNINVOICEREQUEST._serialized_end=29373 + _SIGNINVOICERESPONSE._serialized_start=29375 + _SIGNINVOICERESPONSE._serialized_end=29412 + _SIGNMESSAGEREQUEST._serialized_start=29414 + _SIGNMESSAGEREQUEST._serialized_end=29451 + _SIGNMESSAGERESPONSE._serialized_start=29453 + _SIGNMESSAGERESPONSE._serialized_end=29523 + _STOPREQUEST._serialized_start=29525 + _STOPREQUEST._serialized_end=29538 + _STOPRESPONSE._serialized_start=29540 + _STOPRESPONSE._serialized_end=29554 + _NODE._serialized_start=29557 + _NODE._serialized_end=32692 # @@protoc_insertion_point(module_scope) From 6b3cc282a4aecd60af3a4f8a2b39dd6e75d3b97e Mon Sep 17 00:00:00 2001 From: Christian Decker Date: Fri, 31 Mar 2023 17:52:52 +0200 Subject: [PATCH 4/4] msggen: Add VersioningCheck This is a visitor that ensures every new field has at least an `added` field, and that we don't change the `added` or `deprecated` annotation after the fact. --- contrib/msggen/msggen/__main__.py | 3 +++ contrib/msggen/msggen/checks.py | 36 +++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 contrib/msggen/msggen/checks.py diff --git a/contrib/msggen/msggen/__main__.py b/contrib/msggen/msggen/__main__.py index 98ba0c526fce..e8a5ee49aee6 100644 --- a/contrib/msggen/msggen/__main__.py +++ b/contrib/msggen/msggen/__main__.py @@ -73,6 +73,9 @@ def run(rootdir: Path): p.apply(service) OptionalPatch().apply(service) + # Run the checks here, we should eventually split that out to a + # separate subcommand + VersioningCheck().check(service) generator_chain = GeneratorChain() add_handler_gen_grpc(generator_chain, meta) diff --git a/contrib/msggen/msggen/checks.py b/contrib/msggen/msggen/checks.py new file mode 100644 index 000000000000..1f97d87a2043 --- /dev/null +++ b/contrib/msggen/msggen/checks.py @@ -0,0 +1,36 @@ +from abc import ABC +from msggen import model + + +class Check(ABC): + """A check is a visitor that throws exceptions on inconsistencies. + + """ + def visit(self, field: model.Field) -> None: + pass + + def check(self, service: model.Service) -> None: + def recurse(f: model.Field): + # First recurse if we have further type definitions + if isinstance(f, model.ArrayField): + self.visit(f.itemtype) + recurse(f.itemtype) + elif isinstance(f, model.CompositeField): + for c in f.fields: + self.visit(c) + recurse(c) + # Now visit ourselves + self.visit(f) + for m in service.methods: + recurse(m.request) + recurse(m.response) + + +class VersioningCheck(Check): + """Check that all schemas have the `added` and `deprecated` annotations. + """ + def visit(self, f: model.Field) -> None: + if not hasattr(f, "added"): + raise ValueError(f"Field {f.path} is missing the `added` annotation") + if not hasattr(f, "deprecated"): + raise ValueError(f"Field {f.path} is missing the `deprecated` annotation")