diff --git a/lnbits/tasks.py b/lnbits/tasks.py
index f4d0a928..41287ff2 100644
--- a/lnbits/tasks.py
+++ b/lnbits/tasks.py
@@ -16,6 +16,8 @@ from lnbits.core.crud import (
from lnbits.core.services import redeem_lnurl_withdraw
from lnbits.settings import WALLET
+from .core import db
+
deferred_async: List[Callable] = []
@@ -86,19 +88,35 @@ async def check_pending_payments():
incoming = True
while True:
- for payment in await get_payments(
- since=(int(time.time()) - 60 * 60 * 24 * 15), # 15 days ago
- complete=False,
- pending=True,
- outgoing=outgoing,
- incoming=incoming,
- exclude_uncheckable=True,
- ):
- await payment.check_pending()
+ async with db.connect() as conn:
+ logger.debug(
+ f"Task: checking all pending payments (incoming={incoming}, outgoing={outgoing}) of last 15 days"
+ )
+ start_time: float = time.time()
+ pending_payments = await get_payments(
+ since=(int(time.time()) - 60 * 60 * 24 * 15), # 15 days ago
+ complete=False,
+ pending=True,
+ outgoing=outgoing,
+ incoming=incoming,
+ exclude_uncheckable=True,
+ conn=conn,
+ )
+ for payment in pending_payments:
+ await payment.check_status(conn=conn)
+
+ logger.debug(
+ f"Task: pending check finished for {len(pending_payments)} payments (took {time.time() - start_time:0.3f} s)"
+ )
+ # we delete expired invoices once upon the first pending check
+ if incoming:
+ logger.debug("Task: deleting all expired invoices")
+ start_time: float = time.time()
+ await delete_expired_invoices(conn=conn)
+ logger.debug(
+ f"Task: expired invoice deletion finished (took {time.time() - start_time:0.3f} s)"
+ )
- # we delete expired invoices once upon the first pending check
- if incoming:
- await delete_expired_invoices()
# after the first check we will only check outgoing, not incoming
# that will be handled by the global invoice listeners, hopefully
incoming = False
diff --git a/lnbits/templates/base.html b/lnbits/templates/base.html
index acca92e7..67241bb5 100644
--- a/lnbits/templates/base.html
+++ b/lnbits/templates/base.html
@@ -12,7 +12,7 @@
diff --git a/lnbits/wallets/__init__.py b/lnbits/wallets/__init__.py
index 8a2ca1a5..41949652 100644
--- a/lnbits/wallets/__init__.py
+++ b/lnbits/wallets/__init__.py
@@ -1,9 +1,12 @@
# flake8: noqa
-from .clightning import CLightningWallet
+from .cliche import ClicheWallet
+from .cln import CoreLightningWallet # legacy .env support
+from .cln import CoreLightningWallet as CLightningWallet
from .eclair import EclairWallet
from .fake import FakeWallet
from .lnbits import LNbitsWallet
+from .lndgrpc import LndWallet
from .lndrest import LndRestWallet
from .lnpay import LNPayWallet
from .lntxbot import LntxbotWallet
diff --git a/lnbits/wallets/base.py b/lnbits/wallets/base.py
index f35eb370..e38b6d8f 100644
--- a/lnbits/wallets/base.py
+++ b/lnbits/wallets/base.py
@@ -18,13 +18,15 @@ class PaymentResponse(NamedTuple):
# when ok is None it means we don't know if this succeeded
ok: Optional[bool] = None
checking_id: Optional[str] = None # payment_hash, rcp_id
- fee_msat: int = 0
+ fee_msat: Optional[int] = None
preimage: Optional[str] = None
error_message: Optional[str] = None
class PaymentStatus(NamedTuple):
paid: Optional[bool] = None
+ fee_msat: Optional[int] = None
+ preimage: Optional[str] = None
@property
def pending(self) -> bool:
diff --git a/lnbits/wallets/cliche.py b/lnbits/wallets/cliche.py
new file mode 100644
index 00000000..9b862794
--- /dev/null
+++ b/lnbits/wallets/cliche.py
@@ -0,0 +1,168 @@
+import asyncio
+import hashlib
+import json
+from os import getenv
+from typing import AsyncGenerator, Dict, Optional
+
+import httpx
+from loguru import logger
+from websocket import create_connection
+
+from .base import (
+ InvoiceResponse,
+ PaymentResponse,
+ PaymentStatus,
+ StatusResponse,
+ Wallet,
+)
+
+
+class ClicheWallet(Wallet):
+ """https://github.com/fiatjaf/cliche"""
+
+ def __init__(self):
+ self.endpoint = getenv("CLICHE_ENDPOINT")
+
+ async def status(self) -> StatusResponse:
+ try:
+ ws = create_connection(self.endpoint)
+ ws.send("get-info")
+ r = ws.recv()
+ except Exception as exc:
+ return StatusResponse(
+ f"Failed to connect to {self.endpoint} due to: {exc}", 0
+ )
+ try:
+ data = json.loads(r)
+ except:
+ return StatusResponse(
+ f"Failed to connect to {self.endpoint}, got: '{r.text[:200]}...'", 0
+ )
+
+ return StatusResponse(None, data["result"]["wallets"][0]["balance"])
+
+ async def create_invoice(
+ self,
+ amount: int,
+ memo: Optional[str] = None,
+ description_hash: Optional[bytes] = None,
+ unhashed_description: Optional[bytes] = None,
+ ) -> InvoiceResponse:
+ if unhashed_description or description_hash:
+ description_hash_str = (
+ description_hash.hex()
+ if description_hash
+ else hashlib.sha256(unhashed_description).hexdigest()
+ if unhashed_description
+ else None
+ )
+ ws = create_connection(self.endpoint)
+ ws.send(
+ f"create-invoice --msatoshi {amount*1000} --description_hash {description_hash_str}"
+ )
+ r = ws.recv()
+ else:
+ ws = create_connection(self.endpoint)
+ ws.send(f"create-invoice --msatoshi {amount*1000} --description {memo}")
+ r = ws.recv()
+ data = json.loads(r)
+ checking_id = None
+ payment_request = None
+ error_message = None
+
+ if data.get("error") is not None and data["error"].get("message"):
+ logger.error(data["error"]["message"])
+ error_message = data["error"]["message"]
+ return InvoiceResponse(False, checking_id, payment_request, error_message)
+
+ if data.get("result") is not None:
+ checking_id, payment_request = (
+ data["result"]["payment_hash"],
+ data["result"]["invoice"],
+ )
+ else:
+ return InvoiceResponse(False, None, None, "Could not get payment hash")
+
+ return InvoiceResponse(True, checking_id, payment_request, error_message)
+
+ async def pay_invoice(self, bolt11: str, fee_limit_msat: int) -> PaymentResponse:
+ ws = create_connection(self.endpoint)
+ ws.send(f"pay-invoice --invoice {bolt11}")
+ for _ in range(2):
+ r = ws.recv()
+ data = json.loads(r)
+ checking_id, fee_msat, preimage, error_message, payment_ok = (
+ None,
+ None,
+ None,
+ None,
+ None,
+ )
+
+ if data.get("error") is not None:
+ error_message = data["error"].get("message")
+ return PaymentResponse(False, None, None, None, error_message)
+
+ if data.get("method") == "payment_succeeded":
+ payment_ok = True
+ checking_id = data["params"]["payment_hash"]
+ fee_msat = data["params"]["fee_msatoshi"]
+ preimage = data["params"]["preimage"]
+ continue
+
+ if data.get("result") is None:
+ return PaymentResponse(None)
+
+ return PaymentResponse(
+ payment_ok, checking_id, fee_msat, preimage, error_message
+ )
+
+ async def get_invoice_status(self, checking_id: str) -> PaymentStatus:
+ ws = create_connection(self.endpoint)
+ ws.send(f"check-payment --hash {checking_id}")
+ r = ws.recv()
+ data = json.loads(r)
+
+ if data.get("error") is not None and data["error"].get("message"):
+ logger.error(data["error"]["message"])
+ return PaymentStatus(None)
+
+ statuses = {"pending": None, "complete": True, "failed": False}
+ return PaymentStatus(statuses[data["result"]["status"]])
+
+ async def get_payment_status(self, checking_id: str) -> PaymentStatus:
+ ws = create_connection(self.endpoint)
+ ws.send(f"check-payment --hash {checking_id}")
+ r = ws.recv()
+ data = json.loads(r)
+
+ if data.get("error") is not None and data["error"].get("message"):
+ logger.error(data["error"]["message"])
+ return PaymentStatus(None)
+ payment = data["result"]
+ statuses = {"pending": None, "complete": True, "failed": False}
+ return PaymentStatus(
+ statuses[payment["status"]],
+ payment.get("fee_msatoshi"),
+ payment.get("preimage"),
+ )
+
+ async def paid_invoices_stream(self) -> AsyncGenerator[str, None]:
+ while True:
+ try:
+ ws = await create_connection(self.endpoint)
+ while True:
+ r = await ws.recv()
+ data = json.loads(r)
+ print(data)
+ try:
+ if data["result"]["status"]:
+ yield data["result"]["payment_hash"]
+ except:
+ continue
+ except Exception as exc:
+ logger.error(
+ f"lost connection to cliche's invoices stream: '{exc}', retrying in 5 seconds"
+ )
+ await asyncio.sleep(5)
+ continue
diff --git a/lnbits/wallets/clightning.py b/lnbits/wallets/clightning.py
deleted file mode 100644
index fc79b3e3..00000000
--- a/lnbits/wallets/clightning.py
+++ /dev/null
@@ -1,152 +0,0 @@
-try:
- from lightning import LightningRpc, RpcError # type: ignore
-except ImportError: # pragma: nocover
- LightningRpc = None
-
-import asyncio
-import random
-import time
-from functools import partial, wraps
-from os import getenv
-from typing import AsyncGenerator, Optional
-
-from lnbits import bolt11 as lnbits_bolt11
-
-from .base import (
- InvoiceResponse,
- PaymentResponse,
- PaymentStatus,
- StatusResponse,
- Unsupported,
- Wallet,
-)
-
-
-def async_wrap(func):
- @wraps(func)
- async def run(*args, loop=None, executor=None, **kwargs):
- if loop is None:
- loop = asyncio.get_event_loop()
- partial_func = partial(func, *args, **kwargs)
- return await loop.run_in_executor(executor, partial_func)
-
- return run
-
-
-def _pay_invoice(ln, payload):
- return ln.call("pay", payload)
-
-
-def _paid_invoices_stream(ln, last_pay_index):
- return ln.waitanyinvoice(last_pay_index)
-
-
-class CLightningWallet(Wallet):
- def __init__(self):
- if LightningRpc is None: # pragma: nocover
- raise ImportError(
- "The `pylightning` library must be installed to use `CLightningWallet`."
- )
-
- self.rpc = getenv("CLIGHTNING_RPC")
- self.ln = LightningRpc(self.rpc)
-
- # check description_hash support (could be provided by a plugin)
- self.supports_description_hash = False
- try:
- answer = self.ln.help("invoicewithdescriptionhash")
- if answer["help"][0]["command"].startswith(
- "invoicewithdescriptionhash msatoshi label description_hash"
- ):
- self.supports_description_hash = True
- except:
- pass
-
- # check last payindex so we can listen from that point on
- self.last_pay_index = 0
- invoices = self.ln.listinvoices()
- for inv in invoices["invoices"][::-1]:
- if "pay_index" in inv:
- self.last_pay_index = inv["pay_index"]
- break
-
- async def status(self) -> StatusResponse:
- try:
- funds = self.ln.listfunds()
- return StatusResponse(
- None, sum([ch["channel_sat"] * 1000 for ch in funds["channels"]])
- )
- except RpcError as exc:
- error_message = f"lightningd '{exc.method}' failed with '{exc.error}'."
- return StatusResponse(error_message, 0)
-
- async def create_invoice(
- self,
- amount: int,
- memo: Optional[str] = None,
- description_hash: Optional[bytes] = None,
- ) -> InvoiceResponse:
- label = "lbl{}".format(random.random())
- msat = amount * 1000
-
- try:
- if description_hash:
- if not self.supports_description_hash:
- raise Unsupported("description_hash")
-
- params = [msat, label, description_hash.hex()]
- r = self.ln.call("invoicewithdescriptionhash", params)
- return InvoiceResponse(True, label, r["bolt11"], "")
- else:
- r = self.ln.invoice(msat, label, memo, exposeprivatechannels=True)
- return InvoiceResponse(True, label, r["bolt11"], "")
- except RpcError as exc:
- error_message = f"lightningd '{exc.method}' failed with '{exc.error}'."
- return InvoiceResponse(False, label, None, error_message)
-
- async def pay_invoice(self, bolt11: str, fee_limit_msat: int) -> PaymentResponse:
- invoice = lnbits_bolt11.decode(bolt11)
- fee_limit_percent = fee_limit_msat / invoice.amount_msat * 100
-
- payload = {
- "bolt11": bolt11,
- "maxfeepercent": "{:.11}".format(fee_limit_percent),
- "exemptfee": 0, # so fee_limit_percent is applied even on payments with fee under 5000 millisatoshi (which is default value of exemptfee)
- }
- try:
- wrapped = async_wrap(_pay_invoice)
- r = await wrapped(self.ln, payload)
- except RpcError as exc:
- return PaymentResponse(False, None, 0, None, str(exc))
-
- fee_msat = r["msatoshi_sent"] - r["msatoshi"]
- preimage = r["payment_preimage"]
- return PaymentResponse(True, r["payment_hash"], fee_msat, preimage, None)
-
- async def get_invoice_status(self, checking_id: str) -> PaymentStatus:
- r = self.ln.listinvoices(checking_id)
- if not r["invoices"]:
- return PaymentStatus(False)
- if r["invoices"][0]["label"] == checking_id:
- return PaymentStatus(r["invoices"][0]["status"] == "paid")
- raise KeyError("supplied an invalid checking_id")
-
- async def get_payment_status(self, checking_id: str) -> PaymentStatus:
- r = self.ln.call("listpays", {"payment_hash": checking_id})
- if not r["pays"]:
- return PaymentStatus(False)
- if r["pays"][0]["payment_hash"] == checking_id:
- status = r["pays"][0]["status"]
- if status == "complete":
- return PaymentStatus(True)
- elif status == "failed":
- return PaymentStatus(False)
- return PaymentStatus(None)
- raise KeyError("supplied an invalid checking_id")
-
- async def paid_invoices_stream(self) -> AsyncGenerator[str, None]:
- while True:
- wrapped = async_wrap(_paid_invoices_stream)
- paid = await wrapped(self.ln, self.last_pay_index)
- self.last_pay_index = paid["pay_index"]
- yield paid["label"]
diff --git a/lnbits/wallets/cln.py b/lnbits/wallets/cln.py
new file mode 100644
index 00000000..48b96128
--- /dev/null
+++ b/lnbits/wallets/cln.py
@@ -0,0 +1,201 @@
+try:
+ from pyln.client import LightningRpc, RpcError # type: ignore
+except ImportError: # pragma: nocover
+ LightningRpc = None
+
+import asyncio
+import hashlib
+import random
+import time
+from functools import partial, wraps
+from os import getenv
+from typing import AsyncGenerator, Optional
+
+from loguru import logger
+
+from lnbits import bolt11 as lnbits_bolt11
+
+from .base import (
+ InvoiceResponse,
+ PaymentResponse,
+ PaymentStatus,
+ StatusResponse,
+ Unsupported,
+ Wallet,
+)
+
+
+def async_wrap(func):
+ @wraps(func)
+ async def run(*args, loop=None, executor=None, **kwargs):
+ if loop is None:
+ loop = asyncio.get_event_loop()
+ partial_func = partial(func, *args, **kwargs)
+ return await loop.run_in_executor(executor, partial_func)
+
+ return run
+
+
+def _pay_invoice(ln, payload):
+ return ln.call("pay", payload)
+
+
+def _paid_invoices_stream(ln, last_pay_index):
+ return ln.waitanyinvoice(last_pay_index)
+
+
+class CoreLightningWallet(Wallet):
+ def __init__(self):
+ if LightningRpc is None: # pragma: nocover
+ raise ImportError(
+ "The `pyln-client` library must be installed to use `CoreLightningWallet`."
+ )
+
+ self.rpc = getenv("CORELIGHTNING_RPC") or getenv("CLIGHTNING_RPC")
+ self.ln = LightningRpc(self.rpc)
+
+ # check if description_hash is supported (from CLN>=v0.11.0)
+ self.supports_description_hash = (
+ "deschashonly" in self.ln.help("invoice")["help"][0]["command"]
+ )
+
+ # check last payindex so we can listen from that point on
+ self.last_pay_index = 0
+ invoices = self.ln.listinvoices()
+ for inv in invoices["invoices"][::-1]:
+ if "pay_index" in inv:
+ self.last_pay_index = inv["pay_index"]
+ break
+
+ async def status(self) -> StatusResponse:
+ try:
+ funds = self.ln.listfunds()
+ return StatusResponse(
+ None, sum([ch["channel_sat"] * 1000 for ch in funds["channels"]])
+ )
+ except RpcError as exc:
+ error_message = f"lightningd '{exc.method}' failed with '{exc.error}'."
+ return StatusResponse(error_message, 0)
+
+ async def create_invoice(
+ self,
+ amount: int,
+ memo: Optional[str] = None,
+ description_hash: Optional[bytes] = None,
+ unhashed_description: Optional[bytes] = None,
+ ) -> InvoiceResponse:
+ label = "lbl{}".format(random.random())
+ msat: int = int(amount * 1000)
+ try:
+ if description_hash and not unhashed_description:
+ raise Unsupported(
+ "'description_hash' unsupported by CLN, provide 'unhashed_description'"
+ )
+ if unhashed_description and not self.supports_description_hash:
+ raise Unsupported("unhashed_description")
+ r = self.ln.invoice(
+ msatoshi=msat,
+ label=label,
+ description=unhashed_description.decode("utf-8")
+ if unhashed_description
+ else memo,
+ exposeprivatechannels=True,
+ deschashonly=True
+ if unhashed_description
+ else False, # we can't pass None here
+ )
+
+ if r.get("code") and r.get("code") < 0:
+ raise Exception(r.get("message"))
+
+ return InvoiceResponse(True, r["payment_hash"], r["bolt11"], "")
+ except RpcError as exc:
+ error_message = f"CLN method '{exc.method}' failed with '{exc.error.get('message') or exc.error}'."
+ return InvoiceResponse(False, None, None, error_message)
+ except Exception as e:
+ return InvoiceResponse(False, None, None, str(e))
+
+ async def pay_invoice(self, bolt11: str, fee_limit_msat: int) -> PaymentResponse:
+ invoice = lnbits_bolt11.decode(bolt11)
+
+ previous_payment = await self.get_payment_status(invoice.payment_hash)
+ if previous_payment.paid:
+ return PaymentResponse(False, None, None, None, "invoice already paid")
+
+ fee_limit_percent = fee_limit_msat / invoice.amount_msat * 100
+
+ payload = {
+ "bolt11": bolt11,
+ "maxfeepercent": "{:.11}".format(fee_limit_percent),
+ "exemptfee": 0, # so fee_limit_percent is applied even on payments with fee < 5000 millisatoshi (which is default value of exemptfee)
+ }
+ try:
+ wrapped = async_wrap(_pay_invoice)
+ r = await wrapped(self.ln, payload)
+ except RpcError as exc:
+ try:
+ error_message = exc.error["attempts"][-1]["fail_reason"]
+ except:
+ error_message = f"CLN method '{exc.method}' failed with '{exc.error.get('message') or exc.error}'."
+ return PaymentResponse(False, None, None, None, error_message)
+ except Exception as exc:
+ return PaymentResponse(False, None, None, None, str(exc))
+
+ fee_msat = -int(r["msatoshi_sent"] - r["msatoshi"])
+ return PaymentResponse(
+ True, r["payment_hash"], fee_msat, r["payment_preimage"], None
+ )
+
+ async def get_invoice_status(self, checking_id: str) -> PaymentStatus:
+ try:
+ r = self.ln.listinvoices(payment_hash=checking_id)
+ except:
+ return PaymentStatus(None)
+ if not r["invoices"]:
+ return PaymentStatus(None)
+
+ invoice_resp = r["invoices"][-1]
+
+ if invoice_resp["payment_hash"] == checking_id:
+ if invoice_resp["status"] == "paid":
+ return PaymentStatus(True)
+ elif invoice_resp["status"] == "unpaid":
+ return PaymentStatus(None)
+ logger.warning(f"supplied an invalid checking_id: {checking_id}")
+ return PaymentStatus(None)
+
+ async def get_payment_status(self, checking_id: str) -> PaymentStatus:
+ try:
+ r = self.ln.call("listpays", {"payment_hash": checking_id})
+ except:
+ return PaymentStatus(None)
+ if not r["pays"]:
+ return PaymentStatus(None)
+ payment_resp = r["pays"][-1]
+
+ if payment_resp["payment_hash"] == checking_id:
+ status = payment_resp["status"]
+ if status == "complete":
+ fee_msat = -int(
+ payment_resp["amount_sent_msat"] - payment_resp["amount_msat"]
+ )
+
+ return PaymentStatus(True, fee_msat, payment_resp["preimage"])
+ elif status == "failed":
+ return PaymentStatus(False)
+ return PaymentStatus(None)
+ logger.warning(f"supplied an invalid checking_id: {checking_id}")
+ return PaymentStatus(None)
+
+ async def paid_invoices_stream(self) -> AsyncGenerator[str, None]:
+ while True:
+ try:
+ wrapped = async_wrap(_paid_invoices_stream)
+ paid = await wrapped(self.ln, self.last_pay_index)
+ self.last_pay_index = paid["pay_index"]
+ yield paid["payment_hash"]
+ except Exception as exc:
+ logger.error(
+ f"lost connection to cln invoices stream: '{exc}', retrying in 5 seconds"
+ )
+ await asyncio.sleep(5)
diff --git a/lnbits/wallets/eclair.py b/lnbits/wallets/eclair.py
index ab99c699..c03e3f53 100644
--- a/lnbits/wallets/eclair.py
+++ b/lnbits/wallets/eclair.py
@@ -1,5 +1,6 @@
import asyncio
import base64
+import hashlib
import json
import urllib.parse
from os import getenv
@@ -49,7 +50,7 @@ class EclairWallet(Wallet):
async def status(self) -> StatusResponse:
async with httpx.AsyncClient() as client:
r = await client.post(
- f"{self.url}/usablebalances", headers=self.auth, timeout=40
+ f"{self.url}/globalbalance", headers=self.auth, timeout=5
)
try:
data = r.json()
@@ -59,20 +60,25 @@ class EclairWallet(Wallet):
)
if r.is_error:
- return StatusResponse(data["error"], 0)
+ return StatusResponse(data.get("error") or "undefined error", 0)
+ if len(data) == 0:
+ return StatusResponse("no data", 0)
- return StatusResponse(None, data[0]["canSend"] * 1000)
+ return StatusResponse(None, int(data.get("total") * 100_000_000_000))
async def create_invoice(
self,
amount: int,
memo: Optional[str] = None,
description_hash: Optional[bytes] = None,
+ unhashed_description: Optional[bytes] = None,
) -> InvoiceResponse:
data: Dict = {"amountMsat": amount * 1000}
if description_hash:
data["description_hash"] = description_hash.hex()
+ elif unhashed_description:
+ data["description_hash"] = hashlib.sha256(unhashed_description).hexdigest()
else:
data["description"] = memo or ""
@@ -110,13 +116,18 @@ class EclairWallet(Wallet):
except:
error_message = r.text
pass
- return PaymentResponse(False, None, 0, None, error_message)
+ return PaymentResponse(False, None, None, None, error_message)
data = r.json()
+ if data["type"] == "payment-failed":
+ return PaymentResponse(False, None, None, None, "payment failed")
+
checking_id = data["paymentHash"]
preimage = data["paymentPreimage"]
+ # We do all this again to get the fee:
+
async with httpx.AsyncClient() as client:
r = await client.post(
f"{self.url}/getsentinfo",
@@ -132,15 +143,22 @@ class EclairWallet(Wallet):
except:
error_message = r.text
pass
- return PaymentResponse(
- True, checking_id, 0, preimage, error_message
- ) ## ?? is this ok ??
+ return PaymentResponse(None, checking_id, None, preimage, error_message)
- data = r.json()
- fees = [i["status"] for i in data]
- fee_msat = sum([i["feesPaid"] for i in fees])
+ statuses = {
+ "sent": True,
+ "failed": False,
+ "pending": None,
+ }
- return PaymentResponse(True, checking_id, fee_msat, preimage, None)
+ data = r.json()[-1]
+ if data["status"]["type"] == "sent":
+ fee_msat = -data["status"]["feesPaid"]
+ preimage = data["status"]["paymentPreimage"]
+
+ return PaymentResponse(
+ statuses[data["status"]["type"]], checking_id, fee_msat, preimage, None
+ )
async def get_invoice_status(self, checking_id: str) -> PaymentStatus:
async with httpx.AsyncClient() as client:
@@ -151,54 +169,61 @@ class EclairWallet(Wallet):
)
data = r.json()
- if r.is_error or "error" in data:
+ if r.is_error or "error" in data or data.get("status") is None:
return PaymentStatus(None)
- if data["status"]["type"] != "received":
- return PaymentStatus(False)
-
- return PaymentStatus(True)
+ statuses = {
+ "received": True,
+ "expired": False,
+ "pending": None,
+ }
+ return PaymentStatus(statuses.get(data["status"]["type"]))
async def get_payment_status(self, checking_id: str) -> PaymentStatus:
async with httpx.AsyncClient() as client:
r = await client.post(
- url=f"{self.url}/getsentinfo",
+ f"{self.url}/getsentinfo",
headers=self.auth,
data={"paymentHash": checking_id},
+ timeout=40,
)
- data = r.json()[0]
-
if r.is_error:
return PaymentStatus(None)
- if data["status"]["type"] != "sent":
- return PaymentStatus(False)
+ data = r.json()[-1]
- return PaymentStatus(True)
+ if r.is_error or "error" in data or data.get("status") is None:
+ return PaymentStatus(None)
+
+ fee_msat, preimage = None, None
+ if data["status"]["type"] == "sent":
+ fee_msat = -data["status"]["feesPaid"]
+ preimage = data["status"]["paymentPreimage"]
+
+ statuses = {
+ "sent": True,
+ "failed": False,
+ "pending": None,
+ }
+ return PaymentStatus(statuses.get(data["status"]["type"]), fee_msat, preimage)
async def paid_invoices_stream(self) -> AsyncGenerator[str, None]:
+ while True:
+ try:
+ async with connect(
+ self.ws_url,
+ extra_headers=[("Authorization", self.auth["Authorization"])],
+ ) as ws:
+ while True:
+ message = await ws.recv()
+ message = json.loads(message)
- try:
- async with connect(
- self.ws_url,
- extra_headers=[("Authorization", self.auth["Authorization"])],
- ) as ws:
- while True:
- message = await ws.recv()
- message = json.loads(message)
+ if message and message["type"] == "payment-received":
+ yield message["paymentHash"]
- if message and message["type"] == "payment-received":
- yield message["paymentHash"]
-
- except (
- OSError,
- ConnectionClosedOK,
- ConnectionClosedError,
- ConnectionClosed,
- ) as ose:
- logger.error("OSE", ose)
- pass
-
- logger.error("lost connection to eclair's websocket, retrying in 5 seconds")
- await asyncio.sleep(5)
+ except Exception as exc:
+ logger.error(
+ f"lost connection to eclair invoices stream: '{exc}', retrying in 5 seconds"
+ )
+ await asyncio.sleep(5)
diff --git a/lnbits/wallets/fake.py b/lnbits/wallets/fake.py
index 3126ee46..8424001b 100644
--- a/lnbits/wallets/fake.py
+++ b/lnbits/wallets/fake.py
@@ -35,6 +35,7 @@ class FakeWallet(Wallet):
amount: int,
memo: Optional[str] = None,
description_hash: Optional[bytes] = None,
+ unhashed_description: Optional[bytes] = None,
) -> InvoiceResponse:
# we set a default secret since FakeWallet is used for internal=True invoices
# and the user might not have configured a secret yet
@@ -61,7 +62,10 @@ class FakeWallet(Wallet):
data["timestamp"] = datetime.now().timestamp()
if description_hash:
data["tags_set"] = ["h"]
- data["description_hash"] = description_hash.hex()
+ data["description_hash"] = description_hash
+ elif unhashed_description:
+ data["tags_set"] = ["d"]
+ data["description_hash"] = hashlib.sha256(unhashed_description).digest()
else:
data["tags_set"] = ["d"]
data["memo"] = memo
diff --git a/lnbits/wallets/lnbits.py b/lnbits/wallets/lnbits.py
index d2ddb7ff..ddd80e77 100644
--- a/lnbits/wallets/lnbits.py
+++ b/lnbits/wallets/lnbits.py
@@ -1,4 +1,5 @@
import asyncio
+import hashlib
import json
from os import getenv
from typing import AsyncGenerator, Dict, Optional
@@ -56,12 +57,15 @@ class LNbitsWallet(Wallet):
amount: int,
memo: Optional[str] = None,
description_hash: Optional[bytes] = None,
+ unhashed_description: Optional[bytes] = None,
) -> InvoiceResponse:
data: Dict = {"out": False, "amount": amount}
if description_hash:
data["description_hash"] = description_hash.hex()
- else:
- data["memo"] = memo or ""
+ if unhashed_description:
+ data["unhashed_description"] = unhashed_description.hex()
+
+ data["memo"] = memo or ""
async with httpx.AsyncClient() as client:
r = await client.post(
@@ -90,15 +94,25 @@ class LNbitsWallet(Wallet):
json={"out": True, "bolt11": bolt11},
timeout=None,
)
- ok, checking_id, fee_msat, error_message = not r.is_error, None, 0, None
+ ok, checking_id, fee_msat, preimage, error_message = (
+ not r.is_error,
+ None,
+ None,
+ None,
+ None,
+ )
if r.is_error:
error_message = r.json()["detail"]
+ return PaymentResponse(None, None, None, None, error_message)
else:
data = r.json()
- checking_id = data["checking_id"]
+ checking_id = data["payment_hash"]
- return PaymentResponse(ok, checking_id, fee_msat, error_message)
+ # we do this to get the fee and preimage
+ payment: PaymentStatus = await self.get_payment_status(checking_id)
+
+ return PaymentResponse(ok, checking_id, payment.fee_msat, payment.preimage)
async def get_invoice_status(self, checking_id: str) -> PaymentStatus:
try:
@@ -121,8 +135,11 @@ class LNbitsWallet(Wallet):
if r.is_error:
return PaymentStatus(None)
+ data = r.json()
+ if "paid" not in data and "details" not in data:
+ return PaymentStatus(None)
- return PaymentStatus(r.json()["paid"])
+ return PaymentStatus(data["paid"], data["details"]["fee"], data["preimage"])
async def paid_invoices_stream(self) -> AsyncGenerator[str, None]:
url = f"{self.endpoint}/api/v1/payments/sse"
diff --git a/lnbits/wallets/lnd_grpc_files/lightning_pb2.py b/lnbits/wallets/lnd_grpc_files/lightning_pb2.py
index 9065e3f6..bac57e5b 100644
--- a/lnbits/wallets/lnd_grpc_files/lightning_pb2.py
+++ b/lnbits/wallets/lnd_grpc_files/lightning_pb2.py
@@ -3,6 +3,7 @@
# source: lightning.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
+from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
@@ -13,699 +14,47 @@ from google.protobuf.internal import enum_type_wrapper
_sym_db = _symbol_database.Default()
-DESCRIPTOR = _descriptor.FileDescriptor(
- name="lightning.proto",
- package="lnrpc",
- syntax="proto3",
- serialized_options=b"Z%github.com/lightningnetwork/lnd/lnrpc",
- create_key=_descriptor._internal_create_key,
- serialized_pb=b'\n\x0flightning.proto\x12\x05lnrpc" \n\x1eSubscribeCustomMessagesRequest"9\n\rCustomMessage\x12\x0c\n\x04peer\x18\x01 \x01(\x0c\x12\x0c\n\x04type\x18\x02 \x01(\r\x12\x0c\n\x04\x64\x61ta\x18\x03 \x01(\x0c"D\n\x18SendCustomMessageRequest\x12\x0c\n\x04peer\x18\x01 \x01(\x0c\x12\x0c\n\x04type\x18\x02 \x01(\r\x12\x0c\n\x04\x64\x61ta\x18\x03 \x01(\x0c"\x1b\n\x19SendCustomMessageResponse"\xa2\x01\n\x04Utxo\x12(\n\x0c\x61\x64\x64ress_type\x18\x01 \x01(\x0e\x32\x12.lnrpc.AddressType\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x12\x12\n\namount_sat\x18\x03 \x01(\x03\x12\x11\n\tpk_script\x18\x04 \x01(\t\x12!\n\x08outpoint\x18\x05 \x01(\x0b\x32\x0f.lnrpc.OutPoint\x12\x15\n\rconfirmations\x18\x06 \x01(\x03"\xd6\x01\n\x0bTransaction\x12\x0f\n\x07tx_hash\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\x03\x12\x19\n\x11num_confirmations\x18\x03 \x01(\x05\x12\x12\n\nblock_hash\x18\x04 \x01(\t\x12\x14\n\x0c\x62lock_height\x18\x05 \x01(\x05\x12\x12\n\ntime_stamp\x18\x06 \x01(\x03\x12\x12\n\ntotal_fees\x18\x07 \x01(\x03\x12\x16\n\x0e\x64\x65st_addresses\x18\x08 \x03(\t\x12\x12\n\nraw_tx_hex\x18\t \x01(\t\x12\r\n\x05label\x18\n \x01(\t"S\n\x16GetTransactionsRequest\x12\x14\n\x0cstart_height\x18\x01 \x01(\x05\x12\x12\n\nend_height\x18\x02 \x01(\x05\x12\x0f\n\x07\x61\x63\x63ount\x18\x03 \x01(\t">\n\x12TransactionDetails\x12(\n\x0ctransactions\x18\x01 \x03(\x0b\x32\x12.lnrpc.Transaction"M\n\x08\x46\x65\x65Limit\x12\x0f\n\x05\x66ixed\x18\x01 \x01(\x03H\x00\x12\x14\n\nfixed_msat\x18\x03 \x01(\x03H\x00\x12\x11\n\x07percent\x18\x02 \x01(\x03H\x00\x42\x07\n\x05limit"\x8a\x04\n\x0bSendRequest\x12\x0c\n\x04\x64\x65st\x18\x01 \x01(\x0c\x12\x17\n\x0b\x64\x65st_string\x18\x02 \x01(\tB\x02\x18\x01\x12\x0b\n\x03\x61mt\x18\x03 \x01(\x03\x12\x10\n\x08\x61mt_msat\x18\x0c \x01(\x03\x12\x14\n\x0cpayment_hash\x18\x04 \x01(\x0c\x12\x1f\n\x13payment_hash_string\x18\x05 \x01(\tB\x02\x18\x01\x12\x17\n\x0fpayment_request\x18\x06 \x01(\t\x12\x18\n\x10\x66inal_cltv_delta\x18\x07 \x01(\x05\x12"\n\tfee_limit\x18\x08 \x01(\x0b\x32\x0f.lnrpc.FeeLimit\x12\x1c\n\x10outgoing_chan_id\x18\t \x01(\x04\x42\x02\x30\x01\x12\x17\n\x0flast_hop_pubkey\x18\r \x01(\x0c\x12\x12\n\ncltv_limit\x18\n \x01(\r\x12\x46\n\x13\x64\x65st_custom_records\x18\x0b \x03(\x0b\x32).lnrpc.SendRequest.DestCustomRecordsEntry\x12\x1a\n\x12\x61llow_self_payment\x18\x0e \x01(\x08\x12(\n\rdest_features\x18\x0f \x03(\x0e\x32\x11.lnrpc.FeatureBit\x12\x14\n\x0cpayment_addr\x18\x10 \x01(\x0c\x1a\x38\n\x16\x44\x65stCustomRecordsEntry\x12\x0b\n\x03key\x18\x01 \x01(\x04\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01"z\n\x0cSendResponse\x12\x15\n\rpayment_error\x18\x01 \x01(\t\x12\x18\n\x10payment_preimage\x18\x02 \x01(\x0c\x12#\n\rpayment_route\x18\x03 \x01(\x0b\x32\x0c.lnrpc.Route\x12\x14\n\x0cpayment_hash\x18\x04 \x01(\x0c"n\n\x12SendToRouteRequest\x12\x14\n\x0cpayment_hash\x18\x01 \x01(\x0c\x12\x1f\n\x13payment_hash_string\x18\x02 \x01(\tB\x02\x18\x01\x12\x1b\n\x05route\x18\x04 \x01(\x0b\x32\x0c.lnrpc.RouteJ\x04\x08\x03\x10\x04"\xe5\x02\n\x14\x43hannelAcceptRequest\x12\x13\n\x0bnode_pubkey\x18\x01 \x01(\x0c\x12\x12\n\nchain_hash\x18\x02 \x01(\x0c\x12\x17\n\x0fpending_chan_id\x18\x03 \x01(\x0c\x12\x13\n\x0b\x66unding_amt\x18\x04 \x01(\x04\x12\x10\n\x08push_amt\x18\x05 \x01(\x04\x12\x12\n\ndust_limit\x18\x06 \x01(\x04\x12\x1b\n\x13max_value_in_flight\x18\x07 \x01(\x04\x12\x17\n\x0f\x63hannel_reserve\x18\x08 \x01(\x04\x12\x10\n\x08min_htlc\x18\t \x01(\x04\x12\x12\n\nfee_per_kw\x18\n \x01(\x04\x12\x11\n\tcsv_delay\x18\x0b \x01(\r\x12\x1a\n\x12max_accepted_htlcs\x18\x0c \x01(\r\x12\x15\n\rchannel_flags\x18\r \x01(\r\x12.\n\x0f\x63ommitment_type\x18\x0e \x01(\x0e\x32\x15.lnrpc.CommitmentType"\xf4\x01\n\x15\x43hannelAcceptResponse\x12\x0e\n\x06\x61\x63\x63\x65pt\x18\x01 \x01(\x08\x12\x17\n\x0fpending_chan_id\x18\x02 \x01(\x0c\x12\r\n\x05\x65rror\x18\x03 \x01(\t\x12\x18\n\x10upfront_shutdown\x18\x04 \x01(\t\x12\x11\n\tcsv_delay\x18\x05 \x01(\r\x12\x13\n\x0breserve_sat\x18\x06 \x01(\x04\x12\x1a\n\x12in_flight_max_msat\x18\x07 \x01(\x04\x12\x16\n\x0emax_htlc_count\x18\x08 \x01(\r\x12\x13\n\x0bmin_htlc_in\x18\t \x01(\x04\x12\x18\n\x10min_accept_depth\x18\n \x01(\r"n\n\x0c\x43hannelPoint\x12\x1c\n\x12\x66unding_txid_bytes\x18\x01 \x01(\x0cH\x00\x12\x1a\n\x10\x66unding_txid_str\x18\x02 \x01(\tH\x00\x12\x14\n\x0coutput_index\x18\x03 \x01(\rB\x0e\n\x0c\x66unding_txid"F\n\x08OutPoint\x12\x12\n\ntxid_bytes\x18\x01 \x01(\x0c\x12\x10\n\x08txid_str\x18\x02 \x01(\t\x12\x14\n\x0coutput_index\x18\x03 \x01(\r"0\n\x10LightningAddress\x12\x0e\n\x06pubkey\x18\x01 \x01(\t\x12\x0c\n\x04host\x18\x02 \x01(\t"\xcf\x01\n\x12\x45stimateFeeRequest\x12\x41\n\x0c\x41\x64\x64rToAmount\x18\x01 \x03(\x0b\x32+.lnrpc.EstimateFeeRequest.AddrToAmountEntry\x12\x13\n\x0btarget_conf\x18\x02 \x01(\x05\x12\x11\n\tmin_confs\x18\x03 \x01(\x05\x12\x19\n\x11spend_unconfirmed\x18\x04 \x01(\x08\x1a\x33\n\x11\x41\x64\x64rToAmountEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x03:\x02\x38\x01"_\n\x13\x45stimateFeeResponse\x12\x0f\n\x07\x66\x65\x65_sat\x18\x01 \x01(\x03\x12 \n\x14\x66\x65\x65rate_sat_per_byte\x18\x02 \x01(\x03\x42\x02\x18\x01\x12\x15\n\rsat_per_vbyte\x18\x03 \x01(\x04"\x89\x02\n\x0fSendManyRequest\x12>\n\x0c\x41\x64\x64rToAmount\x18\x01 \x03(\x0b\x32(.lnrpc.SendManyRequest.AddrToAmountEntry\x12\x13\n\x0btarget_conf\x18\x03 \x01(\x05\x12\x15\n\rsat_per_vbyte\x18\x04 \x01(\x04\x12\x18\n\x0csat_per_byte\x18\x05 \x01(\x03\x42\x02\x18\x01\x12\r\n\x05label\x18\x06 \x01(\t\x12\x11\n\tmin_confs\x18\x07 \x01(\x05\x12\x19\n\x11spend_unconfirmed\x18\x08 \x01(\x08\x1a\x33\n\x11\x41\x64\x64rToAmountEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x03:\x02\x38\x01" \n\x10SendManyResponse\x12\x0c\n\x04txid\x18\x01 \x01(\t"\xc5\x01\n\x10SendCoinsRequest\x12\x0c\n\x04\x61\x64\x64r\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\x03\x12\x13\n\x0btarget_conf\x18\x03 \x01(\x05\x12\x15\n\rsat_per_vbyte\x18\x04 \x01(\x04\x12\x18\n\x0csat_per_byte\x18\x05 \x01(\x03\x42\x02\x18\x01\x12\x10\n\x08send_all\x18\x06 \x01(\x08\x12\r\n\x05label\x18\x07 \x01(\t\x12\x11\n\tmin_confs\x18\x08 \x01(\x05\x12\x19\n\x11spend_unconfirmed\x18\t \x01(\x08"!\n\x11SendCoinsResponse\x12\x0c\n\x04txid\x18\x01 \x01(\t"K\n\x12ListUnspentRequest\x12\x11\n\tmin_confs\x18\x01 \x01(\x05\x12\x11\n\tmax_confs\x18\x02 \x01(\x05\x12\x0f\n\x07\x61\x63\x63ount\x18\x03 \x01(\t"1\n\x13ListUnspentResponse\x12\x1a\n\x05utxos\x18\x01 \x03(\x0b\x32\x0b.lnrpc.Utxo"F\n\x11NewAddressRequest\x12 \n\x04type\x18\x01 \x01(\x0e\x32\x12.lnrpc.AddressType\x12\x0f\n\x07\x61\x63\x63ount\x18\x02 \x01(\t"%\n\x12NewAddressResponse\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t"6\n\x12SignMessageRequest\x12\x0b\n\x03msg\x18\x01 \x01(\x0c\x12\x13\n\x0bsingle_hash\x18\x02 \x01(\x08"(\n\x13SignMessageResponse\x12\x11\n\tsignature\x18\x01 \x01(\t"6\n\x14VerifyMessageRequest\x12\x0b\n\x03msg\x18\x01 \x01(\x0c\x12\x11\n\tsignature\x18\x02 \x01(\t"6\n\x15VerifyMessageResponse\x12\r\n\x05valid\x18\x01 \x01(\x08\x12\x0e\n\x06pubkey\x18\x02 \x01(\t"Z\n\x12\x43onnectPeerRequest\x12%\n\x04\x61\x64\x64r\x18\x01 \x01(\x0b\x32\x17.lnrpc.LightningAddress\x12\x0c\n\x04perm\x18\x02 \x01(\x08\x12\x0f\n\x07timeout\x18\x03 \x01(\x04"\x15\n\x13\x43onnectPeerResponse"(\n\x15\x44isconnectPeerRequest\x12\x0f\n\x07pub_key\x18\x01 \x01(\t"\x18\n\x16\x44isconnectPeerResponse"\xa5\x01\n\x04HTLC\x12\x10\n\x08incoming\x18\x01 \x01(\x08\x12\x0e\n\x06\x61mount\x18\x02 \x01(\x03\x12\x11\n\thash_lock\x18\x03 \x01(\x0c\x12\x19\n\x11\x65xpiration_height\x18\x04 \x01(\r\x12\x12\n\nhtlc_index\x18\x05 \x01(\x04\x12\x1a\n\x12\x66orwarding_channel\x18\x06 \x01(\x04\x12\x1d\n\x15\x66orwarding_htlc_index\x18\x07 \x01(\x04"\xaa\x01\n\x12\x43hannelConstraints\x12\x11\n\tcsv_delay\x18\x01 \x01(\r\x12\x18\n\x10\x63han_reserve_sat\x18\x02 \x01(\x04\x12\x16\n\x0e\x64ust_limit_sat\x18\x03 \x01(\x04\x12\x1c\n\x14max_pending_amt_msat\x18\x04 \x01(\x04\x12\x15\n\rmin_htlc_msat\x18\x05 \x01(\x04\x12\x1a\n\x12max_accepted_htlcs\x18\x06 \x01(\r"\xb0\x06\n\x07\x43hannel\x12\x0e\n\x06\x61\x63tive\x18\x01 \x01(\x08\x12\x15\n\rremote_pubkey\x18\x02 \x01(\t\x12\x15\n\rchannel_point\x18\x03 \x01(\t\x12\x13\n\x07\x63han_id\x18\x04 \x01(\x04\x42\x02\x30\x01\x12\x10\n\x08\x63\x61pacity\x18\x05 \x01(\x03\x12\x15\n\rlocal_balance\x18\x06 \x01(\x03\x12\x16\n\x0eremote_balance\x18\x07 \x01(\x03\x12\x12\n\ncommit_fee\x18\x08 \x01(\x03\x12\x15\n\rcommit_weight\x18\t \x01(\x03\x12\x12\n\nfee_per_kw\x18\n \x01(\x03\x12\x19\n\x11unsettled_balance\x18\x0b \x01(\x03\x12\x1b\n\x13total_satoshis_sent\x18\x0c \x01(\x03\x12\x1f\n\x17total_satoshis_received\x18\r \x01(\x03\x12\x13\n\x0bnum_updates\x18\x0e \x01(\x04\x12"\n\rpending_htlcs\x18\x0f \x03(\x0b\x32\x0b.lnrpc.HTLC\x12\x15\n\tcsv_delay\x18\x10 \x01(\rB\x02\x18\x01\x12\x0f\n\x07private\x18\x11 \x01(\x08\x12\x11\n\tinitiator\x18\x12 \x01(\x08\x12\x19\n\x11\x63han_status_flags\x18\x13 \x01(\t\x12"\n\x16local_chan_reserve_sat\x18\x14 \x01(\x03\x42\x02\x18\x01\x12#\n\x17remote_chan_reserve_sat\x18\x15 \x01(\x03\x42\x02\x18\x01\x12\x1d\n\x11static_remote_key\x18\x16 \x01(\x08\x42\x02\x18\x01\x12.\n\x0f\x63ommitment_type\x18\x1a \x01(\x0e\x32\x15.lnrpc.CommitmentType\x12\x10\n\x08lifetime\x18\x17 \x01(\x03\x12\x0e\n\x06uptime\x18\x18 \x01(\x03\x12\x15\n\rclose_address\x18\x19 \x01(\t\x12\x17\n\x0fpush_amount_sat\x18\x1b \x01(\x04\x12\x13\n\x0bthaw_height\x18\x1c \x01(\r\x12\x34\n\x11local_constraints\x18\x1d \x01(\x0b\x32\x19.lnrpc.ChannelConstraints\x12\x35\n\x12remote_constraints\x18\x1e \x01(\x0b\x32\x19.lnrpc.ChannelConstraints"z\n\x13ListChannelsRequest\x12\x13\n\x0b\x61\x63tive_only\x18\x01 \x01(\x08\x12\x15\n\rinactive_only\x18\x02 \x01(\x08\x12\x13\n\x0bpublic_only\x18\x03 \x01(\x08\x12\x14\n\x0cprivate_only\x18\x04 \x01(\x08\x12\x0c\n\x04peer\x18\x05 \x01(\x0c"8\n\x14ListChannelsResponse\x12 \n\x08\x63hannels\x18\x0b \x03(\x0b\x32\x0e.lnrpc.Channel"\xa9\x04\n\x13\x43hannelCloseSummary\x12\x15\n\rchannel_point\x18\x01 \x01(\t\x12\x13\n\x07\x63han_id\x18\x02 \x01(\x04\x42\x02\x30\x01\x12\x12\n\nchain_hash\x18\x03 \x01(\t\x12\x17\n\x0f\x63losing_tx_hash\x18\x04 \x01(\t\x12\x15\n\rremote_pubkey\x18\x05 \x01(\t\x12\x10\n\x08\x63\x61pacity\x18\x06 \x01(\x03\x12\x14\n\x0c\x63lose_height\x18\x07 \x01(\r\x12\x17\n\x0fsettled_balance\x18\x08 \x01(\x03\x12\x1b\n\x13time_locked_balance\x18\t \x01(\x03\x12:\n\nclose_type\x18\n \x01(\x0e\x32&.lnrpc.ChannelCloseSummary.ClosureType\x12(\n\x0eopen_initiator\x18\x0b \x01(\x0e\x32\x10.lnrpc.Initiator\x12)\n\x0f\x63lose_initiator\x18\x0c \x01(\x0e\x32\x10.lnrpc.Initiator\x12&\n\x0bresolutions\x18\r \x03(\x0b\x32\x11.lnrpc.Resolution"\x8a\x01\n\x0b\x43losureType\x12\x15\n\x11\x43OOPERATIVE_CLOSE\x10\x00\x12\x15\n\x11LOCAL_FORCE_CLOSE\x10\x01\x12\x16\n\x12REMOTE_FORCE_CLOSE\x10\x02\x12\x10\n\x0c\x42REACH_CLOSE\x10\x03\x12\x14\n\x10\x46UNDING_CANCELED\x10\x04\x12\r\n\tABANDONED\x10\x05"\xb2\x01\n\nResolution\x12.\n\x0fresolution_type\x18\x01 \x01(\x0e\x32\x15.lnrpc.ResolutionType\x12)\n\x07outcome\x18\x02 \x01(\x0e\x32\x18.lnrpc.ResolutionOutcome\x12!\n\x08outpoint\x18\x03 \x01(\x0b\x32\x0f.lnrpc.OutPoint\x12\x12\n\namount_sat\x18\x04 \x01(\x04\x12\x12\n\nsweep_txid\x18\x05 \x01(\t"\x94\x01\n\x15\x43losedChannelsRequest\x12\x13\n\x0b\x63ooperative\x18\x01 \x01(\x08\x12\x13\n\x0blocal_force\x18\x02 \x01(\x08\x12\x14\n\x0cremote_force\x18\x03 \x01(\x08\x12\x0e\n\x06\x62reach\x18\x04 \x01(\x08\x12\x18\n\x10\x66unding_canceled\x18\x05 \x01(\x08\x12\x11\n\tabandoned\x18\x06 \x01(\x08"F\n\x16\x43losedChannelsResponse\x12,\n\x08\x63hannels\x18\x01 \x03(\x0b\x32\x1a.lnrpc.ChannelCloseSummary"\xef\x03\n\x04Peer\x12\x0f\n\x07pub_key\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x03 \x01(\t\x12\x12\n\nbytes_sent\x18\x04 \x01(\x04\x12\x12\n\nbytes_recv\x18\x05 \x01(\x04\x12\x10\n\x08sat_sent\x18\x06 \x01(\x03\x12\x10\n\x08sat_recv\x18\x07 \x01(\x03\x12\x0f\n\x07inbound\x18\x08 \x01(\x08\x12\x11\n\tping_time\x18\t \x01(\x03\x12\'\n\tsync_type\x18\n \x01(\x0e\x32\x14.lnrpc.Peer.SyncType\x12+\n\x08\x66\x65\x61tures\x18\x0b \x03(\x0b\x32\x19.lnrpc.Peer.FeaturesEntry\x12\'\n\x06\x65rrors\x18\x0c \x03(\x0b\x32\x17.lnrpc.TimestampedError\x12\x12\n\nflap_count\x18\r \x01(\x05\x12\x14\n\x0clast_flap_ns\x18\x0e \x01(\x03\x12\x19\n\x11last_ping_payload\x18\x0f \x01(\x0c\x1a?\n\rFeaturesEntry\x12\x0b\n\x03key\x18\x01 \x01(\r\x12\x1d\n\x05value\x18\x02 \x01(\x0b\x32\x0e.lnrpc.Feature:\x02\x38\x01"P\n\x08SyncType\x12\x10\n\x0cUNKNOWN_SYNC\x10\x00\x12\x0f\n\x0b\x41\x43TIVE_SYNC\x10\x01\x12\x10\n\x0cPASSIVE_SYNC\x10\x02\x12\x0f\n\x0bPINNED_SYNC\x10\x03"4\n\x10TimestampedError\x12\x11\n\ttimestamp\x18\x01 \x01(\x04\x12\r\n\x05\x65rror\x18\x02 \x01(\t"(\n\x10ListPeersRequest\x12\x14\n\x0clatest_error\x18\x01 \x01(\x08"/\n\x11ListPeersResponse\x12\x1a\n\x05peers\x18\x01 \x03(\x0b\x32\x0b.lnrpc.Peer"\x17\n\x15PeerEventSubscription"v\n\tPeerEvent\x12\x0f\n\x07pub_key\x18\x01 \x01(\t\x12(\n\x04type\x18\x02 \x01(\x0e\x32\x1a.lnrpc.PeerEvent.EventType".\n\tEventType\x12\x0f\n\x0bPEER_ONLINE\x10\x00\x12\x10\n\x0cPEER_OFFLINE\x10\x01"\x10\n\x0eGetInfoRequest"\x96\x04\n\x0fGetInfoResponse\x12\x0f\n\x07version\x18\x0e \x01(\t\x12\x13\n\x0b\x63ommit_hash\x18\x14 \x01(\t\x12\x17\n\x0fidentity_pubkey\x18\x01 \x01(\t\x12\r\n\x05\x61lias\x18\x02 \x01(\t\x12\r\n\x05\x63olor\x18\x11 \x01(\t\x12\x1c\n\x14num_pending_channels\x18\x03 \x01(\r\x12\x1b\n\x13num_active_channels\x18\x04 \x01(\r\x12\x1d\n\x15num_inactive_channels\x18\x0f \x01(\r\x12\x11\n\tnum_peers\x18\x05 \x01(\r\x12\x14\n\x0c\x62lock_height\x18\x06 \x01(\r\x12\x12\n\nblock_hash\x18\x08 \x01(\t\x12\x1d\n\x15\x62\x65st_header_timestamp\x18\r \x01(\x03\x12\x17\n\x0fsynced_to_chain\x18\t \x01(\x08\x12\x17\n\x0fsynced_to_graph\x18\x12 \x01(\x08\x12\x13\n\x07testnet\x18\n \x01(\x08\x42\x02\x18\x01\x12\x1c\n\x06\x63hains\x18\x10 \x03(\x0b\x32\x0c.lnrpc.Chain\x12\x0c\n\x04uris\x18\x0c \x03(\t\x12\x36\n\x08\x66\x65\x61tures\x18\x13 \x03(\x0b\x32$.lnrpc.GetInfoResponse.FeaturesEntry\x1a?\n\rFeaturesEntry\x12\x0b\n\x03key\x18\x01 \x01(\r\x12\x1d\n\x05value\x18\x02 \x01(\x0b\x32\x0e.lnrpc.Feature:\x02\x38\x01J\x04\x08\x0b\x10\x0c"\x18\n\x16GetRecoveryInfoRequest"]\n\x17GetRecoveryInfoResponse\x12\x15\n\rrecovery_mode\x18\x01 \x01(\x08\x12\x19\n\x11recovery_finished\x18\x02 \x01(\x08\x12\x10\n\x08progress\x18\x03 \x01(\x01"\'\n\x05\x43hain\x12\r\n\x05\x63hain\x18\x01 \x01(\t\x12\x0f\n\x07network\x18\x02 \x01(\t"U\n\x12\x43onfirmationUpdate\x12\x11\n\tblock_sha\x18\x01 \x01(\x0c\x12\x14\n\x0c\x62lock_height\x18\x02 \x01(\x05\x12\x16\n\x0enum_confs_left\x18\x03 \x01(\r"?\n\x11\x43hannelOpenUpdate\x12*\n\rchannel_point\x18\x01 \x01(\x0b\x32\x13.lnrpc.ChannelPoint";\n\x12\x43hannelCloseUpdate\x12\x14\n\x0c\x63losing_txid\x18\x01 \x01(\x0c\x12\x0f\n\x07success\x18\x02 \x01(\x08"\xb0\x01\n\x13\x43loseChannelRequest\x12*\n\rchannel_point\x18\x01 \x01(\x0b\x32\x13.lnrpc.ChannelPoint\x12\r\n\x05\x66orce\x18\x02 \x01(\x08\x12\x13\n\x0btarget_conf\x18\x03 \x01(\x05\x12\x18\n\x0csat_per_byte\x18\x04 \x01(\x03\x42\x02\x18\x01\x12\x18\n\x10\x64\x65livery_address\x18\x05 \x01(\t\x12\x15\n\rsat_per_vbyte\x18\x06 \x01(\x04"}\n\x11\x43loseStatusUpdate\x12-\n\rclose_pending\x18\x01 \x01(\x0b\x32\x14.lnrpc.PendingUpdateH\x00\x12/\n\nchan_close\x18\x03 \x01(\x0b\x32\x19.lnrpc.ChannelCloseUpdateH\x00\x42\x08\n\x06update"3\n\rPendingUpdate\x12\x0c\n\x04txid\x18\x01 \x01(\x0c\x12\x14\n\x0coutput_index\x18\x02 \x01(\r"T\n\x13ReadyForPsbtFunding\x12\x17\n\x0f\x66unding_address\x18\x01 \x01(\t\x12\x16\n\x0e\x66unding_amount\x18\x02 \x01(\x03\x12\x0c\n\x04psbt\x18\x03 \x01(\x0c"\xad\x01\n\x17\x42\x61tchOpenChannelRequest\x12)\n\x08\x63hannels\x18\x01 \x03(\x0b\x32\x17.lnrpc.BatchOpenChannel\x12\x13\n\x0btarget_conf\x18\x02 \x01(\x05\x12\x15\n\rsat_per_vbyte\x18\x03 \x01(\x03\x12\x11\n\tmin_confs\x18\x04 \x01(\x05\x12\x19\n\x11spend_unconfirmed\x18\x05 \x01(\x08\x12\r\n\x05label\x18\x06 \x01(\t"\xf9\x01\n\x10\x42\x61tchOpenChannel\x12\x13\n\x0bnode_pubkey\x18\x01 \x01(\x0c\x12\x1c\n\x14local_funding_amount\x18\x02 \x01(\x03\x12\x10\n\x08push_sat\x18\x03 \x01(\x03\x12\x0f\n\x07private\x18\x04 \x01(\x08\x12\x15\n\rmin_htlc_msat\x18\x05 \x01(\x03\x12\x18\n\x10remote_csv_delay\x18\x06 \x01(\r\x12\x15\n\rclose_address\x18\x07 \x01(\t\x12\x17\n\x0fpending_chan_id\x18\x08 \x01(\x0c\x12.\n\x0f\x63ommitment_type\x18\t \x01(\x0e\x32\x15.lnrpc.CommitmentType"J\n\x18\x42\x61tchOpenChannelResponse\x12.\n\x10pending_channels\x18\x01 \x03(\x0b\x32\x14.lnrpc.PendingUpdate"\xfa\x03\n\x12OpenChannelRequest\x12\x15\n\rsat_per_vbyte\x18\x01 \x01(\x04\x12\x13\n\x0bnode_pubkey\x18\x02 \x01(\x0c\x12\x1e\n\x12node_pubkey_string\x18\x03 \x01(\tB\x02\x18\x01\x12\x1c\n\x14local_funding_amount\x18\x04 \x01(\x03\x12\x10\n\x08push_sat\x18\x05 \x01(\x03\x12\x13\n\x0btarget_conf\x18\x06 \x01(\x05\x12\x18\n\x0csat_per_byte\x18\x07 \x01(\x03\x42\x02\x18\x01\x12\x0f\n\x07private\x18\x08 \x01(\x08\x12\x15\n\rmin_htlc_msat\x18\t \x01(\x03\x12\x18\n\x10remote_csv_delay\x18\n \x01(\r\x12\x11\n\tmin_confs\x18\x0b \x01(\x05\x12\x19\n\x11spend_unconfirmed\x18\x0c \x01(\x08\x12\x15\n\rclose_address\x18\r \x01(\t\x12(\n\x0c\x66unding_shim\x18\x0e \x01(\x0b\x32\x12.lnrpc.FundingShim\x12\'\n\x1fremote_max_value_in_flight_msat\x18\x0f \x01(\x04\x12\x18\n\x10remote_max_htlcs\x18\x10 \x01(\r\x12\x15\n\rmax_local_csv\x18\x11 \x01(\r\x12.\n\x0f\x63ommitment_type\x18\x12 \x01(\x0e\x32\x15.lnrpc.CommitmentType"\xc3\x01\n\x10OpenStatusUpdate\x12,\n\x0c\x63han_pending\x18\x01 \x01(\x0b\x32\x14.lnrpc.PendingUpdateH\x00\x12-\n\tchan_open\x18\x03 \x01(\x0b\x32\x18.lnrpc.ChannelOpenUpdateH\x00\x12/\n\tpsbt_fund\x18\x05 \x01(\x0b\x32\x1a.lnrpc.ReadyForPsbtFundingH\x00\x12\x17\n\x0fpending_chan_id\x18\x04 \x01(\x0c\x42\x08\n\x06update"3\n\nKeyLocator\x12\x12\n\nkey_family\x18\x01 \x01(\x05\x12\x11\n\tkey_index\x18\x02 \x01(\x05"J\n\rKeyDescriptor\x12\x15\n\rraw_key_bytes\x18\x01 \x01(\x0c\x12"\n\x07key_loc\x18\x02 \x01(\x0b\x32\x11.lnrpc.KeyLocator"\xb0\x01\n\rChanPointShim\x12\x0b\n\x03\x61mt\x18\x01 \x01(\x03\x12\'\n\nchan_point\x18\x02 \x01(\x0b\x32\x13.lnrpc.ChannelPoint\x12\'\n\tlocal_key\x18\x03 \x01(\x0b\x32\x14.lnrpc.KeyDescriptor\x12\x12\n\nremote_key\x18\x04 \x01(\x0c\x12\x17\n\x0fpending_chan_id\x18\x05 \x01(\x0c\x12\x13\n\x0bthaw_height\x18\x06 \x01(\r"J\n\x08PsbtShim\x12\x17\n\x0fpending_chan_id\x18\x01 \x01(\x0c\x12\x11\n\tbase_psbt\x18\x02 \x01(\x0c\x12\x12\n\nno_publish\x18\x03 \x01(\x08"l\n\x0b\x46undingShim\x12/\n\x0f\x63han_point_shim\x18\x01 \x01(\x0b\x32\x14.lnrpc.ChanPointShimH\x00\x12$\n\tpsbt_shim\x18\x02 \x01(\x0b\x32\x0f.lnrpc.PsbtShimH\x00\x42\x06\n\x04shim",\n\x11\x46undingShimCancel\x12\x17\n\x0fpending_chan_id\x18\x01 \x01(\x0c"X\n\x11\x46undingPsbtVerify\x12\x13\n\x0b\x66unded_psbt\x18\x01 \x01(\x0c\x12\x17\n\x0fpending_chan_id\x18\x02 \x01(\x0c\x12\x15\n\rskip_finalize\x18\x03 \x01(\x08"Y\n\x13\x46undingPsbtFinalize\x12\x13\n\x0bsigned_psbt\x18\x01 \x01(\x0c\x12\x17\n\x0fpending_chan_id\x18\x02 \x01(\x0c\x12\x14\n\x0c\x66inal_raw_tx\x18\x03 \x01(\x0c"\xe5\x01\n\x14\x46undingTransitionMsg\x12+\n\rshim_register\x18\x01 \x01(\x0b\x32\x12.lnrpc.FundingShimH\x00\x12/\n\x0bshim_cancel\x18\x02 \x01(\x0b\x32\x18.lnrpc.FundingShimCancelH\x00\x12/\n\x0bpsbt_verify\x18\x03 \x01(\x0b\x32\x18.lnrpc.FundingPsbtVerifyH\x00\x12\x33\n\rpsbt_finalize\x18\x04 \x01(\x0b\x32\x1a.lnrpc.FundingPsbtFinalizeH\x00\x42\t\n\x07trigger"\x16\n\x14\x46undingStateStepResp"\x86\x01\n\x0bPendingHTLC\x12\x10\n\x08incoming\x18\x01 \x01(\x08\x12\x0e\n\x06\x61mount\x18\x02 \x01(\x03\x12\x10\n\x08outpoint\x18\x03 \x01(\t\x12\x17\n\x0fmaturity_height\x18\x04 \x01(\r\x12\x1b\n\x13\x62locks_til_maturity\x18\x05 \x01(\x05\x12\r\n\x05stage\x18\x06 \x01(\r"\x18\n\x16PendingChannelsRequest"\xcc\r\n\x17PendingChannelsResponse\x12\x1b\n\x13total_limbo_balance\x18\x01 \x01(\x03\x12P\n\x15pending_open_channels\x18\x02 \x03(\x0b\x32\x31.lnrpc.PendingChannelsResponse.PendingOpenChannel\x12R\n\x18pending_closing_channels\x18\x03 \x03(\x0b\x32,.lnrpc.PendingChannelsResponse.ClosedChannelB\x02\x18\x01\x12Y\n\x1epending_force_closing_channels\x18\x04 \x03(\x0b\x32\x31.lnrpc.PendingChannelsResponse.ForceClosedChannel\x12R\n\x16waiting_close_channels\x18\x05 \x03(\x0b\x32\x32.lnrpc.PendingChannelsResponse.WaitingCloseChannel\x1a\xb8\x02\n\x0ePendingChannel\x12\x17\n\x0fremote_node_pub\x18\x01 \x01(\t\x12\x15\n\rchannel_point\x18\x02 \x01(\t\x12\x10\n\x08\x63\x61pacity\x18\x03 \x01(\x03\x12\x15\n\rlocal_balance\x18\x04 \x01(\x03\x12\x16\n\x0eremote_balance\x18\x05 \x01(\x03\x12\x1e\n\x16local_chan_reserve_sat\x18\x06 \x01(\x03\x12\x1f\n\x17remote_chan_reserve_sat\x18\x07 \x01(\x03\x12#\n\tinitiator\x18\x08 \x01(\x0e\x32\x10.lnrpc.Initiator\x12.\n\x0f\x63ommitment_type\x18\t \x01(\x0e\x32\x15.lnrpc.CommitmentType\x12\x1f\n\x17num_forwarding_packages\x18\n \x01(\x03\x1a\xb0\x01\n\x12PendingOpenChannel\x12>\n\x07\x63hannel\x18\x01 \x01(\x0b\x32-.lnrpc.PendingChannelsResponse.PendingChannel\x12\x1b\n\x13\x63onfirmation_height\x18\x02 \x01(\r\x12\x12\n\ncommit_fee\x18\x04 \x01(\x03\x12\x15\n\rcommit_weight\x18\x05 \x01(\x03\x12\x12\n\nfee_per_kw\x18\x06 \x01(\x03\x1a\xad\x01\n\x13WaitingCloseChannel\x12>\n\x07\x63hannel\x18\x01 \x01(\x0b\x32-.lnrpc.PendingChannelsResponse.PendingChannel\x12\x15\n\rlimbo_balance\x18\x02 \x01(\x03\x12?\n\x0b\x63ommitments\x18\x03 \x01(\x0b\x32*.lnrpc.PendingChannelsResponse.Commitments\x1a\xb7\x01\n\x0b\x43ommitments\x12\x12\n\nlocal_txid\x18\x01 \x01(\t\x12\x13\n\x0bremote_txid\x18\x02 \x01(\t\x12\x1b\n\x13remote_pending_txid\x18\x03 \x01(\t\x12\x1c\n\x14local_commit_fee_sat\x18\x04 \x01(\x04\x12\x1d\n\x15remote_commit_fee_sat\x18\x05 \x01(\x04\x12%\n\x1dremote_pending_commit_fee_sat\x18\x06 \x01(\x04\x1a\x65\n\rClosedChannel\x12>\n\x07\x63hannel\x18\x01 \x01(\x0b\x32-.lnrpc.PendingChannelsResponse.PendingChannel\x12\x14\n\x0c\x63losing_txid\x18\x02 \x01(\t\x1a\xff\x02\n\x12\x46orceClosedChannel\x12>\n\x07\x63hannel\x18\x01 \x01(\x0b\x32-.lnrpc.PendingChannelsResponse.PendingChannel\x12\x14\n\x0c\x63losing_txid\x18\x02 \x01(\t\x12\x15\n\rlimbo_balance\x18\x03 \x01(\x03\x12\x17\n\x0fmaturity_height\x18\x04 \x01(\r\x12\x1b\n\x13\x62locks_til_maturity\x18\x05 \x01(\x05\x12\x19\n\x11recovered_balance\x18\x06 \x01(\x03\x12)\n\rpending_htlcs\x18\x08 \x03(\x0b\x32\x12.lnrpc.PendingHTLC\x12M\n\x06\x61nchor\x18\t \x01(\x0e\x32=.lnrpc.PendingChannelsResponse.ForceClosedChannel.AnchorState"1\n\x0b\x41nchorState\x12\t\n\x05LIMBO\x10\x00\x12\r\n\tRECOVERED\x10\x01\x12\x08\n\x04LOST\x10\x02"\x1a\n\x18\x43hannelEventSubscription"\x93\x04\n\x12\x43hannelEventUpdate\x12&\n\x0copen_channel\x18\x01 \x01(\x0b\x32\x0e.lnrpc.ChannelH\x00\x12\x34\n\x0e\x63losed_channel\x18\x02 \x01(\x0b\x32\x1a.lnrpc.ChannelCloseSummaryH\x00\x12-\n\x0e\x61\x63tive_channel\x18\x03 \x01(\x0b\x32\x13.lnrpc.ChannelPointH\x00\x12/\n\x10inactive_channel\x18\x04 \x01(\x0b\x32\x13.lnrpc.ChannelPointH\x00\x12\x34\n\x14pending_open_channel\x18\x06 \x01(\x0b\x32\x14.lnrpc.PendingUpdateH\x00\x12\x35\n\x16\x66ully_resolved_channel\x18\x07 \x01(\x0b\x32\x13.lnrpc.ChannelPointH\x00\x12\x32\n\x04type\x18\x05 \x01(\x0e\x32$.lnrpc.ChannelEventUpdate.UpdateType"\x92\x01\n\nUpdateType\x12\x10\n\x0cOPEN_CHANNEL\x10\x00\x12\x12\n\x0e\x43LOSED_CHANNEL\x10\x01\x12\x12\n\x0e\x41\x43TIVE_CHANNEL\x10\x02\x12\x14\n\x10INACTIVE_CHANNEL\x10\x03\x12\x18\n\x14PENDING_OPEN_CHANNEL\x10\x04\x12\x1a\n\x16\x46ULLY_RESOLVED_CHANNEL\x10\x05\x42\t\n\x07\x63hannel"N\n\x14WalletAccountBalance\x12\x19\n\x11\x63onfirmed_balance\x18\x01 \x01(\x03\x12\x1b\n\x13unconfirmed_balance\x18\x02 \x01(\x03"\x16\n\x14WalletBalanceRequest"\x85\x02\n\x15WalletBalanceResponse\x12\x15\n\rtotal_balance\x18\x01 \x01(\x03\x12\x19\n\x11\x63onfirmed_balance\x18\x02 \x01(\x03\x12\x1b\n\x13unconfirmed_balance\x18\x03 \x01(\x03\x12I\n\x0f\x61\x63\x63ount_balance\x18\x04 \x03(\x0b\x32\x30.lnrpc.WalletBalanceResponse.AccountBalanceEntry\x1aR\n\x13\x41\x63\x63ountBalanceEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12*\n\x05value\x18\x02 \x01(\x0b\x32\x1b.lnrpc.WalletAccountBalance:\x02\x38\x01"#\n\x06\x41mount\x12\x0b\n\x03sat\x18\x01 \x01(\x04\x12\x0c\n\x04msat\x18\x02 \x01(\x04"\x17\n\x15\x43hannelBalanceRequest"\xe4\x02\n\x16\x43hannelBalanceResponse\x12\x13\n\x07\x62\x61lance\x18\x01 \x01(\x03\x42\x02\x18\x01\x12 \n\x14pending_open_balance\x18\x02 \x01(\x03\x42\x02\x18\x01\x12$\n\rlocal_balance\x18\x03 \x01(\x0b\x32\r.lnrpc.Amount\x12%\n\x0eremote_balance\x18\x04 \x01(\x0b\x32\r.lnrpc.Amount\x12.\n\x17unsettled_local_balance\x18\x05 \x01(\x0b\x32\r.lnrpc.Amount\x12/\n\x18unsettled_remote_balance\x18\x06 \x01(\x0b\x32\r.lnrpc.Amount\x12\x31\n\x1apending_open_local_balance\x18\x07 \x01(\x0b\x32\r.lnrpc.Amount\x12\x32\n\x1bpending_open_remote_balance\x18\x08 \x01(\x0b\x32\r.lnrpc.Amount"\xd0\x04\n\x12QueryRoutesRequest\x12\x0f\n\x07pub_key\x18\x01 \x01(\t\x12\x0b\n\x03\x61mt\x18\x02 \x01(\x03\x12\x10\n\x08\x61mt_msat\x18\x0c \x01(\x03\x12\x18\n\x10\x66inal_cltv_delta\x18\x04 \x01(\x05\x12"\n\tfee_limit\x18\x05 \x01(\x0b\x32\x0f.lnrpc.FeeLimit\x12\x15\n\rignored_nodes\x18\x06 \x03(\x0c\x12-\n\rignored_edges\x18\x07 \x03(\x0b\x32\x12.lnrpc.EdgeLocatorB\x02\x18\x01\x12\x16\n\x0esource_pub_key\x18\x08 \x01(\t\x12\x1b\n\x13use_mission_control\x18\t \x01(\x08\x12&\n\rignored_pairs\x18\n \x03(\x0b\x32\x0f.lnrpc.NodePair\x12\x12\n\ncltv_limit\x18\x0b \x01(\r\x12M\n\x13\x64\x65st_custom_records\x18\r \x03(\x0b\x32\x30.lnrpc.QueryRoutesRequest.DestCustomRecordsEntry\x12\x1c\n\x10outgoing_chan_id\x18\x0e \x01(\x04\x42\x02\x30\x01\x12\x17\n\x0flast_hop_pubkey\x18\x0f \x01(\x0c\x12%\n\x0broute_hints\x18\x10 \x03(\x0b\x32\x10.lnrpc.RouteHint\x12(\n\rdest_features\x18\x11 \x03(\x0e\x32\x11.lnrpc.FeatureBit\x1a\x38\n\x16\x44\x65stCustomRecordsEntry\x12\x0b\n\x03key\x18\x01 \x01(\x04\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01J\x04\x08\x03\x10\x04"$\n\x08NodePair\x12\x0c\n\x04\x66rom\x18\x01 \x01(\x0c\x12\n\n\x02to\x18\x02 \x01(\x0c"@\n\x0b\x45\x64geLocator\x12\x16\n\nchannel_id\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x19\n\x11\x64irection_reverse\x18\x02 \x01(\x08"I\n\x13QueryRoutesResponse\x12\x1c\n\x06routes\x18\x01 \x03(\x0b\x32\x0c.lnrpc.Route\x12\x14\n\x0csuccess_prob\x18\x02 \x01(\x01"\x80\x03\n\x03Hop\x12\x13\n\x07\x63han_id\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x19\n\rchan_capacity\x18\x02 \x01(\x03\x42\x02\x18\x01\x12\x1a\n\x0e\x61mt_to_forward\x18\x03 \x01(\x03\x42\x02\x18\x01\x12\x0f\n\x03\x66\x65\x65\x18\x04 \x01(\x03\x42\x02\x18\x01\x12\x0e\n\x06\x65xpiry\x18\x05 \x01(\r\x12\x1b\n\x13\x61mt_to_forward_msat\x18\x06 \x01(\x03\x12\x10\n\x08\x66\x65\x65_msat\x18\x07 \x01(\x03\x12\x0f\n\x07pub_key\x18\x08 \x01(\t\x12\x13\n\x0btlv_payload\x18\t \x01(\x08\x12$\n\nmpp_record\x18\n \x01(\x0b\x32\x10.lnrpc.MPPRecord\x12$\n\namp_record\x18\x0c \x01(\x0b\x32\x10.lnrpc.AMPRecord\x12\x35\n\x0e\x63ustom_records\x18\x0b \x03(\x0b\x32\x1d.lnrpc.Hop.CustomRecordsEntry\x1a\x34\n\x12\x43ustomRecordsEntry\x12\x0b\n\x03key\x18\x01 \x01(\x04\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01"9\n\tMPPRecord\x12\x14\n\x0cpayment_addr\x18\x0b \x01(\x0c\x12\x16\n\x0etotal_amt_msat\x18\n \x01(\x03"D\n\tAMPRecord\x12\x12\n\nroot_share\x18\x01 \x01(\x0c\x12\x0e\n\x06set_id\x18\x02 \x01(\x0c\x12\x13\n\x0b\x63hild_index\x18\x03 \x01(\r"\x9a\x01\n\x05Route\x12\x17\n\x0ftotal_time_lock\x18\x01 \x01(\r\x12\x16\n\ntotal_fees\x18\x02 \x01(\x03\x42\x02\x18\x01\x12\x15\n\ttotal_amt\x18\x03 \x01(\x03\x42\x02\x18\x01\x12\x18\n\x04hops\x18\x04 \x03(\x0b\x32\n.lnrpc.Hop\x12\x17\n\x0ftotal_fees_msat\x18\x05 \x01(\x03\x12\x16\n\x0etotal_amt_msat\x18\x06 \x01(\x03"<\n\x0fNodeInfoRequest\x12\x0f\n\x07pub_key\x18\x01 \x01(\t\x12\x18\n\x10include_channels\x18\x02 \x01(\x08"\x82\x01\n\x08NodeInfo\x12"\n\x04node\x18\x01 \x01(\x0b\x32\x14.lnrpc.LightningNode\x12\x14\n\x0cnum_channels\x18\x02 \x01(\r\x12\x16\n\x0etotal_capacity\x18\x03 \x01(\x03\x12$\n\x08\x63hannels\x18\x04 \x03(\x0b\x32\x12.lnrpc.ChannelEdge"\xf1\x01\n\rLightningNode\x12\x13\n\x0blast_update\x18\x01 \x01(\r\x12\x0f\n\x07pub_key\x18\x02 \x01(\t\x12\r\n\x05\x61lias\x18\x03 \x01(\t\x12%\n\taddresses\x18\x04 \x03(\x0b\x32\x12.lnrpc.NodeAddress\x12\r\n\x05\x63olor\x18\x05 \x01(\t\x12\x34\n\x08\x66\x65\x61tures\x18\x06 \x03(\x0b\x32".lnrpc.LightningNode.FeaturesEntry\x1a?\n\rFeaturesEntry\x12\x0b\n\x03key\x18\x01 \x01(\r\x12\x1d\n\x05value\x18\x02 \x01(\x0b\x32\x0e.lnrpc.Feature:\x02\x38\x01",\n\x0bNodeAddress\x12\x0f\n\x07network\x18\x01 \x01(\t\x12\x0c\n\x04\x61\x64\x64r\x18\x02 \x01(\t"\xac\x01\n\rRoutingPolicy\x12\x17\n\x0ftime_lock_delta\x18\x01 \x01(\r\x12\x10\n\x08min_htlc\x18\x02 \x01(\x03\x12\x15\n\rfee_base_msat\x18\x03 \x01(\x03\x12\x1b\n\x13\x66\x65\x65_rate_milli_msat\x18\x04 \x01(\x03\x12\x10\n\x08\x64isabled\x18\x05 \x01(\x08\x12\x15\n\rmax_htlc_msat\x18\x06 \x01(\x04\x12\x13\n\x0blast_update\x18\x07 \x01(\r"\xe2\x01\n\x0b\x43hannelEdge\x12\x16\n\nchannel_id\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x12\n\nchan_point\x18\x02 \x01(\t\x12\x17\n\x0blast_update\x18\x03 \x01(\rB\x02\x18\x01\x12\x11\n\tnode1_pub\x18\x04 \x01(\t\x12\x11\n\tnode2_pub\x18\x05 \x01(\t\x12\x10\n\x08\x63\x61pacity\x18\x06 \x01(\x03\x12*\n\x0cnode1_policy\x18\x07 \x01(\x0b\x32\x14.lnrpc.RoutingPolicy\x12*\n\x0cnode2_policy\x18\x08 \x01(\x0b\x32\x14.lnrpc.RoutingPolicy"2\n\x13\x43hannelGraphRequest\x12\x1b\n\x13include_unannounced\x18\x01 \x01(\x08"V\n\x0c\x43hannelGraph\x12#\n\x05nodes\x18\x01 \x03(\x0b\x32\x14.lnrpc.LightningNode\x12!\n\x05\x65\x64ges\x18\x02 \x03(\x0b\x32\x12.lnrpc.ChannelEdge":\n\x12NodeMetricsRequest\x12$\n\x05types\x18\x01 \x03(\x0e\x32\x15.lnrpc.NodeMetricType"\xbe\x01\n\x13NodeMetricsResponse\x12U\n\x16\x62\x65tweenness_centrality\x18\x01 \x03(\x0b\x32\x35.lnrpc.NodeMetricsResponse.BetweennessCentralityEntry\x1aP\n\x1a\x42\x65tweennessCentralityEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12!\n\x05value\x18\x02 \x01(\x0b\x32\x12.lnrpc.FloatMetric:\x02\x38\x01"6\n\x0b\x46loatMetric\x12\r\n\x05value\x18\x01 \x01(\x01\x12\x18\n\x10normalized_value\x18\x02 \x01(\x01"&\n\x0f\x43hanInfoRequest\x12\x13\n\x07\x63han_id\x18\x01 \x01(\x04\x42\x02\x30\x01"\x14\n\x12NetworkInfoRequest"\xa7\x02\n\x0bNetworkInfo\x12\x16\n\x0egraph_diameter\x18\x01 \x01(\r\x12\x16\n\x0e\x61vg_out_degree\x18\x02 \x01(\x01\x12\x16\n\x0emax_out_degree\x18\x03 \x01(\r\x12\x11\n\tnum_nodes\x18\x04 \x01(\r\x12\x14\n\x0cnum_channels\x18\x05 \x01(\r\x12\x1e\n\x16total_network_capacity\x18\x06 \x01(\x03\x12\x18\n\x10\x61vg_channel_size\x18\x07 \x01(\x01\x12\x18\n\x10min_channel_size\x18\x08 \x01(\x03\x12\x18\n\x10max_channel_size\x18\t \x01(\x03\x12\x1f\n\x17median_channel_size_sat\x18\n \x01(\x03\x12\x18\n\x10num_zombie_chans\x18\x0b \x01(\x04"\r\n\x0bStopRequest"\x0e\n\x0cStopResponse"\x1b\n\x19GraphTopologySubscription"\xa3\x01\n\x13GraphTopologyUpdate\x12\'\n\x0cnode_updates\x18\x01 \x03(\x0b\x32\x11.lnrpc.NodeUpdate\x12\x31\n\x0f\x63hannel_updates\x18\x02 \x03(\x0b\x32\x18.lnrpc.ChannelEdgeUpdate\x12\x30\n\x0c\x63losed_chans\x18\x03 \x03(\x0b\x32\x1a.lnrpc.ClosedChannelUpdate"\x94\x02\n\nNodeUpdate\x12\x15\n\taddresses\x18\x01 \x03(\tB\x02\x18\x01\x12\x14\n\x0cidentity_key\x18\x02 \x01(\t\x12\x1b\n\x0fglobal_features\x18\x03 \x01(\x0c\x42\x02\x18\x01\x12\r\n\x05\x61lias\x18\x04 \x01(\t\x12\r\n\x05\x63olor\x18\x05 \x01(\t\x12*\n\x0enode_addresses\x18\x07 \x03(\x0b\x32\x12.lnrpc.NodeAddress\x12\x31\n\x08\x66\x65\x61tures\x18\x06 \x03(\x0b\x32\x1f.lnrpc.NodeUpdate.FeaturesEntry\x1a?\n\rFeaturesEntry\x12\x0b\n\x03key\x18\x01 \x01(\r\x12\x1d\n\x05value\x18\x02 \x01(\x0b\x32\x0e.lnrpc.Feature:\x02\x38\x01"\xc4\x01\n\x11\x43hannelEdgeUpdate\x12\x13\n\x07\x63han_id\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\'\n\nchan_point\x18\x02 \x01(\x0b\x32\x13.lnrpc.ChannelPoint\x12\x10\n\x08\x63\x61pacity\x18\x03 \x01(\x03\x12,\n\x0erouting_policy\x18\x04 \x01(\x0b\x32\x14.lnrpc.RoutingPolicy\x12\x18\n\x10\x61\x64vertising_node\x18\x05 \x01(\t\x12\x17\n\x0f\x63onnecting_node\x18\x06 \x01(\t"|\n\x13\x43losedChannelUpdate\x12\x13\n\x07\x63han_id\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x10\n\x08\x63\x61pacity\x18\x02 \x01(\x03\x12\x15\n\rclosed_height\x18\x03 \x01(\r\x12\'\n\nchan_point\x18\x04 \x01(\x0b\x32\x13.lnrpc.ChannelPoint"\x86\x01\n\x07HopHint\x12\x0f\n\x07node_id\x18\x01 \x01(\t\x12\x13\n\x07\x63han_id\x18\x02 \x01(\x04\x42\x02\x30\x01\x12\x15\n\rfee_base_msat\x18\x03 \x01(\r\x12#\n\x1b\x66\x65\x65_proportional_millionths\x18\x04 \x01(\r\x12\x19\n\x11\x63ltv_expiry_delta\x18\x05 \x01(\r"\x17\n\x05SetID\x12\x0e\n\x06set_id\x18\x01 \x01(\x0c".\n\tRouteHint\x12!\n\thop_hints\x18\x01 \x03(\x0b\x32\x0e.lnrpc.HopHint"{\n\x0f\x41MPInvoiceState\x12&\n\x05state\x18\x01 \x01(\x0e\x32\x17.lnrpc.InvoiceHTLCState\x12\x14\n\x0csettle_index\x18\x02 \x01(\x04\x12\x13\n\x0bsettle_time\x18\x03 \x01(\x03\x12\x15\n\ramt_paid_msat\x18\x05 \x01(\x03"\x85\x07\n\x07Invoice\x12\x0c\n\x04memo\x18\x01 \x01(\t\x12\x12\n\nr_preimage\x18\x03 \x01(\x0c\x12\x0e\n\x06r_hash\x18\x04 \x01(\x0c\x12\r\n\x05value\x18\x05 \x01(\x03\x12\x12\n\nvalue_msat\x18\x17 \x01(\x03\x12\x13\n\x07settled\x18\x06 \x01(\x08\x42\x02\x18\x01\x12\x15\n\rcreation_date\x18\x07 \x01(\x03\x12\x13\n\x0bsettle_date\x18\x08 \x01(\x03\x12\x17\n\x0fpayment_request\x18\t \x01(\t\x12\x18\n\x10\x64\x65scription_hash\x18\n \x01(\x0c\x12\x0e\n\x06\x65xpiry\x18\x0b \x01(\x03\x12\x15\n\rfallback_addr\x18\x0c \x01(\t\x12\x13\n\x0b\x63ltv_expiry\x18\r \x01(\x04\x12%\n\x0broute_hints\x18\x0e \x03(\x0b\x32\x10.lnrpc.RouteHint\x12\x0f\n\x07private\x18\x0f \x01(\x08\x12\x11\n\tadd_index\x18\x10 \x01(\x04\x12\x14\n\x0csettle_index\x18\x11 \x01(\x04\x12\x14\n\x08\x61mt_paid\x18\x12 \x01(\x03\x42\x02\x18\x01\x12\x14\n\x0c\x61mt_paid_sat\x18\x13 \x01(\x03\x12\x15\n\ramt_paid_msat\x18\x14 \x01(\x03\x12*\n\x05state\x18\x15 \x01(\x0e\x32\x1b.lnrpc.Invoice.InvoiceState\x12!\n\x05htlcs\x18\x16 \x03(\x0b\x32\x12.lnrpc.InvoiceHTLC\x12.\n\x08\x66\x65\x61tures\x18\x18 \x03(\x0b\x32\x1c.lnrpc.Invoice.FeaturesEntry\x12\x12\n\nis_keysend\x18\x19 \x01(\x08\x12\x14\n\x0cpayment_addr\x18\x1a \x01(\x0c\x12\x0e\n\x06is_amp\x18\x1b \x01(\x08\x12>\n\x11\x61mp_invoice_state\x18\x1c \x03(\x0b\x32#.lnrpc.Invoice.AmpInvoiceStateEntry\x1a?\n\rFeaturesEntry\x12\x0b\n\x03key\x18\x01 \x01(\r\x12\x1d\n\x05value\x18\x02 \x01(\x0b\x32\x0e.lnrpc.Feature:\x02\x38\x01\x1aN\n\x14\x41mpInvoiceStateEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.lnrpc.AMPInvoiceState:\x02\x38\x01"A\n\x0cInvoiceState\x12\x08\n\x04OPEN\x10\x00\x12\x0b\n\x07SETTLED\x10\x01\x12\x0c\n\x08\x43\x41NCELED\x10\x02\x12\x0c\n\x08\x41\x43\x43\x45PTED\x10\x03J\x04\x08\x02\x10\x03"\xf3\x02\n\x0bInvoiceHTLC\x12\x13\n\x07\x63han_id\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x12\n\nhtlc_index\x18\x02 \x01(\x04\x12\x10\n\x08\x61mt_msat\x18\x03 \x01(\x04\x12\x15\n\raccept_height\x18\x04 \x01(\x05\x12\x13\n\x0b\x61\x63\x63\x65pt_time\x18\x05 \x01(\x03\x12\x14\n\x0cresolve_time\x18\x06 \x01(\x03\x12\x15\n\rexpiry_height\x18\x07 \x01(\x05\x12&\n\x05state\x18\x08 \x01(\x0e\x32\x17.lnrpc.InvoiceHTLCState\x12=\n\x0e\x63ustom_records\x18\t \x03(\x0b\x32%.lnrpc.InvoiceHTLC.CustomRecordsEntry\x12\x1a\n\x12mpp_total_amt_msat\x18\n \x01(\x04\x12\x17\n\x03\x61mp\x18\x0b \x01(\x0b\x32\n.lnrpc.AMP\x1a\x34\n\x12\x43ustomRecordsEntry\x12\x0b\n\x03key\x18\x01 \x01(\x04\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01"^\n\x03\x41MP\x12\x12\n\nroot_share\x18\x01 \x01(\x0c\x12\x0e\n\x06set_id\x18\x02 \x01(\x0c\x12\x13\n\x0b\x63hild_index\x18\x03 \x01(\r\x12\x0c\n\x04hash\x18\x04 \x01(\x0c\x12\x10\n\x08preimage\x18\x05 \x01(\x0c"f\n\x12\x41\x64\x64InvoiceResponse\x12\x0e\n\x06r_hash\x18\x01 \x01(\x0c\x12\x17\n\x0fpayment_request\x18\x02 \x01(\t\x12\x11\n\tadd_index\x18\x10 \x01(\x04\x12\x14\n\x0cpayment_addr\x18\x11 \x01(\x0c"5\n\x0bPaymentHash\x12\x16\n\nr_hash_str\x18\x01 \x01(\tB\x02\x18\x01\x12\x0e\n\x06r_hash\x18\x02 \x01(\x0c"l\n\x12ListInvoiceRequest\x12\x14\n\x0cpending_only\x18\x01 \x01(\x08\x12\x14\n\x0cindex_offset\x18\x04 \x01(\x04\x12\x18\n\x10num_max_invoices\x18\x05 \x01(\x04\x12\x10\n\x08reversed\x18\x06 \x01(\x08"n\n\x13ListInvoiceResponse\x12 \n\x08invoices\x18\x01 \x03(\x0b\x32\x0e.lnrpc.Invoice\x12\x19\n\x11last_index_offset\x18\x02 \x01(\x04\x12\x1a\n\x12\x66irst_index_offset\x18\x03 \x01(\x04">\n\x13InvoiceSubscription\x12\x11\n\tadd_index\x18\x01 \x01(\x04\x12\x14\n\x0csettle_index\x18\x02 \x01(\x04"\xe0\x03\n\x07Payment\x12\x14\n\x0cpayment_hash\x18\x01 \x01(\t\x12\x11\n\x05value\x18\x02 \x01(\x03\x42\x02\x18\x01\x12\x19\n\rcreation_date\x18\x03 \x01(\x03\x42\x02\x18\x01\x12\x0f\n\x03\x66\x65\x65\x18\x05 \x01(\x03\x42\x02\x18\x01\x12\x18\n\x10payment_preimage\x18\x06 \x01(\t\x12\x11\n\tvalue_sat\x18\x07 \x01(\x03\x12\x12\n\nvalue_msat\x18\x08 \x01(\x03\x12\x17\n\x0fpayment_request\x18\t \x01(\t\x12,\n\x06status\x18\n \x01(\x0e\x32\x1c.lnrpc.Payment.PaymentStatus\x12\x0f\n\x07\x66\x65\x65_sat\x18\x0b \x01(\x03\x12\x10\n\x08\x66\x65\x65_msat\x18\x0c \x01(\x03\x12\x18\n\x10\x63reation_time_ns\x18\r \x01(\x03\x12!\n\x05htlcs\x18\x0e \x03(\x0b\x32\x12.lnrpc.HTLCAttempt\x12\x15\n\rpayment_index\x18\x0f \x01(\x04\x12\x33\n\x0e\x66\x61ilure_reason\x18\x10 \x01(\x0e\x32\x1b.lnrpc.PaymentFailureReason"F\n\rPaymentStatus\x12\x0b\n\x07UNKNOWN\x10\x00\x12\r\n\tIN_FLIGHT\x10\x01\x12\r\n\tSUCCEEDED\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03J\x04\x08\x04\x10\x05"\x8a\x02\n\x0bHTLCAttempt\x12\x12\n\nattempt_id\x18\x07 \x01(\x04\x12-\n\x06status\x18\x01 \x01(\x0e\x32\x1d.lnrpc.HTLCAttempt.HTLCStatus\x12\x1b\n\x05route\x18\x02 \x01(\x0b\x32\x0c.lnrpc.Route\x12\x17\n\x0f\x61ttempt_time_ns\x18\x03 \x01(\x03\x12\x17\n\x0fresolve_time_ns\x18\x04 \x01(\x03\x12\x1f\n\x07\x66\x61ilure\x18\x05 \x01(\x0b\x32\x0e.lnrpc.Failure\x12\x10\n\x08preimage\x18\x06 \x01(\x0c"6\n\nHTLCStatus\x12\r\n\tIN_FLIGHT\x10\x00\x12\r\n\tSUCCEEDED\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02"o\n\x13ListPaymentsRequest\x12\x1a\n\x12include_incomplete\x18\x01 \x01(\x08\x12\x14\n\x0cindex_offset\x18\x02 \x01(\x04\x12\x14\n\x0cmax_payments\x18\x03 \x01(\x04\x12\x10\n\x08reversed\x18\x04 \x01(\x08"o\n\x14ListPaymentsResponse\x12 \n\x08payments\x18\x01 \x03(\x0b\x32\x0e.lnrpc.Payment\x12\x1a\n\x12\x66irst_index_offset\x18\x02 \x01(\x04\x12\x19\n\x11last_index_offset\x18\x03 \x01(\x04"G\n\x14\x44\x65letePaymentRequest\x12\x14\n\x0cpayment_hash\x18\x01 \x01(\x0c\x12\x19\n\x11\x66\x61iled_htlcs_only\x18\x02 \x01(\x08"S\n\x18\x44\x65leteAllPaymentsRequest\x12\x1c\n\x14\x66\x61iled_payments_only\x18\x01 \x01(\x08\x12\x19\n\x11\x66\x61iled_htlcs_only\x18\x02 \x01(\x08"\x17\n\x15\x44\x65letePaymentResponse"\x1b\n\x19\x44\x65leteAllPaymentsResponse"\x86\x01\n\x15\x41\x62\x61ndonChannelRequest\x12*\n\rchannel_point\x18\x01 \x01(\x0b\x32\x13.lnrpc.ChannelPoint\x12!\n\x19pending_funding_shim_only\x18\x02 \x01(\x08\x12\x1e\n\x16i_know_what_i_am_doing\x18\x03 \x01(\x08"\x18\n\x16\x41\x62\x61ndonChannelResponse"5\n\x11\x44\x65\x62ugLevelRequest\x12\x0c\n\x04show\x18\x01 \x01(\x08\x12\x12\n\nlevel_spec\x18\x02 \x01(\t")\n\x12\x44\x65\x62ugLevelResponse\x12\x13\n\x0bsub_systems\x18\x01 \x01(\t"\x1f\n\x0cPayReqString\x12\x0f\n\x07pay_req\x18\x01 \x01(\t"\x86\x03\n\x06PayReq\x12\x13\n\x0b\x64\x65stination\x18\x01 \x01(\t\x12\x14\n\x0cpayment_hash\x18\x02 \x01(\t\x12\x14\n\x0cnum_satoshis\x18\x03 \x01(\x03\x12\x11\n\ttimestamp\x18\x04 \x01(\x03\x12\x0e\n\x06\x65xpiry\x18\x05 \x01(\x03\x12\x13\n\x0b\x64\x65scription\x18\x06 \x01(\t\x12\x18\n\x10\x64\x65scription_hash\x18\x07 \x01(\t\x12\x15\n\rfallback_addr\x18\x08 \x01(\t\x12\x13\n\x0b\x63ltv_expiry\x18\t \x01(\x03\x12%\n\x0broute_hints\x18\n \x03(\x0b\x32\x10.lnrpc.RouteHint\x12\x14\n\x0cpayment_addr\x18\x0b \x01(\x0c\x12\x10\n\x08num_msat\x18\x0c \x01(\x03\x12-\n\x08\x66\x65\x61tures\x18\r \x03(\x0b\x32\x1b.lnrpc.PayReq.FeaturesEntry\x1a?\n\rFeaturesEntry\x12\x0b\n\x03key\x18\x01 \x01(\r\x12\x1d\n\x05value\x18\x02 \x01(\x0b\x32\x0e.lnrpc.Feature:\x02\x38\x01">\n\x07\x46\x65\x61ture\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0bis_required\x18\x03 \x01(\x08\x12\x10\n\x08is_known\x18\x04 \x01(\x08"\x12\n\x10\x46\x65\x65ReportRequest"|\n\x10\x43hannelFeeReport\x12\x13\n\x07\x63han_id\x18\x05 \x01(\x04\x42\x02\x30\x01\x12\x15\n\rchannel_point\x18\x01 \x01(\t\x12\x15\n\rbase_fee_msat\x18\x02 \x01(\x03\x12\x13\n\x0b\x66\x65\x65_per_mil\x18\x03 \x01(\x03\x12\x10\n\x08\x66\x65\x65_rate\x18\x04 \x01(\x01"\x84\x01\n\x11\x46\x65\x65ReportResponse\x12-\n\x0c\x63hannel_fees\x18\x01 \x03(\x0b\x32\x17.lnrpc.ChannelFeeReport\x12\x13\n\x0b\x64\x61y_fee_sum\x18\x02 \x01(\x04\x12\x14\n\x0cweek_fee_sum\x18\x03 \x01(\x04\x12\x15\n\rmonth_fee_sum\x18\x04 \x01(\x04"\xec\x01\n\x13PolicyUpdateRequest\x12\x10\n\x06global\x18\x01 \x01(\x08H\x00\x12)\n\nchan_point\x18\x02 \x01(\x0b\x32\x13.lnrpc.ChannelPointH\x00\x12\x15\n\rbase_fee_msat\x18\x03 \x01(\x03\x12\x10\n\x08\x66\x65\x65_rate\x18\x04 \x01(\x01\x12\x17\n\x0ftime_lock_delta\x18\x05 \x01(\r\x12\x15\n\rmax_htlc_msat\x18\x06 \x01(\x04\x12\x15\n\rmin_htlc_msat\x18\x07 \x01(\x04\x12\x1f\n\x17min_htlc_msat_specified\x18\x08 \x01(\x08\x42\x07\n\x05scope"m\n\x0c\x46\x61iledUpdate\x12!\n\x08outpoint\x18\x01 \x01(\x0b\x32\x0f.lnrpc.OutPoint\x12$\n\x06reason\x18\x02 \x01(\x0e\x32\x14.lnrpc.UpdateFailure\x12\x14\n\x0cupdate_error\x18\x03 \x01(\t"C\n\x14PolicyUpdateResponse\x12+\n\x0e\x66\x61iled_updates\x18\x01 \x03(\x0b\x32\x13.lnrpc.FailedUpdate"n\n\x18\x46orwardingHistoryRequest\x12\x12\n\nstart_time\x18\x01 \x01(\x04\x12\x10\n\x08\x65nd_time\x18\x02 \x01(\x04\x12\x14\n\x0cindex_offset\x18\x03 \x01(\r\x12\x16\n\x0enum_max_events\x18\x04 \x01(\r"\xda\x01\n\x0f\x46orwardingEvent\x12\x15\n\ttimestamp\x18\x01 \x01(\x04\x42\x02\x18\x01\x12\x16\n\nchan_id_in\x18\x02 \x01(\x04\x42\x02\x30\x01\x12\x17\n\x0b\x63han_id_out\x18\x04 \x01(\x04\x42\x02\x30\x01\x12\x0e\n\x06\x61mt_in\x18\x05 \x01(\x04\x12\x0f\n\x07\x61mt_out\x18\x06 \x01(\x04\x12\x0b\n\x03\x66\x65\x65\x18\x07 \x01(\x04\x12\x10\n\x08\x66\x65\x65_msat\x18\x08 \x01(\x04\x12\x13\n\x0b\x61mt_in_msat\x18\t \x01(\x04\x12\x14\n\x0c\x61mt_out_msat\x18\n \x01(\x04\x12\x14\n\x0ctimestamp_ns\x18\x0b \x01(\x04"i\n\x19\x46orwardingHistoryResponse\x12\x31\n\x11\x66orwarding_events\x18\x01 \x03(\x0b\x32\x16.lnrpc.ForwardingEvent\x12\x19\n\x11last_offset_index\x18\x02 \x01(\r"E\n\x1a\x45xportChannelBackupRequest\x12\'\n\nchan_point\x18\x01 \x01(\x0b\x32\x13.lnrpc.ChannelPoint"M\n\rChannelBackup\x12\'\n\nchan_point\x18\x01 \x01(\x0b\x32\x13.lnrpc.ChannelPoint\x12\x13\n\x0b\x63han_backup\x18\x02 \x01(\x0c"V\n\x0fMultiChanBackup\x12(\n\x0b\x63han_points\x18\x01 \x03(\x0b\x32\x13.lnrpc.ChannelPoint\x12\x19\n\x11multi_chan_backup\x18\x02 \x01(\x0c"\x19\n\x17\x43hanBackupExportRequest"{\n\x12\x43hanBackupSnapshot\x12\x32\n\x13single_chan_backups\x18\x01 \x01(\x0b\x32\x15.lnrpc.ChannelBackups\x12\x31\n\x11multi_chan_backup\x18\x02 \x01(\x0b\x32\x16.lnrpc.MultiChanBackup"<\n\x0e\x43hannelBackups\x12*\n\x0c\x63han_backups\x18\x01 \x03(\x0b\x32\x14.lnrpc.ChannelBackup"p\n\x18RestoreChanBackupRequest\x12-\n\x0c\x63han_backups\x18\x01 \x01(\x0b\x32\x15.lnrpc.ChannelBackupsH\x00\x12\x1b\n\x11multi_chan_backup\x18\x02 \x01(\x0cH\x00\x42\x08\n\x06\x62\x61\x63kup"\x17\n\x15RestoreBackupResponse"\x1b\n\x19\x43hannelBackupSubscription"\x1a\n\x18VerifyChanBackupResponse"4\n\x12MacaroonPermission\x12\x0e\n\x06\x65ntity\x18\x01 \x01(\t\x12\x0e\n\x06\x61\x63tion\x18\x02 \x01(\t"~\n\x13\x42\x61keMacaroonRequest\x12.\n\x0bpermissions\x18\x01 \x03(\x0b\x32\x19.lnrpc.MacaroonPermission\x12\x13\n\x0broot_key_id\x18\x02 \x01(\x04\x12"\n\x1a\x61llow_external_permissions\x18\x03 \x01(\x08"(\n\x14\x42\x61keMacaroonResponse\x12\x10\n\x08macaroon\x18\x01 \x01(\t"\x18\n\x16ListMacaroonIDsRequest"/\n\x17ListMacaroonIDsResponse\x12\x14\n\x0croot_key_ids\x18\x01 \x03(\x04".\n\x17\x44\x65leteMacaroonIDRequest\x12\x13\n\x0broot_key_id\x18\x01 \x01(\x04"+\n\x18\x44\x65leteMacaroonIDResponse\x12\x0f\n\x07\x64\x65leted\x18\x01 \x01(\x08"H\n\x16MacaroonPermissionList\x12.\n\x0bpermissions\x18\x01 \x03(\x0b\x32\x19.lnrpc.MacaroonPermission"\x18\n\x16ListPermissionsRequest"\xc5\x01\n\x17ListPermissionsResponse\x12Q\n\x12method_permissions\x18\x01 \x03(\x0b\x32\x35.lnrpc.ListPermissionsResponse.MethodPermissionsEntry\x1aW\n\x16MethodPermissionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12,\n\x05value\x18\x02 \x01(\x0b\x32\x1d.lnrpc.MacaroonPermissionList:\x02\x38\x01"\xd5\x07\n\x07\x46\x61ilure\x12(\n\x04\x63ode\x18\x01 \x01(\x0e\x32\x1a.lnrpc.Failure.FailureCode\x12,\n\x0e\x63hannel_update\x18\x03 \x01(\x0b\x32\x14.lnrpc.ChannelUpdate\x12\x11\n\thtlc_msat\x18\x04 \x01(\x04\x12\x15\n\ronion_sha_256\x18\x05 \x01(\x0c\x12\x13\n\x0b\x63ltv_expiry\x18\x06 \x01(\r\x12\r\n\x05\x66lags\x18\x07 \x01(\r\x12\x1c\n\x14\x66\x61ilure_source_index\x18\x08 \x01(\r\x12\x0e\n\x06height\x18\t \x01(\r"\xef\x05\n\x0b\x46\x61ilureCode\x12\x0c\n\x08RESERVED\x10\x00\x12(\n$INCORRECT_OR_UNKNOWN_PAYMENT_DETAILS\x10\x01\x12\x1c\n\x18INCORRECT_PAYMENT_AMOUNT\x10\x02\x12\x1f\n\x1b\x46INAL_INCORRECT_CLTV_EXPIRY\x10\x03\x12\x1f\n\x1b\x46INAL_INCORRECT_HTLC_AMOUNT\x10\x04\x12\x19\n\x15\x46INAL_EXPIRY_TOO_SOON\x10\x05\x12\x11\n\rINVALID_REALM\x10\x06\x12\x13\n\x0f\x45XPIRY_TOO_SOON\x10\x07\x12\x19\n\x15INVALID_ONION_VERSION\x10\x08\x12\x16\n\x12INVALID_ONION_HMAC\x10\t\x12\x15\n\x11INVALID_ONION_KEY\x10\n\x12\x18\n\x14\x41MOUNT_BELOW_MINIMUM\x10\x0b\x12\x14\n\x10\x46\x45\x45_INSUFFICIENT\x10\x0c\x12\x19\n\x15INCORRECT_CLTV_EXPIRY\x10\r\x12\x14\n\x10\x43HANNEL_DISABLED\x10\x0e\x12\x1d\n\x19TEMPORARY_CHANNEL_FAILURE\x10\x0f\x12!\n\x1dREQUIRED_NODE_FEATURE_MISSING\x10\x10\x12$\n REQUIRED_CHANNEL_FEATURE_MISSING\x10\x11\x12\x15\n\x11UNKNOWN_NEXT_PEER\x10\x12\x12\x1a\n\x16TEMPORARY_NODE_FAILURE\x10\x13\x12\x1a\n\x16PERMANENT_NODE_FAILURE\x10\x14\x12\x1d\n\x19PERMANENT_CHANNEL_FAILURE\x10\x15\x12\x12\n\x0e\x45XPIRY_TOO_FAR\x10\x16\x12\x0f\n\x0bMPP_TIMEOUT\x10\x17\x12\x19\n\x15INVALID_ONION_PAYLOAD\x10\x18\x12\x15\n\x10INTERNAL_FAILURE\x10\xe5\x07\x12\x14\n\x0fUNKNOWN_FAILURE\x10\xe6\x07\x12\x17\n\x12UNREADABLE_FAILURE\x10\xe7\x07J\x04\x08\x02\x10\x03"\x9a\x02\n\rChannelUpdate\x12\x11\n\tsignature\x18\x01 \x01(\x0c\x12\x12\n\nchain_hash\x18\x02 \x01(\x0c\x12\x13\n\x07\x63han_id\x18\x03 \x01(\x04\x42\x02\x30\x01\x12\x11\n\ttimestamp\x18\x04 \x01(\r\x12\x15\n\rmessage_flags\x18\n \x01(\r\x12\x15\n\rchannel_flags\x18\x05 \x01(\r\x12\x17\n\x0ftime_lock_delta\x18\x06 \x01(\r\x12\x19\n\x11htlc_minimum_msat\x18\x07 \x01(\x04\x12\x10\n\x08\x62\x61se_fee\x18\x08 \x01(\r\x12\x10\n\x08\x66\x65\x65_rate\x18\t \x01(\r\x12\x19\n\x11htlc_maximum_msat\x18\x0b \x01(\x04\x12\x19\n\x11\x65xtra_opaque_data\x18\x0c \x01(\x0c"F\n\nMacaroonId\x12\r\n\x05nonce\x18\x01 \x01(\x0c\x12\x11\n\tstorageId\x18\x02 \x01(\x0c\x12\x16\n\x03ops\x18\x03 \x03(\x0b\x32\t.lnrpc.Op"%\n\x02Op\x12\x0e\n\x06\x65ntity\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x63tions\x18\x02 \x03(\t"k\n\x13\x43heckMacPermRequest\x12\x10\n\x08macaroon\x18\x01 \x01(\x0c\x12.\n\x0bpermissions\x18\x02 \x03(\x0b\x32\x19.lnrpc.MacaroonPermission\x12\x12\n\nfullMethod\x18\x03 \x01(\t"%\n\x14\x43heckMacPermResponse\x12\r\n\x05valid\x18\x01 \x01(\x08"\xea\x01\n\x14RPCMiddlewareRequest\x12\x12\n\nrequest_id\x18\x01 \x01(\x04\x12\x14\n\x0craw_macaroon\x18\x02 \x01(\x0c\x12\x1f\n\x17\x63ustom_caveat_condition\x18\x03 \x01(\t\x12(\n\x0bstream_auth\x18\x04 \x01(\x0b\x32\x11.lnrpc.StreamAuthH\x00\x12$\n\x07request\x18\x05 \x01(\x0b\x32\x11.lnrpc.RPCMessageH\x00\x12%\n\x08response\x18\x06 \x01(\x0b\x32\x11.lnrpc.RPCMessageH\x00\x42\x10\n\x0eintercept_type"%\n\nStreamAuth\x12\x17\n\x0fmethod_full_uri\x18\x01 \x01(\t"`\n\nRPCMessage\x12\x17\n\x0fmethod_full_uri\x18\x01 \x01(\t\x12\x12\n\nstream_rpc\x18\x02 \x01(\x08\x12\x11\n\ttype_name\x18\x03 \x01(\t\x12\x12\n\nserialized\x18\x04 \x01(\x0c"\xa2\x01\n\x15RPCMiddlewareResponse\x12\x12\n\nrequest_id\x18\x01 \x01(\x04\x12\x31\n\x08register\x18\x02 \x01(\x0b\x32\x1d.lnrpc.MiddlewareRegistrationH\x00\x12,\n\x08\x66\x65\x65\x64\x62\x61\x63k\x18\x03 \x01(\x0b\x32\x18.lnrpc.InterceptFeedbackH\x00\x42\x14\n\x12middleware_message"n\n\x16MiddlewareRegistration\x12\x17\n\x0fmiddleware_name\x18\x01 \x01(\t\x12#\n\x1b\x63ustom_macaroon_caveat_name\x18\x02 \x01(\t\x12\x16\n\x0eread_only_mode\x18\x03 \x01(\x08"\\\n\x11InterceptFeedback\x12\r\n\x05\x65rror\x18\x01 \x01(\t\x12\x18\n\x10replace_response\x18\x02 \x01(\x08\x12\x1e\n\x16replacement_serialized\x18\x03 \x01(\x0c*}\n\x0b\x41\x64\x64ressType\x12\x17\n\x13WITNESS_PUBKEY_HASH\x10\x00\x12\x16\n\x12NESTED_PUBKEY_HASH\x10\x01\x12\x1e\n\x1aUNUSED_WITNESS_PUBKEY_HASH\x10\x02\x12\x1d\n\x19UNUSED_NESTED_PUBKEY_HASH\x10\x03*x\n\x0e\x43ommitmentType\x12\x1b\n\x17UNKNOWN_COMMITMENT_TYPE\x10\x00\x12\n\n\x06LEGACY\x10\x01\x12\x15\n\x11STATIC_REMOTE_KEY\x10\x02\x12\x0b\n\x07\x41NCHORS\x10\x03\x12\x19\n\x15SCRIPT_ENFORCED_LEASE\x10\x04*a\n\tInitiator\x12\x15\n\x11INITIATOR_UNKNOWN\x10\x00\x12\x13\n\x0fINITIATOR_LOCAL\x10\x01\x12\x14\n\x10INITIATOR_REMOTE\x10\x02\x12\x12\n\x0eINITIATOR_BOTH\x10\x03*`\n\x0eResolutionType\x12\x10\n\x0cTYPE_UNKNOWN\x10\x00\x12\n\n\x06\x41NCHOR\x10\x01\x12\x11\n\rINCOMING_HTLC\x10\x02\x12\x11\n\rOUTGOING_HTLC\x10\x03\x12\n\n\x06\x43OMMIT\x10\x04*q\n\x11ResolutionOutcome\x12\x13\n\x0fOUTCOME_UNKNOWN\x10\x00\x12\x0b\n\x07\x43LAIMED\x10\x01\x12\r\n\tUNCLAIMED\x10\x02\x12\r\n\tABANDONED\x10\x03\x12\x0f\n\x0b\x46IRST_STAGE\x10\x04\x12\x0b\n\x07TIMEOUT\x10\x05*9\n\x0eNodeMetricType\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x1a\n\x16\x42\x45TWEENNESS_CENTRALITY\x10\x01*;\n\x10InvoiceHTLCState\x12\x0c\n\x08\x41\x43\x43\x45PTED\x10\x00\x12\x0b\n\x07SETTLED\x10\x01\x12\x0c\n\x08\x43\x41NCELED\x10\x02*\xd9\x01\n\x14PaymentFailureReason\x12\x17\n\x13\x46\x41ILURE_REASON_NONE\x10\x00\x12\x1a\n\x16\x46\x41ILURE_REASON_TIMEOUT\x10\x01\x12\x1b\n\x17\x46\x41ILURE_REASON_NO_ROUTE\x10\x02\x12\x18\n\x14\x46\x41ILURE_REASON_ERROR\x10\x03\x12,\n(FAILURE_REASON_INCORRECT_PAYMENT_DETAILS\x10\x04\x12\'\n#FAILURE_REASON_INSUFFICIENT_BALANCE\x10\x05*\xcf\x04\n\nFeatureBit\x12\x18\n\x14\x44\x41TALOSS_PROTECT_REQ\x10\x00\x12\x18\n\x14\x44\x41TALOSS_PROTECT_OPT\x10\x01\x12\x17\n\x13INITIAL_ROUING_SYNC\x10\x03\x12\x1f\n\x1bUPFRONT_SHUTDOWN_SCRIPT_REQ\x10\x04\x12\x1f\n\x1bUPFRONT_SHUTDOWN_SCRIPT_OPT\x10\x05\x12\x16\n\x12GOSSIP_QUERIES_REQ\x10\x06\x12\x16\n\x12GOSSIP_QUERIES_OPT\x10\x07\x12\x11\n\rTLV_ONION_REQ\x10\x08\x12\x11\n\rTLV_ONION_OPT\x10\t\x12\x1a\n\x16\x45XT_GOSSIP_QUERIES_REQ\x10\n\x12\x1a\n\x16\x45XT_GOSSIP_QUERIES_OPT\x10\x0b\x12\x19\n\x15STATIC_REMOTE_KEY_REQ\x10\x0c\x12\x19\n\x15STATIC_REMOTE_KEY_OPT\x10\r\x12\x14\n\x10PAYMENT_ADDR_REQ\x10\x0e\x12\x14\n\x10PAYMENT_ADDR_OPT\x10\x0f\x12\x0b\n\x07MPP_REQ\x10\x10\x12\x0b\n\x07MPP_OPT\x10\x11\x12\x16\n\x12WUMBO_CHANNELS_REQ\x10\x12\x12\x16\n\x12WUMBO_CHANNELS_OPT\x10\x13\x12\x0f\n\x0b\x41NCHORS_REQ\x10\x14\x12\x0f\n\x0b\x41NCHORS_OPT\x10\x15\x12\x1d\n\x19\x41NCHORS_ZERO_FEE_HTLC_REQ\x10\x16\x12\x1d\n\x19\x41NCHORS_ZERO_FEE_HTLC_OPT\x10\x17\x12\x0b\n\x07\x41MP_REQ\x10\x1e\x12\x0b\n\x07\x41MP_OPT\x10\x1f*\xac\x01\n\rUpdateFailure\x12\x1a\n\x16UPDATE_FAILURE_UNKNOWN\x10\x00\x12\x1a\n\x16UPDATE_FAILURE_PENDING\x10\x01\x12\x1c\n\x18UPDATE_FAILURE_NOT_FOUND\x10\x02\x12\x1f\n\x1bUPDATE_FAILURE_INTERNAL_ERR\x10\x03\x12$\n UPDATE_FAILURE_INVALID_PARAMETER\x10\x04\x32\xc9%\n\tLightning\x12J\n\rWalletBalance\x12\x1b.lnrpc.WalletBalanceRequest\x1a\x1c.lnrpc.WalletBalanceResponse\x12M\n\x0e\x43hannelBalance\x12\x1c.lnrpc.ChannelBalanceRequest\x1a\x1d.lnrpc.ChannelBalanceResponse\x12K\n\x0fGetTransactions\x12\x1d.lnrpc.GetTransactionsRequest\x1a\x19.lnrpc.TransactionDetails\x12\x44\n\x0b\x45stimateFee\x12\x19.lnrpc.EstimateFeeRequest\x1a\x1a.lnrpc.EstimateFeeResponse\x12>\n\tSendCoins\x12\x17.lnrpc.SendCoinsRequest\x1a\x18.lnrpc.SendCoinsResponse\x12\x44\n\x0bListUnspent\x12\x19.lnrpc.ListUnspentRequest\x1a\x1a.lnrpc.ListUnspentResponse\x12L\n\x15SubscribeTransactions\x12\x1d.lnrpc.GetTransactionsRequest\x1a\x12.lnrpc.Transaction0\x01\x12;\n\x08SendMany\x12\x16.lnrpc.SendManyRequest\x1a\x17.lnrpc.SendManyResponse\x12\x41\n\nNewAddress\x12\x18.lnrpc.NewAddressRequest\x1a\x19.lnrpc.NewAddressResponse\x12\x44\n\x0bSignMessage\x12\x19.lnrpc.SignMessageRequest\x1a\x1a.lnrpc.SignMessageResponse\x12J\n\rVerifyMessage\x12\x1b.lnrpc.VerifyMessageRequest\x1a\x1c.lnrpc.VerifyMessageResponse\x12\x44\n\x0b\x43onnectPeer\x12\x19.lnrpc.ConnectPeerRequest\x1a\x1a.lnrpc.ConnectPeerResponse\x12M\n\x0e\x44isconnectPeer\x12\x1c.lnrpc.DisconnectPeerRequest\x1a\x1d.lnrpc.DisconnectPeerResponse\x12>\n\tListPeers\x12\x17.lnrpc.ListPeersRequest\x1a\x18.lnrpc.ListPeersResponse\x12G\n\x13SubscribePeerEvents\x12\x1c.lnrpc.PeerEventSubscription\x1a\x10.lnrpc.PeerEvent0\x01\x12\x38\n\x07GetInfo\x12\x15.lnrpc.GetInfoRequest\x1a\x16.lnrpc.GetInfoResponse\x12P\n\x0fGetRecoveryInfo\x12\x1d.lnrpc.GetRecoveryInfoRequest\x1a\x1e.lnrpc.GetRecoveryInfoResponse\x12P\n\x0fPendingChannels\x12\x1d.lnrpc.PendingChannelsRequest\x1a\x1e.lnrpc.PendingChannelsResponse\x12G\n\x0cListChannels\x12\x1a.lnrpc.ListChannelsRequest\x1a\x1b.lnrpc.ListChannelsResponse\x12V\n\x16SubscribeChannelEvents\x12\x1f.lnrpc.ChannelEventSubscription\x1a\x19.lnrpc.ChannelEventUpdate0\x01\x12M\n\x0e\x43losedChannels\x12\x1c.lnrpc.ClosedChannelsRequest\x1a\x1d.lnrpc.ClosedChannelsResponse\x12\x41\n\x0fOpenChannelSync\x12\x19.lnrpc.OpenChannelRequest\x1a\x13.lnrpc.ChannelPoint\x12\x43\n\x0bOpenChannel\x12\x19.lnrpc.OpenChannelRequest\x1a\x17.lnrpc.OpenStatusUpdate0\x01\x12S\n\x10\x42\x61tchOpenChannel\x12\x1e.lnrpc.BatchOpenChannelRequest\x1a\x1f.lnrpc.BatchOpenChannelResponse\x12L\n\x10\x46undingStateStep\x12\x1b.lnrpc.FundingTransitionMsg\x1a\x1b.lnrpc.FundingStateStepResp\x12P\n\x0f\x43hannelAcceptor\x12\x1c.lnrpc.ChannelAcceptResponse\x1a\x1b.lnrpc.ChannelAcceptRequest(\x01\x30\x01\x12\x46\n\x0c\x43loseChannel\x12\x1a.lnrpc.CloseChannelRequest\x1a\x18.lnrpc.CloseStatusUpdate0\x01\x12M\n\x0e\x41\x62\x61ndonChannel\x12\x1c.lnrpc.AbandonChannelRequest\x1a\x1d.lnrpc.AbandonChannelResponse\x12?\n\x0bSendPayment\x12\x12.lnrpc.SendRequest\x1a\x13.lnrpc.SendResponse"\x03\x88\x02\x01(\x01\x30\x01\x12:\n\x0fSendPaymentSync\x12\x12.lnrpc.SendRequest\x1a\x13.lnrpc.SendResponse\x12\x46\n\x0bSendToRoute\x12\x19.lnrpc.SendToRouteRequest\x1a\x13.lnrpc.SendResponse"\x03\x88\x02\x01(\x01\x30\x01\x12\x41\n\x0fSendToRouteSync\x12\x19.lnrpc.SendToRouteRequest\x1a\x13.lnrpc.SendResponse\x12\x37\n\nAddInvoice\x12\x0e.lnrpc.Invoice\x1a\x19.lnrpc.AddInvoiceResponse\x12\x45\n\x0cListInvoices\x12\x19.lnrpc.ListInvoiceRequest\x1a\x1a.lnrpc.ListInvoiceResponse\x12\x33\n\rLookupInvoice\x12\x12.lnrpc.PaymentHash\x1a\x0e.lnrpc.Invoice\x12\x41\n\x11SubscribeInvoices\x12\x1a.lnrpc.InvoiceSubscription\x1a\x0e.lnrpc.Invoice0\x01\x12\x32\n\x0c\x44\x65\x63odePayReq\x12\x13.lnrpc.PayReqString\x1a\r.lnrpc.PayReq\x12G\n\x0cListPayments\x12\x1a.lnrpc.ListPaymentsRequest\x1a\x1b.lnrpc.ListPaymentsResponse\x12J\n\rDeletePayment\x12\x1b.lnrpc.DeletePaymentRequest\x1a\x1c.lnrpc.DeletePaymentResponse\x12V\n\x11\x44\x65leteAllPayments\x12\x1f.lnrpc.DeleteAllPaymentsRequest\x1a .lnrpc.DeleteAllPaymentsResponse\x12@\n\rDescribeGraph\x12\x1a.lnrpc.ChannelGraphRequest\x1a\x13.lnrpc.ChannelGraph\x12G\n\x0eGetNodeMetrics\x12\x19.lnrpc.NodeMetricsRequest\x1a\x1a.lnrpc.NodeMetricsResponse\x12\x39\n\x0bGetChanInfo\x12\x16.lnrpc.ChanInfoRequest\x1a\x12.lnrpc.ChannelEdge\x12\x36\n\x0bGetNodeInfo\x12\x16.lnrpc.NodeInfoRequest\x1a\x0f.lnrpc.NodeInfo\x12\x44\n\x0bQueryRoutes\x12\x19.lnrpc.QueryRoutesRequest\x1a\x1a.lnrpc.QueryRoutesResponse\x12?\n\x0eGetNetworkInfo\x12\x19.lnrpc.NetworkInfoRequest\x1a\x12.lnrpc.NetworkInfo\x12\x35\n\nStopDaemon\x12\x12.lnrpc.StopRequest\x1a\x13.lnrpc.StopResponse\x12W\n\x15SubscribeChannelGraph\x12 .lnrpc.GraphTopologySubscription\x1a\x1a.lnrpc.GraphTopologyUpdate0\x01\x12\x41\n\nDebugLevel\x12\x18.lnrpc.DebugLevelRequest\x1a\x19.lnrpc.DebugLevelResponse\x12>\n\tFeeReport\x12\x17.lnrpc.FeeReportRequest\x1a\x18.lnrpc.FeeReportResponse\x12N\n\x13UpdateChannelPolicy\x12\x1a.lnrpc.PolicyUpdateRequest\x1a\x1b.lnrpc.PolicyUpdateResponse\x12V\n\x11\x46orwardingHistory\x12\x1f.lnrpc.ForwardingHistoryRequest\x1a .lnrpc.ForwardingHistoryResponse\x12N\n\x13\x45xportChannelBackup\x12!.lnrpc.ExportChannelBackupRequest\x1a\x14.lnrpc.ChannelBackup\x12T\n\x17\x45xportAllChannelBackups\x12\x1e.lnrpc.ChanBackupExportRequest\x1a\x19.lnrpc.ChanBackupSnapshot\x12N\n\x10VerifyChanBackup\x12\x19.lnrpc.ChanBackupSnapshot\x1a\x1f.lnrpc.VerifyChanBackupResponse\x12V\n\x15RestoreChannelBackups\x12\x1f.lnrpc.RestoreChanBackupRequest\x1a\x1c.lnrpc.RestoreBackupResponse\x12X\n\x17SubscribeChannelBackups\x12 .lnrpc.ChannelBackupSubscription\x1a\x19.lnrpc.ChanBackupSnapshot0\x01\x12G\n\x0c\x42\x61keMacaroon\x12\x1a.lnrpc.BakeMacaroonRequest\x1a\x1b.lnrpc.BakeMacaroonResponse\x12P\n\x0fListMacaroonIDs\x12\x1d.lnrpc.ListMacaroonIDsRequest\x1a\x1e.lnrpc.ListMacaroonIDsResponse\x12S\n\x10\x44\x65leteMacaroonID\x12\x1e.lnrpc.DeleteMacaroonIDRequest\x1a\x1f.lnrpc.DeleteMacaroonIDResponse\x12P\n\x0fListPermissions\x12\x1d.lnrpc.ListPermissionsRequest\x1a\x1e.lnrpc.ListPermissionsResponse\x12S\n\x18\x43heckMacaroonPermissions\x12\x1a.lnrpc.CheckMacPermRequest\x1a\x1b.lnrpc.CheckMacPermResponse\x12V\n\x15RegisterRPCMiddleware\x12\x1c.lnrpc.RPCMiddlewareResponse\x1a\x1b.lnrpc.RPCMiddlewareRequest(\x01\x30\x01\x12V\n\x11SendCustomMessage\x12\x1f.lnrpc.SendCustomMessageRequest\x1a .lnrpc.SendCustomMessageResponse\x12X\n\x17SubscribeCustomMessages\x12%.lnrpc.SubscribeCustomMessagesRequest\x1a\x14.lnrpc.CustomMessage0\x01\x42\'Z%github.com/lightningnetwork/lnd/lnrpcb\x06proto3',
+DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
+ b'\n\x0flightning.proto\x12\x05lnrpc" \n\x1eSubscribeCustomMessagesRequest"9\n\rCustomMessage\x12\x0c\n\x04peer\x18\x01 \x01(\x0c\x12\x0c\n\x04type\x18\x02 \x01(\r\x12\x0c\n\x04\x64\x61ta\x18\x03 \x01(\x0c"D\n\x18SendCustomMessageRequest\x12\x0c\n\x04peer\x18\x01 \x01(\x0c\x12\x0c\n\x04type\x18\x02 \x01(\r\x12\x0c\n\x04\x64\x61ta\x18\x03 \x01(\x0c"\x1b\n\x19SendCustomMessageResponse"\xa2\x01\n\x04Utxo\x12(\n\x0c\x61\x64\x64ress_type\x18\x01 \x01(\x0e\x32\x12.lnrpc.AddressType\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x12\x12\n\namount_sat\x18\x03 \x01(\x03\x12\x11\n\tpk_script\x18\x04 \x01(\t\x12!\n\x08outpoint\x18\x05 \x01(\x0b\x32\x0f.lnrpc.OutPoint\x12\x15\n\rconfirmations\x18\x06 \x01(\x03"\x9e\x01\n\x0cOutputDetail\x12,\n\x0boutput_type\x18\x01 \x01(\x0e\x32\x17.lnrpc.OutputScriptType\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x12\x11\n\tpk_script\x18\x03 \x01(\t\x12\x14\n\x0coutput_index\x18\x04 \x01(\x03\x12\x0e\n\x06\x61mount\x18\x05 \x01(\x03\x12\x16\n\x0eis_our_address\x18\x06 \x01(\x08"\xbc\x02\n\x0bTransaction\x12\x0f\n\x07tx_hash\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\x03\x12\x19\n\x11num_confirmations\x18\x03 \x01(\x05\x12\x12\n\nblock_hash\x18\x04 \x01(\t\x12\x14\n\x0c\x62lock_height\x18\x05 \x01(\x05\x12\x12\n\ntime_stamp\x18\x06 \x01(\x03\x12\x12\n\ntotal_fees\x18\x07 \x01(\x03\x12\x1a\n\x0e\x64\x65st_addresses\x18\x08 \x03(\tB\x02\x18\x01\x12+\n\x0eoutput_details\x18\x0b \x03(\x0b\x32\x13.lnrpc.OutputDetail\x12\x12\n\nraw_tx_hex\x18\t \x01(\t\x12\r\n\x05label\x18\n \x01(\t\x12\x33\n\x12previous_outpoints\x18\x0c \x03(\x0b\x32\x17.lnrpc.PreviousOutPoint"S\n\x16GetTransactionsRequest\x12\x14\n\x0cstart_height\x18\x01 \x01(\x05\x12\x12\n\nend_height\x18\x02 \x01(\x05\x12\x0f\n\x07\x61\x63\x63ount\x18\x03 \x01(\t">\n\x12TransactionDetails\x12(\n\x0ctransactions\x18\x01 \x03(\x0b\x32\x12.lnrpc.Transaction"M\n\x08\x46\x65\x65Limit\x12\x0f\n\x05\x66ixed\x18\x01 \x01(\x03H\x00\x12\x14\n\nfixed_msat\x18\x03 \x01(\x03H\x00\x12\x11\n\x07percent\x18\x02 \x01(\x03H\x00\x42\x07\n\x05limit"\x8a\x04\n\x0bSendRequest\x12\x0c\n\x04\x64\x65st\x18\x01 \x01(\x0c\x12\x17\n\x0b\x64\x65st_string\x18\x02 \x01(\tB\x02\x18\x01\x12\x0b\n\x03\x61mt\x18\x03 \x01(\x03\x12\x10\n\x08\x61mt_msat\x18\x0c \x01(\x03\x12\x14\n\x0cpayment_hash\x18\x04 \x01(\x0c\x12\x1f\n\x13payment_hash_string\x18\x05 \x01(\tB\x02\x18\x01\x12\x17\n\x0fpayment_request\x18\x06 \x01(\t\x12\x18\n\x10\x66inal_cltv_delta\x18\x07 \x01(\x05\x12"\n\tfee_limit\x18\x08 \x01(\x0b\x32\x0f.lnrpc.FeeLimit\x12\x1c\n\x10outgoing_chan_id\x18\t \x01(\x04\x42\x02\x30\x01\x12\x17\n\x0flast_hop_pubkey\x18\r \x01(\x0c\x12\x12\n\ncltv_limit\x18\n \x01(\r\x12\x46\n\x13\x64\x65st_custom_records\x18\x0b \x03(\x0b\x32).lnrpc.SendRequest.DestCustomRecordsEntry\x12\x1a\n\x12\x61llow_self_payment\x18\x0e \x01(\x08\x12(\n\rdest_features\x18\x0f \x03(\x0e\x32\x11.lnrpc.FeatureBit\x12\x14\n\x0cpayment_addr\x18\x10 \x01(\x0c\x1a\x38\n\x16\x44\x65stCustomRecordsEntry\x12\x0b\n\x03key\x18\x01 \x01(\x04\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01"z\n\x0cSendResponse\x12\x15\n\rpayment_error\x18\x01 \x01(\t\x12\x18\n\x10payment_preimage\x18\x02 \x01(\x0c\x12#\n\rpayment_route\x18\x03 \x01(\x0b\x32\x0c.lnrpc.Route\x12\x14\n\x0cpayment_hash\x18\x04 \x01(\x0c"n\n\x12SendToRouteRequest\x12\x14\n\x0cpayment_hash\x18\x01 \x01(\x0c\x12\x1f\n\x13payment_hash_string\x18\x02 \x01(\tB\x02\x18\x01\x12\x1b\n\x05route\x18\x04 \x01(\x0b\x32\x0c.lnrpc.RouteJ\x04\x08\x03\x10\x04"\xe5\x02\n\x14\x43hannelAcceptRequest\x12\x13\n\x0bnode_pubkey\x18\x01 \x01(\x0c\x12\x12\n\nchain_hash\x18\x02 \x01(\x0c\x12\x17\n\x0fpending_chan_id\x18\x03 \x01(\x0c\x12\x13\n\x0b\x66unding_amt\x18\x04 \x01(\x04\x12\x10\n\x08push_amt\x18\x05 \x01(\x04\x12\x12\n\ndust_limit\x18\x06 \x01(\x04\x12\x1b\n\x13max_value_in_flight\x18\x07 \x01(\x04\x12\x17\n\x0f\x63hannel_reserve\x18\x08 \x01(\x04\x12\x10\n\x08min_htlc\x18\t \x01(\x04\x12\x12\n\nfee_per_kw\x18\n \x01(\x04\x12\x11\n\tcsv_delay\x18\x0b \x01(\r\x12\x1a\n\x12max_accepted_htlcs\x18\x0c \x01(\r\x12\x15\n\rchannel_flags\x18\r \x01(\r\x12.\n\x0f\x63ommitment_type\x18\x0e \x01(\x0e\x32\x15.lnrpc.CommitmentType"\x87\x02\n\x15\x43hannelAcceptResponse\x12\x0e\n\x06\x61\x63\x63\x65pt\x18\x01 \x01(\x08\x12\x17\n\x0fpending_chan_id\x18\x02 \x01(\x0c\x12\r\n\x05\x65rror\x18\x03 \x01(\t\x12\x18\n\x10upfront_shutdown\x18\x04 \x01(\t\x12\x11\n\tcsv_delay\x18\x05 \x01(\r\x12\x13\n\x0breserve_sat\x18\x06 \x01(\x04\x12\x1a\n\x12in_flight_max_msat\x18\x07 \x01(\x04\x12\x16\n\x0emax_htlc_count\x18\x08 \x01(\r\x12\x13\n\x0bmin_htlc_in\x18\t \x01(\x04\x12\x18\n\x10min_accept_depth\x18\n \x01(\r\x12\x11\n\tzero_conf\x18\x0b \x01(\x08"n\n\x0c\x43hannelPoint\x12\x1c\n\x12\x66unding_txid_bytes\x18\x01 \x01(\x0cH\x00\x12\x1a\n\x10\x66unding_txid_str\x18\x02 \x01(\tH\x00\x12\x14\n\x0coutput_index\x18\x03 \x01(\rB\x0e\n\x0c\x66unding_txid"F\n\x08OutPoint\x12\x12\n\ntxid_bytes\x18\x01 \x01(\x0c\x12\x10\n\x08txid_str\x18\x02 \x01(\t\x12\x14\n\x0coutput_index\x18\x03 \x01(\r";\n\x10PreviousOutPoint\x12\x10\n\x08outpoint\x18\x01 \x01(\t\x12\x15\n\ris_our_output\x18\x02 \x01(\x08"0\n\x10LightningAddress\x12\x0e\n\x06pubkey\x18\x01 \x01(\t\x12\x0c\n\x04host\x18\x02 \x01(\t"\xcf\x01\n\x12\x45stimateFeeRequest\x12\x41\n\x0c\x41\x64\x64rToAmount\x18\x01 \x03(\x0b\x32+.lnrpc.EstimateFeeRequest.AddrToAmountEntry\x12\x13\n\x0btarget_conf\x18\x02 \x01(\x05\x12\x11\n\tmin_confs\x18\x03 \x01(\x05\x12\x19\n\x11spend_unconfirmed\x18\x04 \x01(\x08\x1a\x33\n\x11\x41\x64\x64rToAmountEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x03:\x02\x38\x01"_\n\x13\x45stimateFeeResponse\x12\x0f\n\x07\x66\x65\x65_sat\x18\x01 \x01(\x03\x12 \n\x14\x66\x65\x65rate_sat_per_byte\x18\x02 \x01(\x03\x42\x02\x18\x01\x12\x15\n\rsat_per_vbyte\x18\x03 \x01(\x04"\x89\x02\n\x0fSendManyRequest\x12>\n\x0c\x41\x64\x64rToAmount\x18\x01 \x03(\x0b\x32(.lnrpc.SendManyRequest.AddrToAmountEntry\x12\x13\n\x0btarget_conf\x18\x03 \x01(\x05\x12\x15\n\rsat_per_vbyte\x18\x04 \x01(\x04\x12\x18\n\x0csat_per_byte\x18\x05 \x01(\x03\x42\x02\x18\x01\x12\r\n\x05label\x18\x06 \x01(\t\x12\x11\n\tmin_confs\x18\x07 \x01(\x05\x12\x19\n\x11spend_unconfirmed\x18\x08 \x01(\x08\x1a\x33\n\x11\x41\x64\x64rToAmountEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x03:\x02\x38\x01" \n\x10SendManyResponse\x12\x0c\n\x04txid\x18\x01 \x01(\t"\xc5\x01\n\x10SendCoinsRequest\x12\x0c\n\x04\x61\x64\x64r\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\x03\x12\x13\n\x0btarget_conf\x18\x03 \x01(\x05\x12\x15\n\rsat_per_vbyte\x18\x04 \x01(\x04\x12\x18\n\x0csat_per_byte\x18\x05 \x01(\x03\x42\x02\x18\x01\x12\x10\n\x08send_all\x18\x06 \x01(\x08\x12\r\n\x05label\x18\x07 \x01(\t\x12\x11\n\tmin_confs\x18\x08 \x01(\x05\x12\x19\n\x11spend_unconfirmed\x18\t \x01(\x08"!\n\x11SendCoinsResponse\x12\x0c\n\x04txid\x18\x01 \x01(\t"K\n\x12ListUnspentRequest\x12\x11\n\tmin_confs\x18\x01 \x01(\x05\x12\x11\n\tmax_confs\x18\x02 \x01(\x05\x12\x0f\n\x07\x61\x63\x63ount\x18\x03 \x01(\t"1\n\x13ListUnspentResponse\x12\x1a\n\x05utxos\x18\x01 \x03(\x0b\x32\x0b.lnrpc.Utxo"F\n\x11NewAddressRequest\x12 \n\x04type\x18\x01 \x01(\x0e\x32\x12.lnrpc.AddressType\x12\x0f\n\x07\x61\x63\x63ount\x18\x02 \x01(\t"%\n\x12NewAddressResponse\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t"6\n\x12SignMessageRequest\x12\x0b\n\x03msg\x18\x01 \x01(\x0c\x12\x13\n\x0bsingle_hash\x18\x02 \x01(\x08"(\n\x13SignMessageResponse\x12\x11\n\tsignature\x18\x01 \x01(\t"6\n\x14VerifyMessageRequest\x12\x0b\n\x03msg\x18\x01 \x01(\x0c\x12\x11\n\tsignature\x18\x02 \x01(\t"6\n\x15VerifyMessageResponse\x12\r\n\x05valid\x18\x01 \x01(\x08\x12\x0e\n\x06pubkey\x18\x02 \x01(\t"Z\n\x12\x43onnectPeerRequest\x12%\n\x04\x61\x64\x64r\x18\x01 \x01(\x0b\x32\x17.lnrpc.LightningAddress\x12\x0c\n\x04perm\x18\x02 \x01(\x08\x12\x0f\n\x07timeout\x18\x03 \x01(\x04"\x15\n\x13\x43onnectPeerResponse"(\n\x15\x44isconnectPeerRequest\x12\x0f\n\x07pub_key\x18\x01 \x01(\t"\x18\n\x16\x44isconnectPeerResponse"\xa5\x01\n\x04HTLC\x12\x10\n\x08incoming\x18\x01 \x01(\x08\x12\x0e\n\x06\x61mount\x18\x02 \x01(\x03\x12\x11\n\thash_lock\x18\x03 \x01(\x0c\x12\x19\n\x11\x65xpiration_height\x18\x04 \x01(\r\x12\x12\n\nhtlc_index\x18\x05 \x01(\x04\x12\x1a\n\x12\x66orwarding_channel\x18\x06 \x01(\x04\x12\x1d\n\x15\x66orwarding_htlc_index\x18\x07 \x01(\x04"\xaa\x01\n\x12\x43hannelConstraints\x12\x11\n\tcsv_delay\x18\x01 \x01(\r\x12\x18\n\x10\x63han_reserve_sat\x18\x02 \x01(\x04\x12\x16\n\x0e\x64ust_limit_sat\x18\x03 \x01(\x04\x12\x1c\n\x14max_pending_amt_msat\x18\x04 \x01(\x04\x12\x15\n\rmin_htlc_msat\x18\x05 \x01(\x04\x12\x1a\n\x12max_accepted_htlcs\x18\x06 \x01(\r"\xb0\x06\n\x07\x43hannel\x12\x0e\n\x06\x61\x63tive\x18\x01 \x01(\x08\x12\x15\n\rremote_pubkey\x18\x02 \x01(\t\x12\x15\n\rchannel_point\x18\x03 \x01(\t\x12\x13\n\x07\x63han_id\x18\x04 \x01(\x04\x42\x02\x30\x01\x12\x10\n\x08\x63\x61pacity\x18\x05 \x01(\x03\x12\x15\n\rlocal_balance\x18\x06 \x01(\x03\x12\x16\n\x0eremote_balance\x18\x07 \x01(\x03\x12\x12\n\ncommit_fee\x18\x08 \x01(\x03\x12\x15\n\rcommit_weight\x18\t \x01(\x03\x12\x12\n\nfee_per_kw\x18\n \x01(\x03\x12\x19\n\x11unsettled_balance\x18\x0b \x01(\x03\x12\x1b\n\x13total_satoshis_sent\x18\x0c \x01(\x03\x12\x1f\n\x17total_satoshis_received\x18\r \x01(\x03\x12\x13\n\x0bnum_updates\x18\x0e \x01(\x04\x12"\n\rpending_htlcs\x18\x0f \x03(\x0b\x32\x0b.lnrpc.HTLC\x12\x15\n\tcsv_delay\x18\x10 \x01(\rB\x02\x18\x01\x12\x0f\n\x07private\x18\x11 \x01(\x08\x12\x11\n\tinitiator\x18\x12 \x01(\x08\x12\x19\n\x11\x63han_status_flags\x18\x13 \x01(\t\x12"\n\x16local_chan_reserve_sat\x18\x14 \x01(\x03\x42\x02\x18\x01\x12#\n\x17remote_chan_reserve_sat\x18\x15 \x01(\x03\x42\x02\x18\x01\x12\x1d\n\x11static_remote_key\x18\x16 \x01(\x08\x42\x02\x18\x01\x12.\n\x0f\x63ommitment_type\x18\x1a \x01(\x0e\x32\x15.lnrpc.CommitmentType\x12\x10\n\x08lifetime\x18\x17 \x01(\x03\x12\x0e\n\x06uptime\x18\x18 \x01(\x03\x12\x15\n\rclose_address\x18\x19 \x01(\t\x12\x17\n\x0fpush_amount_sat\x18\x1b \x01(\x04\x12\x13\n\x0bthaw_height\x18\x1c \x01(\r\x12\x34\n\x11local_constraints\x18\x1d \x01(\x0b\x32\x19.lnrpc.ChannelConstraints\x12\x35\n\x12remote_constraints\x18\x1e \x01(\x0b\x32\x19.lnrpc.ChannelConstraints"z\n\x13ListChannelsRequest\x12\x13\n\x0b\x61\x63tive_only\x18\x01 \x01(\x08\x12\x15\n\rinactive_only\x18\x02 \x01(\x08\x12\x13\n\x0bpublic_only\x18\x03 \x01(\x08\x12\x14\n\x0cprivate_only\x18\x04 \x01(\x08\x12\x0c\n\x04peer\x18\x05 \x01(\x0c"8\n\x14ListChannelsResponse\x12 \n\x08\x63hannels\x18\x0b \x03(\x0b\x32\x0e.lnrpc.Channel"\xa9\x04\n\x13\x43hannelCloseSummary\x12\x15\n\rchannel_point\x18\x01 \x01(\t\x12\x13\n\x07\x63han_id\x18\x02 \x01(\x04\x42\x02\x30\x01\x12\x12\n\nchain_hash\x18\x03 \x01(\t\x12\x17\n\x0f\x63losing_tx_hash\x18\x04 \x01(\t\x12\x15\n\rremote_pubkey\x18\x05 \x01(\t\x12\x10\n\x08\x63\x61pacity\x18\x06 \x01(\x03\x12\x14\n\x0c\x63lose_height\x18\x07 \x01(\r\x12\x17\n\x0fsettled_balance\x18\x08 \x01(\x03\x12\x1b\n\x13time_locked_balance\x18\t \x01(\x03\x12:\n\nclose_type\x18\n \x01(\x0e\x32&.lnrpc.ChannelCloseSummary.ClosureType\x12(\n\x0eopen_initiator\x18\x0b \x01(\x0e\x32\x10.lnrpc.Initiator\x12)\n\x0f\x63lose_initiator\x18\x0c \x01(\x0e\x32\x10.lnrpc.Initiator\x12&\n\x0bresolutions\x18\r \x03(\x0b\x32\x11.lnrpc.Resolution"\x8a\x01\n\x0b\x43losureType\x12\x15\n\x11\x43OOPERATIVE_CLOSE\x10\x00\x12\x15\n\x11LOCAL_FORCE_CLOSE\x10\x01\x12\x16\n\x12REMOTE_FORCE_CLOSE\x10\x02\x12\x10\n\x0c\x42REACH_CLOSE\x10\x03\x12\x14\n\x10\x46UNDING_CANCELED\x10\x04\x12\r\n\tABANDONED\x10\x05"\xb2\x01\n\nResolution\x12.\n\x0fresolution_type\x18\x01 \x01(\x0e\x32\x15.lnrpc.ResolutionType\x12)\n\x07outcome\x18\x02 \x01(\x0e\x32\x18.lnrpc.ResolutionOutcome\x12!\n\x08outpoint\x18\x03 \x01(\x0b\x32\x0f.lnrpc.OutPoint\x12\x12\n\namount_sat\x18\x04 \x01(\x04\x12\x12\n\nsweep_txid\x18\x05 \x01(\t"\x94\x01\n\x15\x43losedChannelsRequest\x12\x13\n\x0b\x63ooperative\x18\x01 \x01(\x08\x12\x13\n\x0blocal_force\x18\x02 \x01(\x08\x12\x14\n\x0cremote_force\x18\x03 \x01(\x08\x12\x0e\n\x06\x62reach\x18\x04 \x01(\x08\x12\x18\n\x10\x66unding_canceled\x18\x05 \x01(\x08\x12\x11\n\tabandoned\x18\x06 \x01(\x08"F\n\x16\x43losedChannelsResponse\x12,\n\x08\x63hannels\x18\x01 \x03(\x0b\x32\x1a.lnrpc.ChannelCloseSummary"\xef\x03\n\x04Peer\x12\x0f\n\x07pub_key\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x03 \x01(\t\x12\x12\n\nbytes_sent\x18\x04 \x01(\x04\x12\x12\n\nbytes_recv\x18\x05 \x01(\x04\x12\x10\n\x08sat_sent\x18\x06 \x01(\x03\x12\x10\n\x08sat_recv\x18\x07 \x01(\x03\x12\x0f\n\x07inbound\x18\x08 \x01(\x08\x12\x11\n\tping_time\x18\t \x01(\x03\x12\'\n\tsync_type\x18\n \x01(\x0e\x32\x14.lnrpc.Peer.SyncType\x12+\n\x08\x66\x65\x61tures\x18\x0b \x03(\x0b\x32\x19.lnrpc.Peer.FeaturesEntry\x12\'\n\x06\x65rrors\x18\x0c \x03(\x0b\x32\x17.lnrpc.TimestampedError\x12\x12\n\nflap_count\x18\r \x01(\x05\x12\x14\n\x0clast_flap_ns\x18\x0e \x01(\x03\x12\x19\n\x11last_ping_payload\x18\x0f \x01(\x0c\x1a?\n\rFeaturesEntry\x12\x0b\n\x03key\x18\x01 \x01(\r\x12\x1d\n\x05value\x18\x02 \x01(\x0b\x32\x0e.lnrpc.Feature:\x02\x38\x01"P\n\x08SyncType\x12\x10\n\x0cUNKNOWN_SYNC\x10\x00\x12\x0f\n\x0b\x41\x43TIVE_SYNC\x10\x01\x12\x10\n\x0cPASSIVE_SYNC\x10\x02\x12\x0f\n\x0bPINNED_SYNC\x10\x03"4\n\x10TimestampedError\x12\x11\n\ttimestamp\x18\x01 \x01(\x04\x12\r\n\x05\x65rror\x18\x02 \x01(\t"(\n\x10ListPeersRequest\x12\x14\n\x0clatest_error\x18\x01 \x01(\x08"/\n\x11ListPeersResponse\x12\x1a\n\x05peers\x18\x01 \x03(\x0b\x32\x0b.lnrpc.Peer"\x17\n\x15PeerEventSubscription"v\n\tPeerEvent\x12\x0f\n\x07pub_key\x18\x01 \x01(\t\x12(\n\x04type\x18\x02 \x01(\x0e\x32\x1a.lnrpc.PeerEvent.EventType".\n\tEventType\x12\x0f\n\x0bPEER_ONLINE\x10\x00\x12\x10\n\x0cPEER_OFFLINE\x10\x01"\x10\n\x0eGetInfoRequest"\xb8\x04\n\x0fGetInfoResponse\x12\x0f\n\x07version\x18\x0e \x01(\t\x12\x13\n\x0b\x63ommit_hash\x18\x14 \x01(\t\x12\x17\n\x0fidentity_pubkey\x18\x01 \x01(\t\x12\r\n\x05\x61lias\x18\x02 \x01(\t\x12\r\n\x05\x63olor\x18\x11 \x01(\t\x12\x1c\n\x14num_pending_channels\x18\x03 \x01(\r\x12\x1b\n\x13num_active_channels\x18\x04 \x01(\r\x12\x1d\n\x15num_inactive_channels\x18\x0f \x01(\r\x12\x11\n\tnum_peers\x18\x05 \x01(\r\x12\x14\n\x0c\x62lock_height\x18\x06 \x01(\r\x12\x12\n\nblock_hash\x18\x08 \x01(\t\x12\x1d\n\x15\x62\x65st_header_timestamp\x18\r \x01(\x03\x12\x17\n\x0fsynced_to_chain\x18\t \x01(\x08\x12\x17\n\x0fsynced_to_graph\x18\x12 \x01(\x08\x12\x13\n\x07testnet\x18\n \x01(\x08\x42\x02\x18\x01\x12\x1c\n\x06\x63hains\x18\x10 \x03(\x0b\x32\x0c.lnrpc.Chain\x12\x0c\n\x04uris\x18\x0c \x03(\t\x12\x36\n\x08\x66\x65\x61tures\x18\x13 \x03(\x0b\x32$.lnrpc.GetInfoResponse.FeaturesEntry\x12 \n\x18require_htlc_interceptor\x18\x15 \x01(\x08\x1a?\n\rFeaturesEntry\x12\x0b\n\x03key\x18\x01 \x01(\r\x12\x1d\n\x05value\x18\x02 \x01(\x0b\x32\x0e.lnrpc.Feature:\x02\x38\x01J\x04\x08\x0b\x10\x0c"\x18\n\x16GetRecoveryInfoRequest"]\n\x17GetRecoveryInfoResponse\x12\x15\n\rrecovery_mode\x18\x01 \x01(\x08\x12\x19\n\x11recovery_finished\x18\x02 \x01(\x08\x12\x10\n\x08progress\x18\x03 \x01(\x01"\'\n\x05\x43hain\x12\r\n\x05\x63hain\x18\x01 \x01(\t\x12\x0f\n\x07network\x18\x02 \x01(\t"U\n\x12\x43onfirmationUpdate\x12\x11\n\tblock_sha\x18\x01 \x01(\x0c\x12\x14\n\x0c\x62lock_height\x18\x02 \x01(\x05\x12\x16\n\x0enum_confs_left\x18\x03 \x01(\r"?\n\x11\x43hannelOpenUpdate\x12*\n\rchannel_point\x18\x01 \x01(\x0b\x32\x13.lnrpc.ChannelPoint";\n\x12\x43hannelCloseUpdate\x12\x14\n\x0c\x63losing_txid\x18\x01 \x01(\x0c\x12\x0f\n\x07success\x18\x02 \x01(\x08"\xb0\x01\n\x13\x43loseChannelRequest\x12*\n\rchannel_point\x18\x01 \x01(\x0b\x32\x13.lnrpc.ChannelPoint\x12\r\n\x05\x66orce\x18\x02 \x01(\x08\x12\x13\n\x0btarget_conf\x18\x03 \x01(\x05\x12\x18\n\x0csat_per_byte\x18\x04 \x01(\x03\x42\x02\x18\x01\x12\x18\n\x10\x64\x65livery_address\x18\x05 \x01(\t\x12\x15\n\rsat_per_vbyte\x18\x06 \x01(\x04"}\n\x11\x43loseStatusUpdate\x12-\n\rclose_pending\x18\x01 \x01(\x0b\x32\x14.lnrpc.PendingUpdateH\x00\x12/\n\nchan_close\x18\x03 \x01(\x0b\x32\x19.lnrpc.ChannelCloseUpdateH\x00\x42\x08\n\x06update"3\n\rPendingUpdate\x12\x0c\n\x04txid\x18\x01 \x01(\x0c\x12\x14\n\x0coutput_index\x18\x02 \x01(\r"T\n\x13ReadyForPsbtFunding\x12\x17\n\x0f\x66unding_address\x18\x01 \x01(\t\x12\x16\n\x0e\x66unding_amount\x18\x02 \x01(\x03\x12\x0c\n\x04psbt\x18\x03 \x01(\x0c"\xad\x01\n\x17\x42\x61tchOpenChannelRequest\x12)\n\x08\x63hannels\x18\x01 \x03(\x0b\x32\x17.lnrpc.BatchOpenChannel\x12\x13\n\x0btarget_conf\x18\x02 \x01(\x05\x12\x15\n\rsat_per_vbyte\x18\x03 \x01(\x03\x12\x11\n\tmin_confs\x18\x04 \x01(\x05\x12\x19\n\x11spend_unconfirmed\x18\x05 \x01(\x08\x12\r\n\x05label\x18\x06 \x01(\t"\xf9\x01\n\x10\x42\x61tchOpenChannel\x12\x13\n\x0bnode_pubkey\x18\x01 \x01(\x0c\x12\x1c\n\x14local_funding_amount\x18\x02 \x01(\x03\x12\x10\n\x08push_sat\x18\x03 \x01(\x03\x12\x0f\n\x07private\x18\x04 \x01(\x08\x12\x15\n\rmin_htlc_msat\x18\x05 \x01(\x03\x12\x18\n\x10remote_csv_delay\x18\x06 \x01(\r\x12\x15\n\rclose_address\x18\x07 \x01(\t\x12\x17\n\x0fpending_chan_id\x18\x08 \x01(\x0c\x12.\n\x0f\x63ommitment_type\x18\t \x01(\x0e\x32\x15.lnrpc.CommitmentType"J\n\x18\x42\x61tchOpenChannelResponse\x12.\n\x10pending_channels\x18\x01 \x03(\x0b\x32\x14.lnrpc.PendingUpdate"\xa1\x04\n\x12OpenChannelRequest\x12\x15\n\rsat_per_vbyte\x18\x01 \x01(\x04\x12\x13\n\x0bnode_pubkey\x18\x02 \x01(\x0c\x12\x1e\n\x12node_pubkey_string\x18\x03 \x01(\tB\x02\x18\x01\x12\x1c\n\x14local_funding_amount\x18\x04 \x01(\x03\x12\x10\n\x08push_sat\x18\x05 \x01(\x03\x12\x13\n\x0btarget_conf\x18\x06 \x01(\x05\x12\x18\n\x0csat_per_byte\x18\x07 \x01(\x03\x42\x02\x18\x01\x12\x0f\n\x07private\x18\x08 \x01(\x08\x12\x15\n\rmin_htlc_msat\x18\t \x01(\x03\x12\x18\n\x10remote_csv_delay\x18\n \x01(\r\x12\x11\n\tmin_confs\x18\x0b \x01(\x05\x12\x19\n\x11spend_unconfirmed\x18\x0c \x01(\x08\x12\x15\n\rclose_address\x18\r \x01(\t\x12(\n\x0c\x66unding_shim\x18\x0e \x01(\x0b\x32\x12.lnrpc.FundingShim\x12\'\n\x1fremote_max_value_in_flight_msat\x18\x0f \x01(\x04\x12\x18\n\x10remote_max_htlcs\x18\x10 \x01(\r\x12\x15\n\rmax_local_csv\x18\x11 \x01(\r\x12.\n\x0f\x63ommitment_type\x18\x12 \x01(\x0e\x32\x15.lnrpc.CommitmentType\x12\x11\n\tzero_conf\x18\x13 \x01(\x08\x12\x12\n\nscid_alias\x18\x14 \x01(\x08"\xc3\x01\n\x10OpenStatusUpdate\x12,\n\x0c\x63han_pending\x18\x01 \x01(\x0b\x32\x14.lnrpc.PendingUpdateH\x00\x12-\n\tchan_open\x18\x03 \x01(\x0b\x32\x18.lnrpc.ChannelOpenUpdateH\x00\x12/\n\tpsbt_fund\x18\x05 \x01(\x0b\x32\x1a.lnrpc.ReadyForPsbtFundingH\x00\x12\x17\n\x0fpending_chan_id\x18\x04 \x01(\x0c\x42\x08\n\x06update"3\n\nKeyLocator\x12\x12\n\nkey_family\x18\x01 \x01(\x05\x12\x11\n\tkey_index\x18\x02 \x01(\x05"J\n\rKeyDescriptor\x12\x15\n\rraw_key_bytes\x18\x01 \x01(\x0c\x12"\n\x07key_loc\x18\x02 \x01(\x0b\x32\x11.lnrpc.KeyLocator"\xb0\x01\n\rChanPointShim\x12\x0b\n\x03\x61mt\x18\x01 \x01(\x03\x12\'\n\nchan_point\x18\x02 \x01(\x0b\x32\x13.lnrpc.ChannelPoint\x12\'\n\tlocal_key\x18\x03 \x01(\x0b\x32\x14.lnrpc.KeyDescriptor\x12\x12\n\nremote_key\x18\x04 \x01(\x0c\x12\x17\n\x0fpending_chan_id\x18\x05 \x01(\x0c\x12\x13\n\x0bthaw_height\x18\x06 \x01(\r"J\n\x08PsbtShim\x12\x17\n\x0fpending_chan_id\x18\x01 \x01(\x0c\x12\x11\n\tbase_psbt\x18\x02 \x01(\x0c\x12\x12\n\nno_publish\x18\x03 \x01(\x08"l\n\x0b\x46undingShim\x12/\n\x0f\x63han_point_shim\x18\x01 \x01(\x0b\x32\x14.lnrpc.ChanPointShimH\x00\x12$\n\tpsbt_shim\x18\x02 \x01(\x0b\x32\x0f.lnrpc.PsbtShimH\x00\x42\x06\n\x04shim",\n\x11\x46undingShimCancel\x12\x17\n\x0fpending_chan_id\x18\x01 \x01(\x0c"X\n\x11\x46undingPsbtVerify\x12\x13\n\x0b\x66unded_psbt\x18\x01 \x01(\x0c\x12\x17\n\x0fpending_chan_id\x18\x02 \x01(\x0c\x12\x15\n\rskip_finalize\x18\x03 \x01(\x08"Y\n\x13\x46undingPsbtFinalize\x12\x13\n\x0bsigned_psbt\x18\x01 \x01(\x0c\x12\x17\n\x0fpending_chan_id\x18\x02 \x01(\x0c\x12\x14\n\x0c\x66inal_raw_tx\x18\x03 \x01(\x0c"\xe5\x01\n\x14\x46undingTransitionMsg\x12+\n\rshim_register\x18\x01 \x01(\x0b\x32\x12.lnrpc.FundingShimH\x00\x12/\n\x0bshim_cancel\x18\x02 \x01(\x0b\x32\x18.lnrpc.FundingShimCancelH\x00\x12/\n\x0bpsbt_verify\x18\x03 \x01(\x0b\x32\x18.lnrpc.FundingPsbtVerifyH\x00\x12\x33\n\rpsbt_finalize\x18\x04 \x01(\x0b\x32\x1a.lnrpc.FundingPsbtFinalizeH\x00\x42\t\n\x07trigger"\x16\n\x14\x46undingStateStepResp"\x86\x01\n\x0bPendingHTLC\x12\x10\n\x08incoming\x18\x01 \x01(\x08\x12\x0e\n\x06\x61mount\x18\x02 \x01(\x03\x12\x10\n\x08outpoint\x18\x03 \x01(\t\x12\x17\n\x0fmaturity_height\x18\x04 \x01(\r\x12\x1b\n\x13\x62locks_til_maturity\x18\x05 \x01(\x05\x12\r\n\x05stage\x18\x06 \x01(\r"\x18\n\x16PendingChannelsRequest"\xf7\r\n\x17PendingChannelsResponse\x12\x1b\n\x13total_limbo_balance\x18\x01 \x01(\x03\x12P\n\x15pending_open_channels\x18\x02 \x03(\x0b\x32\x31.lnrpc.PendingChannelsResponse.PendingOpenChannel\x12R\n\x18pending_closing_channels\x18\x03 \x03(\x0b\x32,.lnrpc.PendingChannelsResponse.ClosedChannelB\x02\x18\x01\x12Y\n\x1epending_force_closing_channels\x18\x04 \x03(\x0b\x32\x31.lnrpc.PendingChannelsResponse.ForceClosedChannel\x12R\n\x16waiting_close_channels\x18\x05 \x03(\x0b\x32\x32.lnrpc.PendingChannelsResponse.WaitingCloseChannel\x1a\xe4\x02\n\x0ePendingChannel\x12\x17\n\x0fremote_node_pub\x18\x01 \x01(\t\x12\x15\n\rchannel_point\x18\x02 \x01(\t\x12\x10\n\x08\x63\x61pacity\x18\x03 \x01(\x03\x12\x15\n\rlocal_balance\x18\x04 \x01(\x03\x12\x16\n\x0eremote_balance\x18\x05 \x01(\x03\x12\x1e\n\x16local_chan_reserve_sat\x18\x06 \x01(\x03\x12\x1f\n\x17remote_chan_reserve_sat\x18\x07 \x01(\x03\x12#\n\tinitiator\x18\x08 \x01(\x0e\x32\x10.lnrpc.Initiator\x12.\n\x0f\x63ommitment_type\x18\t \x01(\x0e\x32\x15.lnrpc.CommitmentType\x12\x1f\n\x17num_forwarding_packages\x18\n \x01(\x03\x12\x19\n\x11\x63han_status_flags\x18\x0b \x01(\t\x12\x0f\n\x07private\x18\x0c \x01(\x08\x1a\x99\x01\n\x12PendingOpenChannel\x12>\n\x07\x63hannel\x18\x01 \x01(\x0b\x32-.lnrpc.PendingChannelsResponse.PendingChannel\x12\x12\n\ncommit_fee\x18\x04 \x01(\x03\x12\x15\n\rcommit_weight\x18\x05 \x01(\x03\x12\x12\n\nfee_per_kw\x18\x06 \x01(\x03J\x04\x08\x02\x10\x03\x1a\xc3\x01\n\x13WaitingCloseChannel\x12>\n\x07\x63hannel\x18\x01 \x01(\x0b\x32-.lnrpc.PendingChannelsResponse.PendingChannel\x12\x15\n\rlimbo_balance\x18\x02 \x01(\x03\x12?\n\x0b\x63ommitments\x18\x03 \x01(\x0b\x32*.lnrpc.PendingChannelsResponse.Commitments\x12\x14\n\x0c\x63losing_txid\x18\x04 \x01(\t\x1a\xb7\x01\n\x0b\x43ommitments\x12\x12\n\nlocal_txid\x18\x01 \x01(\t\x12\x13\n\x0bremote_txid\x18\x02 \x01(\t\x12\x1b\n\x13remote_pending_txid\x18\x03 \x01(\t\x12\x1c\n\x14local_commit_fee_sat\x18\x04 \x01(\x04\x12\x1d\n\x15remote_commit_fee_sat\x18\x05 \x01(\x04\x12%\n\x1dremote_pending_commit_fee_sat\x18\x06 \x01(\x04\x1a\x65\n\rClosedChannel\x12>\n\x07\x63hannel\x18\x01 \x01(\x0b\x32-.lnrpc.PendingChannelsResponse.PendingChannel\x12\x14\n\x0c\x63losing_txid\x18\x02 \x01(\t\x1a\xff\x02\n\x12\x46orceClosedChannel\x12>\n\x07\x63hannel\x18\x01 \x01(\x0b\x32-.lnrpc.PendingChannelsResponse.PendingChannel\x12\x14\n\x0c\x63losing_txid\x18\x02 \x01(\t\x12\x15\n\rlimbo_balance\x18\x03 \x01(\x03\x12\x17\n\x0fmaturity_height\x18\x04 \x01(\r\x12\x1b\n\x13\x62locks_til_maturity\x18\x05 \x01(\x05\x12\x19\n\x11recovered_balance\x18\x06 \x01(\x03\x12)\n\rpending_htlcs\x18\x08 \x03(\x0b\x32\x12.lnrpc.PendingHTLC\x12M\n\x06\x61nchor\x18\t \x01(\x0e\x32=.lnrpc.PendingChannelsResponse.ForceClosedChannel.AnchorState"1\n\x0b\x41nchorState\x12\t\n\x05LIMBO\x10\x00\x12\r\n\tRECOVERED\x10\x01\x12\x08\n\x04LOST\x10\x02"\x1a\n\x18\x43hannelEventSubscription"\x93\x04\n\x12\x43hannelEventUpdate\x12&\n\x0copen_channel\x18\x01 \x01(\x0b\x32\x0e.lnrpc.ChannelH\x00\x12\x34\n\x0e\x63losed_channel\x18\x02 \x01(\x0b\x32\x1a.lnrpc.ChannelCloseSummaryH\x00\x12-\n\x0e\x61\x63tive_channel\x18\x03 \x01(\x0b\x32\x13.lnrpc.ChannelPointH\x00\x12/\n\x10inactive_channel\x18\x04 \x01(\x0b\x32\x13.lnrpc.ChannelPointH\x00\x12\x34\n\x14pending_open_channel\x18\x06 \x01(\x0b\x32\x14.lnrpc.PendingUpdateH\x00\x12\x35\n\x16\x66ully_resolved_channel\x18\x07 \x01(\x0b\x32\x13.lnrpc.ChannelPointH\x00\x12\x32\n\x04type\x18\x05 \x01(\x0e\x32$.lnrpc.ChannelEventUpdate.UpdateType"\x92\x01\n\nUpdateType\x12\x10\n\x0cOPEN_CHANNEL\x10\x00\x12\x12\n\x0e\x43LOSED_CHANNEL\x10\x01\x12\x12\n\x0e\x41\x43TIVE_CHANNEL\x10\x02\x12\x14\n\x10INACTIVE_CHANNEL\x10\x03\x12\x18\n\x14PENDING_OPEN_CHANNEL\x10\x04\x12\x1a\n\x16\x46ULLY_RESOLVED_CHANNEL\x10\x05\x42\t\n\x07\x63hannel"N\n\x14WalletAccountBalance\x12\x19\n\x11\x63onfirmed_balance\x18\x01 \x01(\x03\x12\x1b\n\x13unconfirmed_balance\x18\x02 \x01(\x03"\x16\n\x14WalletBalanceRequest"\xc3\x02\n\x15WalletBalanceResponse\x12\x15\n\rtotal_balance\x18\x01 \x01(\x03\x12\x19\n\x11\x63onfirmed_balance\x18\x02 \x01(\x03\x12\x1b\n\x13unconfirmed_balance\x18\x03 \x01(\x03\x12\x16\n\x0elocked_balance\x18\x05 \x01(\x03\x12$\n\x1creserved_balance_anchor_chan\x18\x06 \x01(\x03\x12I\n\x0f\x61\x63\x63ount_balance\x18\x04 \x03(\x0b\x32\x30.lnrpc.WalletBalanceResponse.AccountBalanceEntry\x1aR\n\x13\x41\x63\x63ountBalanceEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12*\n\x05value\x18\x02 \x01(\x0b\x32\x1b.lnrpc.WalletAccountBalance:\x02\x38\x01"#\n\x06\x41mount\x12\x0b\n\x03sat\x18\x01 \x01(\x04\x12\x0c\n\x04msat\x18\x02 \x01(\x04"\x17\n\x15\x43hannelBalanceRequest"\xe4\x02\n\x16\x43hannelBalanceResponse\x12\x13\n\x07\x62\x61lance\x18\x01 \x01(\x03\x42\x02\x18\x01\x12 \n\x14pending_open_balance\x18\x02 \x01(\x03\x42\x02\x18\x01\x12$\n\rlocal_balance\x18\x03 \x01(\x0b\x32\r.lnrpc.Amount\x12%\n\x0eremote_balance\x18\x04 \x01(\x0b\x32\r.lnrpc.Amount\x12.\n\x17unsettled_local_balance\x18\x05 \x01(\x0b\x32\r.lnrpc.Amount\x12/\n\x18unsettled_remote_balance\x18\x06 \x01(\x0b\x32\r.lnrpc.Amount\x12\x31\n\x1apending_open_local_balance\x18\x07 \x01(\x0b\x32\r.lnrpc.Amount\x12\x32\n\x1bpending_open_remote_balance\x18\x08 \x01(\x0b\x32\r.lnrpc.Amount"\xe3\x04\n\x12QueryRoutesRequest\x12\x0f\n\x07pub_key\x18\x01 \x01(\t\x12\x0b\n\x03\x61mt\x18\x02 \x01(\x03\x12\x10\n\x08\x61mt_msat\x18\x0c \x01(\x03\x12\x18\n\x10\x66inal_cltv_delta\x18\x04 \x01(\x05\x12"\n\tfee_limit\x18\x05 \x01(\x0b\x32\x0f.lnrpc.FeeLimit\x12\x15\n\rignored_nodes\x18\x06 \x03(\x0c\x12-\n\rignored_edges\x18\x07 \x03(\x0b\x32\x12.lnrpc.EdgeLocatorB\x02\x18\x01\x12\x16\n\x0esource_pub_key\x18\x08 \x01(\t\x12\x1b\n\x13use_mission_control\x18\t \x01(\x08\x12&\n\rignored_pairs\x18\n \x03(\x0b\x32\x0f.lnrpc.NodePair\x12\x12\n\ncltv_limit\x18\x0b \x01(\r\x12M\n\x13\x64\x65st_custom_records\x18\r \x03(\x0b\x32\x30.lnrpc.QueryRoutesRequest.DestCustomRecordsEntry\x12\x1c\n\x10outgoing_chan_id\x18\x0e \x01(\x04\x42\x02\x30\x01\x12\x17\n\x0flast_hop_pubkey\x18\x0f \x01(\x0c\x12%\n\x0broute_hints\x18\x10 \x03(\x0b\x32\x10.lnrpc.RouteHint\x12(\n\rdest_features\x18\x11 \x03(\x0e\x32\x11.lnrpc.FeatureBit\x12\x11\n\ttime_pref\x18\x12 \x01(\x01\x1a\x38\n\x16\x44\x65stCustomRecordsEntry\x12\x0b\n\x03key\x18\x01 \x01(\x04\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01J\x04\x08\x03\x10\x04"$\n\x08NodePair\x12\x0c\n\x04\x66rom\x18\x01 \x01(\x0c\x12\n\n\x02to\x18\x02 \x01(\x0c"@\n\x0b\x45\x64geLocator\x12\x16\n\nchannel_id\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x19\n\x11\x64irection_reverse\x18\x02 \x01(\x08"I\n\x13QueryRoutesResponse\x12\x1c\n\x06routes\x18\x01 \x03(\x0b\x32\x0c.lnrpc.Route\x12\x14\n\x0csuccess_prob\x18\x02 \x01(\x01"\x96\x03\n\x03Hop\x12\x13\n\x07\x63han_id\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x19\n\rchan_capacity\x18\x02 \x01(\x03\x42\x02\x18\x01\x12\x1a\n\x0e\x61mt_to_forward\x18\x03 \x01(\x03\x42\x02\x18\x01\x12\x0f\n\x03\x66\x65\x65\x18\x04 \x01(\x03\x42\x02\x18\x01\x12\x0e\n\x06\x65xpiry\x18\x05 \x01(\r\x12\x1b\n\x13\x61mt_to_forward_msat\x18\x06 \x01(\x03\x12\x10\n\x08\x66\x65\x65_msat\x18\x07 \x01(\x03\x12\x0f\n\x07pub_key\x18\x08 \x01(\t\x12\x17\n\x0btlv_payload\x18\t \x01(\x08\x42\x02\x18\x01\x12$\n\nmpp_record\x18\n \x01(\x0b\x32\x10.lnrpc.MPPRecord\x12$\n\namp_record\x18\x0c \x01(\x0b\x32\x10.lnrpc.AMPRecord\x12\x35\n\x0e\x63ustom_records\x18\x0b \x03(\x0b\x32\x1d.lnrpc.Hop.CustomRecordsEntry\x12\x10\n\x08metadata\x18\r \x01(\x0c\x1a\x34\n\x12\x43ustomRecordsEntry\x12\x0b\n\x03key\x18\x01 \x01(\x04\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01"9\n\tMPPRecord\x12\x14\n\x0cpayment_addr\x18\x0b \x01(\x0c\x12\x16\n\x0etotal_amt_msat\x18\n \x01(\x03"D\n\tAMPRecord\x12\x12\n\nroot_share\x18\x01 \x01(\x0c\x12\x0e\n\x06set_id\x18\x02 \x01(\x0c\x12\x13\n\x0b\x63hild_index\x18\x03 \x01(\r"\x9a\x01\n\x05Route\x12\x17\n\x0ftotal_time_lock\x18\x01 \x01(\r\x12\x16\n\ntotal_fees\x18\x02 \x01(\x03\x42\x02\x18\x01\x12\x15\n\ttotal_amt\x18\x03 \x01(\x03\x42\x02\x18\x01\x12\x18\n\x04hops\x18\x04 \x03(\x0b\x32\n.lnrpc.Hop\x12\x17\n\x0ftotal_fees_msat\x18\x05 \x01(\x03\x12\x16\n\x0etotal_amt_msat\x18\x06 \x01(\x03"<\n\x0fNodeInfoRequest\x12\x0f\n\x07pub_key\x18\x01 \x01(\t\x12\x18\n\x10include_channels\x18\x02 \x01(\x08"\x82\x01\n\x08NodeInfo\x12"\n\x04node\x18\x01 \x01(\x0b\x32\x14.lnrpc.LightningNode\x12\x14\n\x0cnum_channels\x18\x02 \x01(\r\x12\x16\n\x0etotal_capacity\x18\x03 \x01(\x03\x12$\n\x08\x63hannels\x18\x04 \x03(\x0b\x32\x12.lnrpc.ChannelEdge"\xf1\x01\n\rLightningNode\x12\x13\n\x0blast_update\x18\x01 \x01(\r\x12\x0f\n\x07pub_key\x18\x02 \x01(\t\x12\r\n\x05\x61lias\x18\x03 \x01(\t\x12%\n\taddresses\x18\x04 \x03(\x0b\x32\x12.lnrpc.NodeAddress\x12\r\n\x05\x63olor\x18\x05 \x01(\t\x12\x34\n\x08\x66\x65\x61tures\x18\x06 \x03(\x0b\x32".lnrpc.LightningNode.FeaturesEntry\x1a?\n\rFeaturesEntry\x12\x0b\n\x03key\x18\x01 \x01(\r\x12\x1d\n\x05value\x18\x02 \x01(\x0b\x32\x0e.lnrpc.Feature:\x02\x38\x01",\n\x0bNodeAddress\x12\x0f\n\x07network\x18\x01 \x01(\t\x12\x0c\n\x04\x61\x64\x64r\x18\x02 \x01(\t"\xac\x01\n\rRoutingPolicy\x12\x17\n\x0ftime_lock_delta\x18\x01 \x01(\r\x12\x10\n\x08min_htlc\x18\x02 \x01(\x03\x12\x15\n\rfee_base_msat\x18\x03 \x01(\x03\x12\x1b\n\x13\x66\x65\x65_rate_milli_msat\x18\x04 \x01(\x03\x12\x10\n\x08\x64isabled\x18\x05 \x01(\x08\x12\x15\n\rmax_htlc_msat\x18\x06 \x01(\x04\x12\x13\n\x0blast_update\x18\x07 \x01(\r"\xe2\x01\n\x0b\x43hannelEdge\x12\x16\n\nchannel_id\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x12\n\nchan_point\x18\x02 \x01(\t\x12\x17\n\x0blast_update\x18\x03 \x01(\rB\x02\x18\x01\x12\x11\n\tnode1_pub\x18\x04 \x01(\t\x12\x11\n\tnode2_pub\x18\x05 \x01(\t\x12\x10\n\x08\x63\x61pacity\x18\x06 \x01(\x03\x12*\n\x0cnode1_policy\x18\x07 \x01(\x0b\x32\x14.lnrpc.RoutingPolicy\x12*\n\x0cnode2_policy\x18\x08 \x01(\x0b\x32\x14.lnrpc.RoutingPolicy"2\n\x13\x43hannelGraphRequest\x12\x1b\n\x13include_unannounced\x18\x01 \x01(\x08"V\n\x0c\x43hannelGraph\x12#\n\x05nodes\x18\x01 \x03(\x0b\x32\x14.lnrpc.LightningNode\x12!\n\x05\x65\x64ges\x18\x02 \x03(\x0b\x32\x12.lnrpc.ChannelEdge":\n\x12NodeMetricsRequest\x12$\n\x05types\x18\x01 \x03(\x0e\x32\x15.lnrpc.NodeMetricType"\xbe\x01\n\x13NodeMetricsResponse\x12U\n\x16\x62\x65tweenness_centrality\x18\x01 \x03(\x0b\x32\x35.lnrpc.NodeMetricsResponse.BetweennessCentralityEntry\x1aP\n\x1a\x42\x65tweennessCentralityEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12!\n\x05value\x18\x02 \x01(\x0b\x32\x12.lnrpc.FloatMetric:\x02\x38\x01"6\n\x0b\x46loatMetric\x12\r\n\x05value\x18\x01 \x01(\x01\x12\x18\n\x10normalized_value\x18\x02 \x01(\x01"&\n\x0f\x43hanInfoRequest\x12\x13\n\x07\x63han_id\x18\x01 \x01(\x04\x42\x02\x30\x01"\x14\n\x12NetworkInfoRequest"\xa7\x02\n\x0bNetworkInfo\x12\x16\n\x0egraph_diameter\x18\x01 \x01(\r\x12\x16\n\x0e\x61vg_out_degree\x18\x02 \x01(\x01\x12\x16\n\x0emax_out_degree\x18\x03 \x01(\r\x12\x11\n\tnum_nodes\x18\x04 \x01(\r\x12\x14\n\x0cnum_channels\x18\x05 \x01(\r\x12\x1e\n\x16total_network_capacity\x18\x06 \x01(\x03\x12\x18\n\x10\x61vg_channel_size\x18\x07 \x01(\x01\x12\x18\n\x10min_channel_size\x18\x08 \x01(\x03\x12\x18\n\x10max_channel_size\x18\t \x01(\x03\x12\x1f\n\x17median_channel_size_sat\x18\n \x01(\x03\x12\x18\n\x10num_zombie_chans\x18\x0b \x01(\x04"\r\n\x0bStopRequest"\x0e\n\x0cStopResponse"\x1b\n\x19GraphTopologySubscription"\xa3\x01\n\x13GraphTopologyUpdate\x12\'\n\x0cnode_updates\x18\x01 \x03(\x0b\x32\x11.lnrpc.NodeUpdate\x12\x31\n\x0f\x63hannel_updates\x18\x02 \x03(\x0b\x32\x18.lnrpc.ChannelEdgeUpdate\x12\x30\n\x0c\x63losed_chans\x18\x03 \x03(\x0b\x32\x1a.lnrpc.ClosedChannelUpdate"\x94\x02\n\nNodeUpdate\x12\x15\n\taddresses\x18\x01 \x03(\tB\x02\x18\x01\x12\x14\n\x0cidentity_key\x18\x02 \x01(\t\x12\x1b\n\x0fglobal_features\x18\x03 \x01(\x0c\x42\x02\x18\x01\x12\r\n\x05\x61lias\x18\x04 \x01(\t\x12\r\n\x05\x63olor\x18\x05 \x01(\t\x12*\n\x0enode_addresses\x18\x07 \x03(\x0b\x32\x12.lnrpc.NodeAddress\x12\x31\n\x08\x66\x65\x61tures\x18\x06 \x03(\x0b\x32\x1f.lnrpc.NodeUpdate.FeaturesEntry\x1a?\n\rFeaturesEntry\x12\x0b\n\x03key\x18\x01 \x01(\r\x12\x1d\n\x05value\x18\x02 \x01(\x0b\x32\x0e.lnrpc.Feature:\x02\x38\x01"\xc4\x01\n\x11\x43hannelEdgeUpdate\x12\x13\n\x07\x63han_id\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\'\n\nchan_point\x18\x02 \x01(\x0b\x32\x13.lnrpc.ChannelPoint\x12\x10\n\x08\x63\x61pacity\x18\x03 \x01(\x03\x12,\n\x0erouting_policy\x18\x04 \x01(\x0b\x32\x14.lnrpc.RoutingPolicy\x12\x18\n\x10\x61\x64vertising_node\x18\x05 \x01(\t\x12\x17\n\x0f\x63onnecting_node\x18\x06 \x01(\t"|\n\x13\x43losedChannelUpdate\x12\x13\n\x07\x63han_id\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x10\n\x08\x63\x61pacity\x18\x02 \x01(\x03\x12\x15\n\rclosed_height\x18\x03 \x01(\r\x12\'\n\nchan_point\x18\x04 \x01(\x0b\x32\x13.lnrpc.ChannelPoint"\x86\x01\n\x07HopHint\x12\x0f\n\x07node_id\x18\x01 \x01(\t\x12\x13\n\x07\x63han_id\x18\x02 \x01(\x04\x42\x02\x30\x01\x12\x15\n\rfee_base_msat\x18\x03 \x01(\r\x12#\n\x1b\x66\x65\x65_proportional_millionths\x18\x04 \x01(\r\x12\x19\n\x11\x63ltv_expiry_delta\x18\x05 \x01(\r"\x17\n\x05SetID\x12\x0e\n\x06set_id\x18\x01 \x01(\x0c".\n\tRouteHint\x12!\n\thop_hints\x18\x01 \x03(\x0b\x32\x0e.lnrpc.HopHint"{\n\x0f\x41MPInvoiceState\x12&\n\x05state\x18\x01 \x01(\x0e\x32\x17.lnrpc.InvoiceHTLCState\x12\x14\n\x0csettle_index\x18\x02 \x01(\x04\x12\x13\n\x0bsettle_time\x18\x03 \x01(\x03\x12\x15\n\ramt_paid_msat\x18\x05 \x01(\x03"\x85\x07\n\x07Invoice\x12\x0c\n\x04memo\x18\x01 \x01(\t\x12\x12\n\nr_preimage\x18\x03 \x01(\x0c\x12\x0e\n\x06r_hash\x18\x04 \x01(\x0c\x12\r\n\x05value\x18\x05 \x01(\x03\x12\x12\n\nvalue_msat\x18\x17 \x01(\x03\x12\x13\n\x07settled\x18\x06 \x01(\x08\x42\x02\x18\x01\x12\x15\n\rcreation_date\x18\x07 \x01(\x03\x12\x13\n\x0bsettle_date\x18\x08 \x01(\x03\x12\x17\n\x0fpayment_request\x18\t \x01(\t\x12\x18\n\x10\x64\x65scription_hash\x18\n \x01(\x0c\x12\x0e\n\x06\x65xpiry\x18\x0b \x01(\x03\x12\x15\n\rfallback_addr\x18\x0c \x01(\t\x12\x13\n\x0b\x63ltv_expiry\x18\r \x01(\x04\x12%\n\x0broute_hints\x18\x0e \x03(\x0b\x32\x10.lnrpc.RouteHint\x12\x0f\n\x07private\x18\x0f \x01(\x08\x12\x11\n\tadd_index\x18\x10 \x01(\x04\x12\x14\n\x0csettle_index\x18\x11 \x01(\x04\x12\x14\n\x08\x61mt_paid\x18\x12 \x01(\x03\x42\x02\x18\x01\x12\x14\n\x0c\x61mt_paid_sat\x18\x13 \x01(\x03\x12\x15\n\ramt_paid_msat\x18\x14 \x01(\x03\x12*\n\x05state\x18\x15 \x01(\x0e\x32\x1b.lnrpc.Invoice.InvoiceState\x12!\n\x05htlcs\x18\x16 \x03(\x0b\x32\x12.lnrpc.InvoiceHTLC\x12.\n\x08\x66\x65\x61tures\x18\x18 \x03(\x0b\x32\x1c.lnrpc.Invoice.FeaturesEntry\x12\x12\n\nis_keysend\x18\x19 \x01(\x08\x12\x14\n\x0cpayment_addr\x18\x1a \x01(\x0c\x12\x0e\n\x06is_amp\x18\x1b \x01(\x08\x12>\n\x11\x61mp_invoice_state\x18\x1c \x03(\x0b\x32#.lnrpc.Invoice.AmpInvoiceStateEntry\x1a?\n\rFeaturesEntry\x12\x0b\n\x03key\x18\x01 \x01(\r\x12\x1d\n\x05value\x18\x02 \x01(\x0b\x32\x0e.lnrpc.Feature:\x02\x38\x01\x1aN\n\x14\x41mpInvoiceStateEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.lnrpc.AMPInvoiceState:\x02\x38\x01"A\n\x0cInvoiceState\x12\x08\n\x04OPEN\x10\x00\x12\x0b\n\x07SETTLED\x10\x01\x12\x0c\n\x08\x43\x41NCELED\x10\x02\x12\x0c\n\x08\x41\x43\x43\x45PTED\x10\x03J\x04\x08\x02\x10\x03"\xf3\x02\n\x0bInvoiceHTLC\x12\x13\n\x07\x63han_id\x18\x01 \x01(\x04\x42\x02\x30\x01\x12\x12\n\nhtlc_index\x18\x02 \x01(\x04\x12\x10\n\x08\x61mt_msat\x18\x03 \x01(\x04\x12\x15\n\raccept_height\x18\x04 \x01(\x05\x12\x13\n\x0b\x61\x63\x63\x65pt_time\x18\x05 \x01(\x03\x12\x14\n\x0cresolve_time\x18\x06 \x01(\x03\x12\x15\n\rexpiry_height\x18\x07 \x01(\x05\x12&\n\x05state\x18\x08 \x01(\x0e\x32\x17.lnrpc.InvoiceHTLCState\x12=\n\x0e\x63ustom_records\x18\t \x03(\x0b\x32%.lnrpc.InvoiceHTLC.CustomRecordsEntry\x12\x1a\n\x12mpp_total_amt_msat\x18\n \x01(\x04\x12\x17\n\x03\x61mp\x18\x0b \x01(\x0b\x32\n.lnrpc.AMP\x1a\x34\n\x12\x43ustomRecordsEntry\x12\x0b\n\x03key\x18\x01 \x01(\x04\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01"^\n\x03\x41MP\x12\x12\n\nroot_share\x18\x01 \x01(\x0c\x12\x0e\n\x06set_id\x18\x02 \x01(\x0c\x12\x13\n\x0b\x63hild_index\x18\x03 \x01(\r\x12\x0c\n\x04hash\x18\x04 \x01(\x0c\x12\x10\n\x08preimage\x18\x05 \x01(\x0c"f\n\x12\x41\x64\x64InvoiceResponse\x12\x0e\n\x06r_hash\x18\x01 \x01(\x0c\x12\x17\n\x0fpayment_request\x18\x02 \x01(\t\x12\x11\n\tadd_index\x18\x10 \x01(\x04\x12\x14\n\x0cpayment_addr\x18\x11 \x01(\x0c"5\n\x0bPaymentHash\x12\x16\n\nr_hash_str\x18\x01 \x01(\tB\x02\x18\x01\x12\x0e\n\x06r_hash\x18\x02 \x01(\x0c"l\n\x12ListInvoiceRequest\x12\x14\n\x0cpending_only\x18\x01 \x01(\x08\x12\x14\n\x0cindex_offset\x18\x04 \x01(\x04\x12\x18\n\x10num_max_invoices\x18\x05 \x01(\x04\x12\x10\n\x08reversed\x18\x06 \x01(\x08"n\n\x13ListInvoiceResponse\x12 \n\x08invoices\x18\x01 \x03(\x0b\x32\x0e.lnrpc.Invoice\x12\x19\n\x11last_index_offset\x18\x02 \x01(\x04\x12\x1a\n\x12\x66irst_index_offset\x18\x03 \x01(\x04">\n\x13InvoiceSubscription\x12\x11\n\tadd_index\x18\x01 \x01(\x04\x12\x14\n\x0csettle_index\x18\x02 \x01(\x04"\xe0\x03\n\x07Payment\x12\x14\n\x0cpayment_hash\x18\x01 \x01(\t\x12\x11\n\x05value\x18\x02 \x01(\x03\x42\x02\x18\x01\x12\x19\n\rcreation_date\x18\x03 \x01(\x03\x42\x02\x18\x01\x12\x0f\n\x03\x66\x65\x65\x18\x05 \x01(\x03\x42\x02\x18\x01\x12\x18\n\x10payment_preimage\x18\x06 \x01(\t\x12\x11\n\tvalue_sat\x18\x07 \x01(\x03\x12\x12\n\nvalue_msat\x18\x08 \x01(\x03\x12\x17\n\x0fpayment_request\x18\t \x01(\t\x12,\n\x06status\x18\n \x01(\x0e\x32\x1c.lnrpc.Payment.PaymentStatus\x12\x0f\n\x07\x66\x65\x65_sat\x18\x0b \x01(\x03\x12\x10\n\x08\x66\x65\x65_msat\x18\x0c \x01(\x03\x12\x18\n\x10\x63reation_time_ns\x18\r \x01(\x03\x12!\n\x05htlcs\x18\x0e \x03(\x0b\x32\x12.lnrpc.HTLCAttempt\x12\x15\n\rpayment_index\x18\x0f \x01(\x04\x12\x33\n\x0e\x66\x61ilure_reason\x18\x10 \x01(\x0e\x32\x1b.lnrpc.PaymentFailureReason"F\n\rPaymentStatus\x12\x0b\n\x07UNKNOWN\x10\x00\x12\r\n\tIN_FLIGHT\x10\x01\x12\r\n\tSUCCEEDED\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03J\x04\x08\x04\x10\x05"\x8a\x02\n\x0bHTLCAttempt\x12\x12\n\nattempt_id\x18\x07 \x01(\x04\x12-\n\x06status\x18\x01 \x01(\x0e\x32\x1d.lnrpc.HTLCAttempt.HTLCStatus\x12\x1b\n\x05route\x18\x02 \x01(\x0b\x32\x0c.lnrpc.Route\x12\x17\n\x0f\x61ttempt_time_ns\x18\x03 \x01(\x03\x12\x17\n\x0fresolve_time_ns\x18\x04 \x01(\x03\x12\x1f\n\x07\x66\x61ilure\x18\x05 \x01(\x0b\x32\x0e.lnrpc.Failure\x12\x10\n\x08preimage\x18\x06 \x01(\x0c"6\n\nHTLCStatus\x12\r\n\tIN_FLIGHT\x10\x00\x12\r\n\tSUCCEEDED\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02"\x8d\x01\n\x13ListPaymentsRequest\x12\x1a\n\x12include_incomplete\x18\x01 \x01(\x08\x12\x14\n\x0cindex_offset\x18\x02 \x01(\x04\x12\x14\n\x0cmax_payments\x18\x03 \x01(\x04\x12\x10\n\x08reversed\x18\x04 \x01(\x08\x12\x1c\n\x14\x63ount_total_payments\x18\x05 \x01(\x08"\x8b\x01\n\x14ListPaymentsResponse\x12 \n\x08payments\x18\x01 \x03(\x0b\x32\x0e.lnrpc.Payment\x12\x1a\n\x12\x66irst_index_offset\x18\x02 \x01(\x04\x12\x19\n\x11last_index_offset\x18\x03 \x01(\x04\x12\x1a\n\x12total_num_payments\x18\x04 \x01(\x04"G\n\x14\x44\x65letePaymentRequest\x12\x14\n\x0cpayment_hash\x18\x01 \x01(\x0c\x12\x19\n\x11\x66\x61iled_htlcs_only\x18\x02 \x01(\x08"S\n\x18\x44\x65leteAllPaymentsRequest\x12\x1c\n\x14\x66\x61iled_payments_only\x18\x01 \x01(\x08\x12\x19\n\x11\x66\x61iled_htlcs_only\x18\x02 \x01(\x08"\x17\n\x15\x44\x65letePaymentResponse"\x1b\n\x19\x44\x65leteAllPaymentsResponse"\x86\x01\n\x15\x41\x62\x61ndonChannelRequest\x12*\n\rchannel_point\x18\x01 \x01(\x0b\x32\x13.lnrpc.ChannelPoint\x12!\n\x19pending_funding_shim_only\x18\x02 \x01(\x08\x12\x1e\n\x16i_know_what_i_am_doing\x18\x03 \x01(\x08"\x18\n\x16\x41\x62\x61ndonChannelResponse"5\n\x11\x44\x65\x62ugLevelRequest\x12\x0c\n\x04show\x18\x01 \x01(\x08\x12\x12\n\nlevel_spec\x18\x02 \x01(\t")\n\x12\x44\x65\x62ugLevelResponse\x12\x13\n\x0bsub_systems\x18\x01 \x01(\t"\x1f\n\x0cPayReqString\x12\x0f\n\x07pay_req\x18\x01 \x01(\t"\x86\x03\n\x06PayReq\x12\x13\n\x0b\x64\x65stination\x18\x01 \x01(\t\x12\x14\n\x0cpayment_hash\x18\x02 \x01(\t\x12\x14\n\x0cnum_satoshis\x18\x03 \x01(\x03\x12\x11\n\ttimestamp\x18\x04 \x01(\x03\x12\x0e\n\x06\x65xpiry\x18\x05 \x01(\x03\x12\x13\n\x0b\x64\x65scription\x18\x06 \x01(\t\x12\x18\n\x10\x64\x65scription_hash\x18\x07 \x01(\t\x12\x15\n\rfallback_addr\x18\x08 \x01(\t\x12\x13\n\x0b\x63ltv_expiry\x18\t \x01(\x03\x12%\n\x0broute_hints\x18\n \x03(\x0b\x32\x10.lnrpc.RouteHint\x12\x14\n\x0cpayment_addr\x18\x0b \x01(\x0c\x12\x10\n\x08num_msat\x18\x0c \x01(\x03\x12-\n\x08\x66\x65\x61tures\x18\r \x03(\x0b\x32\x1b.lnrpc.PayReq.FeaturesEntry\x1a?\n\rFeaturesEntry\x12\x0b\n\x03key\x18\x01 \x01(\r\x12\x1d\n\x05value\x18\x02 \x01(\x0b\x32\x0e.lnrpc.Feature:\x02\x38\x01">\n\x07\x46\x65\x61ture\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0bis_required\x18\x03 \x01(\x08\x12\x10\n\x08is_known\x18\x04 \x01(\x08"\x12\n\x10\x46\x65\x65ReportRequest"|\n\x10\x43hannelFeeReport\x12\x13\n\x07\x63han_id\x18\x05 \x01(\x04\x42\x02\x30\x01\x12\x15\n\rchannel_point\x18\x01 \x01(\t\x12\x15\n\rbase_fee_msat\x18\x02 \x01(\x03\x12\x13\n\x0b\x66\x65\x65_per_mil\x18\x03 \x01(\x03\x12\x10\n\x08\x66\x65\x65_rate\x18\x04 \x01(\x01"\x84\x01\n\x11\x46\x65\x65ReportResponse\x12-\n\x0c\x63hannel_fees\x18\x01 \x03(\x0b\x32\x17.lnrpc.ChannelFeeReport\x12\x13\n\x0b\x64\x61y_fee_sum\x18\x02 \x01(\x04\x12\x14\n\x0cweek_fee_sum\x18\x03 \x01(\x04\x12\x15\n\rmonth_fee_sum\x18\x04 \x01(\x04"\x82\x02\n\x13PolicyUpdateRequest\x12\x10\n\x06global\x18\x01 \x01(\x08H\x00\x12)\n\nchan_point\x18\x02 \x01(\x0b\x32\x13.lnrpc.ChannelPointH\x00\x12\x15\n\rbase_fee_msat\x18\x03 \x01(\x03\x12\x10\n\x08\x66\x65\x65_rate\x18\x04 \x01(\x01\x12\x14\n\x0c\x66\x65\x65_rate_ppm\x18\t \x01(\r\x12\x17\n\x0ftime_lock_delta\x18\x05 \x01(\r\x12\x15\n\rmax_htlc_msat\x18\x06 \x01(\x04\x12\x15\n\rmin_htlc_msat\x18\x07 \x01(\x04\x12\x1f\n\x17min_htlc_msat_specified\x18\x08 \x01(\x08\x42\x07\n\x05scope"m\n\x0c\x46\x61iledUpdate\x12!\n\x08outpoint\x18\x01 \x01(\x0b\x32\x0f.lnrpc.OutPoint\x12$\n\x06reason\x18\x02 \x01(\x0e\x32\x14.lnrpc.UpdateFailure\x12\x14\n\x0cupdate_error\x18\x03 \x01(\t"C\n\x14PolicyUpdateResponse\x12+\n\x0e\x66\x61iled_updates\x18\x01 \x03(\x0b\x32\x13.lnrpc.FailedUpdate"n\n\x18\x46orwardingHistoryRequest\x12\x12\n\nstart_time\x18\x01 \x01(\x04\x12\x10\n\x08\x65nd_time\x18\x02 \x01(\x04\x12\x14\n\x0cindex_offset\x18\x03 \x01(\r\x12\x16\n\x0enum_max_events\x18\x04 \x01(\r"\xda\x01\n\x0f\x46orwardingEvent\x12\x15\n\ttimestamp\x18\x01 \x01(\x04\x42\x02\x18\x01\x12\x16\n\nchan_id_in\x18\x02 \x01(\x04\x42\x02\x30\x01\x12\x17\n\x0b\x63han_id_out\x18\x04 \x01(\x04\x42\x02\x30\x01\x12\x0e\n\x06\x61mt_in\x18\x05 \x01(\x04\x12\x0f\n\x07\x61mt_out\x18\x06 \x01(\x04\x12\x0b\n\x03\x66\x65\x65\x18\x07 \x01(\x04\x12\x10\n\x08\x66\x65\x65_msat\x18\x08 \x01(\x04\x12\x13\n\x0b\x61mt_in_msat\x18\t \x01(\x04\x12\x14\n\x0c\x61mt_out_msat\x18\n \x01(\x04\x12\x14\n\x0ctimestamp_ns\x18\x0b \x01(\x04"i\n\x19\x46orwardingHistoryResponse\x12\x31\n\x11\x66orwarding_events\x18\x01 \x03(\x0b\x32\x16.lnrpc.ForwardingEvent\x12\x19\n\x11last_offset_index\x18\x02 \x01(\r"E\n\x1a\x45xportChannelBackupRequest\x12\'\n\nchan_point\x18\x01 \x01(\x0b\x32\x13.lnrpc.ChannelPoint"M\n\rChannelBackup\x12\'\n\nchan_point\x18\x01 \x01(\x0b\x32\x13.lnrpc.ChannelPoint\x12\x13\n\x0b\x63han_backup\x18\x02 \x01(\x0c"V\n\x0fMultiChanBackup\x12(\n\x0b\x63han_points\x18\x01 \x03(\x0b\x32\x13.lnrpc.ChannelPoint\x12\x19\n\x11multi_chan_backup\x18\x02 \x01(\x0c"\x19\n\x17\x43hanBackupExportRequest"{\n\x12\x43hanBackupSnapshot\x12\x32\n\x13single_chan_backups\x18\x01 \x01(\x0b\x32\x15.lnrpc.ChannelBackups\x12\x31\n\x11multi_chan_backup\x18\x02 \x01(\x0b\x32\x16.lnrpc.MultiChanBackup"<\n\x0e\x43hannelBackups\x12*\n\x0c\x63han_backups\x18\x01 \x03(\x0b\x32\x14.lnrpc.ChannelBackup"p\n\x18RestoreChanBackupRequest\x12-\n\x0c\x63han_backups\x18\x01 \x01(\x0b\x32\x15.lnrpc.ChannelBackupsH\x00\x12\x1b\n\x11multi_chan_backup\x18\x02 \x01(\x0cH\x00\x42\x08\n\x06\x62\x61\x63kup"\x17\n\x15RestoreBackupResponse"\x1b\n\x19\x43hannelBackupSubscription"\x1a\n\x18VerifyChanBackupResponse"4\n\x12MacaroonPermission\x12\x0e\n\x06\x65ntity\x18\x01 \x01(\t\x12\x0e\n\x06\x61\x63tion\x18\x02 \x01(\t"~\n\x13\x42\x61keMacaroonRequest\x12.\n\x0bpermissions\x18\x01 \x03(\x0b\x32\x19.lnrpc.MacaroonPermission\x12\x13\n\x0broot_key_id\x18\x02 \x01(\x04\x12"\n\x1a\x61llow_external_permissions\x18\x03 \x01(\x08"(\n\x14\x42\x61keMacaroonResponse\x12\x10\n\x08macaroon\x18\x01 \x01(\t"\x18\n\x16ListMacaroonIDsRequest"/\n\x17ListMacaroonIDsResponse\x12\x14\n\x0croot_key_ids\x18\x01 \x03(\x04".\n\x17\x44\x65leteMacaroonIDRequest\x12\x13\n\x0broot_key_id\x18\x01 \x01(\x04"+\n\x18\x44\x65leteMacaroonIDResponse\x12\x0f\n\x07\x64\x65leted\x18\x01 \x01(\x08"H\n\x16MacaroonPermissionList\x12.\n\x0bpermissions\x18\x01 \x03(\x0b\x32\x19.lnrpc.MacaroonPermission"\x18\n\x16ListPermissionsRequest"\xc5\x01\n\x17ListPermissionsResponse\x12Q\n\x12method_permissions\x18\x01 \x03(\x0b\x32\x35.lnrpc.ListPermissionsResponse.MethodPermissionsEntry\x1aW\n\x16MethodPermissionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12,\n\x05value\x18\x02 \x01(\x0b\x32\x1d.lnrpc.MacaroonPermissionList:\x02\x38\x01"\xd5\x07\n\x07\x46\x61ilure\x12(\n\x04\x63ode\x18\x01 \x01(\x0e\x32\x1a.lnrpc.Failure.FailureCode\x12,\n\x0e\x63hannel_update\x18\x03 \x01(\x0b\x32\x14.lnrpc.ChannelUpdate\x12\x11\n\thtlc_msat\x18\x04 \x01(\x04\x12\x15\n\ronion_sha_256\x18\x05 \x01(\x0c\x12\x13\n\x0b\x63ltv_expiry\x18\x06 \x01(\r\x12\r\n\x05\x66lags\x18\x07 \x01(\r\x12\x1c\n\x14\x66\x61ilure_source_index\x18\x08 \x01(\r\x12\x0e\n\x06height\x18\t \x01(\r"\xef\x05\n\x0b\x46\x61ilureCode\x12\x0c\n\x08RESERVED\x10\x00\x12(\n$INCORRECT_OR_UNKNOWN_PAYMENT_DETAILS\x10\x01\x12\x1c\n\x18INCORRECT_PAYMENT_AMOUNT\x10\x02\x12\x1f\n\x1b\x46INAL_INCORRECT_CLTV_EXPIRY\x10\x03\x12\x1f\n\x1b\x46INAL_INCORRECT_HTLC_AMOUNT\x10\x04\x12\x19\n\x15\x46INAL_EXPIRY_TOO_SOON\x10\x05\x12\x11\n\rINVALID_REALM\x10\x06\x12\x13\n\x0f\x45XPIRY_TOO_SOON\x10\x07\x12\x19\n\x15INVALID_ONION_VERSION\x10\x08\x12\x16\n\x12INVALID_ONION_HMAC\x10\t\x12\x15\n\x11INVALID_ONION_KEY\x10\n\x12\x18\n\x14\x41MOUNT_BELOW_MINIMUM\x10\x0b\x12\x14\n\x10\x46\x45\x45_INSUFFICIENT\x10\x0c\x12\x19\n\x15INCORRECT_CLTV_EXPIRY\x10\r\x12\x14\n\x10\x43HANNEL_DISABLED\x10\x0e\x12\x1d\n\x19TEMPORARY_CHANNEL_FAILURE\x10\x0f\x12!\n\x1dREQUIRED_NODE_FEATURE_MISSING\x10\x10\x12$\n REQUIRED_CHANNEL_FEATURE_MISSING\x10\x11\x12\x15\n\x11UNKNOWN_NEXT_PEER\x10\x12\x12\x1a\n\x16TEMPORARY_NODE_FAILURE\x10\x13\x12\x1a\n\x16PERMANENT_NODE_FAILURE\x10\x14\x12\x1d\n\x19PERMANENT_CHANNEL_FAILURE\x10\x15\x12\x12\n\x0e\x45XPIRY_TOO_FAR\x10\x16\x12\x0f\n\x0bMPP_TIMEOUT\x10\x17\x12\x19\n\x15INVALID_ONION_PAYLOAD\x10\x18\x12\x15\n\x10INTERNAL_FAILURE\x10\xe5\x07\x12\x14\n\x0fUNKNOWN_FAILURE\x10\xe6\x07\x12\x17\n\x12UNREADABLE_FAILURE\x10\xe7\x07J\x04\x08\x02\x10\x03"\x9a\x02\n\rChannelUpdate\x12\x11\n\tsignature\x18\x01 \x01(\x0c\x12\x12\n\nchain_hash\x18\x02 \x01(\x0c\x12\x13\n\x07\x63han_id\x18\x03 \x01(\x04\x42\x02\x30\x01\x12\x11\n\ttimestamp\x18\x04 \x01(\r\x12\x15\n\rmessage_flags\x18\n \x01(\r\x12\x15\n\rchannel_flags\x18\x05 \x01(\r\x12\x17\n\x0ftime_lock_delta\x18\x06 \x01(\r\x12\x19\n\x11htlc_minimum_msat\x18\x07 \x01(\x04\x12\x10\n\x08\x62\x61se_fee\x18\x08 \x01(\r\x12\x10\n\x08\x66\x65\x65_rate\x18\t \x01(\r\x12\x19\n\x11htlc_maximum_msat\x18\x0b \x01(\x04\x12\x19\n\x11\x65xtra_opaque_data\x18\x0c \x01(\x0c"F\n\nMacaroonId\x12\r\n\x05nonce\x18\x01 \x01(\x0c\x12\x11\n\tstorageId\x18\x02 \x01(\x0c\x12\x16\n\x03ops\x18\x03 \x03(\x0b\x32\t.lnrpc.Op"%\n\x02Op\x12\x0e\n\x06\x65ntity\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x63tions\x18\x02 \x03(\t"k\n\x13\x43heckMacPermRequest\x12\x10\n\x08macaroon\x18\x01 \x01(\x0c\x12.\n\x0bpermissions\x18\x02 \x03(\x0b\x32\x19.lnrpc.MacaroonPermission\x12\x12\n\nfullMethod\x18\x03 \x01(\t"%\n\x14\x43heckMacPermResponse\x12\r\n\x05valid\x18\x01 \x01(\x08"\xfa\x01\n\x14RPCMiddlewareRequest\x12\x12\n\nrequest_id\x18\x01 \x01(\x04\x12\x14\n\x0craw_macaroon\x18\x02 \x01(\x0c\x12\x1f\n\x17\x63ustom_caveat_condition\x18\x03 \x01(\t\x12(\n\x0bstream_auth\x18\x04 \x01(\x0b\x32\x11.lnrpc.StreamAuthH\x00\x12$\n\x07request\x18\x05 \x01(\x0b\x32\x11.lnrpc.RPCMessageH\x00\x12%\n\x08response\x18\x06 \x01(\x0b\x32\x11.lnrpc.RPCMessageH\x00\x12\x0e\n\x06msg_id\x18\x07 \x01(\x04\x42\x10\n\x0eintercept_type"%\n\nStreamAuth\x12\x17\n\x0fmethod_full_uri\x18\x01 \x01(\t"r\n\nRPCMessage\x12\x17\n\x0fmethod_full_uri\x18\x01 \x01(\t\x12\x12\n\nstream_rpc\x18\x02 \x01(\x08\x12\x11\n\ttype_name\x18\x03 \x01(\t\x12\x12\n\nserialized\x18\x04 \x01(\x0c\x12\x10\n\x08is_error\x18\x05 \x01(\x08"\xa2\x01\n\x15RPCMiddlewareResponse\x12\x12\n\nref_msg_id\x18\x01 \x01(\x04\x12\x31\n\x08register\x18\x02 \x01(\x0b\x32\x1d.lnrpc.MiddlewareRegistrationH\x00\x12,\n\x08\x66\x65\x65\x64\x62\x61\x63k\x18\x03 \x01(\x0b\x32\x18.lnrpc.InterceptFeedbackH\x00\x42\x14\n\x12middleware_message"n\n\x16MiddlewareRegistration\x12\x17\n\x0fmiddleware_name\x18\x01 \x01(\t\x12#\n\x1b\x63ustom_macaroon_caveat_name\x18\x02 \x01(\t\x12\x16\n\x0eread_only_mode\x18\x03 \x01(\x08"\\\n\x11InterceptFeedback\x12\r\n\x05\x65rror\x18\x01 \x01(\t\x12\x18\n\x10replace_response\x18\x02 \x01(\x08\x12\x1e\n\x16replacement_serialized\x18\x03 \x01(\x0c*\xa7\x02\n\x10OutputScriptType\x12\x1b\n\x17SCRIPT_TYPE_PUBKEY_HASH\x10\x00\x12\x1b\n\x17SCRIPT_TYPE_SCRIPT_HASH\x10\x01\x12&\n"SCRIPT_TYPE_WITNESS_V0_PUBKEY_HASH\x10\x02\x12&\n"SCRIPT_TYPE_WITNESS_V0_SCRIPT_HASH\x10\x03\x12\x16\n\x12SCRIPT_TYPE_PUBKEY\x10\x04\x12\x18\n\x14SCRIPT_TYPE_MULTISIG\x10\x05\x12\x18\n\x14SCRIPT_TYPE_NULLDATA\x10\x06\x12\x1c\n\x18SCRIPT_TYPE_NON_STANDARD\x10\x07\x12\x1f\n\x1bSCRIPT_TYPE_WITNESS_UNKNOWN\x10\x08*\xac\x01\n\x0b\x41\x64\x64ressType\x12\x17\n\x13WITNESS_PUBKEY_HASH\x10\x00\x12\x16\n\x12NESTED_PUBKEY_HASH\x10\x01\x12\x1e\n\x1aUNUSED_WITNESS_PUBKEY_HASH\x10\x02\x12\x1d\n\x19UNUSED_NESTED_PUBKEY_HASH\x10\x03\x12\x12\n\x0eTAPROOT_PUBKEY\x10\x04\x12\x19\n\x15UNUSED_TAPROOT_PUBKEY\x10\x05*x\n\x0e\x43ommitmentType\x12\x1b\n\x17UNKNOWN_COMMITMENT_TYPE\x10\x00\x12\n\n\x06LEGACY\x10\x01\x12\x15\n\x11STATIC_REMOTE_KEY\x10\x02\x12\x0b\n\x07\x41NCHORS\x10\x03\x12\x19\n\x15SCRIPT_ENFORCED_LEASE\x10\x04*a\n\tInitiator\x12\x15\n\x11INITIATOR_UNKNOWN\x10\x00\x12\x13\n\x0fINITIATOR_LOCAL\x10\x01\x12\x14\n\x10INITIATOR_REMOTE\x10\x02\x12\x12\n\x0eINITIATOR_BOTH\x10\x03*`\n\x0eResolutionType\x12\x10\n\x0cTYPE_UNKNOWN\x10\x00\x12\n\n\x06\x41NCHOR\x10\x01\x12\x11\n\rINCOMING_HTLC\x10\x02\x12\x11\n\rOUTGOING_HTLC\x10\x03\x12\n\n\x06\x43OMMIT\x10\x04*q\n\x11ResolutionOutcome\x12\x13\n\x0fOUTCOME_UNKNOWN\x10\x00\x12\x0b\n\x07\x43LAIMED\x10\x01\x12\r\n\tUNCLAIMED\x10\x02\x12\r\n\tABANDONED\x10\x03\x12\x0f\n\x0b\x46IRST_STAGE\x10\x04\x12\x0b\n\x07TIMEOUT\x10\x05*9\n\x0eNodeMetricType\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x1a\n\x16\x42\x45TWEENNESS_CENTRALITY\x10\x01*;\n\x10InvoiceHTLCState\x12\x0c\n\x08\x41\x43\x43\x45PTED\x10\x00\x12\x0b\n\x07SETTLED\x10\x01\x12\x0c\n\x08\x43\x41NCELED\x10\x02*\xd9\x01\n\x14PaymentFailureReason\x12\x17\n\x13\x46\x41ILURE_REASON_NONE\x10\x00\x12\x1a\n\x16\x46\x41ILURE_REASON_TIMEOUT\x10\x01\x12\x1b\n\x17\x46\x41ILURE_REASON_NO_ROUTE\x10\x02\x12\x18\n\x14\x46\x41ILURE_REASON_ERROR\x10\x03\x12,\n(FAILURE_REASON_INCORRECT_PAYMENT_DETAILS\x10\x04\x12\'\n#FAILURE_REASON_INSUFFICIENT_BALANCE\x10\x05*\xcf\x04\n\nFeatureBit\x12\x18\n\x14\x44\x41TALOSS_PROTECT_REQ\x10\x00\x12\x18\n\x14\x44\x41TALOSS_PROTECT_OPT\x10\x01\x12\x17\n\x13INITIAL_ROUING_SYNC\x10\x03\x12\x1f\n\x1bUPFRONT_SHUTDOWN_SCRIPT_REQ\x10\x04\x12\x1f\n\x1bUPFRONT_SHUTDOWN_SCRIPT_OPT\x10\x05\x12\x16\n\x12GOSSIP_QUERIES_REQ\x10\x06\x12\x16\n\x12GOSSIP_QUERIES_OPT\x10\x07\x12\x11\n\rTLV_ONION_REQ\x10\x08\x12\x11\n\rTLV_ONION_OPT\x10\t\x12\x1a\n\x16\x45XT_GOSSIP_QUERIES_REQ\x10\n\x12\x1a\n\x16\x45XT_GOSSIP_QUERIES_OPT\x10\x0b\x12\x19\n\x15STATIC_REMOTE_KEY_REQ\x10\x0c\x12\x19\n\x15STATIC_REMOTE_KEY_OPT\x10\r\x12\x14\n\x10PAYMENT_ADDR_REQ\x10\x0e\x12\x14\n\x10PAYMENT_ADDR_OPT\x10\x0f\x12\x0b\n\x07MPP_REQ\x10\x10\x12\x0b\n\x07MPP_OPT\x10\x11\x12\x16\n\x12WUMBO_CHANNELS_REQ\x10\x12\x12\x16\n\x12WUMBO_CHANNELS_OPT\x10\x13\x12\x0f\n\x0b\x41NCHORS_REQ\x10\x14\x12\x0f\n\x0b\x41NCHORS_OPT\x10\x15\x12\x1d\n\x19\x41NCHORS_ZERO_FEE_HTLC_REQ\x10\x16\x12\x1d\n\x19\x41NCHORS_ZERO_FEE_HTLC_OPT\x10\x17\x12\x0b\n\x07\x41MP_REQ\x10\x1e\x12\x0b\n\x07\x41MP_OPT\x10\x1f*\xac\x01\n\rUpdateFailure\x12\x1a\n\x16UPDATE_FAILURE_UNKNOWN\x10\x00\x12\x1a\n\x16UPDATE_FAILURE_PENDING\x10\x01\x12\x1c\n\x18UPDATE_FAILURE_NOT_FOUND\x10\x02\x12\x1f\n\x1bUPDATE_FAILURE_INTERNAL_ERR\x10\x03\x12$\n UPDATE_FAILURE_INVALID_PARAMETER\x10\x04\x32\xc9%\n\tLightning\x12J\n\rWalletBalance\x12\x1b.lnrpc.WalletBalanceRequest\x1a\x1c.lnrpc.WalletBalanceResponse\x12M\n\x0e\x43hannelBalance\x12\x1c.lnrpc.ChannelBalanceRequest\x1a\x1d.lnrpc.ChannelBalanceResponse\x12K\n\x0fGetTransactions\x12\x1d.lnrpc.GetTransactionsRequest\x1a\x19.lnrpc.TransactionDetails\x12\x44\n\x0b\x45stimateFee\x12\x19.lnrpc.EstimateFeeRequest\x1a\x1a.lnrpc.EstimateFeeResponse\x12>\n\tSendCoins\x12\x17.lnrpc.SendCoinsRequest\x1a\x18.lnrpc.SendCoinsResponse\x12\x44\n\x0bListUnspent\x12\x19.lnrpc.ListUnspentRequest\x1a\x1a.lnrpc.ListUnspentResponse\x12L\n\x15SubscribeTransactions\x12\x1d.lnrpc.GetTransactionsRequest\x1a\x12.lnrpc.Transaction0\x01\x12;\n\x08SendMany\x12\x16.lnrpc.SendManyRequest\x1a\x17.lnrpc.SendManyResponse\x12\x41\n\nNewAddress\x12\x18.lnrpc.NewAddressRequest\x1a\x19.lnrpc.NewAddressResponse\x12\x44\n\x0bSignMessage\x12\x19.lnrpc.SignMessageRequest\x1a\x1a.lnrpc.SignMessageResponse\x12J\n\rVerifyMessage\x12\x1b.lnrpc.VerifyMessageRequest\x1a\x1c.lnrpc.VerifyMessageResponse\x12\x44\n\x0b\x43onnectPeer\x12\x19.lnrpc.ConnectPeerRequest\x1a\x1a.lnrpc.ConnectPeerResponse\x12M\n\x0e\x44isconnectPeer\x12\x1c.lnrpc.DisconnectPeerRequest\x1a\x1d.lnrpc.DisconnectPeerResponse\x12>\n\tListPeers\x12\x17.lnrpc.ListPeersRequest\x1a\x18.lnrpc.ListPeersResponse\x12G\n\x13SubscribePeerEvents\x12\x1c.lnrpc.PeerEventSubscription\x1a\x10.lnrpc.PeerEvent0\x01\x12\x38\n\x07GetInfo\x12\x15.lnrpc.GetInfoRequest\x1a\x16.lnrpc.GetInfoResponse\x12P\n\x0fGetRecoveryInfo\x12\x1d.lnrpc.GetRecoveryInfoRequest\x1a\x1e.lnrpc.GetRecoveryInfoResponse\x12P\n\x0fPendingChannels\x12\x1d.lnrpc.PendingChannelsRequest\x1a\x1e.lnrpc.PendingChannelsResponse\x12G\n\x0cListChannels\x12\x1a.lnrpc.ListChannelsRequest\x1a\x1b.lnrpc.ListChannelsResponse\x12V\n\x16SubscribeChannelEvents\x12\x1f.lnrpc.ChannelEventSubscription\x1a\x19.lnrpc.ChannelEventUpdate0\x01\x12M\n\x0e\x43losedChannels\x12\x1c.lnrpc.ClosedChannelsRequest\x1a\x1d.lnrpc.ClosedChannelsResponse\x12\x41\n\x0fOpenChannelSync\x12\x19.lnrpc.OpenChannelRequest\x1a\x13.lnrpc.ChannelPoint\x12\x43\n\x0bOpenChannel\x12\x19.lnrpc.OpenChannelRequest\x1a\x17.lnrpc.OpenStatusUpdate0\x01\x12S\n\x10\x42\x61tchOpenChannel\x12\x1e.lnrpc.BatchOpenChannelRequest\x1a\x1f.lnrpc.BatchOpenChannelResponse\x12L\n\x10\x46undingStateStep\x12\x1b.lnrpc.FundingTransitionMsg\x1a\x1b.lnrpc.FundingStateStepResp\x12P\n\x0f\x43hannelAcceptor\x12\x1c.lnrpc.ChannelAcceptResponse\x1a\x1b.lnrpc.ChannelAcceptRequest(\x01\x30\x01\x12\x46\n\x0c\x43loseChannel\x12\x1a.lnrpc.CloseChannelRequest\x1a\x18.lnrpc.CloseStatusUpdate0\x01\x12M\n\x0e\x41\x62\x61ndonChannel\x12\x1c.lnrpc.AbandonChannelRequest\x1a\x1d.lnrpc.AbandonChannelResponse\x12?\n\x0bSendPayment\x12\x12.lnrpc.SendRequest\x1a\x13.lnrpc.SendResponse"\x03\x88\x02\x01(\x01\x30\x01\x12:\n\x0fSendPaymentSync\x12\x12.lnrpc.SendRequest\x1a\x13.lnrpc.SendResponse\x12\x46\n\x0bSendToRoute\x12\x19.lnrpc.SendToRouteRequest\x1a\x13.lnrpc.SendResponse"\x03\x88\x02\x01(\x01\x30\x01\x12\x41\n\x0fSendToRouteSync\x12\x19.lnrpc.SendToRouteRequest\x1a\x13.lnrpc.SendResponse\x12\x37\n\nAddInvoice\x12\x0e.lnrpc.Invoice\x1a\x19.lnrpc.AddInvoiceResponse\x12\x45\n\x0cListInvoices\x12\x19.lnrpc.ListInvoiceRequest\x1a\x1a.lnrpc.ListInvoiceResponse\x12\x33\n\rLookupInvoice\x12\x12.lnrpc.PaymentHash\x1a\x0e.lnrpc.Invoice\x12\x41\n\x11SubscribeInvoices\x12\x1a.lnrpc.InvoiceSubscription\x1a\x0e.lnrpc.Invoice0\x01\x12\x32\n\x0c\x44\x65\x63odePayReq\x12\x13.lnrpc.PayReqString\x1a\r.lnrpc.PayReq\x12G\n\x0cListPayments\x12\x1a.lnrpc.ListPaymentsRequest\x1a\x1b.lnrpc.ListPaymentsResponse\x12J\n\rDeletePayment\x12\x1b.lnrpc.DeletePaymentRequest\x1a\x1c.lnrpc.DeletePaymentResponse\x12V\n\x11\x44\x65leteAllPayments\x12\x1f.lnrpc.DeleteAllPaymentsRequest\x1a .lnrpc.DeleteAllPaymentsResponse\x12@\n\rDescribeGraph\x12\x1a.lnrpc.ChannelGraphRequest\x1a\x13.lnrpc.ChannelGraph\x12G\n\x0eGetNodeMetrics\x12\x19.lnrpc.NodeMetricsRequest\x1a\x1a.lnrpc.NodeMetricsResponse\x12\x39\n\x0bGetChanInfo\x12\x16.lnrpc.ChanInfoRequest\x1a\x12.lnrpc.ChannelEdge\x12\x36\n\x0bGetNodeInfo\x12\x16.lnrpc.NodeInfoRequest\x1a\x0f.lnrpc.NodeInfo\x12\x44\n\x0bQueryRoutes\x12\x19.lnrpc.QueryRoutesRequest\x1a\x1a.lnrpc.QueryRoutesResponse\x12?\n\x0eGetNetworkInfo\x12\x19.lnrpc.NetworkInfoRequest\x1a\x12.lnrpc.NetworkInfo\x12\x35\n\nStopDaemon\x12\x12.lnrpc.StopRequest\x1a\x13.lnrpc.StopResponse\x12W\n\x15SubscribeChannelGraph\x12 .lnrpc.GraphTopologySubscription\x1a\x1a.lnrpc.GraphTopologyUpdate0\x01\x12\x41\n\nDebugLevel\x12\x18.lnrpc.DebugLevelRequest\x1a\x19.lnrpc.DebugLevelResponse\x12>\n\tFeeReport\x12\x17.lnrpc.FeeReportRequest\x1a\x18.lnrpc.FeeReportResponse\x12N\n\x13UpdateChannelPolicy\x12\x1a.lnrpc.PolicyUpdateRequest\x1a\x1b.lnrpc.PolicyUpdateResponse\x12V\n\x11\x46orwardingHistory\x12\x1f.lnrpc.ForwardingHistoryRequest\x1a .lnrpc.ForwardingHistoryResponse\x12N\n\x13\x45xportChannelBackup\x12!.lnrpc.ExportChannelBackupRequest\x1a\x14.lnrpc.ChannelBackup\x12T\n\x17\x45xportAllChannelBackups\x12\x1e.lnrpc.ChanBackupExportRequest\x1a\x19.lnrpc.ChanBackupSnapshot\x12N\n\x10VerifyChanBackup\x12\x19.lnrpc.ChanBackupSnapshot\x1a\x1f.lnrpc.VerifyChanBackupResponse\x12V\n\x15RestoreChannelBackups\x12\x1f.lnrpc.RestoreChanBackupRequest\x1a\x1c.lnrpc.RestoreBackupResponse\x12X\n\x17SubscribeChannelBackups\x12 .lnrpc.ChannelBackupSubscription\x1a\x19.lnrpc.ChanBackupSnapshot0\x01\x12G\n\x0c\x42\x61keMacaroon\x12\x1a.lnrpc.BakeMacaroonRequest\x1a\x1b.lnrpc.BakeMacaroonResponse\x12P\n\x0fListMacaroonIDs\x12\x1d.lnrpc.ListMacaroonIDsRequest\x1a\x1e.lnrpc.ListMacaroonIDsResponse\x12S\n\x10\x44\x65leteMacaroonID\x12\x1e.lnrpc.DeleteMacaroonIDRequest\x1a\x1f.lnrpc.DeleteMacaroonIDResponse\x12P\n\x0fListPermissions\x12\x1d.lnrpc.ListPermissionsRequest\x1a\x1e.lnrpc.ListPermissionsResponse\x12S\n\x18\x43heckMacaroonPermissions\x12\x1a.lnrpc.CheckMacPermRequest\x1a\x1b.lnrpc.CheckMacPermResponse\x12V\n\x15RegisterRPCMiddleware\x12\x1c.lnrpc.RPCMiddlewareResponse\x1a\x1b.lnrpc.RPCMiddlewareRequest(\x01\x30\x01\x12V\n\x11SendCustomMessage\x12\x1f.lnrpc.SendCustomMessageRequest\x1a .lnrpc.SendCustomMessageResponse\x12X\n\x17SubscribeCustomMessages\x12%.lnrpc.SubscribeCustomMessagesRequest\x1a\x14.lnrpc.CustomMessage0\x01\x42\'Z%github.com/lightningnetwork/lnd/lnrpcb\x06proto3'
)
-_ADDRESSTYPE = _descriptor.EnumDescriptor(
- name="AddressType",
- full_name="lnrpc.AddressType",
- filename=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- values=[
- _descriptor.EnumValueDescriptor(
- name="WITNESS_PUBKEY_HASH",
- index=0,
- number=0,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="NESTED_PUBKEY_HASH",
- index=1,
- number=1,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="UNUSED_WITNESS_PUBKEY_HASH",
- index=2,
- number=2,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="UNUSED_NESTED_PUBKEY_HASH",
- index=3,
- number=3,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- containing_type=None,
- serialized_options=None,
- serialized_start=26639,
- serialized_end=26764,
-)
-_sym_db.RegisterEnumDescriptor(_ADDRESSTYPE)
-
+_OUTPUTSCRIPTTYPE = DESCRIPTOR.enum_types_by_name["OutputScriptType"]
+OutputScriptType = enum_type_wrapper.EnumTypeWrapper(_OUTPUTSCRIPTTYPE)
+_ADDRESSTYPE = DESCRIPTOR.enum_types_by_name["AddressType"]
AddressType = enum_type_wrapper.EnumTypeWrapper(_ADDRESSTYPE)
-_COMMITMENTTYPE = _descriptor.EnumDescriptor(
- name="CommitmentType",
- full_name="lnrpc.CommitmentType",
- filename=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- values=[
- _descriptor.EnumValueDescriptor(
- name="UNKNOWN_COMMITMENT_TYPE",
- index=0,
- number=0,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="LEGACY",
- index=1,
- number=1,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="STATIC_REMOTE_KEY",
- index=2,
- number=2,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="ANCHORS",
- index=3,
- number=3,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="SCRIPT_ENFORCED_LEASE",
- index=4,
- number=4,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- containing_type=None,
- serialized_options=None,
- serialized_start=26766,
- serialized_end=26886,
-)
-_sym_db.RegisterEnumDescriptor(_COMMITMENTTYPE)
-
+_COMMITMENTTYPE = DESCRIPTOR.enum_types_by_name["CommitmentType"]
CommitmentType = enum_type_wrapper.EnumTypeWrapper(_COMMITMENTTYPE)
-_INITIATOR = _descriptor.EnumDescriptor(
- name="Initiator",
- full_name="lnrpc.Initiator",
- filename=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- values=[
- _descriptor.EnumValueDescriptor(
- name="INITIATOR_UNKNOWN",
- index=0,
- number=0,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="INITIATOR_LOCAL",
- index=1,
- number=1,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="INITIATOR_REMOTE",
- index=2,
- number=2,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="INITIATOR_BOTH",
- index=3,
- number=3,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- containing_type=None,
- serialized_options=None,
- serialized_start=26888,
- serialized_end=26985,
-)
-_sym_db.RegisterEnumDescriptor(_INITIATOR)
-
+_INITIATOR = DESCRIPTOR.enum_types_by_name["Initiator"]
Initiator = enum_type_wrapper.EnumTypeWrapper(_INITIATOR)
-_RESOLUTIONTYPE = _descriptor.EnumDescriptor(
- name="ResolutionType",
- full_name="lnrpc.ResolutionType",
- filename=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- values=[
- _descriptor.EnumValueDescriptor(
- name="TYPE_UNKNOWN",
- index=0,
- number=0,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="ANCHOR",
- index=1,
- number=1,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="INCOMING_HTLC",
- index=2,
- number=2,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="OUTGOING_HTLC",
- index=3,
- number=3,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="COMMIT",
- index=4,
- number=4,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- containing_type=None,
- serialized_options=None,
- serialized_start=26987,
- serialized_end=27083,
-)
-_sym_db.RegisterEnumDescriptor(_RESOLUTIONTYPE)
-
+_RESOLUTIONTYPE = DESCRIPTOR.enum_types_by_name["ResolutionType"]
ResolutionType = enum_type_wrapper.EnumTypeWrapper(_RESOLUTIONTYPE)
-_RESOLUTIONOUTCOME = _descriptor.EnumDescriptor(
- name="ResolutionOutcome",
- full_name="lnrpc.ResolutionOutcome",
- filename=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- values=[
- _descriptor.EnumValueDescriptor(
- name="OUTCOME_UNKNOWN",
- index=0,
- number=0,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="CLAIMED",
- index=1,
- number=1,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="UNCLAIMED",
- index=2,
- number=2,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="ABANDONED",
- index=3,
- number=3,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="FIRST_STAGE",
- index=4,
- number=4,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="TIMEOUT",
- index=5,
- number=5,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- containing_type=None,
- serialized_options=None,
- serialized_start=27085,
- serialized_end=27198,
-)
-_sym_db.RegisterEnumDescriptor(_RESOLUTIONOUTCOME)
-
+_RESOLUTIONOUTCOME = DESCRIPTOR.enum_types_by_name["ResolutionOutcome"]
ResolutionOutcome = enum_type_wrapper.EnumTypeWrapper(_RESOLUTIONOUTCOME)
-_NODEMETRICTYPE = _descriptor.EnumDescriptor(
- name="NodeMetricType",
- full_name="lnrpc.NodeMetricType",
- filename=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- values=[
- _descriptor.EnumValueDescriptor(
- name="UNKNOWN",
- index=0,
- number=0,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="BETWEENNESS_CENTRALITY",
- index=1,
- number=1,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- containing_type=None,
- serialized_options=None,
- serialized_start=27200,
- serialized_end=27257,
-)
-_sym_db.RegisterEnumDescriptor(_NODEMETRICTYPE)
-
+_NODEMETRICTYPE = DESCRIPTOR.enum_types_by_name["NodeMetricType"]
NodeMetricType = enum_type_wrapper.EnumTypeWrapper(_NODEMETRICTYPE)
-_INVOICEHTLCSTATE = _descriptor.EnumDescriptor(
- name="InvoiceHTLCState",
- full_name="lnrpc.InvoiceHTLCState",
- filename=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- values=[
- _descriptor.EnumValueDescriptor(
- name="ACCEPTED",
- index=0,
- number=0,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="SETTLED",
- index=1,
- number=1,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="CANCELED",
- index=2,
- number=2,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- containing_type=None,
- serialized_options=None,
- serialized_start=27259,
- serialized_end=27318,
-)
-_sym_db.RegisterEnumDescriptor(_INVOICEHTLCSTATE)
-
+_INVOICEHTLCSTATE = DESCRIPTOR.enum_types_by_name["InvoiceHTLCState"]
InvoiceHTLCState = enum_type_wrapper.EnumTypeWrapper(_INVOICEHTLCSTATE)
-_PAYMENTFAILUREREASON = _descriptor.EnumDescriptor(
- name="PaymentFailureReason",
- full_name="lnrpc.PaymentFailureReason",
- filename=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- values=[
- _descriptor.EnumValueDescriptor(
- name="FAILURE_REASON_NONE",
- index=0,
- number=0,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="FAILURE_REASON_TIMEOUT",
- index=1,
- number=1,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="FAILURE_REASON_NO_ROUTE",
- index=2,
- number=2,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="FAILURE_REASON_ERROR",
- index=3,
- number=3,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="FAILURE_REASON_INCORRECT_PAYMENT_DETAILS",
- index=4,
- number=4,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="FAILURE_REASON_INSUFFICIENT_BALANCE",
- index=5,
- number=5,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- containing_type=None,
- serialized_options=None,
- serialized_start=27321,
- serialized_end=27538,
-)
-_sym_db.RegisterEnumDescriptor(_PAYMENTFAILUREREASON)
-
+_PAYMENTFAILUREREASON = DESCRIPTOR.enum_types_by_name["PaymentFailureReason"]
PaymentFailureReason = enum_type_wrapper.EnumTypeWrapper(_PAYMENTFAILUREREASON)
-_FEATUREBIT = _descriptor.EnumDescriptor(
- name="FeatureBit",
- full_name="lnrpc.FeatureBit",
- filename=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- values=[
- _descriptor.EnumValueDescriptor(
- name="DATALOSS_PROTECT_REQ",
- index=0,
- number=0,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="DATALOSS_PROTECT_OPT",
- index=1,
- number=1,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="INITIAL_ROUING_SYNC",
- index=2,
- number=3,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="UPFRONT_SHUTDOWN_SCRIPT_REQ",
- index=3,
- number=4,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="UPFRONT_SHUTDOWN_SCRIPT_OPT",
- index=4,
- number=5,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="GOSSIP_QUERIES_REQ",
- index=5,
- number=6,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="GOSSIP_QUERIES_OPT",
- index=6,
- number=7,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="TLV_ONION_REQ",
- index=7,
- number=8,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="TLV_ONION_OPT",
- index=8,
- number=9,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="EXT_GOSSIP_QUERIES_REQ",
- index=9,
- number=10,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="EXT_GOSSIP_QUERIES_OPT",
- index=10,
- number=11,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="STATIC_REMOTE_KEY_REQ",
- index=11,
- number=12,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="STATIC_REMOTE_KEY_OPT",
- index=12,
- number=13,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="PAYMENT_ADDR_REQ",
- index=13,
- number=14,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="PAYMENT_ADDR_OPT",
- index=14,
- number=15,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="MPP_REQ",
- index=15,
- number=16,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="MPP_OPT",
- index=16,
- number=17,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="WUMBO_CHANNELS_REQ",
- index=17,
- number=18,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="WUMBO_CHANNELS_OPT",
- index=18,
- number=19,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="ANCHORS_REQ",
- index=19,
- number=20,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="ANCHORS_OPT",
- index=20,
- number=21,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="ANCHORS_ZERO_FEE_HTLC_REQ",
- index=21,
- number=22,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="ANCHORS_ZERO_FEE_HTLC_OPT",
- index=22,
- number=23,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="AMP_REQ",
- index=23,
- number=30,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="AMP_OPT",
- index=24,
- number=31,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- containing_type=None,
- serialized_options=None,
- serialized_start=27541,
- serialized_end=28132,
-)
-_sym_db.RegisterEnumDescriptor(_FEATUREBIT)
-
+_FEATUREBIT = DESCRIPTOR.enum_types_by_name["FeatureBit"]
FeatureBit = enum_type_wrapper.EnumTypeWrapper(_FEATUREBIT)
-_UPDATEFAILURE = _descriptor.EnumDescriptor(
- name="UpdateFailure",
- full_name="lnrpc.UpdateFailure",
- filename=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- values=[
- _descriptor.EnumValueDescriptor(
- name="UPDATE_FAILURE_UNKNOWN",
- index=0,
- number=0,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="UPDATE_FAILURE_PENDING",
- index=1,
- number=1,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="UPDATE_FAILURE_NOT_FOUND",
- index=2,
- number=2,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="UPDATE_FAILURE_INTERNAL_ERR",
- index=3,
- number=3,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="UPDATE_FAILURE_INVALID_PARAMETER",
- index=4,
- number=4,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- containing_type=None,
- serialized_options=None,
- serialized_start=28135,
- serialized_end=28307,
-)
-_sym_db.RegisterEnumDescriptor(_UPDATEFAILURE)
-
+_UPDATEFAILURE = DESCRIPTOR.enum_types_by_name["UpdateFailure"]
UpdateFailure = enum_type_wrapper.EnumTypeWrapper(_UPDATEFAILURE)
+SCRIPT_TYPE_PUBKEY_HASH = 0
+SCRIPT_TYPE_SCRIPT_HASH = 1
+SCRIPT_TYPE_WITNESS_V0_PUBKEY_HASH = 2
+SCRIPT_TYPE_WITNESS_V0_SCRIPT_HASH = 3
+SCRIPT_TYPE_PUBKEY = 4
+SCRIPT_TYPE_MULTISIG = 5
+SCRIPT_TYPE_NULLDATA = 6
+SCRIPT_TYPE_NON_STANDARD = 7
+SCRIPT_TYPE_WITNESS_UNKNOWN = 8
WITNESS_PUBKEY_HASH = 0
NESTED_PUBKEY_HASH = 1
UNUSED_WITNESS_PUBKEY_HASH = 2
UNUSED_NESTED_PUBKEY_HASH = 3
+TAPROOT_PUBKEY = 4
+UNUSED_TAPROOT_PUBKEY = 5
UNKNOWN_COMMITMENT_TYPE = 0
LEGACY = 1
STATIC_REMOTE_KEY = 2
@@ -769,20558 +118,270 @@ UPDATE_FAILURE_INTERNAL_ERR = 3
UPDATE_FAILURE_INVALID_PARAMETER = 4
-_CHANNELCLOSESUMMARY_CLOSURETYPE = _descriptor.EnumDescriptor(
- name="ClosureType",
- full_name="lnrpc.ChannelCloseSummary.ClosureType",
- filename=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- values=[
- _descriptor.EnumValueDescriptor(
- name="COOPERATIVE_CLOSE",
- index=0,
- number=0,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="LOCAL_FORCE_CLOSE",
- index=1,
- number=1,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="REMOTE_FORCE_CLOSE",
- index=2,
- number=2,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="BREACH_CLOSE",
- index=3,
- number=3,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="FUNDING_CANCELED",
- index=4,
- number=4,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="ABANDONED",
- index=5,
- number=5,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- containing_type=None,
- serialized_options=None,
- serialized_start=5664,
- serialized_end=5802,
-)
-_sym_db.RegisterEnumDescriptor(_CHANNELCLOSESUMMARY_CLOSURETYPE)
-
-_PEER_SYNCTYPE = _descriptor.EnumDescriptor(
- name="SyncType",
- full_name="lnrpc.Peer.SyncType",
- filename=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- values=[
- _descriptor.EnumValueDescriptor(
- name="UNKNOWN_SYNC",
- index=0,
- number=0,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="ACTIVE_SYNC",
- index=1,
- number=1,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="PASSIVE_SYNC",
- index=2,
- number=2,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="PINNED_SYNC",
- index=3,
- number=3,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- containing_type=None,
- serialized_options=None,
- serialized_start=6624,
- serialized_end=6704,
-)
-_sym_db.RegisterEnumDescriptor(_PEER_SYNCTYPE)
-
-_PEEREVENT_EVENTTYPE = _descriptor.EnumDescriptor(
- name="EventType",
- full_name="lnrpc.PeerEvent.EventType",
- filename=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- values=[
- _descriptor.EnumValueDescriptor(
- name="PEER_ONLINE",
- index=0,
- number=0,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="PEER_OFFLINE",
- index=1,
- number=1,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- containing_type=None,
- serialized_options=None,
- serialized_start=6948,
- serialized_end=6994,
-)
-_sym_db.RegisterEnumDescriptor(_PEEREVENT_EVENTTYPE)
-
-_PENDINGCHANNELSRESPONSE_FORCECLOSEDCHANNEL_ANCHORSTATE = _descriptor.EnumDescriptor(
- name="AnchorState",
- full_name="lnrpc.PendingChannelsResponse.ForceClosedChannel.AnchorState",
- filename=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- values=[
- _descriptor.EnumValueDescriptor(
- name="LIMBO",
- index=0,
- number=0,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="RECOVERED",
- index=1,
- number=1,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="LOST",
- index=2,
- number=2,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- containing_type=None,
- serialized_options=None,
- serialized_start=12414,
- serialized_end=12463,
-)
-_sym_db.RegisterEnumDescriptor(_PENDINGCHANNELSRESPONSE_FORCECLOSEDCHANNEL_ANCHORSTATE)
-
-_CHANNELEVENTUPDATE_UPDATETYPE = _descriptor.EnumDescriptor(
- name="UpdateType",
- full_name="lnrpc.ChannelEventUpdate.UpdateType",
- filename=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- values=[
- _descriptor.EnumValueDescriptor(
- name="OPEN_CHANNEL",
- index=0,
- number=0,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="CLOSED_CHANNEL",
- index=1,
- number=1,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="ACTIVE_CHANNEL",
- index=2,
- number=2,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="INACTIVE_CHANNEL",
- index=3,
- number=3,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="PENDING_OPEN_CHANNEL",
- index=4,
- number=4,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="FULLY_RESOLVED_CHANNEL",
- index=5,
- number=5,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- containing_type=None,
- serialized_options=None,
- serialized_start=12868,
- serialized_end=13014,
-)
-_sym_db.RegisterEnumDescriptor(_CHANNELEVENTUPDATE_UPDATETYPE)
-
-_INVOICE_INVOICESTATE = _descriptor.EnumDescriptor(
- name="InvoiceState",
- full_name="lnrpc.Invoice.InvoiceState",
- filename=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- values=[
- _descriptor.EnumValueDescriptor(
- name="OPEN",
- index=0,
- number=0,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="SETTLED",
- index=1,
- number=1,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="CANCELED",
- index=2,
- number=2,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="ACCEPTED",
- index=3,
- number=3,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- containing_type=None,
- serialized_options=None,
- serialized_start=18957,
- serialized_end=19022,
-)
-_sym_db.RegisterEnumDescriptor(_INVOICE_INVOICESTATE)
-
-_PAYMENT_PAYMENTSTATUS = _descriptor.EnumDescriptor(
- name="PaymentStatus",
- full_name="lnrpc.Payment.PaymentStatus",
- filename=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- values=[
- _descriptor.EnumValueDescriptor(
- name="UNKNOWN",
- index=0,
- number=0,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="IN_FLIGHT",
- index=1,
- number=1,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="SUCCEEDED",
- index=2,
- number=2,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="FAILED",
- index=3,
- number=3,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- containing_type=None,
- serialized_options=None,
- serialized_start=20350,
- serialized_end=20420,
-)
-_sym_db.RegisterEnumDescriptor(_PAYMENT_PAYMENTSTATUS)
-
-_HTLCATTEMPT_HTLCSTATUS = _descriptor.EnumDescriptor(
- name="HTLCStatus",
- full_name="lnrpc.HTLCAttempt.HTLCStatus",
- filename=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- values=[
- _descriptor.EnumValueDescriptor(
- name="IN_FLIGHT",
- index=0,
- number=0,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="SUCCEEDED",
- index=1,
- number=1,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="FAILED",
- index=2,
- number=2,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- containing_type=None,
- serialized_options=None,
- serialized_start=20641,
- serialized_end=20695,
-)
-_sym_db.RegisterEnumDescriptor(_HTLCATTEMPT_HTLCSTATUS)
-
-_FAILURE_FAILURECODE = _descriptor.EnumDescriptor(
- name="FailureCode",
- full_name="lnrpc.Failure.FailureCode",
- filename=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- values=[
- _descriptor.EnumValueDescriptor(
- name="RESERVED",
- index=0,
- number=0,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="INCORRECT_OR_UNKNOWN_PAYMENT_DETAILS",
- index=1,
- number=1,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="INCORRECT_PAYMENT_AMOUNT",
- index=2,
- number=2,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="FINAL_INCORRECT_CLTV_EXPIRY",
- index=3,
- number=3,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="FINAL_INCORRECT_HTLC_AMOUNT",
- index=4,
- number=4,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="FINAL_EXPIRY_TOO_SOON",
- index=5,
- number=5,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="INVALID_REALM",
- index=6,
- number=6,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="EXPIRY_TOO_SOON",
- index=7,
- number=7,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="INVALID_ONION_VERSION",
- index=8,
- number=8,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="INVALID_ONION_HMAC",
- index=9,
- number=9,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="INVALID_ONION_KEY",
- index=10,
- number=10,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="AMOUNT_BELOW_MINIMUM",
- index=11,
- number=11,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="FEE_INSUFFICIENT",
- index=12,
- number=12,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="INCORRECT_CLTV_EXPIRY",
- index=13,
- number=13,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="CHANNEL_DISABLED",
- index=14,
- number=14,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="TEMPORARY_CHANNEL_FAILURE",
- index=15,
- number=15,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="REQUIRED_NODE_FEATURE_MISSING",
- index=16,
- number=16,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="REQUIRED_CHANNEL_FEATURE_MISSING",
- index=17,
- number=17,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="UNKNOWN_NEXT_PEER",
- index=18,
- number=18,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="TEMPORARY_NODE_FAILURE",
- index=19,
- number=19,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="PERMANENT_NODE_FAILURE",
- index=20,
- number=20,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="PERMANENT_CHANNEL_FAILURE",
- index=21,
- number=21,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="EXPIRY_TOO_FAR",
- index=22,
- number=22,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="MPP_TIMEOUT",
- index=23,
- number=23,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="INVALID_ONION_PAYLOAD",
- index=24,
- number=24,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="INTERNAL_FAILURE",
- index=25,
- number=997,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="UNKNOWN_FAILURE",
- index=26,
- number=998,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.EnumValueDescriptor(
- name="UNREADABLE_FAILURE",
- index=27,
- number=999,
- serialized_options=None,
- type=None,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- containing_type=None,
- serialized_options=None,
- serialized_start=24591,
- serialized_end=25342,
-)
-_sym_db.RegisterEnumDescriptor(_FAILURE_FAILURECODE)
-
-
-_SUBSCRIBECUSTOMMESSAGESREQUEST = _descriptor.Descriptor(
- name="SubscribeCustomMessagesRequest",
- full_name="lnrpc.SubscribeCustomMessagesRequest",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=26,
- serialized_end=58,
-)
-
-
-_CUSTOMMESSAGE = _descriptor.Descriptor(
- name="CustomMessage",
- full_name="lnrpc.CustomMessage",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="peer",
- full_name="lnrpc.CustomMessage.peer",
- index=0,
- number=1,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="type",
- full_name="lnrpc.CustomMessage.type",
- index=1,
- number=2,
- type=13,
- cpp_type=3,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="data",
- full_name="lnrpc.CustomMessage.data",
- index=2,
- number=3,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=60,
- serialized_end=117,
-)
-
-
-_SENDCUSTOMMESSAGEREQUEST = _descriptor.Descriptor(
- name="SendCustomMessageRequest",
- full_name="lnrpc.SendCustomMessageRequest",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="peer",
- full_name="lnrpc.SendCustomMessageRequest.peer",
- index=0,
- number=1,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="type",
- full_name="lnrpc.SendCustomMessageRequest.type",
- index=1,
- number=2,
- type=13,
- cpp_type=3,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="data",
- full_name="lnrpc.SendCustomMessageRequest.data",
- index=2,
- number=3,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=119,
- serialized_end=187,
-)
-
-
-_SENDCUSTOMMESSAGERESPONSE = _descriptor.Descriptor(
- name="SendCustomMessageResponse",
- full_name="lnrpc.SendCustomMessageResponse",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=189,
- serialized_end=216,
-)
-
-
-_UTXO = _descriptor.Descriptor(
- name="Utxo",
- full_name="lnrpc.Utxo",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="address_type",
- full_name="lnrpc.Utxo.address_type",
- index=0,
- number=1,
- type=14,
- cpp_type=8,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="address",
- full_name="lnrpc.Utxo.address",
- index=1,
- number=2,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="amount_sat",
- full_name="lnrpc.Utxo.amount_sat",
- index=2,
- number=3,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="pk_script",
- full_name="lnrpc.Utxo.pk_script",
- index=3,
- number=4,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="outpoint",
- full_name="lnrpc.Utxo.outpoint",
- index=4,
- number=5,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="confirmations",
- full_name="lnrpc.Utxo.confirmations",
- index=5,
- number=6,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=219,
- serialized_end=381,
-)
-
-
-_TRANSACTION = _descriptor.Descriptor(
- name="Transaction",
- full_name="lnrpc.Transaction",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="tx_hash",
- full_name="lnrpc.Transaction.tx_hash",
- index=0,
- number=1,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="amount",
- full_name="lnrpc.Transaction.amount",
- index=1,
- number=2,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="num_confirmations",
- full_name="lnrpc.Transaction.num_confirmations",
- index=2,
- number=3,
- type=5,
- cpp_type=1,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="block_hash",
- full_name="lnrpc.Transaction.block_hash",
- index=3,
- number=4,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="block_height",
- full_name="lnrpc.Transaction.block_height",
- index=4,
- number=5,
- type=5,
- cpp_type=1,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="time_stamp",
- full_name="lnrpc.Transaction.time_stamp",
- index=5,
- number=6,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="total_fees",
- full_name="lnrpc.Transaction.total_fees",
- index=6,
- number=7,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="dest_addresses",
- full_name="lnrpc.Transaction.dest_addresses",
- index=7,
- number=8,
- type=9,
- cpp_type=9,
- label=3,
- has_default_value=False,
- default_value=[],
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="raw_tx_hex",
- full_name="lnrpc.Transaction.raw_tx_hex",
- index=8,
- number=9,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="label",
- full_name="lnrpc.Transaction.label",
- index=9,
- number=10,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=384,
- serialized_end=598,
-)
-
-
-_GETTRANSACTIONSREQUEST = _descriptor.Descriptor(
- name="GetTransactionsRequest",
- full_name="lnrpc.GetTransactionsRequest",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="start_height",
- full_name="lnrpc.GetTransactionsRequest.start_height",
- index=0,
- number=1,
- type=5,
- cpp_type=1,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="end_height",
- full_name="lnrpc.GetTransactionsRequest.end_height",
- index=1,
- number=2,
- type=5,
- cpp_type=1,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="account",
- full_name="lnrpc.GetTransactionsRequest.account",
- index=2,
- number=3,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=600,
- serialized_end=683,
-)
-
-
-_TRANSACTIONDETAILS = _descriptor.Descriptor(
- name="TransactionDetails",
- full_name="lnrpc.TransactionDetails",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="transactions",
- full_name="lnrpc.TransactionDetails.transactions",
- index=0,
- number=1,
- type=11,
- cpp_type=10,
- label=3,
- has_default_value=False,
- default_value=[],
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- )
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=685,
- serialized_end=747,
-)
-
-
-_FEELIMIT = _descriptor.Descriptor(
- name="FeeLimit",
- full_name="lnrpc.FeeLimit",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="fixed",
- full_name="lnrpc.FeeLimit.fixed",
- index=0,
- number=1,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="fixed_msat",
- full_name="lnrpc.FeeLimit.fixed_msat",
- index=1,
- number=3,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="percent",
- full_name="lnrpc.FeeLimit.percent",
- index=2,
- number=2,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[
- _descriptor.OneofDescriptor(
- name="limit",
- full_name="lnrpc.FeeLimit.limit",
- index=0,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[],
- )
- ],
- serialized_start=749,
- serialized_end=826,
-)
-
-
-_SENDREQUEST_DESTCUSTOMRECORDSENTRY = _descriptor.Descriptor(
- name="DestCustomRecordsEntry",
- full_name="lnrpc.SendRequest.DestCustomRecordsEntry",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="key",
- full_name="lnrpc.SendRequest.DestCustomRecordsEntry.key",
- index=0,
- number=1,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="value",
- full_name="lnrpc.SendRequest.DestCustomRecordsEntry.value",
- index=1,
- number=2,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=b"8\001",
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=1295,
- serialized_end=1351,
-)
-
-_SENDREQUEST = _descriptor.Descriptor(
- name="SendRequest",
- full_name="lnrpc.SendRequest",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="dest",
- full_name="lnrpc.SendRequest.dest",
- index=0,
- number=1,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="dest_string",
- full_name="lnrpc.SendRequest.dest_string",
- index=1,
- number=2,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=b"\030\001",
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="amt",
- full_name="lnrpc.SendRequest.amt",
- index=2,
- number=3,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="amt_msat",
- full_name="lnrpc.SendRequest.amt_msat",
- index=3,
- number=12,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="payment_hash",
- full_name="lnrpc.SendRequest.payment_hash",
- index=4,
- number=4,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="payment_hash_string",
- full_name="lnrpc.SendRequest.payment_hash_string",
- index=5,
- number=5,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=b"\030\001",
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="payment_request",
- full_name="lnrpc.SendRequest.payment_request",
- index=6,
- number=6,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="final_cltv_delta",
- full_name="lnrpc.SendRequest.final_cltv_delta",
- index=7,
- number=7,
- type=5,
- cpp_type=1,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="fee_limit",
- full_name="lnrpc.SendRequest.fee_limit",
- index=8,
- number=8,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="outgoing_chan_id",
- full_name="lnrpc.SendRequest.outgoing_chan_id",
- index=9,
- number=9,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=b"0\001",
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="last_hop_pubkey",
- full_name="lnrpc.SendRequest.last_hop_pubkey",
- index=10,
- number=13,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="cltv_limit",
- full_name="lnrpc.SendRequest.cltv_limit",
- index=11,
- number=10,
- type=13,
- cpp_type=3,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="dest_custom_records",
- full_name="lnrpc.SendRequest.dest_custom_records",
- index=12,
- number=11,
- type=11,
- cpp_type=10,
- label=3,
- has_default_value=False,
- default_value=[],
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="allow_self_payment",
- full_name="lnrpc.SendRequest.allow_self_payment",
- index=13,
- number=14,
- type=8,
- cpp_type=7,
- label=1,
- has_default_value=False,
- default_value=False,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="dest_features",
- full_name="lnrpc.SendRequest.dest_features",
- index=14,
- number=15,
- type=14,
- cpp_type=8,
- label=3,
- has_default_value=False,
- default_value=[],
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="payment_addr",
- full_name="lnrpc.SendRequest.payment_addr",
- index=15,
- number=16,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[_SENDREQUEST_DESTCUSTOMRECORDSENTRY],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=829,
- serialized_end=1351,
-)
-
-
-_SENDRESPONSE = _descriptor.Descriptor(
- name="SendResponse",
- full_name="lnrpc.SendResponse",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="payment_error",
- full_name="lnrpc.SendResponse.payment_error",
- index=0,
- number=1,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="payment_preimage",
- full_name="lnrpc.SendResponse.payment_preimage",
- index=1,
- number=2,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="payment_route",
- full_name="lnrpc.SendResponse.payment_route",
- index=2,
- number=3,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="payment_hash",
- full_name="lnrpc.SendResponse.payment_hash",
- index=3,
- number=4,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=1353,
- serialized_end=1475,
-)
-
-
-_SENDTOROUTEREQUEST = _descriptor.Descriptor(
- name="SendToRouteRequest",
- full_name="lnrpc.SendToRouteRequest",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="payment_hash",
- full_name="lnrpc.SendToRouteRequest.payment_hash",
- index=0,
- number=1,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="payment_hash_string",
- full_name="lnrpc.SendToRouteRequest.payment_hash_string",
- index=1,
- number=2,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=b"\030\001",
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="route",
- full_name="lnrpc.SendToRouteRequest.route",
- index=2,
- number=4,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=1477,
- serialized_end=1587,
-)
-
-
-_CHANNELACCEPTREQUEST = _descriptor.Descriptor(
- name="ChannelAcceptRequest",
- full_name="lnrpc.ChannelAcceptRequest",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="node_pubkey",
- full_name="lnrpc.ChannelAcceptRequest.node_pubkey",
- index=0,
- number=1,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="chain_hash",
- full_name="lnrpc.ChannelAcceptRequest.chain_hash",
- index=1,
- number=2,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="pending_chan_id",
- full_name="lnrpc.ChannelAcceptRequest.pending_chan_id",
- index=2,
- number=3,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="funding_amt",
- full_name="lnrpc.ChannelAcceptRequest.funding_amt",
- index=3,
- number=4,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="push_amt",
- full_name="lnrpc.ChannelAcceptRequest.push_amt",
- index=4,
- number=5,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="dust_limit",
- full_name="lnrpc.ChannelAcceptRequest.dust_limit",
- index=5,
- number=6,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="max_value_in_flight",
- full_name="lnrpc.ChannelAcceptRequest.max_value_in_flight",
- index=6,
- number=7,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="channel_reserve",
- full_name="lnrpc.ChannelAcceptRequest.channel_reserve",
- index=7,
- number=8,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="min_htlc",
- full_name="lnrpc.ChannelAcceptRequest.min_htlc",
- index=8,
- number=9,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="fee_per_kw",
- full_name="lnrpc.ChannelAcceptRequest.fee_per_kw",
- index=9,
- number=10,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="csv_delay",
- full_name="lnrpc.ChannelAcceptRequest.csv_delay",
- index=10,
- number=11,
- type=13,
- cpp_type=3,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="max_accepted_htlcs",
- full_name="lnrpc.ChannelAcceptRequest.max_accepted_htlcs",
- index=11,
- number=12,
- type=13,
- cpp_type=3,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="channel_flags",
- full_name="lnrpc.ChannelAcceptRequest.channel_flags",
- index=12,
- number=13,
- type=13,
- cpp_type=3,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="commitment_type",
- full_name="lnrpc.ChannelAcceptRequest.commitment_type",
- index=13,
- number=14,
- type=14,
- cpp_type=8,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=1590,
- serialized_end=1947,
-)
-
-
-_CHANNELACCEPTRESPONSE = _descriptor.Descriptor(
- name="ChannelAcceptResponse",
- full_name="lnrpc.ChannelAcceptResponse",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="accept",
- full_name="lnrpc.ChannelAcceptResponse.accept",
- index=0,
- number=1,
- type=8,
- cpp_type=7,
- label=1,
- has_default_value=False,
- default_value=False,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="pending_chan_id",
- full_name="lnrpc.ChannelAcceptResponse.pending_chan_id",
- index=1,
- number=2,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="error",
- full_name="lnrpc.ChannelAcceptResponse.error",
- index=2,
- number=3,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="upfront_shutdown",
- full_name="lnrpc.ChannelAcceptResponse.upfront_shutdown",
- index=3,
- number=4,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="csv_delay",
- full_name="lnrpc.ChannelAcceptResponse.csv_delay",
- index=4,
- number=5,
- type=13,
- cpp_type=3,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="reserve_sat",
- full_name="lnrpc.ChannelAcceptResponse.reserve_sat",
- index=5,
- number=6,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="in_flight_max_msat",
- full_name="lnrpc.ChannelAcceptResponse.in_flight_max_msat",
- index=6,
- number=7,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="max_htlc_count",
- full_name="lnrpc.ChannelAcceptResponse.max_htlc_count",
- index=7,
- number=8,
- type=13,
- cpp_type=3,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="min_htlc_in",
- full_name="lnrpc.ChannelAcceptResponse.min_htlc_in",
- index=8,
- number=9,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="min_accept_depth",
- full_name="lnrpc.ChannelAcceptResponse.min_accept_depth",
- index=9,
- number=10,
- type=13,
- cpp_type=3,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=1950,
- serialized_end=2194,
-)
-
-
-_CHANNELPOINT = _descriptor.Descriptor(
- name="ChannelPoint",
- full_name="lnrpc.ChannelPoint",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="funding_txid_bytes",
- full_name="lnrpc.ChannelPoint.funding_txid_bytes",
- index=0,
- number=1,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="funding_txid_str",
- full_name="lnrpc.ChannelPoint.funding_txid_str",
- index=1,
- number=2,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="output_index",
- full_name="lnrpc.ChannelPoint.output_index",
- index=2,
- number=3,
- type=13,
- cpp_type=3,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[
- _descriptor.OneofDescriptor(
- name="funding_txid",
- full_name="lnrpc.ChannelPoint.funding_txid",
- index=0,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[],
- )
- ],
- serialized_start=2196,
- serialized_end=2306,
-)
-
-
-_OUTPOINT = _descriptor.Descriptor(
- name="OutPoint",
- full_name="lnrpc.OutPoint",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="txid_bytes",
- full_name="lnrpc.OutPoint.txid_bytes",
- index=0,
- number=1,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="txid_str",
- full_name="lnrpc.OutPoint.txid_str",
- index=1,
- number=2,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="output_index",
- full_name="lnrpc.OutPoint.output_index",
- index=2,
- number=3,
- type=13,
- cpp_type=3,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=2308,
- serialized_end=2378,
-)
-
-
-_LIGHTNINGADDRESS = _descriptor.Descriptor(
- name="LightningAddress",
- full_name="lnrpc.LightningAddress",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="pubkey",
- full_name="lnrpc.LightningAddress.pubkey",
- index=0,
- number=1,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="host",
- full_name="lnrpc.LightningAddress.host",
- index=1,
- number=2,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=2380,
- serialized_end=2428,
-)
-
-
-_ESTIMATEFEEREQUEST_ADDRTOAMOUNTENTRY = _descriptor.Descriptor(
- name="AddrToAmountEntry",
- full_name="lnrpc.EstimateFeeRequest.AddrToAmountEntry",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="key",
- full_name="lnrpc.EstimateFeeRequest.AddrToAmountEntry.key",
- index=0,
- number=1,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="value",
- full_name="lnrpc.EstimateFeeRequest.AddrToAmountEntry.value",
- index=1,
- number=2,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=b"8\001",
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=2587,
- serialized_end=2638,
-)
-
-_ESTIMATEFEEREQUEST = _descriptor.Descriptor(
- name="EstimateFeeRequest",
- full_name="lnrpc.EstimateFeeRequest",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="AddrToAmount",
- full_name="lnrpc.EstimateFeeRequest.AddrToAmount",
- index=0,
- number=1,
- type=11,
- cpp_type=10,
- label=3,
- has_default_value=False,
- default_value=[],
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="target_conf",
- full_name="lnrpc.EstimateFeeRequest.target_conf",
- index=1,
- number=2,
- type=5,
- cpp_type=1,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="min_confs",
- full_name="lnrpc.EstimateFeeRequest.min_confs",
- index=2,
- number=3,
- type=5,
- cpp_type=1,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="spend_unconfirmed",
- full_name="lnrpc.EstimateFeeRequest.spend_unconfirmed",
- index=3,
- number=4,
- type=8,
- cpp_type=7,
- label=1,
- has_default_value=False,
- default_value=False,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[_ESTIMATEFEEREQUEST_ADDRTOAMOUNTENTRY],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=2431,
- serialized_end=2638,
-)
-
-
-_ESTIMATEFEERESPONSE = _descriptor.Descriptor(
- name="EstimateFeeResponse",
- full_name="lnrpc.EstimateFeeResponse",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="fee_sat",
- full_name="lnrpc.EstimateFeeResponse.fee_sat",
- index=0,
- number=1,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="feerate_sat_per_byte",
- full_name="lnrpc.EstimateFeeResponse.feerate_sat_per_byte",
- index=1,
- number=2,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=b"\030\001",
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="sat_per_vbyte",
- full_name="lnrpc.EstimateFeeResponse.sat_per_vbyte",
- index=2,
- number=3,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=2640,
- serialized_end=2735,
-)
-
-
-_SENDMANYREQUEST_ADDRTOAMOUNTENTRY = _descriptor.Descriptor(
- name="AddrToAmountEntry",
- full_name="lnrpc.SendManyRequest.AddrToAmountEntry",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="key",
- full_name="lnrpc.SendManyRequest.AddrToAmountEntry.key",
- index=0,
- number=1,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="value",
- full_name="lnrpc.SendManyRequest.AddrToAmountEntry.value",
- index=1,
- number=2,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=b"8\001",
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=2587,
- serialized_end=2638,
-)
-
-_SENDMANYREQUEST = _descriptor.Descriptor(
- name="SendManyRequest",
- full_name="lnrpc.SendManyRequest",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="AddrToAmount",
- full_name="lnrpc.SendManyRequest.AddrToAmount",
- index=0,
- number=1,
- type=11,
- cpp_type=10,
- label=3,
- has_default_value=False,
- default_value=[],
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="target_conf",
- full_name="lnrpc.SendManyRequest.target_conf",
- index=1,
- number=3,
- type=5,
- cpp_type=1,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="sat_per_vbyte",
- full_name="lnrpc.SendManyRequest.sat_per_vbyte",
- index=2,
- number=4,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="sat_per_byte",
- full_name="lnrpc.SendManyRequest.sat_per_byte",
- index=3,
- number=5,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=b"\030\001",
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="label",
- full_name="lnrpc.SendManyRequest.label",
- index=4,
- number=6,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="min_confs",
- full_name="lnrpc.SendManyRequest.min_confs",
- index=5,
- number=7,
- type=5,
- cpp_type=1,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="spend_unconfirmed",
- full_name="lnrpc.SendManyRequest.spend_unconfirmed",
- index=6,
- number=8,
- type=8,
- cpp_type=7,
- label=1,
- has_default_value=False,
- default_value=False,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[_SENDMANYREQUEST_ADDRTOAMOUNTENTRY],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=2738,
- serialized_end=3003,
-)
-
-
-_SENDMANYRESPONSE = _descriptor.Descriptor(
- name="SendManyResponse",
- full_name="lnrpc.SendManyResponse",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="txid",
- full_name="lnrpc.SendManyResponse.txid",
- index=0,
- number=1,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- )
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=3005,
- serialized_end=3037,
-)
-
-
-_SENDCOINSREQUEST = _descriptor.Descriptor(
- name="SendCoinsRequest",
- full_name="lnrpc.SendCoinsRequest",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="addr",
- full_name="lnrpc.SendCoinsRequest.addr",
- index=0,
- number=1,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="amount",
- full_name="lnrpc.SendCoinsRequest.amount",
- index=1,
- number=2,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="target_conf",
- full_name="lnrpc.SendCoinsRequest.target_conf",
- index=2,
- number=3,
- type=5,
- cpp_type=1,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="sat_per_vbyte",
- full_name="lnrpc.SendCoinsRequest.sat_per_vbyte",
- index=3,
- number=4,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="sat_per_byte",
- full_name="lnrpc.SendCoinsRequest.sat_per_byte",
- index=4,
- number=5,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=b"\030\001",
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="send_all",
- full_name="lnrpc.SendCoinsRequest.send_all",
- index=5,
- number=6,
- type=8,
- cpp_type=7,
- label=1,
- has_default_value=False,
- default_value=False,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="label",
- full_name="lnrpc.SendCoinsRequest.label",
- index=6,
- number=7,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="min_confs",
- full_name="lnrpc.SendCoinsRequest.min_confs",
- index=7,
- number=8,
- type=5,
- cpp_type=1,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="spend_unconfirmed",
- full_name="lnrpc.SendCoinsRequest.spend_unconfirmed",
- index=8,
- number=9,
- type=8,
- cpp_type=7,
- label=1,
- has_default_value=False,
- default_value=False,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=3040,
- serialized_end=3237,
-)
-
-
-_SENDCOINSRESPONSE = _descriptor.Descriptor(
- name="SendCoinsResponse",
- full_name="lnrpc.SendCoinsResponse",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="txid",
- full_name="lnrpc.SendCoinsResponse.txid",
- index=0,
- number=1,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- )
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=3239,
- serialized_end=3272,
-)
-
-
-_LISTUNSPENTREQUEST = _descriptor.Descriptor(
- name="ListUnspentRequest",
- full_name="lnrpc.ListUnspentRequest",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="min_confs",
- full_name="lnrpc.ListUnspentRequest.min_confs",
- index=0,
- number=1,
- type=5,
- cpp_type=1,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="max_confs",
- full_name="lnrpc.ListUnspentRequest.max_confs",
- index=1,
- number=2,
- type=5,
- cpp_type=1,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="account",
- full_name="lnrpc.ListUnspentRequest.account",
- index=2,
- number=3,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=3274,
- serialized_end=3349,
-)
-
-
-_LISTUNSPENTRESPONSE = _descriptor.Descriptor(
- name="ListUnspentResponse",
- full_name="lnrpc.ListUnspentResponse",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="utxos",
- full_name="lnrpc.ListUnspentResponse.utxos",
- index=0,
- number=1,
- type=11,
- cpp_type=10,
- label=3,
- has_default_value=False,
- default_value=[],
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- )
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=3351,
- serialized_end=3400,
-)
-
-
-_NEWADDRESSREQUEST = _descriptor.Descriptor(
- name="NewAddressRequest",
- full_name="lnrpc.NewAddressRequest",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="type",
- full_name="lnrpc.NewAddressRequest.type",
- index=0,
- number=1,
- type=14,
- cpp_type=8,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="account",
- full_name="lnrpc.NewAddressRequest.account",
- index=1,
- number=2,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=3402,
- serialized_end=3472,
-)
-
-
-_NEWADDRESSRESPONSE = _descriptor.Descriptor(
- name="NewAddressResponse",
- full_name="lnrpc.NewAddressResponse",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="address",
- full_name="lnrpc.NewAddressResponse.address",
- index=0,
- number=1,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- )
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=3474,
- serialized_end=3511,
-)
-
-
-_SIGNMESSAGEREQUEST = _descriptor.Descriptor(
- name="SignMessageRequest",
- full_name="lnrpc.SignMessageRequest",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="msg",
- full_name="lnrpc.SignMessageRequest.msg",
- index=0,
- number=1,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="single_hash",
- full_name="lnrpc.SignMessageRequest.single_hash",
- index=1,
- number=2,
- type=8,
- cpp_type=7,
- label=1,
- has_default_value=False,
- default_value=False,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=3513,
- serialized_end=3567,
-)
-
-
-_SIGNMESSAGERESPONSE = _descriptor.Descriptor(
- name="SignMessageResponse",
- full_name="lnrpc.SignMessageResponse",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="signature",
- full_name="lnrpc.SignMessageResponse.signature",
- index=0,
- number=1,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- )
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=3569,
- serialized_end=3609,
-)
-
-
-_VERIFYMESSAGEREQUEST = _descriptor.Descriptor(
- name="VerifyMessageRequest",
- full_name="lnrpc.VerifyMessageRequest",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="msg",
- full_name="lnrpc.VerifyMessageRequest.msg",
- index=0,
- number=1,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="signature",
- full_name="lnrpc.VerifyMessageRequest.signature",
- index=1,
- number=2,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=3611,
- serialized_end=3665,
-)
-
-
-_VERIFYMESSAGERESPONSE = _descriptor.Descriptor(
- name="VerifyMessageResponse",
- full_name="lnrpc.VerifyMessageResponse",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="valid",
- full_name="lnrpc.VerifyMessageResponse.valid",
- index=0,
- number=1,
- type=8,
- cpp_type=7,
- label=1,
- has_default_value=False,
- default_value=False,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="pubkey",
- full_name="lnrpc.VerifyMessageResponse.pubkey",
- index=1,
- number=2,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=3667,
- serialized_end=3721,
-)
-
-
-_CONNECTPEERREQUEST = _descriptor.Descriptor(
- name="ConnectPeerRequest",
- full_name="lnrpc.ConnectPeerRequest",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="addr",
- full_name="lnrpc.ConnectPeerRequest.addr",
- index=0,
- number=1,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="perm",
- full_name="lnrpc.ConnectPeerRequest.perm",
- index=1,
- number=2,
- type=8,
- cpp_type=7,
- label=1,
- has_default_value=False,
- default_value=False,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="timeout",
- full_name="lnrpc.ConnectPeerRequest.timeout",
- index=2,
- number=3,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=3723,
- serialized_end=3813,
-)
-
-
-_CONNECTPEERRESPONSE = _descriptor.Descriptor(
- name="ConnectPeerResponse",
- full_name="lnrpc.ConnectPeerResponse",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=3815,
- serialized_end=3836,
-)
-
-
-_DISCONNECTPEERREQUEST = _descriptor.Descriptor(
- name="DisconnectPeerRequest",
- full_name="lnrpc.DisconnectPeerRequest",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="pub_key",
- full_name="lnrpc.DisconnectPeerRequest.pub_key",
- index=0,
- number=1,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- )
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=3838,
- serialized_end=3878,
-)
-
-
-_DISCONNECTPEERRESPONSE = _descriptor.Descriptor(
- name="DisconnectPeerResponse",
- full_name="lnrpc.DisconnectPeerResponse",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=3880,
- serialized_end=3904,
-)
-
-
-_HTLC = _descriptor.Descriptor(
- name="HTLC",
- full_name="lnrpc.HTLC",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="incoming",
- full_name="lnrpc.HTLC.incoming",
- index=0,
- number=1,
- type=8,
- cpp_type=7,
- label=1,
- has_default_value=False,
- default_value=False,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="amount",
- full_name="lnrpc.HTLC.amount",
- index=1,
- number=2,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="hash_lock",
- full_name="lnrpc.HTLC.hash_lock",
- index=2,
- number=3,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="expiration_height",
- full_name="lnrpc.HTLC.expiration_height",
- index=3,
- number=4,
- type=13,
- cpp_type=3,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="htlc_index",
- full_name="lnrpc.HTLC.htlc_index",
- index=4,
- number=5,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="forwarding_channel",
- full_name="lnrpc.HTLC.forwarding_channel",
- index=5,
- number=6,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="forwarding_htlc_index",
- full_name="lnrpc.HTLC.forwarding_htlc_index",
- index=6,
- number=7,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=3907,
- serialized_end=4072,
-)
-
-
-_CHANNELCONSTRAINTS = _descriptor.Descriptor(
- name="ChannelConstraints",
- full_name="lnrpc.ChannelConstraints",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="csv_delay",
- full_name="lnrpc.ChannelConstraints.csv_delay",
- index=0,
- number=1,
- type=13,
- cpp_type=3,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="chan_reserve_sat",
- full_name="lnrpc.ChannelConstraints.chan_reserve_sat",
- index=1,
- number=2,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="dust_limit_sat",
- full_name="lnrpc.ChannelConstraints.dust_limit_sat",
- index=2,
- number=3,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="max_pending_amt_msat",
- full_name="lnrpc.ChannelConstraints.max_pending_amt_msat",
- index=3,
- number=4,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="min_htlc_msat",
- full_name="lnrpc.ChannelConstraints.min_htlc_msat",
- index=4,
- number=5,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="max_accepted_htlcs",
- full_name="lnrpc.ChannelConstraints.max_accepted_htlcs",
- index=5,
- number=6,
- type=13,
- cpp_type=3,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=4075,
- serialized_end=4245,
-)
-
-
-_CHANNEL = _descriptor.Descriptor(
- name="Channel",
- full_name="lnrpc.Channel",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="active",
- full_name="lnrpc.Channel.active",
- index=0,
- number=1,
- type=8,
- cpp_type=7,
- label=1,
- has_default_value=False,
- default_value=False,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="remote_pubkey",
- full_name="lnrpc.Channel.remote_pubkey",
- index=1,
- number=2,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="channel_point",
- full_name="lnrpc.Channel.channel_point",
- index=2,
- number=3,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="chan_id",
- full_name="lnrpc.Channel.chan_id",
- index=3,
- number=4,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=b"0\001",
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="capacity",
- full_name="lnrpc.Channel.capacity",
- index=4,
- number=5,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="local_balance",
- full_name="lnrpc.Channel.local_balance",
- index=5,
- number=6,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="remote_balance",
- full_name="lnrpc.Channel.remote_balance",
- index=6,
- number=7,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="commit_fee",
- full_name="lnrpc.Channel.commit_fee",
- index=7,
- number=8,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="commit_weight",
- full_name="lnrpc.Channel.commit_weight",
- index=8,
- number=9,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="fee_per_kw",
- full_name="lnrpc.Channel.fee_per_kw",
- index=9,
- number=10,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="unsettled_balance",
- full_name="lnrpc.Channel.unsettled_balance",
- index=10,
- number=11,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="total_satoshis_sent",
- full_name="lnrpc.Channel.total_satoshis_sent",
- index=11,
- number=12,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="total_satoshis_received",
- full_name="lnrpc.Channel.total_satoshis_received",
- index=12,
- number=13,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="num_updates",
- full_name="lnrpc.Channel.num_updates",
- index=13,
- number=14,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="pending_htlcs",
- full_name="lnrpc.Channel.pending_htlcs",
- index=14,
- number=15,
- type=11,
- cpp_type=10,
- label=3,
- has_default_value=False,
- default_value=[],
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="csv_delay",
- full_name="lnrpc.Channel.csv_delay",
- index=15,
- number=16,
- type=13,
- cpp_type=3,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=b"\030\001",
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="private",
- full_name="lnrpc.Channel.private",
- index=16,
- number=17,
- type=8,
- cpp_type=7,
- label=1,
- has_default_value=False,
- default_value=False,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="initiator",
- full_name="lnrpc.Channel.initiator",
- index=17,
- number=18,
- type=8,
- cpp_type=7,
- label=1,
- has_default_value=False,
- default_value=False,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="chan_status_flags",
- full_name="lnrpc.Channel.chan_status_flags",
- index=18,
- number=19,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="local_chan_reserve_sat",
- full_name="lnrpc.Channel.local_chan_reserve_sat",
- index=19,
- number=20,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=b"\030\001",
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="remote_chan_reserve_sat",
- full_name="lnrpc.Channel.remote_chan_reserve_sat",
- index=20,
- number=21,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=b"\030\001",
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="static_remote_key",
- full_name="lnrpc.Channel.static_remote_key",
- index=21,
- number=22,
- type=8,
- cpp_type=7,
- label=1,
- has_default_value=False,
- default_value=False,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=b"\030\001",
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="commitment_type",
- full_name="lnrpc.Channel.commitment_type",
- index=22,
- number=26,
- type=14,
- cpp_type=8,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="lifetime",
- full_name="lnrpc.Channel.lifetime",
- index=23,
- number=23,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="uptime",
- full_name="lnrpc.Channel.uptime",
- index=24,
- number=24,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="close_address",
- full_name="lnrpc.Channel.close_address",
- index=25,
- number=25,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="push_amount_sat",
- full_name="lnrpc.Channel.push_amount_sat",
- index=26,
- number=27,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="thaw_height",
- full_name="lnrpc.Channel.thaw_height",
- index=27,
- number=28,
- type=13,
- cpp_type=3,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="local_constraints",
- full_name="lnrpc.Channel.local_constraints",
- index=28,
- number=29,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="remote_constraints",
- full_name="lnrpc.Channel.remote_constraints",
- index=29,
- number=30,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=4248,
- serialized_end=5064,
-)
-
-
-_LISTCHANNELSREQUEST = _descriptor.Descriptor(
- name="ListChannelsRequest",
- full_name="lnrpc.ListChannelsRequest",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="active_only",
- full_name="lnrpc.ListChannelsRequest.active_only",
- index=0,
- number=1,
- type=8,
- cpp_type=7,
- label=1,
- has_default_value=False,
- default_value=False,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="inactive_only",
- full_name="lnrpc.ListChannelsRequest.inactive_only",
- index=1,
- number=2,
- type=8,
- cpp_type=7,
- label=1,
- has_default_value=False,
- default_value=False,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="public_only",
- full_name="lnrpc.ListChannelsRequest.public_only",
- index=2,
- number=3,
- type=8,
- cpp_type=7,
- label=1,
- has_default_value=False,
- default_value=False,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="private_only",
- full_name="lnrpc.ListChannelsRequest.private_only",
- index=3,
- number=4,
- type=8,
- cpp_type=7,
- label=1,
- has_default_value=False,
- default_value=False,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="peer",
- full_name="lnrpc.ListChannelsRequest.peer",
- index=4,
- number=5,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=5066,
- serialized_end=5188,
-)
-
-
-_LISTCHANNELSRESPONSE = _descriptor.Descriptor(
- name="ListChannelsResponse",
- full_name="lnrpc.ListChannelsResponse",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="channels",
- full_name="lnrpc.ListChannelsResponse.channels",
- index=0,
- number=11,
- type=11,
- cpp_type=10,
- label=3,
- has_default_value=False,
- default_value=[],
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- )
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=5190,
- serialized_end=5246,
-)
-
-
-_CHANNELCLOSESUMMARY = _descriptor.Descriptor(
- name="ChannelCloseSummary",
- full_name="lnrpc.ChannelCloseSummary",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="channel_point",
- full_name="lnrpc.ChannelCloseSummary.channel_point",
- index=0,
- number=1,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="chan_id",
- full_name="lnrpc.ChannelCloseSummary.chan_id",
- index=1,
- number=2,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=b"0\001",
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="chain_hash",
- full_name="lnrpc.ChannelCloseSummary.chain_hash",
- index=2,
- number=3,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="closing_tx_hash",
- full_name="lnrpc.ChannelCloseSummary.closing_tx_hash",
- index=3,
- number=4,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="remote_pubkey",
- full_name="lnrpc.ChannelCloseSummary.remote_pubkey",
- index=4,
- number=5,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="capacity",
- full_name="lnrpc.ChannelCloseSummary.capacity",
- index=5,
- number=6,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="close_height",
- full_name="lnrpc.ChannelCloseSummary.close_height",
- index=6,
- number=7,
- type=13,
- cpp_type=3,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="settled_balance",
- full_name="lnrpc.ChannelCloseSummary.settled_balance",
- index=7,
- number=8,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="time_locked_balance",
- full_name="lnrpc.ChannelCloseSummary.time_locked_balance",
- index=8,
- number=9,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="close_type",
- full_name="lnrpc.ChannelCloseSummary.close_type",
- index=9,
- number=10,
- type=14,
- cpp_type=8,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="open_initiator",
- full_name="lnrpc.ChannelCloseSummary.open_initiator",
- index=10,
- number=11,
- type=14,
- cpp_type=8,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="close_initiator",
- full_name="lnrpc.ChannelCloseSummary.close_initiator",
- index=11,
- number=12,
- type=14,
- cpp_type=8,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="resolutions",
- full_name="lnrpc.ChannelCloseSummary.resolutions",
- index=12,
- number=13,
- type=11,
- cpp_type=10,
- label=3,
- has_default_value=False,
- default_value=[],
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[_CHANNELCLOSESUMMARY_CLOSURETYPE],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=5249,
- serialized_end=5802,
-)
-
-
-_RESOLUTION = _descriptor.Descriptor(
- name="Resolution",
- full_name="lnrpc.Resolution",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="resolution_type",
- full_name="lnrpc.Resolution.resolution_type",
- index=0,
- number=1,
- type=14,
- cpp_type=8,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="outcome",
- full_name="lnrpc.Resolution.outcome",
- index=1,
- number=2,
- type=14,
- cpp_type=8,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="outpoint",
- full_name="lnrpc.Resolution.outpoint",
- index=2,
- number=3,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="amount_sat",
- full_name="lnrpc.Resolution.amount_sat",
- index=3,
- number=4,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="sweep_txid",
- full_name="lnrpc.Resolution.sweep_txid",
- index=4,
- number=5,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=5805,
- serialized_end=5983,
-)
-
-
-_CLOSEDCHANNELSREQUEST = _descriptor.Descriptor(
- name="ClosedChannelsRequest",
- full_name="lnrpc.ClosedChannelsRequest",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="cooperative",
- full_name="lnrpc.ClosedChannelsRequest.cooperative",
- index=0,
- number=1,
- type=8,
- cpp_type=7,
- label=1,
- has_default_value=False,
- default_value=False,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="local_force",
- full_name="lnrpc.ClosedChannelsRequest.local_force",
- index=1,
- number=2,
- type=8,
- cpp_type=7,
- label=1,
- has_default_value=False,
- default_value=False,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="remote_force",
- full_name="lnrpc.ClosedChannelsRequest.remote_force",
- index=2,
- number=3,
- type=8,
- cpp_type=7,
- label=1,
- has_default_value=False,
- default_value=False,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="breach",
- full_name="lnrpc.ClosedChannelsRequest.breach",
- index=3,
- number=4,
- type=8,
- cpp_type=7,
- label=1,
- has_default_value=False,
- default_value=False,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="funding_canceled",
- full_name="lnrpc.ClosedChannelsRequest.funding_canceled",
- index=4,
- number=5,
- type=8,
- cpp_type=7,
- label=1,
- has_default_value=False,
- default_value=False,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="abandoned",
- full_name="lnrpc.ClosedChannelsRequest.abandoned",
- index=5,
- number=6,
- type=8,
- cpp_type=7,
- label=1,
- has_default_value=False,
- default_value=False,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=5986,
- serialized_end=6134,
-)
-
-
-_CLOSEDCHANNELSRESPONSE = _descriptor.Descriptor(
- name="ClosedChannelsResponse",
- full_name="lnrpc.ClosedChannelsResponse",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="channels",
- full_name="lnrpc.ClosedChannelsResponse.channels",
- index=0,
- number=1,
- type=11,
- cpp_type=10,
- label=3,
- has_default_value=False,
- default_value=[],
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- )
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=6136,
- serialized_end=6206,
-)
-
-
-_PEER_FEATURESENTRY = _descriptor.Descriptor(
- name="FeaturesEntry",
- full_name="lnrpc.Peer.FeaturesEntry",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="key",
- full_name="lnrpc.Peer.FeaturesEntry.key",
- index=0,
- number=1,
- type=13,
- cpp_type=3,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="value",
- full_name="lnrpc.Peer.FeaturesEntry.value",
- index=1,
- number=2,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=b"8\001",
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=6559,
- serialized_end=6622,
-)
-
-_PEER = _descriptor.Descriptor(
- name="Peer",
- full_name="lnrpc.Peer",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="pub_key",
- full_name="lnrpc.Peer.pub_key",
- index=0,
- number=1,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="address",
- full_name="lnrpc.Peer.address",
- index=1,
- number=3,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="bytes_sent",
- full_name="lnrpc.Peer.bytes_sent",
- index=2,
- number=4,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="bytes_recv",
- full_name="lnrpc.Peer.bytes_recv",
- index=3,
- number=5,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="sat_sent",
- full_name="lnrpc.Peer.sat_sent",
- index=4,
- number=6,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="sat_recv",
- full_name="lnrpc.Peer.sat_recv",
- index=5,
- number=7,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="inbound",
- full_name="lnrpc.Peer.inbound",
- index=6,
- number=8,
- type=8,
- cpp_type=7,
- label=1,
- has_default_value=False,
- default_value=False,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="ping_time",
- full_name="lnrpc.Peer.ping_time",
- index=7,
- number=9,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="sync_type",
- full_name="lnrpc.Peer.sync_type",
- index=8,
- number=10,
- type=14,
- cpp_type=8,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="features",
- full_name="lnrpc.Peer.features",
- index=9,
- number=11,
- type=11,
- cpp_type=10,
- label=3,
- has_default_value=False,
- default_value=[],
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="errors",
- full_name="lnrpc.Peer.errors",
- index=10,
- number=12,
- type=11,
- cpp_type=10,
- label=3,
- has_default_value=False,
- default_value=[],
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="flap_count",
- full_name="lnrpc.Peer.flap_count",
- index=11,
- number=13,
- type=5,
- cpp_type=1,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="last_flap_ns",
- full_name="lnrpc.Peer.last_flap_ns",
- index=12,
- number=14,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="last_ping_payload",
- full_name="lnrpc.Peer.last_ping_payload",
- index=13,
- number=15,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[_PEER_FEATURESENTRY],
- enum_types=[_PEER_SYNCTYPE],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=6209,
- serialized_end=6704,
-)
-
-
-_TIMESTAMPEDERROR = _descriptor.Descriptor(
- name="TimestampedError",
- full_name="lnrpc.TimestampedError",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="timestamp",
- full_name="lnrpc.TimestampedError.timestamp",
- index=0,
- number=1,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="error",
- full_name="lnrpc.TimestampedError.error",
- index=1,
- number=2,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=6706,
- serialized_end=6758,
-)
-
-
-_LISTPEERSREQUEST = _descriptor.Descriptor(
- name="ListPeersRequest",
- full_name="lnrpc.ListPeersRequest",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="latest_error",
- full_name="lnrpc.ListPeersRequest.latest_error",
- index=0,
- number=1,
- type=8,
- cpp_type=7,
- label=1,
- has_default_value=False,
- default_value=False,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- )
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=6760,
- serialized_end=6800,
-)
-
-
-_LISTPEERSRESPONSE = _descriptor.Descriptor(
- name="ListPeersResponse",
- full_name="lnrpc.ListPeersResponse",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="peers",
- full_name="lnrpc.ListPeersResponse.peers",
- index=0,
- number=1,
- type=11,
- cpp_type=10,
- label=3,
- has_default_value=False,
- default_value=[],
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- )
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=6802,
- serialized_end=6849,
-)
-
-
-_PEEREVENTSUBSCRIPTION = _descriptor.Descriptor(
- name="PeerEventSubscription",
- full_name="lnrpc.PeerEventSubscription",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=6851,
- serialized_end=6874,
-)
-
-
-_PEEREVENT = _descriptor.Descriptor(
- name="PeerEvent",
- full_name="lnrpc.PeerEvent",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="pub_key",
- full_name="lnrpc.PeerEvent.pub_key",
- index=0,
- number=1,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="type",
- full_name="lnrpc.PeerEvent.type",
- index=1,
- number=2,
- type=14,
- cpp_type=8,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[_PEEREVENT_EVENTTYPE],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=6876,
- serialized_end=6994,
-)
-
-
-_GETINFOREQUEST = _descriptor.Descriptor(
- name="GetInfoRequest",
- full_name="lnrpc.GetInfoRequest",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=6996,
- serialized_end=7012,
-)
-
-
-_GETINFORESPONSE_FEATURESENTRY = _descriptor.Descriptor(
- name="FeaturesEntry",
- full_name="lnrpc.GetInfoResponse.FeaturesEntry",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="key",
- full_name="lnrpc.GetInfoResponse.FeaturesEntry.key",
- index=0,
- number=1,
- type=13,
- cpp_type=3,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="value",
- full_name="lnrpc.GetInfoResponse.FeaturesEntry.value",
- index=1,
- number=2,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=b"8\001",
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=6559,
- serialized_end=6622,
-)
-
-_GETINFORESPONSE = _descriptor.Descriptor(
- name="GetInfoResponse",
- full_name="lnrpc.GetInfoResponse",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="version",
- full_name="lnrpc.GetInfoResponse.version",
- index=0,
- number=14,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="commit_hash",
- full_name="lnrpc.GetInfoResponse.commit_hash",
- index=1,
- number=20,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="identity_pubkey",
- full_name="lnrpc.GetInfoResponse.identity_pubkey",
- index=2,
- number=1,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="alias",
- full_name="lnrpc.GetInfoResponse.alias",
- index=3,
- number=2,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="color",
- full_name="lnrpc.GetInfoResponse.color",
- index=4,
- number=17,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="num_pending_channels",
- full_name="lnrpc.GetInfoResponse.num_pending_channels",
- index=5,
- number=3,
- type=13,
- cpp_type=3,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="num_active_channels",
- full_name="lnrpc.GetInfoResponse.num_active_channels",
- index=6,
- number=4,
- type=13,
- cpp_type=3,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="num_inactive_channels",
- full_name="lnrpc.GetInfoResponse.num_inactive_channels",
- index=7,
- number=15,
- type=13,
- cpp_type=3,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="num_peers",
- full_name="lnrpc.GetInfoResponse.num_peers",
- index=8,
- number=5,
- type=13,
- cpp_type=3,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="block_height",
- full_name="lnrpc.GetInfoResponse.block_height",
- index=9,
- number=6,
- type=13,
- cpp_type=3,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="block_hash",
- full_name="lnrpc.GetInfoResponse.block_hash",
- index=10,
- number=8,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="best_header_timestamp",
- full_name="lnrpc.GetInfoResponse.best_header_timestamp",
- index=11,
- number=13,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="synced_to_chain",
- full_name="lnrpc.GetInfoResponse.synced_to_chain",
- index=12,
- number=9,
- type=8,
- cpp_type=7,
- label=1,
- has_default_value=False,
- default_value=False,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="synced_to_graph",
- full_name="lnrpc.GetInfoResponse.synced_to_graph",
- index=13,
- number=18,
- type=8,
- cpp_type=7,
- label=1,
- has_default_value=False,
- default_value=False,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="testnet",
- full_name="lnrpc.GetInfoResponse.testnet",
- index=14,
- number=10,
- type=8,
- cpp_type=7,
- label=1,
- has_default_value=False,
- default_value=False,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=b"\030\001",
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="chains",
- full_name="lnrpc.GetInfoResponse.chains",
- index=15,
- number=16,
- type=11,
- cpp_type=10,
- label=3,
- has_default_value=False,
- default_value=[],
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="uris",
- full_name="lnrpc.GetInfoResponse.uris",
- index=16,
- number=12,
- type=9,
- cpp_type=9,
- label=3,
- has_default_value=False,
- default_value=[],
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="features",
- full_name="lnrpc.GetInfoResponse.features",
- index=17,
- number=19,
- type=11,
- cpp_type=10,
- label=3,
- has_default_value=False,
- default_value=[],
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[_GETINFORESPONSE_FEATURESENTRY],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=7015,
- serialized_end=7549,
-)
-
-
-_GETRECOVERYINFOREQUEST = _descriptor.Descriptor(
- name="GetRecoveryInfoRequest",
- full_name="lnrpc.GetRecoveryInfoRequest",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=7551,
- serialized_end=7575,
-)
-
-
-_GETRECOVERYINFORESPONSE = _descriptor.Descriptor(
- name="GetRecoveryInfoResponse",
- full_name="lnrpc.GetRecoveryInfoResponse",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="recovery_mode",
- full_name="lnrpc.GetRecoveryInfoResponse.recovery_mode",
- index=0,
- number=1,
- type=8,
- cpp_type=7,
- label=1,
- has_default_value=False,
- default_value=False,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="recovery_finished",
- full_name="lnrpc.GetRecoveryInfoResponse.recovery_finished",
- index=1,
- number=2,
- type=8,
- cpp_type=7,
- label=1,
- has_default_value=False,
- default_value=False,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="progress",
- full_name="lnrpc.GetRecoveryInfoResponse.progress",
- index=2,
- number=3,
- type=1,
- cpp_type=5,
- label=1,
- has_default_value=False,
- default_value=float(0),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=7577,
- serialized_end=7670,
-)
-
-
-_CHAIN = _descriptor.Descriptor(
- name="Chain",
- full_name="lnrpc.Chain",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="chain",
- full_name="lnrpc.Chain.chain",
- index=0,
- number=1,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="network",
- full_name="lnrpc.Chain.network",
- index=1,
- number=2,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=7672,
- serialized_end=7711,
-)
-
-
-_CONFIRMATIONUPDATE = _descriptor.Descriptor(
- name="ConfirmationUpdate",
- full_name="lnrpc.ConfirmationUpdate",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="block_sha",
- full_name="lnrpc.ConfirmationUpdate.block_sha",
- index=0,
- number=1,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="block_height",
- full_name="lnrpc.ConfirmationUpdate.block_height",
- index=1,
- number=2,
- type=5,
- cpp_type=1,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="num_confs_left",
- full_name="lnrpc.ConfirmationUpdate.num_confs_left",
- index=2,
- number=3,
- type=13,
- cpp_type=3,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=7713,
- serialized_end=7798,
-)
-
-
-_CHANNELOPENUPDATE = _descriptor.Descriptor(
- name="ChannelOpenUpdate",
- full_name="lnrpc.ChannelOpenUpdate",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="channel_point",
- full_name="lnrpc.ChannelOpenUpdate.channel_point",
- index=0,
- number=1,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- )
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=7800,
- serialized_end=7863,
-)
-
-
-_CHANNELCLOSEUPDATE = _descriptor.Descriptor(
- name="ChannelCloseUpdate",
- full_name="lnrpc.ChannelCloseUpdate",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="closing_txid",
- full_name="lnrpc.ChannelCloseUpdate.closing_txid",
- index=0,
- number=1,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="success",
- full_name="lnrpc.ChannelCloseUpdate.success",
- index=1,
- number=2,
- type=8,
- cpp_type=7,
- label=1,
- has_default_value=False,
- default_value=False,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=7865,
- serialized_end=7924,
-)
-
-
-_CLOSECHANNELREQUEST = _descriptor.Descriptor(
- name="CloseChannelRequest",
- full_name="lnrpc.CloseChannelRequest",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="channel_point",
- full_name="lnrpc.CloseChannelRequest.channel_point",
- index=0,
- number=1,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="force",
- full_name="lnrpc.CloseChannelRequest.force",
- index=1,
- number=2,
- type=8,
- cpp_type=7,
- label=1,
- has_default_value=False,
- default_value=False,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="target_conf",
- full_name="lnrpc.CloseChannelRequest.target_conf",
- index=2,
- number=3,
- type=5,
- cpp_type=1,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="sat_per_byte",
- full_name="lnrpc.CloseChannelRequest.sat_per_byte",
- index=3,
- number=4,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=b"\030\001",
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="delivery_address",
- full_name="lnrpc.CloseChannelRequest.delivery_address",
- index=4,
- number=5,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="sat_per_vbyte",
- full_name="lnrpc.CloseChannelRequest.sat_per_vbyte",
- index=5,
- number=6,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=7927,
- serialized_end=8103,
-)
-
-
-_CLOSESTATUSUPDATE = _descriptor.Descriptor(
- name="CloseStatusUpdate",
- full_name="lnrpc.CloseStatusUpdate",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="close_pending",
- full_name="lnrpc.CloseStatusUpdate.close_pending",
- index=0,
- number=1,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="chan_close",
- full_name="lnrpc.CloseStatusUpdate.chan_close",
- index=1,
- number=3,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[
- _descriptor.OneofDescriptor(
- name="update",
- full_name="lnrpc.CloseStatusUpdate.update",
- index=0,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[],
- )
- ],
- serialized_start=8105,
- serialized_end=8230,
-)
-
-
-_PENDINGUPDATE = _descriptor.Descriptor(
- name="PendingUpdate",
- full_name="lnrpc.PendingUpdate",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="txid",
- full_name="lnrpc.PendingUpdate.txid",
- index=0,
- number=1,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="output_index",
- full_name="lnrpc.PendingUpdate.output_index",
- index=1,
- number=2,
- type=13,
- cpp_type=3,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=8232,
- serialized_end=8283,
-)
-
-
-_READYFORPSBTFUNDING = _descriptor.Descriptor(
- name="ReadyForPsbtFunding",
- full_name="lnrpc.ReadyForPsbtFunding",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="funding_address",
- full_name="lnrpc.ReadyForPsbtFunding.funding_address",
- index=0,
- number=1,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="funding_amount",
- full_name="lnrpc.ReadyForPsbtFunding.funding_amount",
- index=1,
- number=2,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="psbt",
- full_name="lnrpc.ReadyForPsbtFunding.psbt",
- index=2,
- number=3,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=8285,
- serialized_end=8369,
-)
-
-
-_BATCHOPENCHANNELREQUEST = _descriptor.Descriptor(
- name="BatchOpenChannelRequest",
- full_name="lnrpc.BatchOpenChannelRequest",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="channels",
- full_name="lnrpc.BatchOpenChannelRequest.channels",
- index=0,
- number=1,
- type=11,
- cpp_type=10,
- label=3,
- has_default_value=False,
- default_value=[],
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="target_conf",
- full_name="lnrpc.BatchOpenChannelRequest.target_conf",
- index=1,
- number=2,
- type=5,
- cpp_type=1,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="sat_per_vbyte",
- full_name="lnrpc.BatchOpenChannelRequest.sat_per_vbyte",
- index=2,
- number=3,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="min_confs",
- full_name="lnrpc.BatchOpenChannelRequest.min_confs",
- index=3,
- number=4,
- type=5,
- cpp_type=1,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="spend_unconfirmed",
- full_name="lnrpc.BatchOpenChannelRequest.spend_unconfirmed",
- index=4,
- number=5,
- type=8,
- cpp_type=7,
- label=1,
- has_default_value=False,
- default_value=False,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="label",
- full_name="lnrpc.BatchOpenChannelRequest.label",
- index=5,
- number=6,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=8372,
- serialized_end=8545,
-)
-
-
-_BATCHOPENCHANNEL = _descriptor.Descriptor(
- name="BatchOpenChannel",
- full_name="lnrpc.BatchOpenChannel",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="node_pubkey",
- full_name="lnrpc.BatchOpenChannel.node_pubkey",
- index=0,
- number=1,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="local_funding_amount",
- full_name="lnrpc.BatchOpenChannel.local_funding_amount",
- index=1,
- number=2,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="push_sat",
- full_name="lnrpc.BatchOpenChannel.push_sat",
- index=2,
- number=3,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="private",
- full_name="lnrpc.BatchOpenChannel.private",
- index=3,
- number=4,
- type=8,
- cpp_type=7,
- label=1,
- has_default_value=False,
- default_value=False,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="min_htlc_msat",
- full_name="lnrpc.BatchOpenChannel.min_htlc_msat",
- index=4,
- number=5,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="remote_csv_delay",
- full_name="lnrpc.BatchOpenChannel.remote_csv_delay",
- index=5,
- number=6,
- type=13,
- cpp_type=3,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="close_address",
- full_name="lnrpc.BatchOpenChannel.close_address",
- index=6,
- number=7,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="pending_chan_id",
- full_name="lnrpc.BatchOpenChannel.pending_chan_id",
- index=7,
- number=8,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="commitment_type",
- full_name="lnrpc.BatchOpenChannel.commitment_type",
- index=8,
- number=9,
- type=14,
- cpp_type=8,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=8548,
- serialized_end=8797,
-)
-
-
-_BATCHOPENCHANNELRESPONSE = _descriptor.Descriptor(
- name="BatchOpenChannelResponse",
- full_name="lnrpc.BatchOpenChannelResponse",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="pending_channels",
- full_name="lnrpc.BatchOpenChannelResponse.pending_channels",
- index=0,
- number=1,
- type=11,
- cpp_type=10,
- label=3,
- has_default_value=False,
- default_value=[],
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- )
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=8799,
- serialized_end=8873,
-)
-
-
-_OPENCHANNELREQUEST = _descriptor.Descriptor(
- name="OpenChannelRequest",
- full_name="lnrpc.OpenChannelRequest",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="sat_per_vbyte",
- full_name="lnrpc.OpenChannelRequest.sat_per_vbyte",
- index=0,
- number=1,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="node_pubkey",
- full_name="lnrpc.OpenChannelRequest.node_pubkey",
- index=1,
- number=2,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="node_pubkey_string",
- full_name="lnrpc.OpenChannelRequest.node_pubkey_string",
- index=2,
- number=3,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=b"\030\001",
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="local_funding_amount",
- full_name="lnrpc.OpenChannelRequest.local_funding_amount",
- index=3,
- number=4,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="push_sat",
- full_name="lnrpc.OpenChannelRequest.push_sat",
- index=4,
- number=5,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="target_conf",
- full_name="lnrpc.OpenChannelRequest.target_conf",
- index=5,
- number=6,
- type=5,
- cpp_type=1,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="sat_per_byte",
- full_name="lnrpc.OpenChannelRequest.sat_per_byte",
- index=6,
- number=7,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=b"\030\001",
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="private",
- full_name="lnrpc.OpenChannelRequest.private",
- index=7,
- number=8,
- type=8,
- cpp_type=7,
- label=1,
- has_default_value=False,
- default_value=False,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="min_htlc_msat",
- full_name="lnrpc.OpenChannelRequest.min_htlc_msat",
- index=8,
- number=9,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="remote_csv_delay",
- full_name="lnrpc.OpenChannelRequest.remote_csv_delay",
- index=9,
- number=10,
- type=13,
- cpp_type=3,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="min_confs",
- full_name="lnrpc.OpenChannelRequest.min_confs",
- index=10,
- number=11,
- type=5,
- cpp_type=1,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="spend_unconfirmed",
- full_name="lnrpc.OpenChannelRequest.spend_unconfirmed",
- index=11,
- number=12,
- type=8,
- cpp_type=7,
- label=1,
- has_default_value=False,
- default_value=False,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="close_address",
- full_name="lnrpc.OpenChannelRequest.close_address",
- index=12,
- number=13,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="funding_shim",
- full_name="lnrpc.OpenChannelRequest.funding_shim",
- index=13,
- number=14,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="remote_max_value_in_flight_msat",
- full_name="lnrpc.OpenChannelRequest.remote_max_value_in_flight_msat",
- index=14,
- number=15,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="remote_max_htlcs",
- full_name="lnrpc.OpenChannelRequest.remote_max_htlcs",
- index=15,
- number=16,
- type=13,
- cpp_type=3,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="max_local_csv",
- full_name="lnrpc.OpenChannelRequest.max_local_csv",
- index=16,
- number=17,
- type=13,
- cpp_type=3,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="commitment_type",
- full_name="lnrpc.OpenChannelRequest.commitment_type",
- index=17,
- number=18,
- type=14,
- cpp_type=8,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=8876,
- serialized_end=9382,
-)
-
-
-_OPENSTATUSUPDATE = _descriptor.Descriptor(
- name="OpenStatusUpdate",
- full_name="lnrpc.OpenStatusUpdate",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="chan_pending",
- full_name="lnrpc.OpenStatusUpdate.chan_pending",
- index=0,
- number=1,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="chan_open",
- full_name="lnrpc.OpenStatusUpdate.chan_open",
- index=1,
- number=3,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="psbt_fund",
- full_name="lnrpc.OpenStatusUpdate.psbt_fund",
- index=2,
- number=5,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="pending_chan_id",
- full_name="lnrpc.OpenStatusUpdate.pending_chan_id",
- index=3,
- number=4,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[
- _descriptor.OneofDescriptor(
- name="update",
- full_name="lnrpc.OpenStatusUpdate.update",
- index=0,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[],
- )
- ],
- serialized_start=9385,
- serialized_end=9580,
-)
-
-
-_KEYLOCATOR = _descriptor.Descriptor(
- name="KeyLocator",
- full_name="lnrpc.KeyLocator",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="key_family",
- full_name="lnrpc.KeyLocator.key_family",
- index=0,
- number=1,
- type=5,
- cpp_type=1,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="key_index",
- full_name="lnrpc.KeyLocator.key_index",
- index=1,
- number=2,
- type=5,
- cpp_type=1,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=9582,
- serialized_end=9633,
-)
-
-
-_KEYDESCRIPTOR = _descriptor.Descriptor(
- name="KeyDescriptor",
- full_name="lnrpc.KeyDescriptor",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="raw_key_bytes",
- full_name="lnrpc.KeyDescriptor.raw_key_bytes",
- index=0,
- number=1,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="key_loc",
- full_name="lnrpc.KeyDescriptor.key_loc",
- index=1,
- number=2,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=9635,
- serialized_end=9709,
-)
-
-
-_CHANPOINTSHIM = _descriptor.Descriptor(
- name="ChanPointShim",
- full_name="lnrpc.ChanPointShim",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="amt",
- full_name="lnrpc.ChanPointShim.amt",
- index=0,
- number=1,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="chan_point",
- full_name="lnrpc.ChanPointShim.chan_point",
- index=1,
- number=2,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="local_key",
- full_name="lnrpc.ChanPointShim.local_key",
- index=2,
- number=3,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="remote_key",
- full_name="lnrpc.ChanPointShim.remote_key",
- index=3,
- number=4,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="pending_chan_id",
- full_name="lnrpc.ChanPointShim.pending_chan_id",
- index=4,
- number=5,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="thaw_height",
- full_name="lnrpc.ChanPointShim.thaw_height",
- index=5,
- number=6,
- type=13,
- cpp_type=3,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=9712,
- serialized_end=9888,
-)
-
-
-_PSBTSHIM = _descriptor.Descriptor(
- name="PsbtShim",
- full_name="lnrpc.PsbtShim",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="pending_chan_id",
- full_name="lnrpc.PsbtShim.pending_chan_id",
- index=0,
- number=1,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="base_psbt",
- full_name="lnrpc.PsbtShim.base_psbt",
- index=1,
- number=2,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="no_publish",
- full_name="lnrpc.PsbtShim.no_publish",
- index=2,
- number=3,
- type=8,
- cpp_type=7,
- label=1,
- has_default_value=False,
- default_value=False,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=9890,
- serialized_end=9964,
-)
-
-
-_FUNDINGSHIM = _descriptor.Descriptor(
- name="FundingShim",
- full_name="lnrpc.FundingShim",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="chan_point_shim",
- full_name="lnrpc.FundingShim.chan_point_shim",
- index=0,
- number=1,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="psbt_shim",
- full_name="lnrpc.FundingShim.psbt_shim",
- index=1,
- number=2,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[
- _descriptor.OneofDescriptor(
- name="shim",
- full_name="lnrpc.FundingShim.shim",
- index=0,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[],
- )
- ],
- serialized_start=9966,
- serialized_end=10074,
-)
-
-
-_FUNDINGSHIMCANCEL = _descriptor.Descriptor(
- name="FundingShimCancel",
- full_name="lnrpc.FundingShimCancel",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="pending_chan_id",
- full_name="lnrpc.FundingShimCancel.pending_chan_id",
- index=0,
- number=1,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- )
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=10076,
- serialized_end=10120,
-)
-
-
-_FUNDINGPSBTVERIFY = _descriptor.Descriptor(
- name="FundingPsbtVerify",
- full_name="lnrpc.FundingPsbtVerify",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="funded_psbt",
- full_name="lnrpc.FundingPsbtVerify.funded_psbt",
- index=0,
- number=1,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="pending_chan_id",
- full_name="lnrpc.FundingPsbtVerify.pending_chan_id",
- index=1,
- number=2,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="skip_finalize",
- full_name="lnrpc.FundingPsbtVerify.skip_finalize",
- index=2,
- number=3,
- type=8,
- cpp_type=7,
- label=1,
- has_default_value=False,
- default_value=False,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=10122,
- serialized_end=10210,
-)
-
-
-_FUNDINGPSBTFINALIZE = _descriptor.Descriptor(
- name="FundingPsbtFinalize",
- full_name="lnrpc.FundingPsbtFinalize",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="signed_psbt",
- full_name="lnrpc.FundingPsbtFinalize.signed_psbt",
- index=0,
- number=1,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="pending_chan_id",
- full_name="lnrpc.FundingPsbtFinalize.pending_chan_id",
- index=1,
- number=2,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="final_raw_tx",
- full_name="lnrpc.FundingPsbtFinalize.final_raw_tx",
- index=2,
- number=3,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=10212,
- serialized_end=10301,
-)
-
-
-_FUNDINGTRANSITIONMSG = _descriptor.Descriptor(
- name="FundingTransitionMsg",
- full_name="lnrpc.FundingTransitionMsg",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="shim_register",
- full_name="lnrpc.FundingTransitionMsg.shim_register",
- index=0,
- number=1,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="shim_cancel",
- full_name="lnrpc.FundingTransitionMsg.shim_cancel",
- index=1,
- number=2,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="psbt_verify",
- full_name="lnrpc.FundingTransitionMsg.psbt_verify",
- index=2,
- number=3,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="psbt_finalize",
- full_name="lnrpc.FundingTransitionMsg.psbt_finalize",
- index=3,
- number=4,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[
- _descriptor.OneofDescriptor(
- name="trigger",
- full_name="lnrpc.FundingTransitionMsg.trigger",
- index=0,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[],
- )
- ],
- serialized_start=10304,
- serialized_end=10533,
-)
-
-
-_FUNDINGSTATESTEPRESP = _descriptor.Descriptor(
- name="FundingStateStepResp",
- full_name="lnrpc.FundingStateStepResp",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=10535,
- serialized_end=10557,
-)
-
-
-_PENDINGHTLC = _descriptor.Descriptor(
- name="PendingHTLC",
- full_name="lnrpc.PendingHTLC",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="incoming",
- full_name="lnrpc.PendingHTLC.incoming",
- index=0,
- number=1,
- type=8,
- cpp_type=7,
- label=1,
- has_default_value=False,
- default_value=False,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="amount",
- full_name="lnrpc.PendingHTLC.amount",
- index=1,
- number=2,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="outpoint",
- full_name="lnrpc.PendingHTLC.outpoint",
- index=2,
- number=3,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="maturity_height",
- full_name="lnrpc.PendingHTLC.maturity_height",
- index=3,
- number=4,
- type=13,
- cpp_type=3,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="blocks_til_maturity",
- full_name="lnrpc.PendingHTLC.blocks_til_maturity",
- index=4,
- number=5,
- type=5,
- cpp_type=1,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="stage",
- full_name="lnrpc.PendingHTLC.stage",
- index=5,
- number=6,
- type=13,
- cpp_type=3,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=10560,
- serialized_end=10694,
-)
-
-
-_PENDINGCHANNELSREQUEST = _descriptor.Descriptor(
- name="PendingChannelsRequest",
- full_name="lnrpc.PendingChannelsRequest",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=10696,
- serialized_end=10720,
-)
-
-
-_PENDINGCHANNELSRESPONSE_PENDINGCHANNEL = _descriptor.Descriptor(
- name="PendingChannel",
- full_name="lnrpc.PendingChannelsResponse.PendingChannel",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="remote_node_pub",
- full_name="lnrpc.PendingChannelsResponse.PendingChannel.remote_node_pub",
- index=0,
- number=1,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="channel_point",
- full_name="lnrpc.PendingChannelsResponse.PendingChannel.channel_point",
- index=1,
- number=2,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="capacity",
- full_name="lnrpc.PendingChannelsResponse.PendingChannel.capacity",
- index=2,
- number=3,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="local_balance",
- full_name="lnrpc.PendingChannelsResponse.PendingChannel.local_balance",
- index=3,
- number=4,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="remote_balance",
- full_name="lnrpc.PendingChannelsResponse.PendingChannel.remote_balance",
- index=4,
- number=5,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="local_chan_reserve_sat",
- full_name="lnrpc.PendingChannelsResponse.PendingChannel.local_chan_reserve_sat",
- index=5,
- number=6,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="remote_chan_reserve_sat",
- full_name="lnrpc.PendingChannelsResponse.PendingChannel.remote_chan_reserve_sat",
- index=6,
- number=7,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="initiator",
- full_name="lnrpc.PendingChannelsResponse.PendingChannel.initiator",
- index=7,
- number=8,
- type=14,
- cpp_type=8,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="commitment_type",
- full_name="lnrpc.PendingChannelsResponse.PendingChannel.commitment_type",
- index=8,
- number=9,
- type=14,
- cpp_type=8,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="num_forwarding_packages",
- full_name="lnrpc.PendingChannelsResponse.PendingChannel.num_forwarding_packages",
- index=9,
- number=10,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=11121,
- serialized_end=11433,
-)
-
-_PENDINGCHANNELSRESPONSE_PENDINGOPENCHANNEL = _descriptor.Descriptor(
- name="PendingOpenChannel",
- full_name="lnrpc.PendingChannelsResponse.PendingOpenChannel",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="channel",
- full_name="lnrpc.PendingChannelsResponse.PendingOpenChannel.channel",
- index=0,
- number=1,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="confirmation_height",
- full_name="lnrpc.PendingChannelsResponse.PendingOpenChannel.confirmation_height",
- index=1,
- number=2,
- type=13,
- cpp_type=3,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="commit_fee",
- full_name="lnrpc.PendingChannelsResponse.PendingOpenChannel.commit_fee",
- index=2,
- number=4,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="commit_weight",
- full_name="lnrpc.PendingChannelsResponse.PendingOpenChannel.commit_weight",
- index=3,
- number=5,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="fee_per_kw",
- full_name="lnrpc.PendingChannelsResponse.PendingOpenChannel.fee_per_kw",
- index=4,
- number=6,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=11436,
- serialized_end=11612,
-)
-
-_PENDINGCHANNELSRESPONSE_WAITINGCLOSECHANNEL = _descriptor.Descriptor(
- name="WaitingCloseChannel",
- full_name="lnrpc.PendingChannelsResponse.WaitingCloseChannel",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="channel",
- full_name="lnrpc.PendingChannelsResponse.WaitingCloseChannel.channel",
- index=0,
- number=1,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="limbo_balance",
- full_name="lnrpc.PendingChannelsResponse.WaitingCloseChannel.limbo_balance",
- index=1,
- number=2,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="commitments",
- full_name="lnrpc.PendingChannelsResponse.WaitingCloseChannel.commitments",
- index=2,
- number=3,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=11615,
- serialized_end=11788,
-)
-
-_PENDINGCHANNELSRESPONSE_COMMITMENTS = _descriptor.Descriptor(
- name="Commitments",
- full_name="lnrpc.PendingChannelsResponse.Commitments",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="local_txid",
- full_name="lnrpc.PendingChannelsResponse.Commitments.local_txid",
- index=0,
- number=1,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="remote_txid",
- full_name="lnrpc.PendingChannelsResponse.Commitments.remote_txid",
- index=1,
- number=2,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="remote_pending_txid",
- full_name="lnrpc.PendingChannelsResponse.Commitments.remote_pending_txid",
- index=2,
- number=3,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="local_commit_fee_sat",
- full_name="lnrpc.PendingChannelsResponse.Commitments.local_commit_fee_sat",
- index=3,
- number=4,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="remote_commit_fee_sat",
- full_name="lnrpc.PendingChannelsResponse.Commitments.remote_commit_fee_sat",
- index=4,
- number=5,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="remote_pending_commit_fee_sat",
- full_name="lnrpc.PendingChannelsResponse.Commitments.remote_pending_commit_fee_sat",
- index=5,
- number=6,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=11791,
- serialized_end=11974,
-)
-
-_PENDINGCHANNELSRESPONSE_CLOSEDCHANNEL = _descriptor.Descriptor(
- name="ClosedChannel",
- full_name="lnrpc.PendingChannelsResponse.ClosedChannel",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="channel",
- full_name="lnrpc.PendingChannelsResponse.ClosedChannel.channel",
- index=0,
- number=1,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="closing_txid",
- full_name="lnrpc.PendingChannelsResponse.ClosedChannel.closing_txid",
- index=1,
- number=2,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=11976,
- serialized_end=12077,
-)
-
-_PENDINGCHANNELSRESPONSE_FORCECLOSEDCHANNEL = _descriptor.Descriptor(
- name="ForceClosedChannel",
- full_name="lnrpc.PendingChannelsResponse.ForceClosedChannel",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="channel",
- full_name="lnrpc.PendingChannelsResponse.ForceClosedChannel.channel",
- index=0,
- number=1,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="closing_txid",
- full_name="lnrpc.PendingChannelsResponse.ForceClosedChannel.closing_txid",
- index=1,
- number=2,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="limbo_balance",
- full_name="lnrpc.PendingChannelsResponse.ForceClosedChannel.limbo_balance",
- index=2,
- number=3,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="maturity_height",
- full_name="lnrpc.PendingChannelsResponse.ForceClosedChannel.maturity_height",
- index=3,
- number=4,
- type=13,
- cpp_type=3,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="blocks_til_maturity",
- full_name="lnrpc.PendingChannelsResponse.ForceClosedChannel.blocks_til_maturity",
- index=4,
- number=5,
- type=5,
- cpp_type=1,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="recovered_balance",
- full_name="lnrpc.PendingChannelsResponse.ForceClosedChannel.recovered_balance",
- index=5,
- number=6,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="pending_htlcs",
- full_name="lnrpc.PendingChannelsResponse.ForceClosedChannel.pending_htlcs",
- index=6,
- number=8,
- type=11,
- cpp_type=10,
- label=3,
- has_default_value=False,
- default_value=[],
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="anchor",
- full_name="lnrpc.PendingChannelsResponse.ForceClosedChannel.anchor",
- index=7,
- number=9,
- type=14,
- cpp_type=8,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[_PENDINGCHANNELSRESPONSE_FORCECLOSEDCHANNEL_ANCHORSTATE],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=12080,
- serialized_end=12463,
-)
-
-_PENDINGCHANNELSRESPONSE = _descriptor.Descriptor(
- name="PendingChannelsResponse",
- full_name="lnrpc.PendingChannelsResponse",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="total_limbo_balance",
- full_name="lnrpc.PendingChannelsResponse.total_limbo_balance",
- index=0,
- number=1,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="pending_open_channels",
- full_name="lnrpc.PendingChannelsResponse.pending_open_channels",
- index=1,
- number=2,
- type=11,
- cpp_type=10,
- label=3,
- has_default_value=False,
- default_value=[],
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="pending_closing_channels",
- full_name="lnrpc.PendingChannelsResponse.pending_closing_channels",
- index=2,
- number=3,
- type=11,
- cpp_type=10,
- label=3,
- has_default_value=False,
- default_value=[],
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=b"\030\001",
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="pending_force_closing_channels",
- full_name="lnrpc.PendingChannelsResponse.pending_force_closing_channels",
- index=3,
- number=4,
- type=11,
- cpp_type=10,
- label=3,
- has_default_value=False,
- default_value=[],
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="waiting_close_channels",
- full_name="lnrpc.PendingChannelsResponse.waiting_close_channels",
- index=4,
- number=5,
- type=11,
- cpp_type=10,
- label=3,
- has_default_value=False,
- default_value=[],
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[
- _PENDINGCHANNELSRESPONSE_PENDINGCHANNEL,
- _PENDINGCHANNELSRESPONSE_PENDINGOPENCHANNEL,
- _PENDINGCHANNELSRESPONSE_WAITINGCLOSECHANNEL,
- _PENDINGCHANNELSRESPONSE_COMMITMENTS,
- _PENDINGCHANNELSRESPONSE_CLOSEDCHANNEL,
- _PENDINGCHANNELSRESPONSE_FORCECLOSEDCHANNEL,
- ],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=10723,
- serialized_end=12463,
-)
-
-
-_CHANNELEVENTSUBSCRIPTION = _descriptor.Descriptor(
- name="ChannelEventSubscription",
- full_name="lnrpc.ChannelEventSubscription",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=12465,
- serialized_end=12491,
-)
-
-
-_CHANNELEVENTUPDATE = _descriptor.Descriptor(
- name="ChannelEventUpdate",
- full_name="lnrpc.ChannelEventUpdate",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="open_channel",
- full_name="lnrpc.ChannelEventUpdate.open_channel",
- index=0,
- number=1,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="closed_channel",
- full_name="lnrpc.ChannelEventUpdate.closed_channel",
- index=1,
- number=2,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="active_channel",
- full_name="lnrpc.ChannelEventUpdate.active_channel",
- index=2,
- number=3,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="inactive_channel",
- full_name="lnrpc.ChannelEventUpdate.inactive_channel",
- index=3,
- number=4,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="pending_open_channel",
- full_name="lnrpc.ChannelEventUpdate.pending_open_channel",
- index=4,
- number=6,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="fully_resolved_channel",
- full_name="lnrpc.ChannelEventUpdate.fully_resolved_channel",
- index=5,
- number=7,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="type",
- full_name="lnrpc.ChannelEventUpdate.type",
- index=6,
- number=5,
- type=14,
- cpp_type=8,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[_CHANNELEVENTUPDATE_UPDATETYPE],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[
- _descriptor.OneofDescriptor(
- name="channel",
- full_name="lnrpc.ChannelEventUpdate.channel",
- index=0,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[],
- )
- ],
- serialized_start=12494,
- serialized_end=13025,
-)
-
-
-_WALLETACCOUNTBALANCE = _descriptor.Descriptor(
- name="WalletAccountBalance",
- full_name="lnrpc.WalletAccountBalance",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="confirmed_balance",
- full_name="lnrpc.WalletAccountBalance.confirmed_balance",
- index=0,
- number=1,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="unconfirmed_balance",
- full_name="lnrpc.WalletAccountBalance.unconfirmed_balance",
- index=1,
- number=2,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=13027,
- serialized_end=13105,
-)
-
-
-_WALLETBALANCEREQUEST = _descriptor.Descriptor(
- name="WalletBalanceRequest",
- full_name="lnrpc.WalletBalanceRequest",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=13107,
- serialized_end=13129,
-)
-
-
-_WALLETBALANCERESPONSE_ACCOUNTBALANCEENTRY = _descriptor.Descriptor(
- name="AccountBalanceEntry",
- full_name="lnrpc.WalletBalanceResponse.AccountBalanceEntry",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="key",
- full_name="lnrpc.WalletBalanceResponse.AccountBalanceEntry.key",
- index=0,
- number=1,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="value",
- full_name="lnrpc.WalletBalanceResponse.AccountBalanceEntry.value",
- index=1,
- number=2,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=b"8\001",
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=13311,
- serialized_end=13393,
-)
-
-_WALLETBALANCERESPONSE = _descriptor.Descriptor(
- name="WalletBalanceResponse",
- full_name="lnrpc.WalletBalanceResponse",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="total_balance",
- full_name="lnrpc.WalletBalanceResponse.total_balance",
- index=0,
- number=1,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="confirmed_balance",
- full_name="lnrpc.WalletBalanceResponse.confirmed_balance",
- index=1,
- number=2,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="unconfirmed_balance",
- full_name="lnrpc.WalletBalanceResponse.unconfirmed_balance",
- index=2,
- number=3,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="account_balance",
- full_name="lnrpc.WalletBalanceResponse.account_balance",
- index=3,
- number=4,
- type=11,
- cpp_type=10,
- label=3,
- has_default_value=False,
- default_value=[],
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[_WALLETBALANCERESPONSE_ACCOUNTBALANCEENTRY],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=13132,
- serialized_end=13393,
-)
-
-
-_AMOUNT = _descriptor.Descriptor(
- name="Amount",
- full_name="lnrpc.Amount",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="sat",
- full_name="lnrpc.Amount.sat",
- index=0,
- number=1,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="msat",
- full_name="lnrpc.Amount.msat",
- index=1,
- number=2,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=13395,
- serialized_end=13430,
-)
-
-
-_CHANNELBALANCEREQUEST = _descriptor.Descriptor(
- name="ChannelBalanceRequest",
- full_name="lnrpc.ChannelBalanceRequest",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=13432,
- serialized_end=13455,
-)
-
-
-_CHANNELBALANCERESPONSE = _descriptor.Descriptor(
- name="ChannelBalanceResponse",
- full_name="lnrpc.ChannelBalanceResponse",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="balance",
- full_name="lnrpc.ChannelBalanceResponse.balance",
- index=0,
- number=1,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=b"\030\001",
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="pending_open_balance",
- full_name="lnrpc.ChannelBalanceResponse.pending_open_balance",
- index=1,
- number=2,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=b"\030\001",
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="local_balance",
- full_name="lnrpc.ChannelBalanceResponse.local_balance",
- index=2,
- number=3,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="remote_balance",
- full_name="lnrpc.ChannelBalanceResponse.remote_balance",
- index=3,
- number=4,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="unsettled_local_balance",
- full_name="lnrpc.ChannelBalanceResponse.unsettled_local_balance",
- index=4,
- number=5,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="unsettled_remote_balance",
- full_name="lnrpc.ChannelBalanceResponse.unsettled_remote_balance",
- index=5,
- number=6,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="pending_open_local_balance",
- full_name="lnrpc.ChannelBalanceResponse.pending_open_local_balance",
- index=6,
- number=7,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="pending_open_remote_balance",
- full_name="lnrpc.ChannelBalanceResponse.pending_open_remote_balance",
- index=7,
- number=8,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=13458,
- serialized_end=13814,
-)
-
-
-_QUERYROUTESREQUEST_DESTCUSTOMRECORDSENTRY = _descriptor.Descriptor(
- name="DestCustomRecordsEntry",
- full_name="lnrpc.QueryRoutesRequest.DestCustomRecordsEntry",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="key",
- full_name="lnrpc.QueryRoutesRequest.DestCustomRecordsEntry.key",
- index=0,
- number=1,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="value",
- full_name="lnrpc.QueryRoutesRequest.DestCustomRecordsEntry.value",
- index=1,
- number=2,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=b"8\001",
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=1295,
- serialized_end=1351,
-)
-
-_QUERYROUTESREQUEST = _descriptor.Descriptor(
- name="QueryRoutesRequest",
- full_name="lnrpc.QueryRoutesRequest",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="pub_key",
- full_name="lnrpc.QueryRoutesRequest.pub_key",
- index=0,
- number=1,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="amt",
- full_name="lnrpc.QueryRoutesRequest.amt",
- index=1,
- number=2,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="amt_msat",
- full_name="lnrpc.QueryRoutesRequest.amt_msat",
- index=2,
- number=12,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="final_cltv_delta",
- full_name="lnrpc.QueryRoutesRequest.final_cltv_delta",
- index=3,
- number=4,
- type=5,
- cpp_type=1,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="fee_limit",
- full_name="lnrpc.QueryRoutesRequest.fee_limit",
- index=4,
- number=5,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="ignored_nodes",
- full_name="lnrpc.QueryRoutesRequest.ignored_nodes",
- index=5,
- number=6,
- type=12,
- cpp_type=9,
- label=3,
- has_default_value=False,
- default_value=[],
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="ignored_edges",
- full_name="lnrpc.QueryRoutesRequest.ignored_edges",
- index=6,
- number=7,
- type=11,
- cpp_type=10,
- label=3,
- has_default_value=False,
- default_value=[],
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=b"\030\001",
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="source_pub_key",
- full_name="lnrpc.QueryRoutesRequest.source_pub_key",
- index=7,
- number=8,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="use_mission_control",
- full_name="lnrpc.QueryRoutesRequest.use_mission_control",
- index=8,
- number=9,
- type=8,
- cpp_type=7,
- label=1,
- has_default_value=False,
- default_value=False,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="ignored_pairs",
- full_name="lnrpc.QueryRoutesRequest.ignored_pairs",
- index=9,
- number=10,
- type=11,
- cpp_type=10,
- label=3,
- has_default_value=False,
- default_value=[],
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="cltv_limit",
- full_name="lnrpc.QueryRoutesRequest.cltv_limit",
- index=10,
- number=11,
- type=13,
- cpp_type=3,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="dest_custom_records",
- full_name="lnrpc.QueryRoutesRequest.dest_custom_records",
- index=11,
- number=13,
- type=11,
- cpp_type=10,
- label=3,
- has_default_value=False,
- default_value=[],
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="outgoing_chan_id",
- full_name="lnrpc.QueryRoutesRequest.outgoing_chan_id",
- index=12,
- number=14,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=b"0\001",
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="last_hop_pubkey",
- full_name="lnrpc.QueryRoutesRequest.last_hop_pubkey",
- index=13,
- number=15,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="route_hints",
- full_name="lnrpc.QueryRoutesRequest.route_hints",
- index=14,
- number=16,
- type=11,
- cpp_type=10,
- label=3,
- has_default_value=False,
- default_value=[],
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="dest_features",
- full_name="lnrpc.QueryRoutesRequest.dest_features",
- index=15,
- number=17,
- type=14,
- cpp_type=8,
- label=3,
- has_default_value=False,
- default_value=[],
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[_QUERYROUTESREQUEST_DESTCUSTOMRECORDSENTRY],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=13817,
- serialized_end=14409,
-)
-
-
-_NODEPAIR = _descriptor.Descriptor(
- name="NodePair",
- full_name="lnrpc.NodePair",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="from",
- full_name="lnrpc.NodePair.from",
- index=0,
- number=1,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="to",
- full_name="lnrpc.NodePair.to",
- index=1,
- number=2,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=14411,
- serialized_end=14447,
-)
-
-
-_EDGELOCATOR = _descriptor.Descriptor(
- name="EdgeLocator",
- full_name="lnrpc.EdgeLocator",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="channel_id",
- full_name="lnrpc.EdgeLocator.channel_id",
- index=0,
- number=1,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=b"0\001",
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="direction_reverse",
- full_name="lnrpc.EdgeLocator.direction_reverse",
- index=1,
- number=2,
- type=8,
- cpp_type=7,
- label=1,
- has_default_value=False,
- default_value=False,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=14449,
- serialized_end=14513,
-)
-
-
-_QUERYROUTESRESPONSE = _descriptor.Descriptor(
- name="QueryRoutesResponse",
- full_name="lnrpc.QueryRoutesResponse",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="routes",
- full_name="lnrpc.QueryRoutesResponse.routes",
- index=0,
- number=1,
- type=11,
- cpp_type=10,
- label=3,
- has_default_value=False,
- default_value=[],
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="success_prob",
- full_name="lnrpc.QueryRoutesResponse.success_prob",
- index=1,
- number=2,
- type=1,
- cpp_type=5,
- label=1,
- has_default_value=False,
- default_value=float(0),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=14515,
- serialized_end=14588,
-)
-
-
-_HOP_CUSTOMRECORDSENTRY = _descriptor.Descriptor(
- name="CustomRecordsEntry",
- full_name="lnrpc.Hop.CustomRecordsEntry",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="key",
- full_name="lnrpc.Hop.CustomRecordsEntry.key",
- index=0,
- number=1,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="value",
- full_name="lnrpc.Hop.CustomRecordsEntry.value",
- index=1,
- number=2,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=b"8\001",
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=14923,
- serialized_end=14975,
-)
-
-_HOP = _descriptor.Descriptor(
- name="Hop",
- full_name="lnrpc.Hop",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="chan_id",
- full_name="lnrpc.Hop.chan_id",
- index=0,
- number=1,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=b"0\001",
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="chan_capacity",
- full_name="lnrpc.Hop.chan_capacity",
- index=1,
- number=2,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=b"\030\001",
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="amt_to_forward",
- full_name="lnrpc.Hop.amt_to_forward",
- index=2,
- number=3,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=b"\030\001",
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="fee",
- full_name="lnrpc.Hop.fee",
- index=3,
- number=4,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=b"\030\001",
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="expiry",
- full_name="lnrpc.Hop.expiry",
- index=4,
- number=5,
- type=13,
- cpp_type=3,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="amt_to_forward_msat",
- full_name="lnrpc.Hop.amt_to_forward_msat",
- index=5,
- number=6,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="fee_msat",
- full_name="lnrpc.Hop.fee_msat",
- index=6,
- number=7,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="pub_key",
- full_name="lnrpc.Hop.pub_key",
- index=7,
- number=8,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="tlv_payload",
- full_name="lnrpc.Hop.tlv_payload",
- index=8,
- number=9,
- type=8,
- cpp_type=7,
- label=1,
- has_default_value=False,
- default_value=False,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="mpp_record",
- full_name="lnrpc.Hop.mpp_record",
- index=9,
- number=10,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="amp_record",
- full_name="lnrpc.Hop.amp_record",
- index=10,
- number=12,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="custom_records",
- full_name="lnrpc.Hop.custom_records",
- index=11,
- number=11,
- type=11,
- cpp_type=10,
- label=3,
- has_default_value=False,
- default_value=[],
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[_HOP_CUSTOMRECORDSENTRY],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=14591,
- serialized_end=14975,
-)
-
-
-_MPPRECORD = _descriptor.Descriptor(
- name="MPPRecord",
- full_name="lnrpc.MPPRecord",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="payment_addr",
- full_name="lnrpc.MPPRecord.payment_addr",
- index=0,
- number=11,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="total_amt_msat",
- full_name="lnrpc.MPPRecord.total_amt_msat",
- index=1,
- number=10,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=14977,
- serialized_end=15034,
-)
-
-
-_AMPRECORD = _descriptor.Descriptor(
- name="AMPRecord",
- full_name="lnrpc.AMPRecord",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="root_share",
- full_name="lnrpc.AMPRecord.root_share",
- index=0,
- number=1,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="set_id",
- full_name="lnrpc.AMPRecord.set_id",
- index=1,
- number=2,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="child_index",
- full_name="lnrpc.AMPRecord.child_index",
- index=2,
- number=3,
- type=13,
- cpp_type=3,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=15036,
- serialized_end=15104,
-)
-
-
-_ROUTE = _descriptor.Descriptor(
- name="Route",
- full_name="lnrpc.Route",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="total_time_lock",
- full_name="lnrpc.Route.total_time_lock",
- index=0,
- number=1,
- type=13,
- cpp_type=3,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="total_fees",
- full_name="lnrpc.Route.total_fees",
- index=1,
- number=2,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=b"\030\001",
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="total_amt",
- full_name="lnrpc.Route.total_amt",
- index=2,
- number=3,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=b"\030\001",
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="hops",
- full_name="lnrpc.Route.hops",
- index=3,
- number=4,
- type=11,
- cpp_type=10,
- label=3,
- has_default_value=False,
- default_value=[],
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="total_fees_msat",
- full_name="lnrpc.Route.total_fees_msat",
- index=4,
- number=5,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="total_amt_msat",
- full_name="lnrpc.Route.total_amt_msat",
- index=5,
- number=6,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=15107,
- serialized_end=15261,
-)
-
-
-_NODEINFOREQUEST = _descriptor.Descriptor(
- name="NodeInfoRequest",
- full_name="lnrpc.NodeInfoRequest",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="pub_key",
- full_name="lnrpc.NodeInfoRequest.pub_key",
- index=0,
- number=1,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="include_channels",
- full_name="lnrpc.NodeInfoRequest.include_channels",
- index=1,
- number=2,
- type=8,
- cpp_type=7,
- label=1,
- has_default_value=False,
- default_value=False,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=15263,
- serialized_end=15323,
-)
-
-
-_NODEINFO = _descriptor.Descriptor(
- name="NodeInfo",
- full_name="lnrpc.NodeInfo",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="node",
- full_name="lnrpc.NodeInfo.node",
- index=0,
- number=1,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="num_channels",
- full_name="lnrpc.NodeInfo.num_channels",
- index=1,
- number=2,
- type=13,
- cpp_type=3,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="total_capacity",
- full_name="lnrpc.NodeInfo.total_capacity",
- index=2,
- number=3,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="channels",
- full_name="lnrpc.NodeInfo.channels",
- index=3,
- number=4,
- type=11,
- cpp_type=10,
- label=3,
- has_default_value=False,
- default_value=[],
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=15326,
- serialized_end=15456,
-)
-
-
-_LIGHTNINGNODE_FEATURESENTRY = _descriptor.Descriptor(
- name="FeaturesEntry",
- full_name="lnrpc.LightningNode.FeaturesEntry",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="key",
- full_name="lnrpc.LightningNode.FeaturesEntry.key",
- index=0,
- number=1,
- type=13,
- cpp_type=3,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="value",
- full_name="lnrpc.LightningNode.FeaturesEntry.value",
- index=1,
- number=2,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=b"8\001",
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=6559,
- serialized_end=6622,
-)
-
-_LIGHTNINGNODE = _descriptor.Descriptor(
- name="LightningNode",
- full_name="lnrpc.LightningNode",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="last_update",
- full_name="lnrpc.LightningNode.last_update",
- index=0,
- number=1,
- type=13,
- cpp_type=3,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="pub_key",
- full_name="lnrpc.LightningNode.pub_key",
- index=1,
- number=2,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="alias",
- full_name="lnrpc.LightningNode.alias",
- index=2,
- number=3,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="addresses",
- full_name="lnrpc.LightningNode.addresses",
- index=3,
- number=4,
- type=11,
- cpp_type=10,
- label=3,
- has_default_value=False,
- default_value=[],
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="color",
- full_name="lnrpc.LightningNode.color",
- index=4,
- number=5,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="features",
- full_name="lnrpc.LightningNode.features",
- index=5,
- number=6,
- type=11,
- cpp_type=10,
- label=3,
- has_default_value=False,
- default_value=[],
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[_LIGHTNINGNODE_FEATURESENTRY],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=15459,
- serialized_end=15700,
-)
-
-
-_NODEADDRESS = _descriptor.Descriptor(
- name="NodeAddress",
- full_name="lnrpc.NodeAddress",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="network",
- full_name="lnrpc.NodeAddress.network",
- index=0,
- number=1,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="addr",
- full_name="lnrpc.NodeAddress.addr",
- index=1,
- number=2,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=15702,
- serialized_end=15746,
-)
-
-
-_ROUTINGPOLICY = _descriptor.Descriptor(
- name="RoutingPolicy",
- full_name="lnrpc.RoutingPolicy",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="time_lock_delta",
- full_name="lnrpc.RoutingPolicy.time_lock_delta",
- index=0,
- number=1,
- type=13,
- cpp_type=3,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="min_htlc",
- full_name="lnrpc.RoutingPolicy.min_htlc",
- index=1,
- number=2,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="fee_base_msat",
- full_name="lnrpc.RoutingPolicy.fee_base_msat",
- index=2,
- number=3,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="fee_rate_milli_msat",
- full_name="lnrpc.RoutingPolicy.fee_rate_milli_msat",
- index=3,
- number=4,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="disabled",
- full_name="lnrpc.RoutingPolicy.disabled",
- index=4,
- number=5,
- type=8,
- cpp_type=7,
- label=1,
- has_default_value=False,
- default_value=False,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="max_htlc_msat",
- full_name="lnrpc.RoutingPolicy.max_htlc_msat",
- index=5,
- number=6,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="last_update",
- full_name="lnrpc.RoutingPolicy.last_update",
- index=6,
- number=7,
- type=13,
- cpp_type=3,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=15749,
- serialized_end=15921,
-)
-
-
-_CHANNELEDGE = _descriptor.Descriptor(
- name="ChannelEdge",
- full_name="lnrpc.ChannelEdge",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="channel_id",
- full_name="lnrpc.ChannelEdge.channel_id",
- index=0,
- number=1,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=b"0\001",
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="chan_point",
- full_name="lnrpc.ChannelEdge.chan_point",
- index=1,
- number=2,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="last_update",
- full_name="lnrpc.ChannelEdge.last_update",
- index=2,
- number=3,
- type=13,
- cpp_type=3,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=b"\030\001",
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="node1_pub",
- full_name="lnrpc.ChannelEdge.node1_pub",
- index=3,
- number=4,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="node2_pub",
- full_name="lnrpc.ChannelEdge.node2_pub",
- index=4,
- number=5,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="capacity",
- full_name="lnrpc.ChannelEdge.capacity",
- index=5,
- number=6,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="node1_policy",
- full_name="lnrpc.ChannelEdge.node1_policy",
- index=6,
- number=7,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="node2_policy",
- full_name="lnrpc.ChannelEdge.node2_policy",
- index=7,
- number=8,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=15924,
- serialized_end=16150,
-)
-
-
-_CHANNELGRAPHREQUEST = _descriptor.Descriptor(
- name="ChannelGraphRequest",
- full_name="lnrpc.ChannelGraphRequest",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="include_unannounced",
- full_name="lnrpc.ChannelGraphRequest.include_unannounced",
- index=0,
- number=1,
- type=8,
- cpp_type=7,
- label=1,
- has_default_value=False,
- default_value=False,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- )
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=16152,
- serialized_end=16202,
-)
-
-
-_CHANNELGRAPH = _descriptor.Descriptor(
- name="ChannelGraph",
- full_name="lnrpc.ChannelGraph",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="nodes",
- full_name="lnrpc.ChannelGraph.nodes",
- index=0,
- number=1,
- type=11,
- cpp_type=10,
- label=3,
- has_default_value=False,
- default_value=[],
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="edges",
- full_name="lnrpc.ChannelGraph.edges",
- index=1,
- number=2,
- type=11,
- cpp_type=10,
- label=3,
- has_default_value=False,
- default_value=[],
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=16204,
- serialized_end=16290,
-)
-
-
-_NODEMETRICSREQUEST = _descriptor.Descriptor(
- name="NodeMetricsRequest",
- full_name="lnrpc.NodeMetricsRequest",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="types",
- full_name="lnrpc.NodeMetricsRequest.types",
- index=0,
- number=1,
- type=14,
- cpp_type=8,
- label=3,
- has_default_value=False,
- default_value=[],
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- )
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=16292,
- serialized_end=16350,
-)
-
-
-_NODEMETRICSRESPONSE_BETWEENNESSCENTRALITYENTRY = _descriptor.Descriptor(
- name="BetweennessCentralityEntry",
- full_name="lnrpc.NodeMetricsResponse.BetweennessCentralityEntry",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="key",
- full_name="lnrpc.NodeMetricsResponse.BetweennessCentralityEntry.key",
- index=0,
- number=1,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="value",
- full_name="lnrpc.NodeMetricsResponse.BetweennessCentralityEntry.value",
- index=1,
- number=2,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=b"8\001",
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=16463,
- serialized_end=16543,
-)
-
-_NODEMETRICSRESPONSE = _descriptor.Descriptor(
- name="NodeMetricsResponse",
- full_name="lnrpc.NodeMetricsResponse",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="betweenness_centrality",
- full_name="lnrpc.NodeMetricsResponse.betweenness_centrality",
- index=0,
- number=1,
- type=11,
- cpp_type=10,
- label=3,
- has_default_value=False,
- default_value=[],
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- )
- ],
- extensions=[],
- nested_types=[_NODEMETRICSRESPONSE_BETWEENNESSCENTRALITYENTRY],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=16353,
- serialized_end=16543,
-)
-
-
-_FLOATMETRIC = _descriptor.Descriptor(
- name="FloatMetric",
- full_name="lnrpc.FloatMetric",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="value",
- full_name="lnrpc.FloatMetric.value",
- index=0,
- number=1,
- type=1,
- cpp_type=5,
- label=1,
- has_default_value=False,
- default_value=float(0),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="normalized_value",
- full_name="lnrpc.FloatMetric.normalized_value",
- index=1,
- number=2,
- type=1,
- cpp_type=5,
- label=1,
- has_default_value=False,
- default_value=float(0),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=16545,
- serialized_end=16599,
-)
-
-
-_CHANINFOREQUEST = _descriptor.Descriptor(
- name="ChanInfoRequest",
- full_name="lnrpc.ChanInfoRequest",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="chan_id",
- full_name="lnrpc.ChanInfoRequest.chan_id",
- index=0,
- number=1,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=b"0\001",
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- )
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=16601,
- serialized_end=16639,
-)
-
-
-_NETWORKINFOREQUEST = _descriptor.Descriptor(
- name="NetworkInfoRequest",
- full_name="lnrpc.NetworkInfoRequest",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=16641,
- serialized_end=16661,
-)
-
-
-_NETWORKINFO = _descriptor.Descriptor(
- name="NetworkInfo",
- full_name="lnrpc.NetworkInfo",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="graph_diameter",
- full_name="lnrpc.NetworkInfo.graph_diameter",
- index=0,
- number=1,
- type=13,
- cpp_type=3,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="avg_out_degree",
- full_name="lnrpc.NetworkInfo.avg_out_degree",
- index=1,
- number=2,
- type=1,
- cpp_type=5,
- label=1,
- has_default_value=False,
- default_value=float(0),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="max_out_degree",
- full_name="lnrpc.NetworkInfo.max_out_degree",
- index=2,
- number=3,
- type=13,
- cpp_type=3,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="num_nodes",
- full_name="lnrpc.NetworkInfo.num_nodes",
- index=3,
- number=4,
- type=13,
- cpp_type=3,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="num_channels",
- full_name="lnrpc.NetworkInfo.num_channels",
- index=4,
- number=5,
- type=13,
- cpp_type=3,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="total_network_capacity",
- full_name="lnrpc.NetworkInfo.total_network_capacity",
- index=5,
- number=6,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="avg_channel_size",
- full_name="lnrpc.NetworkInfo.avg_channel_size",
- index=6,
- number=7,
- type=1,
- cpp_type=5,
- label=1,
- has_default_value=False,
- default_value=float(0),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="min_channel_size",
- full_name="lnrpc.NetworkInfo.min_channel_size",
- index=7,
- number=8,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="max_channel_size",
- full_name="lnrpc.NetworkInfo.max_channel_size",
- index=8,
- number=9,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="median_channel_size_sat",
- full_name="lnrpc.NetworkInfo.median_channel_size_sat",
- index=9,
- number=10,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="num_zombie_chans",
- full_name="lnrpc.NetworkInfo.num_zombie_chans",
- index=10,
- number=11,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=16664,
- serialized_end=16959,
-)
-
-
-_STOPREQUEST = _descriptor.Descriptor(
- name="StopRequest",
- full_name="lnrpc.StopRequest",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=16961,
- serialized_end=16974,
-)
-
-
-_STOPRESPONSE = _descriptor.Descriptor(
- name="StopResponse",
- full_name="lnrpc.StopResponse",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=16976,
- serialized_end=16990,
-)
-
-
-_GRAPHTOPOLOGYSUBSCRIPTION = _descriptor.Descriptor(
- name="GraphTopologySubscription",
- full_name="lnrpc.GraphTopologySubscription",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=16992,
- serialized_end=17019,
-)
-
-
-_GRAPHTOPOLOGYUPDATE = _descriptor.Descriptor(
- name="GraphTopologyUpdate",
- full_name="lnrpc.GraphTopologyUpdate",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="node_updates",
- full_name="lnrpc.GraphTopologyUpdate.node_updates",
- index=0,
- number=1,
- type=11,
- cpp_type=10,
- label=3,
- has_default_value=False,
- default_value=[],
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="channel_updates",
- full_name="lnrpc.GraphTopologyUpdate.channel_updates",
- index=1,
- number=2,
- type=11,
- cpp_type=10,
- label=3,
- has_default_value=False,
- default_value=[],
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="closed_chans",
- full_name="lnrpc.GraphTopologyUpdate.closed_chans",
- index=2,
- number=3,
- type=11,
- cpp_type=10,
- label=3,
- has_default_value=False,
- default_value=[],
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=17022,
- serialized_end=17185,
-)
-
-
-_NODEUPDATE_FEATURESENTRY = _descriptor.Descriptor(
- name="FeaturesEntry",
- full_name="lnrpc.NodeUpdate.FeaturesEntry",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="key",
- full_name="lnrpc.NodeUpdate.FeaturesEntry.key",
- index=0,
- number=1,
- type=13,
- cpp_type=3,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="value",
- full_name="lnrpc.NodeUpdate.FeaturesEntry.value",
- index=1,
- number=2,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=b"8\001",
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=6559,
- serialized_end=6622,
-)
-
-_NODEUPDATE = _descriptor.Descriptor(
- name="NodeUpdate",
- full_name="lnrpc.NodeUpdate",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="addresses",
- full_name="lnrpc.NodeUpdate.addresses",
- index=0,
- number=1,
- type=9,
- cpp_type=9,
- label=3,
- has_default_value=False,
- default_value=[],
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=b"\030\001",
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="identity_key",
- full_name="lnrpc.NodeUpdate.identity_key",
- index=1,
- number=2,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="global_features",
- full_name="lnrpc.NodeUpdate.global_features",
- index=2,
- number=3,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=b"\030\001",
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="alias",
- full_name="lnrpc.NodeUpdate.alias",
- index=3,
- number=4,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="color",
- full_name="lnrpc.NodeUpdate.color",
- index=4,
- number=5,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="node_addresses",
- full_name="lnrpc.NodeUpdate.node_addresses",
- index=5,
- number=7,
- type=11,
- cpp_type=10,
- label=3,
- has_default_value=False,
- default_value=[],
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="features",
- full_name="lnrpc.NodeUpdate.features",
- index=6,
- number=6,
- type=11,
- cpp_type=10,
- label=3,
- has_default_value=False,
- default_value=[],
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[_NODEUPDATE_FEATURESENTRY],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=17188,
- serialized_end=17464,
-)
-
-
-_CHANNELEDGEUPDATE = _descriptor.Descriptor(
- name="ChannelEdgeUpdate",
- full_name="lnrpc.ChannelEdgeUpdate",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="chan_id",
- full_name="lnrpc.ChannelEdgeUpdate.chan_id",
- index=0,
- number=1,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=b"0\001",
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="chan_point",
- full_name="lnrpc.ChannelEdgeUpdate.chan_point",
- index=1,
- number=2,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="capacity",
- full_name="lnrpc.ChannelEdgeUpdate.capacity",
- index=2,
- number=3,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="routing_policy",
- full_name="lnrpc.ChannelEdgeUpdate.routing_policy",
- index=3,
- number=4,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="advertising_node",
- full_name="lnrpc.ChannelEdgeUpdate.advertising_node",
- index=4,
- number=5,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="connecting_node",
- full_name="lnrpc.ChannelEdgeUpdate.connecting_node",
- index=5,
- number=6,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=17467,
- serialized_end=17663,
-)
-
-
-_CLOSEDCHANNELUPDATE = _descriptor.Descriptor(
- name="ClosedChannelUpdate",
- full_name="lnrpc.ClosedChannelUpdate",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="chan_id",
- full_name="lnrpc.ClosedChannelUpdate.chan_id",
- index=0,
- number=1,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=b"0\001",
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="capacity",
- full_name="lnrpc.ClosedChannelUpdate.capacity",
- index=1,
- number=2,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="closed_height",
- full_name="lnrpc.ClosedChannelUpdate.closed_height",
- index=2,
- number=3,
- type=13,
- cpp_type=3,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="chan_point",
- full_name="lnrpc.ClosedChannelUpdate.chan_point",
- index=3,
- number=4,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=17665,
- serialized_end=17789,
-)
-
-
-_HOPHINT = _descriptor.Descriptor(
- name="HopHint",
- full_name="lnrpc.HopHint",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="node_id",
- full_name="lnrpc.HopHint.node_id",
- index=0,
- number=1,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="chan_id",
- full_name="lnrpc.HopHint.chan_id",
- index=1,
- number=2,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=b"0\001",
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="fee_base_msat",
- full_name="lnrpc.HopHint.fee_base_msat",
- index=2,
- number=3,
- type=13,
- cpp_type=3,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="fee_proportional_millionths",
- full_name="lnrpc.HopHint.fee_proportional_millionths",
- index=3,
- number=4,
- type=13,
- cpp_type=3,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="cltv_expiry_delta",
- full_name="lnrpc.HopHint.cltv_expiry_delta",
- index=4,
- number=5,
- type=13,
- cpp_type=3,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=17792,
- serialized_end=17926,
-)
-
-
-_SETID = _descriptor.Descriptor(
- name="SetID",
- full_name="lnrpc.SetID",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="set_id",
- full_name="lnrpc.SetID.set_id",
- index=0,
- number=1,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- )
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=17928,
- serialized_end=17951,
-)
-
-
-_ROUTEHINT = _descriptor.Descriptor(
- name="RouteHint",
- full_name="lnrpc.RouteHint",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="hop_hints",
- full_name="lnrpc.RouteHint.hop_hints",
- index=0,
- number=1,
- type=11,
- cpp_type=10,
- label=3,
- has_default_value=False,
- default_value=[],
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- )
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=17953,
- serialized_end=17999,
-)
-
-
-_AMPINVOICESTATE = _descriptor.Descriptor(
- name="AMPInvoiceState",
- full_name="lnrpc.AMPInvoiceState",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="state",
- full_name="lnrpc.AMPInvoiceState.state",
- index=0,
- number=1,
- type=14,
- cpp_type=8,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="settle_index",
- full_name="lnrpc.AMPInvoiceState.settle_index",
- index=1,
- number=2,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="settle_time",
- full_name="lnrpc.AMPInvoiceState.settle_time",
- index=2,
- number=3,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="amt_paid_msat",
- full_name="lnrpc.AMPInvoiceState.amt_paid_msat",
- index=3,
- number=5,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=18001,
- serialized_end=18124,
-)
-
-
-_INVOICE_FEATURESENTRY = _descriptor.Descriptor(
- name="FeaturesEntry",
- full_name="lnrpc.Invoice.FeaturesEntry",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="key",
- full_name="lnrpc.Invoice.FeaturesEntry.key",
- index=0,
- number=1,
- type=13,
- cpp_type=3,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="value",
- full_name="lnrpc.Invoice.FeaturesEntry.value",
- index=1,
- number=2,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=b"8\001",
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=6559,
- serialized_end=6622,
-)
-
-_INVOICE_AMPINVOICESTATEENTRY = _descriptor.Descriptor(
- name="AmpInvoiceStateEntry",
- full_name="lnrpc.Invoice.AmpInvoiceStateEntry",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="key",
- full_name="lnrpc.Invoice.AmpInvoiceStateEntry.key",
- index=0,
- number=1,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="value",
- full_name="lnrpc.Invoice.AmpInvoiceStateEntry.value",
- index=1,
- number=2,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=b"8\001",
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=18877,
- serialized_end=18955,
-)
-
-_INVOICE = _descriptor.Descriptor(
- name="Invoice",
- full_name="lnrpc.Invoice",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="memo",
- full_name="lnrpc.Invoice.memo",
- index=0,
- number=1,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="r_preimage",
- full_name="lnrpc.Invoice.r_preimage",
- index=1,
- number=3,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="r_hash",
- full_name="lnrpc.Invoice.r_hash",
- index=2,
- number=4,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="value",
- full_name="lnrpc.Invoice.value",
- index=3,
- number=5,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="value_msat",
- full_name="lnrpc.Invoice.value_msat",
- index=4,
- number=23,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="settled",
- full_name="lnrpc.Invoice.settled",
- index=5,
- number=6,
- type=8,
- cpp_type=7,
- label=1,
- has_default_value=False,
- default_value=False,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=b"\030\001",
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="creation_date",
- full_name="lnrpc.Invoice.creation_date",
- index=6,
- number=7,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="settle_date",
- full_name="lnrpc.Invoice.settle_date",
- index=7,
- number=8,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="payment_request",
- full_name="lnrpc.Invoice.payment_request",
- index=8,
- number=9,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="description_hash",
- full_name="lnrpc.Invoice.description_hash",
- index=9,
- number=10,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="expiry",
- full_name="lnrpc.Invoice.expiry",
- index=10,
- number=11,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="fallback_addr",
- full_name="lnrpc.Invoice.fallback_addr",
- index=11,
- number=12,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="cltv_expiry",
- full_name="lnrpc.Invoice.cltv_expiry",
- index=12,
- number=13,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="route_hints",
- full_name="lnrpc.Invoice.route_hints",
- index=13,
- number=14,
- type=11,
- cpp_type=10,
- label=3,
- has_default_value=False,
- default_value=[],
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="private",
- full_name="lnrpc.Invoice.private",
- index=14,
- number=15,
- type=8,
- cpp_type=7,
- label=1,
- has_default_value=False,
- default_value=False,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="add_index",
- full_name="lnrpc.Invoice.add_index",
- index=15,
- number=16,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="settle_index",
- full_name="lnrpc.Invoice.settle_index",
- index=16,
- number=17,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="amt_paid",
- full_name="lnrpc.Invoice.amt_paid",
- index=17,
- number=18,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=b"\030\001",
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="amt_paid_sat",
- full_name="lnrpc.Invoice.amt_paid_sat",
- index=18,
- number=19,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="amt_paid_msat",
- full_name="lnrpc.Invoice.amt_paid_msat",
- index=19,
- number=20,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="state",
- full_name="lnrpc.Invoice.state",
- index=20,
- number=21,
- type=14,
- cpp_type=8,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="htlcs",
- full_name="lnrpc.Invoice.htlcs",
- index=21,
- number=22,
- type=11,
- cpp_type=10,
- label=3,
- has_default_value=False,
- default_value=[],
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="features",
- full_name="lnrpc.Invoice.features",
- index=22,
- number=24,
- type=11,
- cpp_type=10,
- label=3,
- has_default_value=False,
- default_value=[],
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="is_keysend",
- full_name="lnrpc.Invoice.is_keysend",
- index=23,
- number=25,
- type=8,
- cpp_type=7,
- label=1,
- has_default_value=False,
- default_value=False,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="payment_addr",
- full_name="lnrpc.Invoice.payment_addr",
- index=24,
- number=26,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="is_amp",
- full_name="lnrpc.Invoice.is_amp",
- index=25,
- number=27,
- type=8,
- cpp_type=7,
- label=1,
- has_default_value=False,
- default_value=False,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="amp_invoice_state",
- full_name="lnrpc.Invoice.amp_invoice_state",
- index=26,
- number=28,
- type=11,
- cpp_type=10,
- label=3,
- has_default_value=False,
- default_value=[],
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[_INVOICE_FEATURESENTRY, _INVOICE_AMPINVOICESTATEENTRY],
- enum_types=[_INVOICE_INVOICESTATE],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=18127,
- serialized_end=19028,
-)
-
-
-_INVOICEHTLC_CUSTOMRECORDSENTRY = _descriptor.Descriptor(
- name="CustomRecordsEntry",
- full_name="lnrpc.InvoiceHTLC.CustomRecordsEntry",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="key",
- full_name="lnrpc.InvoiceHTLC.CustomRecordsEntry.key",
- index=0,
- number=1,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="value",
- full_name="lnrpc.InvoiceHTLC.CustomRecordsEntry.value",
- index=1,
- number=2,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=b"8\001",
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=14923,
- serialized_end=14975,
-)
-
-_INVOICEHTLC = _descriptor.Descriptor(
- name="InvoiceHTLC",
- full_name="lnrpc.InvoiceHTLC",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="chan_id",
- full_name="lnrpc.InvoiceHTLC.chan_id",
- index=0,
- number=1,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=b"0\001",
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="htlc_index",
- full_name="lnrpc.InvoiceHTLC.htlc_index",
- index=1,
- number=2,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="amt_msat",
- full_name="lnrpc.InvoiceHTLC.amt_msat",
- index=2,
- number=3,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="accept_height",
- full_name="lnrpc.InvoiceHTLC.accept_height",
- index=3,
- number=4,
- type=5,
- cpp_type=1,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="accept_time",
- full_name="lnrpc.InvoiceHTLC.accept_time",
- index=4,
- number=5,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="resolve_time",
- full_name="lnrpc.InvoiceHTLC.resolve_time",
- index=5,
- number=6,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="expiry_height",
- full_name="lnrpc.InvoiceHTLC.expiry_height",
- index=6,
- number=7,
- type=5,
- cpp_type=1,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="state",
- full_name="lnrpc.InvoiceHTLC.state",
- index=7,
- number=8,
- type=14,
- cpp_type=8,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="custom_records",
- full_name="lnrpc.InvoiceHTLC.custom_records",
- index=8,
- number=9,
- type=11,
- cpp_type=10,
- label=3,
- has_default_value=False,
- default_value=[],
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="mpp_total_amt_msat",
- full_name="lnrpc.InvoiceHTLC.mpp_total_amt_msat",
- index=9,
- number=10,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="amp",
- full_name="lnrpc.InvoiceHTLC.amp",
- index=10,
- number=11,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[_INVOICEHTLC_CUSTOMRECORDSENTRY],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=19031,
- serialized_end=19402,
-)
-
-
-_AMP = _descriptor.Descriptor(
- name="AMP",
- full_name="lnrpc.AMP",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="root_share",
- full_name="lnrpc.AMP.root_share",
- index=0,
- number=1,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="set_id",
- full_name="lnrpc.AMP.set_id",
- index=1,
- number=2,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="child_index",
- full_name="lnrpc.AMP.child_index",
- index=2,
- number=3,
- type=13,
- cpp_type=3,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="hash",
- full_name="lnrpc.AMP.hash",
- index=3,
- number=4,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="preimage",
- full_name="lnrpc.AMP.preimage",
- index=4,
- number=5,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=19404,
- serialized_end=19498,
-)
-
-
-_ADDINVOICERESPONSE = _descriptor.Descriptor(
- name="AddInvoiceResponse",
- full_name="lnrpc.AddInvoiceResponse",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="r_hash",
- full_name="lnrpc.AddInvoiceResponse.r_hash",
- index=0,
- number=1,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="payment_request",
- full_name="lnrpc.AddInvoiceResponse.payment_request",
- index=1,
- number=2,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="add_index",
- full_name="lnrpc.AddInvoiceResponse.add_index",
- index=2,
- number=16,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="payment_addr",
- full_name="lnrpc.AddInvoiceResponse.payment_addr",
- index=3,
- number=17,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=19500,
- serialized_end=19602,
-)
-
-
-_PAYMENTHASH = _descriptor.Descriptor(
- name="PaymentHash",
- full_name="lnrpc.PaymentHash",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="r_hash_str",
- full_name="lnrpc.PaymentHash.r_hash_str",
- index=0,
- number=1,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=b"\030\001",
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="r_hash",
- full_name="lnrpc.PaymentHash.r_hash",
- index=1,
- number=2,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=19604,
- serialized_end=19657,
-)
-
-
-_LISTINVOICEREQUEST = _descriptor.Descriptor(
- name="ListInvoiceRequest",
- full_name="lnrpc.ListInvoiceRequest",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="pending_only",
- full_name="lnrpc.ListInvoiceRequest.pending_only",
- index=0,
- number=1,
- type=8,
- cpp_type=7,
- label=1,
- has_default_value=False,
- default_value=False,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="index_offset",
- full_name="lnrpc.ListInvoiceRequest.index_offset",
- index=1,
- number=4,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="num_max_invoices",
- full_name="lnrpc.ListInvoiceRequest.num_max_invoices",
- index=2,
- number=5,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="reversed",
- full_name="lnrpc.ListInvoiceRequest.reversed",
- index=3,
- number=6,
- type=8,
- cpp_type=7,
- label=1,
- has_default_value=False,
- default_value=False,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=19659,
- serialized_end=19767,
-)
-
-
-_LISTINVOICERESPONSE = _descriptor.Descriptor(
- name="ListInvoiceResponse",
- full_name="lnrpc.ListInvoiceResponse",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="invoices",
- full_name="lnrpc.ListInvoiceResponse.invoices",
- index=0,
- number=1,
- type=11,
- cpp_type=10,
- label=3,
- has_default_value=False,
- default_value=[],
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="last_index_offset",
- full_name="lnrpc.ListInvoiceResponse.last_index_offset",
- index=1,
- number=2,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="first_index_offset",
- full_name="lnrpc.ListInvoiceResponse.first_index_offset",
- index=2,
- number=3,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=19769,
- serialized_end=19879,
-)
-
-
-_INVOICESUBSCRIPTION = _descriptor.Descriptor(
- name="InvoiceSubscription",
- full_name="lnrpc.InvoiceSubscription",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="add_index",
- full_name="lnrpc.InvoiceSubscription.add_index",
- index=0,
- number=1,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="settle_index",
- full_name="lnrpc.InvoiceSubscription.settle_index",
- index=1,
- number=2,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=19881,
- serialized_end=19943,
-)
-
-
-_PAYMENT = _descriptor.Descriptor(
- name="Payment",
- full_name="lnrpc.Payment",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="payment_hash",
- full_name="lnrpc.Payment.payment_hash",
- index=0,
- number=1,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="value",
- full_name="lnrpc.Payment.value",
- index=1,
- number=2,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=b"\030\001",
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="creation_date",
- full_name="lnrpc.Payment.creation_date",
- index=2,
- number=3,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=b"\030\001",
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="fee",
- full_name="lnrpc.Payment.fee",
- index=3,
- number=5,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=b"\030\001",
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="payment_preimage",
- full_name="lnrpc.Payment.payment_preimage",
- index=4,
- number=6,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="value_sat",
- full_name="lnrpc.Payment.value_sat",
- index=5,
- number=7,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="value_msat",
- full_name="lnrpc.Payment.value_msat",
- index=6,
- number=8,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="payment_request",
- full_name="lnrpc.Payment.payment_request",
- index=7,
- number=9,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="status",
- full_name="lnrpc.Payment.status",
- index=8,
- number=10,
- type=14,
- cpp_type=8,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="fee_sat",
- full_name="lnrpc.Payment.fee_sat",
- index=9,
- number=11,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="fee_msat",
- full_name="lnrpc.Payment.fee_msat",
- index=10,
- number=12,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="creation_time_ns",
- full_name="lnrpc.Payment.creation_time_ns",
- index=11,
- number=13,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="htlcs",
- full_name="lnrpc.Payment.htlcs",
- index=12,
- number=14,
- type=11,
- cpp_type=10,
- label=3,
- has_default_value=False,
- default_value=[],
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="payment_index",
- full_name="lnrpc.Payment.payment_index",
- index=13,
- number=15,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="failure_reason",
- full_name="lnrpc.Payment.failure_reason",
- index=14,
- number=16,
- type=14,
- cpp_type=8,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[_PAYMENT_PAYMENTSTATUS],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=19946,
- serialized_end=20426,
-)
-
-
-_HTLCATTEMPT = _descriptor.Descriptor(
- name="HTLCAttempt",
- full_name="lnrpc.HTLCAttempt",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="attempt_id",
- full_name="lnrpc.HTLCAttempt.attempt_id",
- index=0,
- number=7,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="status",
- full_name="lnrpc.HTLCAttempt.status",
- index=1,
- number=1,
- type=14,
- cpp_type=8,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="route",
- full_name="lnrpc.HTLCAttempt.route",
- index=2,
- number=2,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="attempt_time_ns",
- full_name="lnrpc.HTLCAttempt.attempt_time_ns",
- index=3,
- number=3,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="resolve_time_ns",
- full_name="lnrpc.HTLCAttempt.resolve_time_ns",
- index=4,
- number=4,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="failure",
- full_name="lnrpc.HTLCAttempt.failure",
- index=5,
- number=5,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="preimage",
- full_name="lnrpc.HTLCAttempt.preimage",
- index=6,
- number=6,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[_HTLCATTEMPT_HTLCSTATUS],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=20429,
- serialized_end=20695,
-)
-
-
-_LISTPAYMENTSREQUEST = _descriptor.Descriptor(
- name="ListPaymentsRequest",
- full_name="lnrpc.ListPaymentsRequest",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="include_incomplete",
- full_name="lnrpc.ListPaymentsRequest.include_incomplete",
- index=0,
- number=1,
- type=8,
- cpp_type=7,
- label=1,
- has_default_value=False,
- default_value=False,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="index_offset",
- full_name="lnrpc.ListPaymentsRequest.index_offset",
- index=1,
- number=2,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="max_payments",
- full_name="lnrpc.ListPaymentsRequest.max_payments",
- index=2,
- number=3,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="reversed",
- full_name="lnrpc.ListPaymentsRequest.reversed",
- index=3,
- number=4,
- type=8,
- cpp_type=7,
- label=1,
- has_default_value=False,
- default_value=False,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=20697,
- serialized_end=20808,
-)
-
-
-_LISTPAYMENTSRESPONSE = _descriptor.Descriptor(
- name="ListPaymentsResponse",
- full_name="lnrpc.ListPaymentsResponse",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="payments",
- full_name="lnrpc.ListPaymentsResponse.payments",
- index=0,
- number=1,
- type=11,
- cpp_type=10,
- label=3,
- has_default_value=False,
- default_value=[],
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="first_index_offset",
- full_name="lnrpc.ListPaymentsResponse.first_index_offset",
- index=1,
- number=2,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="last_index_offset",
- full_name="lnrpc.ListPaymentsResponse.last_index_offset",
- index=2,
- number=3,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=20810,
- serialized_end=20921,
-)
-
-
-_DELETEPAYMENTREQUEST = _descriptor.Descriptor(
- name="DeletePaymentRequest",
- full_name="lnrpc.DeletePaymentRequest",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="payment_hash",
- full_name="lnrpc.DeletePaymentRequest.payment_hash",
- index=0,
- number=1,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="failed_htlcs_only",
- full_name="lnrpc.DeletePaymentRequest.failed_htlcs_only",
- index=1,
- number=2,
- type=8,
- cpp_type=7,
- label=1,
- has_default_value=False,
- default_value=False,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=20923,
- serialized_end=20994,
-)
-
-
-_DELETEALLPAYMENTSREQUEST = _descriptor.Descriptor(
- name="DeleteAllPaymentsRequest",
- full_name="lnrpc.DeleteAllPaymentsRequest",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="failed_payments_only",
- full_name="lnrpc.DeleteAllPaymentsRequest.failed_payments_only",
- index=0,
- number=1,
- type=8,
- cpp_type=7,
- label=1,
- has_default_value=False,
- default_value=False,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="failed_htlcs_only",
- full_name="lnrpc.DeleteAllPaymentsRequest.failed_htlcs_only",
- index=1,
- number=2,
- type=8,
- cpp_type=7,
- label=1,
- has_default_value=False,
- default_value=False,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=20996,
- serialized_end=21079,
-)
-
-
-_DELETEPAYMENTRESPONSE = _descriptor.Descriptor(
- name="DeletePaymentResponse",
- full_name="lnrpc.DeletePaymentResponse",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=21081,
- serialized_end=21104,
-)
-
-
-_DELETEALLPAYMENTSRESPONSE = _descriptor.Descriptor(
- name="DeleteAllPaymentsResponse",
- full_name="lnrpc.DeleteAllPaymentsResponse",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=21106,
- serialized_end=21133,
-)
-
-
-_ABANDONCHANNELREQUEST = _descriptor.Descriptor(
- name="AbandonChannelRequest",
- full_name="lnrpc.AbandonChannelRequest",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="channel_point",
- full_name="lnrpc.AbandonChannelRequest.channel_point",
- index=0,
- number=1,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="pending_funding_shim_only",
- full_name="lnrpc.AbandonChannelRequest.pending_funding_shim_only",
- index=1,
- number=2,
- type=8,
- cpp_type=7,
- label=1,
- has_default_value=False,
- default_value=False,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="i_know_what_i_am_doing",
- full_name="lnrpc.AbandonChannelRequest.i_know_what_i_am_doing",
- index=2,
- number=3,
- type=8,
- cpp_type=7,
- label=1,
- has_default_value=False,
- default_value=False,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=21136,
- serialized_end=21270,
-)
-
-
-_ABANDONCHANNELRESPONSE = _descriptor.Descriptor(
- name="AbandonChannelResponse",
- full_name="lnrpc.AbandonChannelResponse",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=21272,
- serialized_end=21296,
-)
-
-
-_DEBUGLEVELREQUEST = _descriptor.Descriptor(
- name="DebugLevelRequest",
- full_name="lnrpc.DebugLevelRequest",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="show",
- full_name="lnrpc.DebugLevelRequest.show",
- index=0,
- number=1,
- type=8,
- cpp_type=7,
- label=1,
- has_default_value=False,
- default_value=False,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="level_spec",
- full_name="lnrpc.DebugLevelRequest.level_spec",
- index=1,
- number=2,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=21298,
- serialized_end=21351,
-)
-
-
-_DEBUGLEVELRESPONSE = _descriptor.Descriptor(
- name="DebugLevelResponse",
- full_name="lnrpc.DebugLevelResponse",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="sub_systems",
- full_name="lnrpc.DebugLevelResponse.sub_systems",
- index=0,
- number=1,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- )
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=21353,
- serialized_end=21394,
-)
-
-
-_PAYREQSTRING = _descriptor.Descriptor(
- name="PayReqString",
- full_name="lnrpc.PayReqString",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="pay_req",
- full_name="lnrpc.PayReqString.pay_req",
- index=0,
- number=1,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- )
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=21396,
- serialized_end=21427,
-)
-
-
-_PAYREQ_FEATURESENTRY = _descriptor.Descriptor(
- name="FeaturesEntry",
- full_name="lnrpc.PayReq.FeaturesEntry",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="key",
- full_name="lnrpc.PayReq.FeaturesEntry.key",
- index=0,
- number=1,
- type=13,
- cpp_type=3,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="value",
- full_name="lnrpc.PayReq.FeaturesEntry.value",
- index=1,
- number=2,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=b"8\001",
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=6559,
- serialized_end=6622,
-)
-
-_PAYREQ = _descriptor.Descriptor(
- name="PayReq",
- full_name="lnrpc.PayReq",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="destination",
- full_name="lnrpc.PayReq.destination",
- index=0,
- number=1,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="payment_hash",
- full_name="lnrpc.PayReq.payment_hash",
- index=1,
- number=2,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="num_satoshis",
- full_name="lnrpc.PayReq.num_satoshis",
- index=2,
- number=3,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="timestamp",
- full_name="lnrpc.PayReq.timestamp",
- index=3,
- number=4,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="expiry",
- full_name="lnrpc.PayReq.expiry",
- index=4,
- number=5,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="description",
- full_name="lnrpc.PayReq.description",
- index=5,
- number=6,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="description_hash",
- full_name="lnrpc.PayReq.description_hash",
- index=6,
- number=7,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="fallback_addr",
- full_name="lnrpc.PayReq.fallback_addr",
- index=7,
- number=8,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="cltv_expiry",
- full_name="lnrpc.PayReq.cltv_expiry",
- index=8,
- number=9,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="route_hints",
- full_name="lnrpc.PayReq.route_hints",
- index=9,
- number=10,
- type=11,
- cpp_type=10,
- label=3,
- has_default_value=False,
- default_value=[],
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="payment_addr",
- full_name="lnrpc.PayReq.payment_addr",
- index=10,
- number=11,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="num_msat",
- full_name="lnrpc.PayReq.num_msat",
- index=11,
- number=12,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="features",
- full_name="lnrpc.PayReq.features",
- index=12,
- number=13,
- type=11,
- cpp_type=10,
- label=3,
- has_default_value=False,
- default_value=[],
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[_PAYREQ_FEATURESENTRY],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=21430,
- serialized_end=21820,
-)
-
-
-_FEATURE = _descriptor.Descriptor(
- name="Feature",
- full_name="lnrpc.Feature",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="name",
- full_name="lnrpc.Feature.name",
- index=0,
- number=2,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="is_required",
- full_name="lnrpc.Feature.is_required",
- index=1,
- number=3,
- type=8,
- cpp_type=7,
- label=1,
- has_default_value=False,
- default_value=False,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="is_known",
- full_name="lnrpc.Feature.is_known",
- index=2,
- number=4,
- type=8,
- cpp_type=7,
- label=1,
- has_default_value=False,
- default_value=False,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=21822,
- serialized_end=21884,
-)
-
-
-_FEEREPORTREQUEST = _descriptor.Descriptor(
- name="FeeReportRequest",
- full_name="lnrpc.FeeReportRequest",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=21886,
- serialized_end=21904,
-)
-
-
-_CHANNELFEEREPORT = _descriptor.Descriptor(
- name="ChannelFeeReport",
- full_name="lnrpc.ChannelFeeReport",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="chan_id",
- full_name="lnrpc.ChannelFeeReport.chan_id",
- index=0,
- number=5,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=b"0\001",
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="channel_point",
- full_name="lnrpc.ChannelFeeReport.channel_point",
- index=1,
- number=1,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="base_fee_msat",
- full_name="lnrpc.ChannelFeeReport.base_fee_msat",
- index=2,
- number=2,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="fee_per_mil",
- full_name="lnrpc.ChannelFeeReport.fee_per_mil",
- index=3,
- number=3,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="fee_rate",
- full_name="lnrpc.ChannelFeeReport.fee_rate",
- index=4,
- number=4,
- type=1,
- cpp_type=5,
- label=1,
- has_default_value=False,
- default_value=float(0),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=21906,
- serialized_end=22030,
-)
-
-
-_FEEREPORTRESPONSE = _descriptor.Descriptor(
- name="FeeReportResponse",
- full_name="lnrpc.FeeReportResponse",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="channel_fees",
- full_name="lnrpc.FeeReportResponse.channel_fees",
- index=0,
- number=1,
- type=11,
- cpp_type=10,
- label=3,
- has_default_value=False,
- default_value=[],
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="day_fee_sum",
- full_name="lnrpc.FeeReportResponse.day_fee_sum",
- index=1,
- number=2,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="week_fee_sum",
- full_name="lnrpc.FeeReportResponse.week_fee_sum",
- index=2,
- number=3,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="month_fee_sum",
- full_name="lnrpc.FeeReportResponse.month_fee_sum",
- index=3,
- number=4,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=22033,
- serialized_end=22165,
-)
-
-
-_POLICYUPDATEREQUEST = _descriptor.Descriptor(
- name="PolicyUpdateRequest",
- full_name="lnrpc.PolicyUpdateRequest",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="global",
- full_name="lnrpc.PolicyUpdateRequest.global",
- index=0,
- number=1,
- type=8,
- cpp_type=7,
- label=1,
- has_default_value=False,
- default_value=False,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="chan_point",
- full_name="lnrpc.PolicyUpdateRequest.chan_point",
- index=1,
- number=2,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="base_fee_msat",
- full_name="lnrpc.PolicyUpdateRequest.base_fee_msat",
- index=2,
- number=3,
- type=3,
- cpp_type=2,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="fee_rate",
- full_name="lnrpc.PolicyUpdateRequest.fee_rate",
- index=3,
- number=4,
- type=1,
- cpp_type=5,
- label=1,
- has_default_value=False,
- default_value=float(0),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="time_lock_delta",
- full_name="lnrpc.PolicyUpdateRequest.time_lock_delta",
- index=4,
- number=5,
- type=13,
- cpp_type=3,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="max_htlc_msat",
- full_name="lnrpc.PolicyUpdateRequest.max_htlc_msat",
- index=5,
- number=6,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="min_htlc_msat",
- full_name="lnrpc.PolicyUpdateRequest.min_htlc_msat",
- index=6,
- number=7,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="min_htlc_msat_specified",
- full_name="lnrpc.PolicyUpdateRequest.min_htlc_msat_specified",
- index=7,
- number=8,
- type=8,
- cpp_type=7,
- label=1,
- has_default_value=False,
- default_value=False,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[
- _descriptor.OneofDescriptor(
- name="scope",
- full_name="lnrpc.PolicyUpdateRequest.scope",
- index=0,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[],
- )
- ],
- serialized_start=22168,
- serialized_end=22404,
-)
-
-
-_FAILEDUPDATE = _descriptor.Descriptor(
- name="FailedUpdate",
- full_name="lnrpc.FailedUpdate",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="outpoint",
- full_name="lnrpc.FailedUpdate.outpoint",
- index=0,
- number=1,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="reason",
- full_name="lnrpc.FailedUpdate.reason",
- index=1,
- number=2,
- type=14,
- cpp_type=8,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="update_error",
- full_name="lnrpc.FailedUpdate.update_error",
- index=2,
- number=3,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=22406,
- serialized_end=22515,
-)
-
-
-_POLICYUPDATERESPONSE = _descriptor.Descriptor(
- name="PolicyUpdateResponse",
- full_name="lnrpc.PolicyUpdateResponse",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="failed_updates",
- full_name="lnrpc.PolicyUpdateResponse.failed_updates",
- index=0,
- number=1,
- type=11,
- cpp_type=10,
- label=3,
- has_default_value=False,
- default_value=[],
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- )
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=22517,
- serialized_end=22584,
-)
-
-
-_FORWARDINGHISTORYREQUEST = _descriptor.Descriptor(
- name="ForwardingHistoryRequest",
- full_name="lnrpc.ForwardingHistoryRequest",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="start_time",
- full_name="lnrpc.ForwardingHistoryRequest.start_time",
- index=0,
- number=1,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="end_time",
- full_name="lnrpc.ForwardingHistoryRequest.end_time",
- index=1,
- number=2,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="index_offset",
- full_name="lnrpc.ForwardingHistoryRequest.index_offset",
- index=2,
- number=3,
- type=13,
- cpp_type=3,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="num_max_events",
- full_name="lnrpc.ForwardingHistoryRequest.num_max_events",
- index=3,
- number=4,
- type=13,
- cpp_type=3,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=22586,
- serialized_end=22696,
-)
-
-
-_FORWARDINGEVENT = _descriptor.Descriptor(
- name="ForwardingEvent",
- full_name="lnrpc.ForwardingEvent",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="timestamp",
- full_name="lnrpc.ForwardingEvent.timestamp",
- index=0,
- number=1,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=b"\030\001",
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="chan_id_in",
- full_name="lnrpc.ForwardingEvent.chan_id_in",
- index=1,
- number=2,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=b"0\001",
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="chan_id_out",
- full_name="lnrpc.ForwardingEvent.chan_id_out",
- index=2,
- number=4,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=b"0\001",
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="amt_in",
- full_name="lnrpc.ForwardingEvent.amt_in",
- index=3,
- number=5,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="amt_out",
- full_name="lnrpc.ForwardingEvent.amt_out",
- index=4,
- number=6,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="fee",
- full_name="lnrpc.ForwardingEvent.fee",
- index=5,
- number=7,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="fee_msat",
- full_name="lnrpc.ForwardingEvent.fee_msat",
- index=6,
- number=8,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="amt_in_msat",
- full_name="lnrpc.ForwardingEvent.amt_in_msat",
- index=7,
- number=9,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="amt_out_msat",
- full_name="lnrpc.ForwardingEvent.amt_out_msat",
- index=8,
- number=10,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="timestamp_ns",
- full_name="lnrpc.ForwardingEvent.timestamp_ns",
- index=9,
- number=11,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=22699,
- serialized_end=22917,
-)
-
-
-_FORWARDINGHISTORYRESPONSE = _descriptor.Descriptor(
- name="ForwardingHistoryResponse",
- full_name="lnrpc.ForwardingHistoryResponse",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="forwarding_events",
- full_name="lnrpc.ForwardingHistoryResponse.forwarding_events",
- index=0,
- number=1,
- type=11,
- cpp_type=10,
- label=3,
- has_default_value=False,
- default_value=[],
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="last_offset_index",
- full_name="lnrpc.ForwardingHistoryResponse.last_offset_index",
- index=1,
- number=2,
- type=13,
- cpp_type=3,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=22919,
- serialized_end=23024,
-)
-
-
-_EXPORTCHANNELBACKUPREQUEST = _descriptor.Descriptor(
- name="ExportChannelBackupRequest",
- full_name="lnrpc.ExportChannelBackupRequest",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="chan_point",
- full_name="lnrpc.ExportChannelBackupRequest.chan_point",
- index=0,
- number=1,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- )
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=23026,
- serialized_end=23095,
-)
-
-
-_CHANNELBACKUP = _descriptor.Descriptor(
- name="ChannelBackup",
- full_name="lnrpc.ChannelBackup",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="chan_point",
- full_name="lnrpc.ChannelBackup.chan_point",
- index=0,
- number=1,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="chan_backup",
- full_name="lnrpc.ChannelBackup.chan_backup",
- index=1,
- number=2,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=23097,
- serialized_end=23174,
-)
-
-
-_MULTICHANBACKUP = _descriptor.Descriptor(
- name="MultiChanBackup",
- full_name="lnrpc.MultiChanBackup",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="chan_points",
- full_name="lnrpc.MultiChanBackup.chan_points",
- index=0,
- number=1,
- type=11,
- cpp_type=10,
- label=3,
- has_default_value=False,
- default_value=[],
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="multi_chan_backup",
- full_name="lnrpc.MultiChanBackup.multi_chan_backup",
- index=1,
- number=2,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=23176,
- serialized_end=23262,
-)
-
-
-_CHANBACKUPEXPORTREQUEST = _descriptor.Descriptor(
- name="ChanBackupExportRequest",
- full_name="lnrpc.ChanBackupExportRequest",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=23264,
- serialized_end=23289,
-)
-
-
-_CHANBACKUPSNAPSHOT = _descriptor.Descriptor(
- name="ChanBackupSnapshot",
- full_name="lnrpc.ChanBackupSnapshot",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="single_chan_backups",
- full_name="lnrpc.ChanBackupSnapshot.single_chan_backups",
- index=0,
- number=1,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="multi_chan_backup",
- full_name="lnrpc.ChanBackupSnapshot.multi_chan_backup",
- index=1,
- number=2,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=23291,
- serialized_end=23414,
-)
-
-
-_CHANNELBACKUPS = _descriptor.Descriptor(
- name="ChannelBackups",
- full_name="lnrpc.ChannelBackups",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="chan_backups",
- full_name="lnrpc.ChannelBackups.chan_backups",
- index=0,
- number=1,
- type=11,
- cpp_type=10,
- label=3,
- has_default_value=False,
- default_value=[],
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- )
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=23416,
- serialized_end=23476,
-)
-
-
-_RESTORECHANBACKUPREQUEST = _descriptor.Descriptor(
- name="RestoreChanBackupRequest",
- full_name="lnrpc.RestoreChanBackupRequest",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="chan_backups",
- full_name="lnrpc.RestoreChanBackupRequest.chan_backups",
- index=0,
- number=1,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="multi_chan_backup",
- full_name="lnrpc.RestoreChanBackupRequest.multi_chan_backup",
- index=1,
- number=2,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[
- _descriptor.OneofDescriptor(
- name="backup",
- full_name="lnrpc.RestoreChanBackupRequest.backup",
- index=0,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[],
- )
- ],
- serialized_start=23478,
- serialized_end=23590,
-)
-
-
-_RESTOREBACKUPRESPONSE = _descriptor.Descriptor(
- name="RestoreBackupResponse",
- full_name="lnrpc.RestoreBackupResponse",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=23592,
- serialized_end=23615,
-)
-
-
-_CHANNELBACKUPSUBSCRIPTION = _descriptor.Descriptor(
- name="ChannelBackupSubscription",
- full_name="lnrpc.ChannelBackupSubscription",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=23617,
- serialized_end=23644,
-)
-
-
-_VERIFYCHANBACKUPRESPONSE = _descriptor.Descriptor(
- name="VerifyChanBackupResponse",
- full_name="lnrpc.VerifyChanBackupResponse",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=23646,
- serialized_end=23672,
-)
-
-
-_MACAROONPERMISSION = _descriptor.Descriptor(
- name="MacaroonPermission",
- full_name="lnrpc.MacaroonPermission",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="entity",
- full_name="lnrpc.MacaroonPermission.entity",
- index=0,
- number=1,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="action",
- full_name="lnrpc.MacaroonPermission.action",
- index=1,
- number=2,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=23674,
- serialized_end=23726,
-)
-
-
-_BAKEMACAROONREQUEST = _descriptor.Descriptor(
- name="BakeMacaroonRequest",
- full_name="lnrpc.BakeMacaroonRequest",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="permissions",
- full_name="lnrpc.BakeMacaroonRequest.permissions",
- index=0,
- number=1,
- type=11,
- cpp_type=10,
- label=3,
- has_default_value=False,
- default_value=[],
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="root_key_id",
- full_name="lnrpc.BakeMacaroonRequest.root_key_id",
- index=1,
- number=2,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="allow_external_permissions",
- full_name="lnrpc.BakeMacaroonRequest.allow_external_permissions",
- index=2,
- number=3,
- type=8,
- cpp_type=7,
- label=1,
- has_default_value=False,
- default_value=False,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=23728,
- serialized_end=23854,
-)
-
-
-_BAKEMACAROONRESPONSE = _descriptor.Descriptor(
- name="BakeMacaroonResponse",
- full_name="lnrpc.BakeMacaroonResponse",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="macaroon",
- full_name="lnrpc.BakeMacaroonResponse.macaroon",
- index=0,
- number=1,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- )
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=23856,
- serialized_end=23896,
-)
-
-
-_LISTMACAROONIDSREQUEST = _descriptor.Descriptor(
- name="ListMacaroonIDsRequest",
- full_name="lnrpc.ListMacaroonIDsRequest",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=23898,
- serialized_end=23922,
-)
-
-
-_LISTMACAROONIDSRESPONSE = _descriptor.Descriptor(
- name="ListMacaroonIDsResponse",
- full_name="lnrpc.ListMacaroonIDsResponse",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="root_key_ids",
- full_name="lnrpc.ListMacaroonIDsResponse.root_key_ids",
- index=0,
- number=1,
- type=4,
- cpp_type=4,
- label=3,
- has_default_value=False,
- default_value=[],
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- )
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=23924,
- serialized_end=23971,
-)
-
-
-_DELETEMACAROONIDREQUEST = _descriptor.Descriptor(
- name="DeleteMacaroonIDRequest",
- full_name="lnrpc.DeleteMacaroonIDRequest",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="root_key_id",
- full_name="lnrpc.DeleteMacaroonIDRequest.root_key_id",
- index=0,
- number=1,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- )
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=23973,
- serialized_end=24019,
-)
-
-
-_DELETEMACAROONIDRESPONSE = _descriptor.Descriptor(
- name="DeleteMacaroonIDResponse",
- full_name="lnrpc.DeleteMacaroonIDResponse",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="deleted",
- full_name="lnrpc.DeleteMacaroonIDResponse.deleted",
- index=0,
- number=1,
- type=8,
- cpp_type=7,
- label=1,
- has_default_value=False,
- default_value=False,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- )
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=24021,
- serialized_end=24064,
-)
-
-
-_MACAROONPERMISSIONLIST = _descriptor.Descriptor(
- name="MacaroonPermissionList",
- full_name="lnrpc.MacaroonPermissionList",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="permissions",
- full_name="lnrpc.MacaroonPermissionList.permissions",
- index=0,
- number=1,
- type=11,
- cpp_type=10,
- label=3,
- has_default_value=False,
- default_value=[],
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- )
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=24066,
- serialized_end=24138,
-)
-
-
-_LISTPERMISSIONSREQUEST = _descriptor.Descriptor(
- name="ListPermissionsRequest",
- full_name="lnrpc.ListPermissionsRequest",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=24140,
- serialized_end=24164,
-)
-
-
-_LISTPERMISSIONSRESPONSE_METHODPERMISSIONSENTRY = _descriptor.Descriptor(
- name="MethodPermissionsEntry",
- full_name="lnrpc.ListPermissionsResponse.MethodPermissionsEntry",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="key",
- full_name="lnrpc.ListPermissionsResponse.MethodPermissionsEntry.key",
- index=0,
- number=1,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="value",
- full_name="lnrpc.ListPermissionsResponse.MethodPermissionsEntry.value",
- index=1,
- number=2,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=b"8\001",
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=24277,
- serialized_end=24364,
-)
-
-_LISTPERMISSIONSRESPONSE = _descriptor.Descriptor(
- name="ListPermissionsResponse",
- full_name="lnrpc.ListPermissionsResponse",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="method_permissions",
- full_name="lnrpc.ListPermissionsResponse.method_permissions",
- index=0,
- number=1,
- type=11,
- cpp_type=10,
- label=3,
- has_default_value=False,
- default_value=[],
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- )
- ],
- extensions=[],
- nested_types=[_LISTPERMISSIONSRESPONSE_METHODPERMISSIONSENTRY],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=24167,
- serialized_end=24364,
-)
-
-
-_FAILURE = _descriptor.Descriptor(
- name="Failure",
- full_name="lnrpc.Failure",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="code",
- full_name="lnrpc.Failure.code",
- index=0,
- number=1,
- type=14,
- cpp_type=8,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="channel_update",
- full_name="lnrpc.Failure.channel_update",
- index=1,
- number=3,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="htlc_msat",
- full_name="lnrpc.Failure.htlc_msat",
- index=2,
- number=4,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="onion_sha_256",
- full_name="lnrpc.Failure.onion_sha_256",
- index=3,
- number=5,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="cltv_expiry",
- full_name="lnrpc.Failure.cltv_expiry",
- index=4,
- number=6,
- type=13,
- cpp_type=3,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="flags",
- full_name="lnrpc.Failure.flags",
- index=5,
- number=7,
- type=13,
- cpp_type=3,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="failure_source_index",
- full_name="lnrpc.Failure.failure_source_index",
- index=6,
- number=8,
- type=13,
- cpp_type=3,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="height",
- full_name="lnrpc.Failure.height",
- index=7,
- number=9,
- type=13,
- cpp_type=3,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[_FAILURE_FAILURECODE],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=24367,
- serialized_end=25348,
-)
-
-
-_CHANNELUPDATE = _descriptor.Descriptor(
- name="ChannelUpdate",
- full_name="lnrpc.ChannelUpdate",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="signature",
- full_name="lnrpc.ChannelUpdate.signature",
- index=0,
- number=1,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="chain_hash",
- full_name="lnrpc.ChannelUpdate.chain_hash",
- index=1,
- number=2,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="chan_id",
- full_name="lnrpc.ChannelUpdate.chan_id",
- index=2,
- number=3,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=b"0\001",
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="timestamp",
- full_name="lnrpc.ChannelUpdate.timestamp",
- index=3,
- number=4,
- type=13,
- cpp_type=3,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="message_flags",
- full_name="lnrpc.ChannelUpdate.message_flags",
- index=4,
- number=10,
- type=13,
- cpp_type=3,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="channel_flags",
- full_name="lnrpc.ChannelUpdate.channel_flags",
- index=5,
- number=5,
- type=13,
- cpp_type=3,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="time_lock_delta",
- full_name="lnrpc.ChannelUpdate.time_lock_delta",
- index=6,
- number=6,
- type=13,
- cpp_type=3,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="htlc_minimum_msat",
- full_name="lnrpc.ChannelUpdate.htlc_minimum_msat",
- index=7,
- number=7,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="base_fee",
- full_name="lnrpc.ChannelUpdate.base_fee",
- index=8,
- number=8,
- type=13,
- cpp_type=3,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="fee_rate",
- full_name="lnrpc.ChannelUpdate.fee_rate",
- index=9,
- number=9,
- type=13,
- cpp_type=3,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="htlc_maximum_msat",
- full_name="lnrpc.ChannelUpdate.htlc_maximum_msat",
- index=10,
- number=11,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="extra_opaque_data",
- full_name="lnrpc.ChannelUpdate.extra_opaque_data",
- index=11,
- number=12,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=25351,
- serialized_end=25633,
-)
-
-
-_MACAROONID = _descriptor.Descriptor(
- name="MacaroonId",
- full_name="lnrpc.MacaroonId",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="nonce",
- full_name="lnrpc.MacaroonId.nonce",
- index=0,
- number=1,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="storageId",
- full_name="lnrpc.MacaroonId.storageId",
- index=1,
- number=2,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="ops",
- full_name="lnrpc.MacaroonId.ops",
- index=2,
- number=3,
- type=11,
- cpp_type=10,
- label=3,
- has_default_value=False,
- default_value=[],
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=25635,
- serialized_end=25705,
-)
-
-
-_OP = _descriptor.Descriptor(
- name="Op",
- full_name="lnrpc.Op",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="entity",
- full_name="lnrpc.Op.entity",
- index=0,
- number=1,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="actions",
- full_name="lnrpc.Op.actions",
- index=1,
- number=2,
- type=9,
- cpp_type=9,
- label=3,
- has_default_value=False,
- default_value=[],
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=25707,
- serialized_end=25744,
-)
-
-
-_CHECKMACPERMREQUEST = _descriptor.Descriptor(
- name="CheckMacPermRequest",
- full_name="lnrpc.CheckMacPermRequest",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="macaroon",
- full_name="lnrpc.CheckMacPermRequest.macaroon",
- index=0,
- number=1,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="permissions",
- full_name="lnrpc.CheckMacPermRequest.permissions",
- index=1,
- number=2,
- type=11,
- cpp_type=10,
- label=3,
- has_default_value=False,
- default_value=[],
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="fullMethod",
- full_name="lnrpc.CheckMacPermRequest.fullMethod",
- index=2,
- number=3,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=25746,
- serialized_end=25853,
-)
-
-
-_CHECKMACPERMRESPONSE = _descriptor.Descriptor(
- name="CheckMacPermResponse",
- full_name="lnrpc.CheckMacPermResponse",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="valid",
- full_name="lnrpc.CheckMacPermResponse.valid",
- index=0,
- number=1,
- type=8,
- cpp_type=7,
- label=1,
- has_default_value=False,
- default_value=False,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- )
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=25855,
- serialized_end=25892,
-)
-
-
-_RPCMIDDLEWAREREQUEST = _descriptor.Descriptor(
- name="RPCMiddlewareRequest",
- full_name="lnrpc.RPCMiddlewareRequest",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="request_id",
- full_name="lnrpc.RPCMiddlewareRequest.request_id",
- index=0,
- number=1,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="raw_macaroon",
- full_name="lnrpc.RPCMiddlewareRequest.raw_macaroon",
- index=1,
- number=2,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="custom_caveat_condition",
- full_name="lnrpc.RPCMiddlewareRequest.custom_caveat_condition",
- index=2,
- number=3,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="stream_auth",
- full_name="lnrpc.RPCMiddlewareRequest.stream_auth",
- index=3,
- number=4,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="request",
- full_name="lnrpc.RPCMiddlewareRequest.request",
- index=4,
- number=5,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="response",
- full_name="lnrpc.RPCMiddlewareRequest.response",
- index=5,
- number=6,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[
- _descriptor.OneofDescriptor(
- name="intercept_type",
- full_name="lnrpc.RPCMiddlewareRequest.intercept_type",
- index=0,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[],
- )
- ],
- serialized_start=25895,
- serialized_end=26129,
-)
-
-
-_STREAMAUTH = _descriptor.Descriptor(
- name="StreamAuth",
- full_name="lnrpc.StreamAuth",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="method_full_uri",
- full_name="lnrpc.StreamAuth.method_full_uri",
- index=0,
- number=1,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- )
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=26131,
- serialized_end=26168,
-)
-
-
-_RPCMESSAGE = _descriptor.Descriptor(
- name="RPCMessage",
- full_name="lnrpc.RPCMessage",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="method_full_uri",
- full_name="lnrpc.RPCMessage.method_full_uri",
- index=0,
- number=1,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="stream_rpc",
- full_name="lnrpc.RPCMessage.stream_rpc",
- index=1,
- number=2,
- type=8,
- cpp_type=7,
- label=1,
- has_default_value=False,
- default_value=False,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="type_name",
- full_name="lnrpc.RPCMessage.type_name",
- index=2,
- number=3,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="serialized",
- full_name="lnrpc.RPCMessage.serialized",
- index=3,
- number=4,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=26170,
- serialized_end=26266,
-)
-
-
-_RPCMIDDLEWARERESPONSE = _descriptor.Descriptor(
- name="RPCMiddlewareResponse",
- full_name="lnrpc.RPCMiddlewareResponse",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="request_id",
- full_name="lnrpc.RPCMiddlewareResponse.request_id",
- index=0,
- number=1,
- type=4,
- cpp_type=4,
- label=1,
- has_default_value=False,
- default_value=0,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="register",
- full_name="lnrpc.RPCMiddlewareResponse.register",
- index=1,
- number=2,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="feedback",
- full_name="lnrpc.RPCMiddlewareResponse.feedback",
- index=2,
- number=3,
- type=11,
- cpp_type=10,
- label=1,
- has_default_value=False,
- default_value=None,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[
- _descriptor.OneofDescriptor(
- name="middleware_message",
- full_name="lnrpc.RPCMiddlewareResponse.middleware_message",
- index=0,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[],
- )
- ],
- serialized_start=26269,
- serialized_end=26431,
-)
-
-
-_MIDDLEWAREREGISTRATION = _descriptor.Descriptor(
- name="MiddlewareRegistration",
- full_name="lnrpc.MiddlewareRegistration",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="middleware_name",
- full_name="lnrpc.MiddlewareRegistration.middleware_name",
- index=0,
- number=1,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="custom_macaroon_caveat_name",
- full_name="lnrpc.MiddlewareRegistration.custom_macaroon_caveat_name",
- index=1,
- number=2,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="read_only_mode",
- full_name="lnrpc.MiddlewareRegistration.read_only_mode",
- index=2,
- number=3,
- type=8,
- cpp_type=7,
- label=1,
- has_default_value=False,
- default_value=False,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=26433,
- serialized_end=26543,
-)
-
-
-_INTERCEPTFEEDBACK = _descriptor.Descriptor(
- name="InterceptFeedback",
- full_name="lnrpc.InterceptFeedback",
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name="error",
- full_name="lnrpc.InterceptFeedback.error",
- index=0,
- number=1,
- type=9,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"".decode("utf-8"),
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="replace_response",
- full_name="lnrpc.InterceptFeedback.replace_response",
- index=1,
- number=2,
- type=8,
- cpp_type=7,
- label=1,
- has_default_value=False,
- default_value=False,
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.FieldDescriptor(
- name="replacement_serialized",
- full_name="lnrpc.InterceptFeedback.replacement_serialized",
- index=2,
- number=3,
- type=12,
- cpp_type=9,
- label=1,
- has_default_value=False,
- default_value=b"",
- message_type=None,
- enum_type=None,
- containing_type=None,
- is_extension=False,
- extension_scope=None,
- serialized_options=None,
- file=DESCRIPTOR,
- create_key=_descriptor._internal_create_key,
- ),
- ],
- extensions=[],
- nested_types=[],
- enum_types=[],
- serialized_options=None,
- is_extendable=False,
- syntax="proto3",
- extension_ranges=[],
- oneofs=[],
- serialized_start=26545,
- serialized_end=26637,
-)
-
-_UTXO.fields_by_name["address_type"].enum_type = _ADDRESSTYPE
-_UTXO.fields_by_name["outpoint"].message_type = _OUTPOINT
-_TRANSACTIONDETAILS.fields_by_name["transactions"].message_type = _TRANSACTION
-_FEELIMIT.oneofs_by_name["limit"].fields.append(_FEELIMIT.fields_by_name["fixed"])
-_FEELIMIT.fields_by_name["fixed"].containing_oneof = _FEELIMIT.oneofs_by_name["limit"]
-_FEELIMIT.oneofs_by_name["limit"].fields.append(_FEELIMIT.fields_by_name["fixed_msat"])
-_FEELIMIT.fields_by_name["fixed_msat"].containing_oneof = _FEELIMIT.oneofs_by_name[
- "limit"
-]
-_FEELIMIT.oneofs_by_name["limit"].fields.append(_FEELIMIT.fields_by_name["percent"])
-_FEELIMIT.fields_by_name["percent"].containing_oneof = _FEELIMIT.oneofs_by_name["limit"]
-_SENDREQUEST_DESTCUSTOMRECORDSENTRY.containing_type = _SENDREQUEST
-_SENDREQUEST.fields_by_name["fee_limit"].message_type = _FEELIMIT
-_SENDREQUEST.fields_by_name[
- "dest_custom_records"
-].message_type = _SENDREQUEST_DESTCUSTOMRECORDSENTRY
-_SENDREQUEST.fields_by_name["dest_features"].enum_type = _FEATUREBIT
-_SENDRESPONSE.fields_by_name["payment_route"].message_type = _ROUTE
-_SENDTOROUTEREQUEST.fields_by_name["route"].message_type = _ROUTE
-_CHANNELACCEPTREQUEST.fields_by_name["commitment_type"].enum_type = _COMMITMENTTYPE
-_CHANNELPOINT.oneofs_by_name["funding_txid"].fields.append(
- _CHANNELPOINT.fields_by_name["funding_txid_bytes"]
-)
-_CHANNELPOINT.fields_by_name[
- "funding_txid_bytes"
-].containing_oneof = _CHANNELPOINT.oneofs_by_name["funding_txid"]
-_CHANNELPOINT.oneofs_by_name["funding_txid"].fields.append(
- _CHANNELPOINT.fields_by_name["funding_txid_str"]
-)
-_CHANNELPOINT.fields_by_name[
- "funding_txid_str"
-].containing_oneof = _CHANNELPOINT.oneofs_by_name["funding_txid"]
-_ESTIMATEFEEREQUEST_ADDRTOAMOUNTENTRY.containing_type = _ESTIMATEFEEREQUEST
-_ESTIMATEFEEREQUEST.fields_by_name[
- "AddrToAmount"
-].message_type = _ESTIMATEFEEREQUEST_ADDRTOAMOUNTENTRY
-_SENDMANYREQUEST_ADDRTOAMOUNTENTRY.containing_type = _SENDMANYREQUEST
-_SENDMANYREQUEST.fields_by_name[
- "AddrToAmount"
-].message_type = _SENDMANYREQUEST_ADDRTOAMOUNTENTRY
-_LISTUNSPENTRESPONSE.fields_by_name["utxos"].message_type = _UTXO
-_NEWADDRESSREQUEST.fields_by_name["type"].enum_type = _ADDRESSTYPE
-_CONNECTPEERREQUEST.fields_by_name["addr"].message_type = _LIGHTNINGADDRESS
-_CHANNEL.fields_by_name["pending_htlcs"].message_type = _HTLC
-_CHANNEL.fields_by_name["commitment_type"].enum_type = _COMMITMENTTYPE
-_CHANNEL.fields_by_name["local_constraints"].message_type = _CHANNELCONSTRAINTS
-_CHANNEL.fields_by_name["remote_constraints"].message_type = _CHANNELCONSTRAINTS
-_LISTCHANNELSRESPONSE.fields_by_name["channels"].message_type = _CHANNEL
-_CHANNELCLOSESUMMARY.fields_by_name[
- "close_type"
-].enum_type = _CHANNELCLOSESUMMARY_CLOSURETYPE
-_CHANNELCLOSESUMMARY.fields_by_name["open_initiator"].enum_type = _INITIATOR
-_CHANNELCLOSESUMMARY.fields_by_name["close_initiator"].enum_type = _INITIATOR
-_CHANNELCLOSESUMMARY.fields_by_name["resolutions"].message_type = _RESOLUTION
-_CHANNELCLOSESUMMARY_CLOSURETYPE.containing_type = _CHANNELCLOSESUMMARY
-_RESOLUTION.fields_by_name["resolution_type"].enum_type = _RESOLUTIONTYPE
-_RESOLUTION.fields_by_name["outcome"].enum_type = _RESOLUTIONOUTCOME
-_RESOLUTION.fields_by_name["outpoint"].message_type = _OUTPOINT
-_CLOSEDCHANNELSRESPONSE.fields_by_name["channels"].message_type = _CHANNELCLOSESUMMARY
-_PEER_FEATURESENTRY.fields_by_name["value"].message_type = _FEATURE
-_PEER_FEATURESENTRY.containing_type = _PEER
-_PEER.fields_by_name["sync_type"].enum_type = _PEER_SYNCTYPE
-_PEER.fields_by_name["features"].message_type = _PEER_FEATURESENTRY
-_PEER.fields_by_name["errors"].message_type = _TIMESTAMPEDERROR
-_PEER_SYNCTYPE.containing_type = _PEER
-_LISTPEERSRESPONSE.fields_by_name["peers"].message_type = _PEER
-_PEEREVENT.fields_by_name["type"].enum_type = _PEEREVENT_EVENTTYPE
-_PEEREVENT_EVENTTYPE.containing_type = _PEEREVENT
-_GETINFORESPONSE_FEATURESENTRY.fields_by_name["value"].message_type = _FEATURE
-_GETINFORESPONSE_FEATURESENTRY.containing_type = _GETINFORESPONSE
-_GETINFORESPONSE.fields_by_name["chains"].message_type = _CHAIN
-_GETINFORESPONSE.fields_by_name[
- "features"
-].message_type = _GETINFORESPONSE_FEATURESENTRY
-_CHANNELOPENUPDATE.fields_by_name["channel_point"].message_type = _CHANNELPOINT
-_CLOSECHANNELREQUEST.fields_by_name["channel_point"].message_type = _CHANNELPOINT
-_CLOSESTATUSUPDATE.fields_by_name["close_pending"].message_type = _PENDINGUPDATE
-_CLOSESTATUSUPDATE.fields_by_name["chan_close"].message_type = _CHANNELCLOSEUPDATE
-_CLOSESTATUSUPDATE.oneofs_by_name["update"].fields.append(
- _CLOSESTATUSUPDATE.fields_by_name["close_pending"]
-)
-_CLOSESTATUSUPDATE.fields_by_name[
- "close_pending"
-].containing_oneof = _CLOSESTATUSUPDATE.oneofs_by_name["update"]
-_CLOSESTATUSUPDATE.oneofs_by_name["update"].fields.append(
- _CLOSESTATUSUPDATE.fields_by_name["chan_close"]
-)
-_CLOSESTATUSUPDATE.fields_by_name[
- "chan_close"
-].containing_oneof = _CLOSESTATUSUPDATE.oneofs_by_name["update"]
-_BATCHOPENCHANNELREQUEST.fields_by_name["channels"].message_type = _BATCHOPENCHANNEL
-_BATCHOPENCHANNEL.fields_by_name["commitment_type"].enum_type = _COMMITMENTTYPE
-_BATCHOPENCHANNELRESPONSE.fields_by_name[
- "pending_channels"
-].message_type = _PENDINGUPDATE
-_OPENCHANNELREQUEST.fields_by_name["funding_shim"].message_type = _FUNDINGSHIM
-_OPENCHANNELREQUEST.fields_by_name["commitment_type"].enum_type = _COMMITMENTTYPE
-_OPENSTATUSUPDATE.fields_by_name["chan_pending"].message_type = _PENDINGUPDATE
-_OPENSTATUSUPDATE.fields_by_name["chan_open"].message_type = _CHANNELOPENUPDATE
-_OPENSTATUSUPDATE.fields_by_name["psbt_fund"].message_type = _READYFORPSBTFUNDING
-_OPENSTATUSUPDATE.oneofs_by_name["update"].fields.append(
- _OPENSTATUSUPDATE.fields_by_name["chan_pending"]
-)
-_OPENSTATUSUPDATE.fields_by_name[
- "chan_pending"
-].containing_oneof = _OPENSTATUSUPDATE.oneofs_by_name["update"]
-_OPENSTATUSUPDATE.oneofs_by_name["update"].fields.append(
- _OPENSTATUSUPDATE.fields_by_name["chan_open"]
-)
-_OPENSTATUSUPDATE.fields_by_name[
- "chan_open"
-].containing_oneof = _OPENSTATUSUPDATE.oneofs_by_name["update"]
-_OPENSTATUSUPDATE.oneofs_by_name["update"].fields.append(
- _OPENSTATUSUPDATE.fields_by_name["psbt_fund"]
-)
-_OPENSTATUSUPDATE.fields_by_name[
- "psbt_fund"
-].containing_oneof = _OPENSTATUSUPDATE.oneofs_by_name["update"]
-_KEYDESCRIPTOR.fields_by_name["key_loc"].message_type = _KEYLOCATOR
-_CHANPOINTSHIM.fields_by_name["chan_point"].message_type = _CHANNELPOINT
-_CHANPOINTSHIM.fields_by_name["local_key"].message_type = _KEYDESCRIPTOR
-_FUNDINGSHIM.fields_by_name["chan_point_shim"].message_type = _CHANPOINTSHIM
-_FUNDINGSHIM.fields_by_name["psbt_shim"].message_type = _PSBTSHIM
-_FUNDINGSHIM.oneofs_by_name["shim"].fields.append(
- _FUNDINGSHIM.fields_by_name["chan_point_shim"]
-)
-_FUNDINGSHIM.fields_by_name[
- "chan_point_shim"
-].containing_oneof = _FUNDINGSHIM.oneofs_by_name["shim"]
-_FUNDINGSHIM.oneofs_by_name["shim"].fields.append(
- _FUNDINGSHIM.fields_by_name["psbt_shim"]
-)
-_FUNDINGSHIM.fields_by_name["psbt_shim"].containing_oneof = _FUNDINGSHIM.oneofs_by_name[
- "shim"
-]
-_FUNDINGTRANSITIONMSG.fields_by_name["shim_register"].message_type = _FUNDINGSHIM
-_FUNDINGTRANSITIONMSG.fields_by_name["shim_cancel"].message_type = _FUNDINGSHIMCANCEL
-_FUNDINGTRANSITIONMSG.fields_by_name["psbt_verify"].message_type = _FUNDINGPSBTVERIFY
-_FUNDINGTRANSITIONMSG.fields_by_name[
- "psbt_finalize"
-].message_type = _FUNDINGPSBTFINALIZE
-_FUNDINGTRANSITIONMSG.oneofs_by_name["trigger"].fields.append(
- _FUNDINGTRANSITIONMSG.fields_by_name["shim_register"]
-)
-_FUNDINGTRANSITIONMSG.fields_by_name[
- "shim_register"
-].containing_oneof = _FUNDINGTRANSITIONMSG.oneofs_by_name["trigger"]
-_FUNDINGTRANSITIONMSG.oneofs_by_name["trigger"].fields.append(
- _FUNDINGTRANSITIONMSG.fields_by_name["shim_cancel"]
-)
-_FUNDINGTRANSITIONMSG.fields_by_name[
- "shim_cancel"
-].containing_oneof = _FUNDINGTRANSITIONMSG.oneofs_by_name["trigger"]
-_FUNDINGTRANSITIONMSG.oneofs_by_name["trigger"].fields.append(
- _FUNDINGTRANSITIONMSG.fields_by_name["psbt_verify"]
-)
-_FUNDINGTRANSITIONMSG.fields_by_name[
- "psbt_verify"
-].containing_oneof = _FUNDINGTRANSITIONMSG.oneofs_by_name["trigger"]
-_FUNDINGTRANSITIONMSG.oneofs_by_name["trigger"].fields.append(
- _FUNDINGTRANSITIONMSG.fields_by_name["psbt_finalize"]
-)
-_FUNDINGTRANSITIONMSG.fields_by_name[
- "psbt_finalize"
-].containing_oneof = _FUNDINGTRANSITIONMSG.oneofs_by_name["trigger"]
-_PENDINGCHANNELSRESPONSE_PENDINGCHANNEL.fields_by_name[
- "initiator"
-].enum_type = _INITIATOR
-_PENDINGCHANNELSRESPONSE_PENDINGCHANNEL.fields_by_name[
- "commitment_type"
-].enum_type = _COMMITMENTTYPE
-_PENDINGCHANNELSRESPONSE_PENDINGCHANNEL.containing_type = _PENDINGCHANNELSRESPONSE
-_PENDINGCHANNELSRESPONSE_PENDINGOPENCHANNEL.fields_by_name[
- "channel"
-].message_type = _PENDINGCHANNELSRESPONSE_PENDINGCHANNEL
-_PENDINGCHANNELSRESPONSE_PENDINGOPENCHANNEL.containing_type = _PENDINGCHANNELSRESPONSE
-_PENDINGCHANNELSRESPONSE_WAITINGCLOSECHANNEL.fields_by_name[
- "channel"
-].message_type = _PENDINGCHANNELSRESPONSE_PENDINGCHANNEL
-_PENDINGCHANNELSRESPONSE_WAITINGCLOSECHANNEL.fields_by_name[
- "commitments"
-].message_type = _PENDINGCHANNELSRESPONSE_COMMITMENTS
-_PENDINGCHANNELSRESPONSE_WAITINGCLOSECHANNEL.containing_type = _PENDINGCHANNELSRESPONSE
-_PENDINGCHANNELSRESPONSE_COMMITMENTS.containing_type = _PENDINGCHANNELSRESPONSE
-_PENDINGCHANNELSRESPONSE_CLOSEDCHANNEL.fields_by_name[
- "channel"
-].message_type = _PENDINGCHANNELSRESPONSE_PENDINGCHANNEL
-_PENDINGCHANNELSRESPONSE_CLOSEDCHANNEL.containing_type = _PENDINGCHANNELSRESPONSE
-_PENDINGCHANNELSRESPONSE_FORCECLOSEDCHANNEL.fields_by_name[
- "channel"
-].message_type = _PENDINGCHANNELSRESPONSE_PENDINGCHANNEL
-_PENDINGCHANNELSRESPONSE_FORCECLOSEDCHANNEL.fields_by_name[
- "pending_htlcs"
-].message_type = _PENDINGHTLC
-_PENDINGCHANNELSRESPONSE_FORCECLOSEDCHANNEL.fields_by_name[
- "anchor"
-].enum_type = _PENDINGCHANNELSRESPONSE_FORCECLOSEDCHANNEL_ANCHORSTATE
-_PENDINGCHANNELSRESPONSE_FORCECLOSEDCHANNEL.containing_type = _PENDINGCHANNELSRESPONSE
-_PENDINGCHANNELSRESPONSE_FORCECLOSEDCHANNEL_ANCHORSTATE.containing_type = (
- _PENDINGCHANNELSRESPONSE_FORCECLOSEDCHANNEL
-)
-_PENDINGCHANNELSRESPONSE.fields_by_name[
- "pending_open_channels"
-].message_type = _PENDINGCHANNELSRESPONSE_PENDINGOPENCHANNEL
-_PENDINGCHANNELSRESPONSE.fields_by_name[
- "pending_closing_channels"
-].message_type = _PENDINGCHANNELSRESPONSE_CLOSEDCHANNEL
-_PENDINGCHANNELSRESPONSE.fields_by_name[
- "pending_force_closing_channels"
-].message_type = _PENDINGCHANNELSRESPONSE_FORCECLOSEDCHANNEL
-_PENDINGCHANNELSRESPONSE.fields_by_name[
- "waiting_close_channels"
-].message_type = _PENDINGCHANNELSRESPONSE_WAITINGCLOSECHANNEL
-_CHANNELEVENTUPDATE.fields_by_name["open_channel"].message_type = _CHANNEL
-_CHANNELEVENTUPDATE.fields_by_name["closed_channel"].message_type = _CHANNELCLOSESUMMARY
-_CHANNELEVENTUPDATE.fields_by_name["active_channel"].message_type = _CHANNELPOINT
-_CHANNELEVENTUPDATE.fields_by_name["inactive_channel"].message_type = _CHANNELPOINT
-_CHANNELEVENTUPDATE.fields_by_name["pending_open_channel"].message_type = _PENDINGUPDATE
-_CHANNELEVENTUPDATE.fields_by_name[
- "fully_resolved_channel"
-].message_type = _CHANNELPOINT
-_CHANNELEVENTUPDATE.fields_by_name["type"].enum_type = _CHANNELEVENTUPDATE_UPDATETYPE
-_CHANNELEVENTUPDATE_UPDATETYPE.containing_type = _CHANNELEVENTUPDATE
-_CHANNELEVENTUPDATE.oneofs_by_name["channel"].fields.append(
- _CHANNELEVENTUPDATE.fields_by_name["open_channel"]
-)
-_CHANNELEVENTUPDATE.fields_by_name[
- "open_channel"
-].containing_oneof = _CHANNELEVENTUPDATE.oneofs_by_name["channel"]
-_CHANNELEVENTUPDATE.oneofs_by_name["channel"].fields.append(
- _CHANNELEVENTUPDATE.fields_by_name["closed_channel"]
-)
-_CHANNELEVENTUPDATE.fields_by_name[
- "closed_channel"
-].containing_oneof = _CHANNELEVENTUPDATE.oneofs_by_name["channel"]
-_CHANNELEVENTUPDATE.oneofs_by_name["channel"].fields.append(
- _CHANNELEVENTUPDATE.fields_by_name["active_channel"]
-)
-_CHANNELEVENTUPDATE.fields_by_name[
- "active_channel"
-].containing_oneof = _CHANNELEVENTUPDATE.oneofs_by_name["channel"]
-_CHANNELEVENTUPDATE.oneofs_by_name["channel"].fields.append(
- _CHANNELEVENTUPDATE.fields_by_name["inactive_channel"]
-)
-_CHANNELEVENTUPDATE.fields_by_name[
- "inactive_channel"
-].containing_oneof = _CHANNELEVENTUPDATE.oneofs_by_name["channel"]
-_CHANNELEVENTUPDATE.oneofs_by_name["channel"].fields.append(
- _CHANNELEVENTUPDATE.fields_by_name["pending_open_channel"]
-)
-_CHANNELEVENTUPDATE.fields_by_name[
- "pending_open_channel"
-].containing_oneof = _CHANNELEVENTUPDATE.oneofs_by_name["channel"]
-_CHANNELEVENTUPDATE.oneofs_by_name["channel"].fields.append(
- _CHANNELEVENTUPDATE.fields_by_name["fully_resolved_channel"]
-)
-_CHANNELEVENTUPDATE.fields_by_name[
- "fully_resolved_channel"
-].containing_oneof = _CHANNELEVENTUPDATE.oneofs_by_name["channel"]
-_WALLETBALANCERESPONSE_ACCOUNTBALANCEENTRY.fields_by_name[
- "value"
-].message_type = _WALLETACCOUNTBALANCE
-_WALLETBALANCERESPONSE_ACCOUNTBALANCEENTRY.containing_type = _WALLETBALANCERESPONSE
-_WALLETBALANCERESPONSE.fields_by_name[
- "account_balance"
-].message_type = _WALLETBALANCERESPONSE_ACCOUNTBALANCEENTRY
-_CHANNELBALANCERESPONSE.fields_by_name["local_balance"].message_type = _AMOUNT
-_CHANNELBALANCERESPONSE.fields_by_name["remote_balance"].message_type = _AMOUNT
-_CHANNELBALANCERESPONSE.fields_by_name["unsettled_local_balance"].message_type = _AMOUNT
-_CHANNELBALANCERESPONSE.fields_by_name[
- "unsettled_remote_balance"
-].message_type = _AMOUNT
-_CHANNELBALANCERESPONSE.fields_by_name[
- "pending_open_local_balance"
-].message_type = _AMOUNT
-_CHANNELBALANCERESPONSE.fields_by_name[
- "pending_open_remote_balance"
-].message_type = _AMOUNT
-_QUERYROUTESREQUEST_DESTCUSTOMRECORDSENTRY.containing_type = _QUERYROUTESREQUEST
-_QUERYROUTESREQUEST.fields_by_name["fee_limit"].message_type = _FEELIMIT
-_QUERYROUTESREQUEST.fields_by_name["ignored_edges"].message_type = _EDGELOCATOR
-_QUERYROUTESREQUEST.fields_by_name["ignored_pairs"].message_type = _NODEPAIR
-_QUERYROUTESREQUEST.fields_by_name[
- "dest_custom_records"
-].message_type = _QUERYROUTESREQUEST_DESTCUSTOMRECORDSENTRY
-_QUERYROUTESREQUEST.fields_by_name["route_hints"].message_type = _ROUTEHINT
-_QUERYROUTESREQUEST.fields_by_name["dest_features"].enum_type = _FEATUREBIT
-_QUERYROUTESRESPONSE.fields_by_name["routes"].message_type = _ROUTE
-_HOP_CUSTOMRECORDSENTRY.containing_type = _HOP
-_HOP.fields_by_name["mpp_record"].message_type = _MPPRECORD
-_HOP.fields_by_name["amp_record"].message_type = _AMPRECORD
-_HOP.fields_by_name["custom_records"].message_type = _HOP_CUSTOMRECORDSENTRY
-_ROUTE.fields_by_name["hops"].message_type = _HOP
-_NODEINFO.fields_by_name["node"].message_type = _LIGHTNINGNODE
-_NODEINFO.fields_by_name["channels"].message_type = _CHANNELEDGE
-_LIGHTNINGNODE_FEATURESENTRY.fields_by_name["value"].message_type = _FEATURE
-_LIGHTNINGNODE_FEATURESENTRY.containing_type = _LIGHTNINGNODE
-_LIGHTNINGNODE.fields_by_name["addresses"].message_type = _NODEADDRESS
-_LIGHTNINGNODE.fields_by_name["features"].message_type = _LIGHTNINGNODE_FEATURESENTRY
-_CHANNELEDGE.fields_by_name["node1_policy"].message_type = _ROUTINGPOLICY
-_CHANNELEDGE.fields_by_name["node2_policy"].message_type = _ROUTINGPOLICY
-_CHANNELGRAPH.fields_by_name["nodes"].message_type = _LIGHTNINGNODE
-_CHANNELGRAPH.fields_by_name["edges"].message_type = _CHANNELEDGE
-_NODEMETRICSREQUEST.fields_by_name["types"].enum_type = _NODEMETRICTYPE
-_NODEMETRICSRESPONSE_BETWEENNESSCENTRALITYENTRY.fields_by_name[
- "value"
-].message_type = _FLOATMETRIC
-_NODEMETRICSRESPONSE_BETWEENNESSCENTRALITYENTRY.containing_type = _NODEMETRICSRESPONSE
-_NODEMETRICSRESPONSE.fields_by_name[
- "betweenness_centrality"
-].message_type = _NODEMETRICSRESPONSE_BETWEENNESSCENTRALITYENTRY
-_GRAPHTOPOLOGYUPDATE.fields_by_name["node_updates"].message_type = _NODEUPDATE
-_GRAPHTOPOLOGYUPDATE.fields_by_name["channel_updates"].message_type = _CHANNELEDGEUPDATE
-_GRAPHTOPOLOGYUPDATE.fields_by_name["closed_chans"].message_type = _CLOSEDCHANNELUPDATE
-_NODEUPDATE_FEATURESENTRY.fields_by_name["value"].message_type = _FEATURE
-_NODEUPDATE_FEATURESENTRY.containing_type = _NODEUPDATE
-_NODEUPDATE.fields_by_name["node_addresses"].message_type = _NODEADDRESS
-_NODEUPDATE.fields_by_name["features"].message_type = _NODEUPDATE_FEATURESENTRY
-_CHANNELEDGEUPDATE.fields_by_name["chan_point"].message_type = _CHANNELPOINT
-_CHANNELEDGEUPDATE.fields_by_name["routing_policy"].message_type = _ROUTINGPOLICY
-_CLOSEDCHANNELUPDATE.fields_by_name["chan_point"].message_type = _CHANNELPOINT
-_ROUTEHINT.fields_by_name["hop_hints"].message_type = _HOPHINT
-_AMPINVOICESTATE.fields_by_name["state"].enum_type = _INVOICEHTLCSTATE
-_INVOICE_FEATURESENTRY.fields_by_name["value"].message_type = _FEATURE
-_INVOICE_FEATURESENTRY.containing_type = _INVOICE
-_INVOICE_AMPINVOICESTATEENTRY.fields_by_name["value"].message_type = _AMPINVOICESTATE
-_INVOICE_AMPINVOICESTATEENTRY.containing_type = _INVOICE
-_INVOICE.fields_by_name["route_hints"].message_type = _ROUTEHINT
-_INVOICE.fields_by_name["state"].enum_type = _INVOICE_INVOICESTATE
-_INVOICE.fields_by_name["htlcs"].message_type = _INVOICEHTLC
-_INVOICE.fields_by_name["features"].message_type = _INVOICE_FEATURESENTRY
-_INVOICE.fields_by_name[
- "amp_invoice_state"
-].message_type = _INVOICE_AMPINVOICESTATEENTRY
-_INVOICE_INVOICESTATE.containing_type = _INVOICE
-_INVOICEHTLC_CUSTOMRECORDSENTRY.containing_type = _INVOICEHTLC
-_INVOICEHTLC.fields_by_name["state"].enum_type = _INVOICEHTLCSTATE
-_INVOICEHTLC.fields_by_name[
- "custom_records"
-].message_type = _INVOICEHTLC_CUSTOMRECORDSENTRY
-_INVOICEHTLC.fields_by_name["amp"].message_type = _AMP
-_LISTINVOICERESPONSE.fields_by_name["invoices"].message_type = _INVOICE
-_PAYMENT.fields_by_name["status"].enum_type = _PAYMENT_PAYMENTSTATUS
-_PAYMENT.fields_by_name["htlcs"].message_type = _HTLCATTEMPT
-_PAYMENT.fields_by_name["failure_reason"].enum_type = _PAYMENTFAILUREREASON
-_PAYMENT_PAYMENTSTATUS.containing_type = _PAYMENT
-_HTLCATTEMPT.fields_by_name["status"].enum_type = _HTLCATTEMPT_HTLCSTATUS
-_HTLCATTEMPT.fields_by_name["route"].message_type = _ROUTE
-_HTLCATTEMPT.fields_by_name["failure"].message_type = _FAILURE
-_HTLCATTEMPT_HTLCSTATUS.containing_type = _HTLCATTEMPT
-_LISTPAYMENTSRESPONSE.fields_by_name["payments"].message_type = _PAYMENT
-_ABANDONCHANNELREQUEST.fields_by_name["channel_point"].message_type = _CHANNELPOINT
-_PAYREQ_FEATURESENTRY.fields_by_name["value"].message_type = _FEATURE
-_PAYREQ_FEATURESENTRY.containing_type = _PAYREQ
-_PAYREQ.fields_by_name["route_hints"].message_type = _ROUTEHINT
-_PAYREQ.fields_by_name["features"].message_type = _PAYREQ_FEATURESENTRY
-_FEEREPORTRESPONSE.fields_by_name["channel_fees"].message_type = _CHANNELFEEREPORT
-_POLICYUPDATEREQUEST.fields_by_name["chan_point"].message_type = _CHANNELPOINT
-_POLICYUPDATEREQUEST.oneofs_by_name["scope"].fields.append(
- _POLICYUPDATEREQUEST.fields_by_name["global"]
-)
-_POLICYUPDATEREQUEST.fields_by_name[
- "global"
-].containing_oneof = _POLICYUPDATEREQUEST.oneofs_by_name["scope"]
-_POLICYUPDATEREQUEST.oneofs_by_name["scope"].fields.append(
- _POLICYUPDATEREQUEST.fields_by_name["chan_point"]
-)
-_POLICYUPDATEREQUEST.fields_by_name[
- "chan_point"
-].containing_oneof = _POLICYUPDATEREQUEST.oneofs_by_name["scope"]
-_FAILEDUPDATE.fields_by_name["outpoint"].message_type = _OUTPOINT
-_FAILEDUPDATE.fields_by_name["reason"].enum_type = _UPDATEFAILURE
-_POLICYUPDATERESPONSE.fields_by_name["failed_updates"].message_type = _FAILEDUPDATE
-_FORWARDINGHISTORYRESPONSE.fields_by_name[
- "forwarding_events"
-].message_type = _FORWARDINGEVENT
-_EXPORTCHANNELBACKUPREQUEST.fields_by_name["chan_point"].message_type = _CHANNELPOINT
-_CHANNELBACKUP.fields_by_name["chan_point"].message_type = _CHANNELPOINT
-_MULTICHANBACKUP.fields_by_name["chan_points"].message_type = _CHANNELPOINT
-_CHANBACKUPSNAPSHOT.fields_by_name["single_chan_backups"].message_type = _CHANNELBACKUPS
-_CHANBACKUPSNAPSHOT.fields_by_name["multi_chan_backup"].message_type = _MULTICHANBACKUP
-_CHANNELBACKUPS.fields_by_name["chan_backups"].message_type = _CHANNELBACKUP
-_RESTORECHANBACKUPREQUEST.fields_by_name["chan_backups"].message_type = _CHANNELBACKUPS
-_RESTORECHANBACKUPREQUEST.oneofs_by_name["backup"].fields.append(
- _RESTORECHANBACKUPREQUEST.fields_by_name["chan_backups"]
-)
-_RESTORECHANBACKUPREQUEST.fields_by_name[
- "chan_backups"
-].containing_oneof = _RESTORECHANBACKUPREQUEST.oneofs_by_name["backup"]
-_RESTORECHANBACKUPREQUEST.oneofs_by_name["backup"].fields.append(
- _RESTORECHANBACKUPREQUEST.fields_by_name["multi_chan_backup"]
-)
-_RESTORECHANBACKUPREQUEST.fields_by_name[
- "multi_chan_backup"
-].containing_oneof = _RESTORECHANBACKUPREQUEST.oneofs_by_name["backup"]
-_BAKEMACAROONREQUEST.fields_by_name["permissions"].message_type = _MACAROONPERMISSION
-_MACAROONPERMISSIONLIST.fields_by_name["permissions"].message_type = _MACAROONPERMISSION
-_LISTPERMISSIONSRESPONSE_METHODPERMISSIONSENTRY.fields_by_name[
- "value"
-].message_type = _MACAROONPERMISSIONLIST
-_LISTPERMISSIONSRESPONSE_METHODPERMISSIONSENTRY.containing_type = (
- _LISTPERMISSIONSRESPONSE
-)
-_LISTPERMISSIONSRESPONSE.fields_by_name[
- "method_permissions"
-].message_type = _LISTPERMISSIONSRESPONSE_METHODPERMISSIONSENTRY
-_FAILURE.fields_by_name["code"].enum_type = _FAILURE_FAILURECODE
-_FAILURE.fields_by_name["channel_update"].message_type = _CHANNELUPDATE
-_FAILURE_FAILURECODE.containing_type = _FAILURE
-_MACAROONID.fields_by_name["ops"].message_type = _OP
-_CHECKMACPERMREQUEST.fields_by_name["permissions"].message_type = _MACAROONPERMISSION
-_RPCMIDDLEWAREREQUEST.fields_by_name["stream_auth"].message_type = _STREAMAUTH
-_RPCMIDDLEWAREREQUEST.fields_by_name["request"].message_type = _RPCMESSAGE
-_RPCMIDDLEWAREREQUEST.fields_by_name["response"].message_type = _RPCMESSAGE
-_RPCMIDDLEWAREREQUEST.oneofs_by_name["intercept_type"].fields.append(
- _RPCMIDDLEWAREREQUEST.fields_by_name["stream_auth"]
-)
-_RPCMIDDLEWAREREQUEST.fields_by_name[
- "stream_auth"
-].containing_oneof = _RPCMIDDLEWAREREQUEST.oneofs_by_name["intercept_type"]
-_RPCMIDDLEWAREREQUEST.oneofs_by_name["intercept_type"].fields.append(
- _RPCMIDDLEWAREREQUEST.fields_by_name["request"]
-)
-_RPCMIDDLEWAREREQUEST.fields_by_name[
- "request"
-].containing_oneof = _RPCMIDDLEWAREREQUEST.oneofs_by_name["intercept_type"]
-_RPCMIDDLEWAREREQUEST.oneofs_by_name["intercept_type"].fields.append(
- _RPCMIDDLEWAREREQUEST.fields_by_name["response"]
-)
-_RPCMIDDLEWAREREQUEST.fields_by_name[
- "response"
-].containing_oneof = _RPCMIDDLEWAREREQUEST.oneofs_by_name["intercept_type"]
-_RPCMIDDLEWARERESPONSE.fields_by_name["register"].message_type = _MIDDLEWAREREGISTRATION
-_RPCMIDDLEWARERESPONSE.fields_by_name["feedback"].message_type = _INTERCEPTFEEDBACK
-_RPCMIDDLEWARERESPONSE.oneofs_by_name["middleware_message"].fields.append(
- _RPCMIDDLEWARERESPONSE.fields_by_name["register"]
-)
-_RPCMIDDLEWARERESPONSE.fields_by_name[
- "register"
-].containing_oneof = _RPCMIDDLEWARERESPONSE.oneofs_by_name["middleware_message"]
-_RPCMIDDLEWARERESPONSE.oneofs_by_name["middleware_message"].fields.append(
- _RPCMIDDLEWARERESPONSE.fields_by_name["feedback"]
-)
-_RPCMIDDLEWARERESPONSE.fields_by_name[
- "feedback"
-].containing_oneof = _RPCMIDDLEWARERESPONSE.oneofs_by_name["middleware_message"]
-DESCRIPTOR.message_types_by_name[
+_SUBSCRIBECUSTOMMESSAGESREQUEST = DESCRIPTOR.message_types_by_name[
"SubscribeCustomMessagesRequest"
-] = _SUBSCRIBECUSTOMMESSAGESREQUEST
-DESCRIPTOR.message_types_by_name["CustomMessage"] = _CUSTOMMESSAGE
-DESCRIPTOR.message_types_by_name["SendCustomMessageRequest"] = _SENDCUSTOMMESSAGEREQUEST
-DESCRIPTOR.message_types_by_name[
+]
+_CUSTOMMESSAGE = DESCRIPTOR.message_types_by_name["CustomMessage"]
+_SENDCUSTOMMESSAGEREQUEST = DESCRIPTOR.message_types_by_name["SendCustomMessageRequest"]
+_SENDCUSTOMMESSAGERESPONSE = DESCRIPTOR.message_types_by_name[
"SendCustomMessageResponse"
-] = _SENDCUSTOMMESSAGERESPONSE
-DESCRIPTOR.message_types_by_name["Utxo"] = _UTXO
-DESCRIPTOR.message_types_by_name["Transaction"] = _TRANSACTION
-DESCRIPTOR.message_types_by_name["GetTransactionsRequest"] = _GETTRANSACTIONSREQUEST
-DESCRIPTOR.message_types_by_name["TransactionDetails"] = _TRANSACTIONDETAILS
-DESCRIPTOR.message_types_by_name["FeeLimit"] = _FEELIMIT
-DESCRIPTOR.message_types_by_name["SendRequest"] = _SENDREQUEST
-DESCRIPTOR.message_types_by_name["SendResponse"] = _SENDRESPONSE
-DESCRIPTOR.message_types_by_name["SendToRouteRequest"] = _SENDTOROUTEREQUEST
-DESCRIPTOR.message_types_by_name["ChannelAcceptRequest"] = _CHANNELACCEPTREQUEST
-DESCRIPTOR.message_types_by_name["ChannelAcceptResponse"] = _CHANNELACCEPTRESPONSE
-DESCRIPTOR.message_types_by_name["ChannelPoint"] = _CHANNELPOINT
-DESCRIPTOR.message_types_by_name["OutPoint"] = _OUTPOINT
-DESCRIPTOR.message_types_by_name["LightningAddress"] = _LIGHTNINGADDRESS
-DESCRIPTOR.message_types_by_name["EstimateFeeRequest"] = _ESTIMATEFEEREQUEST
-DESCRIPTOR.message_types_by_name["EstimateFeeResponse"] = _ESTIMATEFEERESPONSE
-DESCRIPTOR.message_types_by_name["SendManyRequest"] = _SENDMANYREQUEST
-DESCRIPTOR.message_types_by_name["SendManyResponse"] = _SENDMANYRESPONSE
-DESCRIPTOR.message_types_by_name["SendCoinsRequest"] = _SENDCOINSREQUEST
-DESCRIPTOR.message_types_by_name["SendCoinsResponse"] = _SENDCOINSRESPONSE
-DESCRIPTOR.message_types_by_name["ListUnspentRequest"] = _LISTUNSPENTREQUEST
-DESCRIPTOR.message_types_by_name["ListUnspentResponse"] = _LISTUNSPENTRESPONSE
-DESCRIPTOR.message_types_by_name["NewAddressRequest"] = _NEWADDRESSREQUEST
-DESCRIPTOR.message_types_by_name["NewAddressResponse"] = _NEWADDRESSRESPONSE
-DESCRIPTOR.message_types_by_name["SignMessageRequest"] = _SIGNMESSAGEREQUEST
-DESCRIPTOR.message_types_by_name["SignMessageResponse"] = _SIGNMESSAGERESPONSE
-DESCRIPTOR.message_types_by_name["VerifyMessageRequest"] = _VERIFYMESSAGEREQUEST
-DESCRIPTOR.message_types_by_name["VerifyMessageResponse"] = _VERIFYMESSAGERESPONSE
-DESCRIPTOR.message_types_by_name["ConnectPeerRequest"] = _CONNECTPEERREQUEST
-DESCRIPTOR.message_types_by_name["ConnectPeerResponse"] = _CONNECTPEERRESPONSE
-DESCRIPTOR.message_types_by_name["DisconnectPeerRequest"] = _DISCONNECTPEERREQUEST
-DESCRIPTOR.message_types_by_name["DisconnectPeerResponse"] = _DISCONNECTPEERRESPONSE
-DESCRIPTOR.message_types_by_name["HTLC"] = _HTLC
-DESCRIPTOR.message_types_by_name["ChannelConstraints"] = _CHANNELCONSTRAINTS
-DESCRIPTOR.message_types_by_name["Channel"] = _CHANNEL
-DESCRIPTOR.message_types_by_name["ListChannelsRequest"] = _LISTCHANNELSREQUEST
-DESCRIPTOR.message_types_by_name["ListChannelsResponse"] = _LISTCHANNELSRESPONSE
-DESCRIPTOR.message_types_by_name["ChannelCloseSummary"] = _CHANNELCLOSESUMMARY
-DESCRIPTOR.message_types_by_name["Resolution"] = _RESOLUTION
-DESCRIPTOR.message_types_by_name["ClosedChannelsRequest"] = _CLOSEDCHANNELSREQUEST
-DESCRIPTOR.message_types_by_name["ClosedChannelsResponse"] = _CLOSEDCHANNELSRESPONSE
-DESCRIPTOR.message_types_by_name["Peer"] = _PEER
-DESCRIPTOR.message_types_by_name["TimestampedError"] = _TIMESTAMPEDERROR
-DESCRIPTOR.message_types_by_name["ListPeersRequest"] = _LISTPEERSREQUEST
-DESCRIPTOR.message_types_by_name["ListPeersResponse"] = _LISTPEERSRESPONSE
-DESCRIPTOR.message_types_by_name["PeerEventSubscription"] = _PEEREVENTSUBSCRIPTION
-DESCRIPTOR.message_types_by_name["PeerEvent"] = _PEEREVENT
-DESCRIPTOR.message_types_by_name["GetInfoRequest"] = _GETINFOREQUEST
-DESCRIPTOR.message_types_by_name["GetInfoResponse"] = _GETINFORESPONSE
-DESCRIPTOR.message_types_by_name["GetRecoveryInfoRequest"] = _GETRECOVERYINFOREQUEST
-DESCRIPTOR.message_types_by_name["GetRecoveryInfoResponse"] = _GETRECOVERYINFORESPONSE
-DESCRIPTOR.message_types_by_name["Chain"] = _CHAIN
-DESCRIPTOR.message_types_by_name["ConfirmationUpdate"] = _CONFIRMATIONUPDATE
-DESCRIPTOR.message_types_by_name["ChannelOpenUpdate"] = _CHANNELOPENUPDATE
-DESCRIPTOR.message_types_by_name["ChannelCloseUpdate"] = _CHANNELCLOSEUPDATE
-DESCRIPTOR.message_types_by_name["CloseChannelRequest"] = _CLOSECHANNELREQUEST
-DESCRIPTOR.message_types_by_name["CloseStatusUpdate"] = _CLOSESTATUSUPDATE
-DESCRIPTOR.message_types_by_name["PendingUpdate"] = _PENDINGUPDATE
-DESCRIPTOR.message_types_by_name["ReadyForPsbtFunding"] = _READYFORPSBTFUNDING
-DESCRIPTOR.message_types_by_name["BatchOpenChannelRequest"] = _BATCHOPENCHANNELREQUEST
-DESCRIPTOR.message_types_by_name["BatchOpenChannel"] = _BATCHOPENCHANNEL
-DESCRIPTOR.message_types_by_name["BatchOpenChannelResponse"] = _BATCHOPENCHANNELRESPONSE
-DESCRIPTOR.message_types_by_name["OpenChannelRequest"] = _OPENCHANNELREQUEST
-DESCRIPTOR.message_types_by_name["OpenStatusUpdate"] = _OPENSTATUSUPDATE
-DESCRIPTOR.message_types_by_name["KeyLocator"] = _KEYLOCATOR
-DESCRIPTOR.message_types_by_name["KeyDescriptor"] = _KEYDESCRIPTOR
-DESCRIPTOR.message_types_by_name["ChanPointShim"] = _CHANPOINTSHIM
-DESCRIPTOR.message_types_by_name["PsbtShim"] = _PSBTSHIM
-DESCRIPTOR.message_types_by_name["FundingShim"] = _FUNDINGSHIM
-DESCRIPTOR.message_types_by_name["FundingShimCancel"] = _FUNDINGSHIMCANCEL
-DESCRIPTOR.message_types_by_name["FundingPsbtVerify"] = _FUNDINGPSBTVERIFY
-DESCRIPTOR.message_types_by_name["FundingPsbtFinalize"] = _FUNDINGPSBTFINALIZE
-DESCRIPTOR.message_types_by_name["FundingTransitionMsg"] = _FUNDINGTRANSITIONMSG
-DESCRIPTOR.message_types_by_name["FundingStateStepResp"] = _FUNDINGSTATESTEPRESP
-DESCRIPTOR.message_types_by_name["PendingHTLC"] = _PENDINGHTLC
-DESCRIPTOR.message_types_by_name["PendingChannelsRequest"] = _PENDINGCHANNELSREQUEST
-DESCRIPTOR.message_types_by_name["PendingChannelsResponse"] = _PENDINGCHANNELSRESPONSE
-DESCRIPTOR.message_types_by_name["ChannelEventSubscription"] = _CHANNELEVENTSUBSCRIPTION
-DESCRIPTOR.message_types_by_name["ChannelEventUpdate"] = _CHANNELEVENTUPDATE
-DESCRIPTOR.message_types_by_name["WalletAccountBalance"] = _WALLETACCOUNTBALANCE
-DESCRIPTOR.message_types_by_name["WalletBalanceRequest"] = _WALLETBALANCEREQUEST
-DESCRIPTOR.message_types_by_name["WalletBalanceResponse"] = _WALLETBALANCERESPONSE
-DESCRIPTOR.message_types_by_name["Amount"] = _AMOUNT
-DESCRIPTOR.message_types_by_name["ChannelBalanceRequest"] = _CHANNELBALANCEREQUEST
-DESCRIPTOR.message_types_by_name["ChannelBalanceResponse"] = _CHANNELBALANCERESPONSE
-DESCRIPTOR.message_types_by_name["QueryRoutesRequest"] = _QUERYROUTESREQUEST
-DESCRIPTOR.message_types_by_name["NodePair"] = _NODEPAIR
-DESCRIPTOR.message_types_by_name["EdgeLocator"] = _EDGELOCATOR
-DESCRIPTOR.message_types_by_name["QueryRoutesResponse"] = _QUERYROUTESRESPONSE
-DESCRIPTOR.message_types_by_name["Hop"] = _HOP
-DESCRIPTOR.message_types_by_name["MPPRecord"] = _MPPRECORD
-DESCRIPTOR.message_types_by_name["AMPRecord"] = _AMPRECORD
-DESCRIPTOR.message_types_by_name["Route"] = _ROUTE
-DESCRIPTOR.message_types_by_name["NodeInfoRequest"] = _NODEINFOREQUEST
-DESCRIPTOR.message_types_by_name["NodeInfo"] = _NODEINFO
-DESCRIPTOR.message_types_by_name["LightningNode"] = _LIGHTNINGNODE
-DESCRIPTOR.message_types_by_name["NodeAddress"] = _NODEADDRESS
-DESCRIPTOR.message_types_by_name["RoutingPolicy"] = _ROUTINGPOLICY
-DESCRIPTOR.message_types_by_name["ChannelEdge"] = _CHANNELEDGE
-DESCRIPTOR.message_types_by_name["ChannelGraphRequest"] = _CHANNELGRAPHREQUEST
-DESCRIPTOR.message_types_by_name["ChannelGraph"] = _CHANNELGRAPH
-DESCRIPTOR.message_types_by_name["NodeMetricsRequest"] = _NODEMETRICSREQUEST
-DESCRIPTOR.message_types_by_name["NodeMetricsResponse"] = _NODEMETRICSRESPONSE
-DESCRIPTOR.message_types_by_name["FloatMetric"] = _FLOATMETRIC
-DESCRIPTOR.message_types_by_name["ChanInfoRequest"] = _CHANINFOREQUEST
-DESCRIPTOR.message_types_by_name["NetworkInfoRequest"] = _NETWORKINFOREQUEST
-DESCRIPTOR.message_types_by_name["NetworkInfo"] = _NETWORKINFO
-DESCRIPTOR.message_types_by_name["StopRequest"] = _STOPREQUEST
-DESCRIPTOR.message_types_by_name["StopResponse"] = _STOPRESPONSE
-DESCRIPTOR.message_types_by_name[
+]
+_UTXO = DESCRIPTOR.message_types_by_name["Utxo"]
+_OUTPUTDETAIL = DESCRIPTOR.message_types_by_name["OutputDetail"]
+_TRANSACTION = DESCRIPTOR.message_types_by_name["Transaction"]
+_GETTRANSACTIONSREQUEST = DESCRIPTOR.message_types_by_name["GetTransactionsRequest"]
+_TRANSACTIONDETAILS = DESCRIPTOR.message_types_by_name["TransactionDetails"]
+_FEELIMIT = DESCRIPTOR.message_types_by_name["FeeLimit"]
+_SENDREQUEST = DESCRIPTOR.message_types_by_name["SendRequest"]
+_SENDREQUEST_DESTCUSTOMRECORDSENTRY = _SENDREQUEST.nested_types_by_name[
+ "DestCustomRecordsEntry"
+]
+_SENDRESPONSE = DESCRIPTOR.message_types_by_name["SendResponse"]
+_SENDTOROUTEREQUEST = DESCRIPTOR.message_types_by_name["SendToRouteRequest"]
+_CHANNELACCEPTREQUEST = DESCRIPTOR.message_types_by_name["ChannelAcceptRequest"]
+_CHANNELACCEPTRESPONSE = DESCRIPTOR.message_types_by_name["ChannelAcceptResponse"]
+_CHANNELPOINT = DESCRIPTOR.message_types_by_name["ChannelPoint"]
+_OUTPOINT = DESCRIPTOR.message_types_by_name["OutPoint"]
+_PREVIOUSOUTPOINT = DESCRIPTOR.message_types_by_name["PreviousOutPoint"]
+_LIGHTNINGADDRESS = DESCRIPTOR.message_types_by_name["LightningAddress"]
+_ESTIMATEFEEREQUEST = DESCRIPTOR.message_types_by_name["EstimateFeeRequest"]
+_ESTIMATEFEEREQUEST_ADDRTOAMOUNTENTRY = _ESTIMATEFEEREQUEST.nested_types_by_name[
+ "AddrToAmountEntry"
+]
+_ESTIMATEFEERESPONSE = DESCRIPTOR.message_types_by_name["EstimateFeeResponse"]
+_SENDMANYREQUEST = DESCRIPTOR.message_types_by_name["SendManyRequest"]
+_SENDMANYREQUEST_ADDRTOAMOUNTENTRY = _SENDMANYREQUEST.nested_types_by_name[
+ "AddrToAmountEntry"
+]
+_SENDMANYRESPONSE = DESCRIPTOR.message_types_by_name["SendManyResponse"]
+_SENDCOINSREQUEST = DESCRIPTOR.message_types_by_name["SendCoinsRequest"]
+_SENDCOINSRESPONSE = DESCRIPTOR.message_types_by_name["SendCoinsResponse"]
+_LISTUNSPENTREQUEST = DESCRIPTOR.message_types_by_name["ListUnspentRequest"]
+_LISTUNSPENTRESPONSE = DESCRIPTOR.message_types_by_name["ListUnspentResponse"]
+_NEWADDRESSREQUEST = DESCRIPTOR.message_types_by_name["NewAddressRequest"]
+_NEWADDRESSRESPONSE = DESCRIPTOR.message_types_by_name["NewAddressResponse"]
+_SIGNMESSAGEREQUEST = DESCRIPTOR.message_types_by_name["SignMessageRequest"]
+_SIGNMESSAGERESPONSE = DESCRIPTOR.message_types_by_name["SignMessageResponse"]
+_VERIFYMESSAGEREQUEST = DESCRIPTOR.message_types_by_name["VerifyMessageRequest"]
+_VERIFYMESSAGERESPONSE = DESCRIPTOR.message_types_by_name["VerifyMessageResponse"]
+_CONNECTPEERREQUEST = DESCRIPTOR.message_types_by_name["ConnectPeerRequest"]
+_CONNECTPEERRESPONSE = DESCRIPTOR.message_types_by_name["ConnectPeerResponse"]
+_DISCONNECTPEERREQUEST = DESCRIPTOR.message_types_by_name["DisconnectPeerRequest"]
+_DISCONNECTPEERRESPONSE = DESCRIPTOR.message_types_by_name["DisconnectPeerResponse"]
+_HTLC = DESCRIPTOR.message_types_by_name["HTLC"]
+_CHANNELCONSTRAINTS = DESCRIPTOR.message_types_by_name["ChannelConstraints"]
+_CHANNEL = DESCRIPTOR.message_types_by_name["Channel"]
+_LISTCHANNELSREQUEST = DESCRIPTOR.message_types_by_name["ListChannelsRequest"]
+_LISTCHANNELSRESPONSE = DESCRIPTOR.message_types_by_name["ListChannelsResponse"]
+_CHANNELCLOSESUMMARY = DESCRIPTOR.message_types_by_name["ChannelCloseSummary"]
+_RESOLUTION = DESCRIPTOR.message_types_by_name["Resolution"]
+_CLOSEDCHANNELSREQUEST = DESCRIPTOR.message_types_by_name["ClosedChannelsRequest"]
+_CLOSEDCHANNELSRESPONSE = DESCRIPTOR.message_types_by_name["ClosedChannelsResponse"]
+_PEER = DESCRIPTOR.message_types_by_name["Peer"]
+_PEER_FEATURESENTRY = _PEER.nested_types_by_name["FeaturesEntry"]
+_TIMESTAMPEDERROR = DESCRIPTOR.message_types_by_name["TimestampedError"]
+_LISTPEERSREQUEST = DESCRIPTOR.message_types_by_name["ListPeersRequest"]
+_LISTPEERSRESPONSE = DESCRIPTOR.message_types_by_name["ListPeersResponse"]
+_PEEREVENTSUBSCRIPTION = DESCRIPTOR.message_types_by_name["PeerEventSubscription"]
+_PEEREVENT = DESCRIPTOR.message_types_by_name["PeerEvent"]
+_GETINFOREQUEST = DESCRIPTOR.message_types_by_name["GetInfoRequest"]
+_GETINFORESPONSE = DESCRIPTOR.message_types_by_name["GetInfoResponse"]
+_GETINFORESPONSE_FEATURESENTRY = _GETINFORESPONSE.nested_types_by_name["FeaturesEntry"]
+_GETRECOVERYINFOREQUEST = DESCRIPTOR.message_types_by_name["GetRecoveryInfoRequest"]
+_GETRECOVERYINFORESPONSE = DESCRIPTOR.message_types_by_name["GetRecoveryInfoResponse"]
+_CHAIN = DESCRIPTOR.message_types_by_name["Chain"]
+_CONFIRMATIONUPDATE = DESCRIPTOR.message_types_by_name["ConfirmationUpdate"]
+_CHANNELOPENUPDATE = DESCRIPTOR.message_types_by_name["ChannelOpenUpdate"]
+_CHANNELCLOSEUPDATE = DESCRIPTOR.message_types_by_name["ChannelCloseUpdate"]
+_CLOSECHANNELREQUEST = DESCRIPTOR.message_types_by_name["CloseChannelRequest"]
+_CLOSESTATUSUPDATE = DESCRIPTOR.message_types_by_name["CloseStatusUpdate"]
+_PENDINGUPDATE = DESCRIPTOR.message_types_by_name["PendingUpdate"]
+_READYFORPSBTFUNDING = DESCRIPTOR.message_types_by_name["ReadyForPsbtFunding"]
+_BATCHOPENCHANNELREQUEST = DESCRIPTOR.message_types_by_name["BatchOpenChannelRequest"]
+_BATCHOPENCHANNEL = DESCRIPTOR.message_types_by_name["BatchOpenChannel"]
+_BATCHOPENCHANNELRESPONSE = DESCRIPTOR.message_types_by_name["BatchOpenChannelResponse"]
+_OPENCHANNELREQUEST = DESCRIPTOR.message_types_by_name["OpenChannelRequest"]
+_OPENSTATUSUPDATE = DESCRIPTOR.message_types_by_name["OpenStatusUpdate"]
+_KEYLOCATOR = DESCRIPTOR.message_types_by_name["KeyLocator"]
+_KEYDESCRIPTOR = DESCRIPTOR.message_types_by_name["KeyDescriptor"]
+_CHANPOINTSHIM = DESCRIPTOR.message_types_by_name["ChanPointShim"]
+_PSBTSHIM = DESCRIPTOR.message_types_by_name["PsbtShim"]
+_FUNDINGSHIM = DESCRIPTOR.message_types_by_name["FundingShim"]
+_FUNDINGSHIMCANCEL = DESCRIPTOR.message_types_by_name["FundingShimCancel"]
+_FUNDINGPSBTVERIFY = DESCRIPTOR.message_types_by_name["FundingPsbtVerify"]
+_FUNDINGPSBTFINALIZE = DESCRIPTOR.message_types_by_name["FundingPsbtFinalize"]
+_FUNDINGTRANSITIONMSG = DESCRIPTOR.message_types_by_name["FundingTransitionMsg"]
+_FUNDINGSTATESTEPRESP = DESCRIPTOR.message_types_by_name["FundingStateStepResp"]
+_PENDINGHTLC = DESCRIPTOR.message_types_by_name["PendingHTLC"]
+_PENDINGCHANNELSREQUEST = DESCRIPTOR.message_types_by_name["PendingChannelsRequest"]
+_PENDINGCHANNELSRESPONSE = DESCRIPTOR.message_types_by_name["PendingChannelsResponse"]
+_PENDINGCHANNELSRESPONSE_PENDINGCHANNEL = _PENDINGCHANNELSRESPONSE.nested_types_by_name[
+ "PendingChannel"
+]
+_PENDINGCHANNELSRESPONSE_PENDINGOPENCHANNEL = (
+ _PENDINGCHANNELSRESPONSE.nested_types_by_name["PendingOpenChannel"]
+)
+_PENDINGCHANNELSRESPONSE_WAITINGCLOSECHANNEL = (
+ _PENDINGCHANNELSRESPONSE.nested_types_by_name["WaitingCloseChannel"]
+)
+_PENDINGCHANNELSRESPONSE_COMMITMENTS = _PENDINGCHANNELSRESPONSE.nested_types_by_name[
+ "Commitments"
+]
+_PENDINGCHANNELSRESPONSE_CLOSEDCHANNEL = _PENDINGCHANNELSRESPONSE.nested_types_by_name[
+ "ClosedChannel"
+]
+_PENDINGCHANNELSRESPONSE_FORCECLOSEDCHANNEL = (
+ _PENDINGCHANNELSRESPONSE.nested_types_by_name["ForceClosedChannel"]
+)
+_CHANNELEVENTSUBSCRIPTION = DESCRIPTOR.message_types_by_name["ChannelEventSubscription"]
+_CHANNELEVENTUPDATE = DESCRIPTOR.message_types_by_name["ChannelEventUpdate"]
+_WALLETACCOUNTBALANCE = DESCRIPTOR.message_types_by_name["WalletAccountBalance"]
+_WALLETBALANCEREQUEST = DESCRIPTOR.message_types_by_name["WalletBalanceRequest"]
+_WALLETBALANCERESPONSE = DESCRIPTOR.message_types_by_name["WalletBalanceResponse"]
+_WALLETBALANCERESPONSE_ACCOUNTBALANCEENTRY = (
+ _WALLETBALANCERESPONSE.nested_types_by_name["AccountBalanceEntry"]
+)
+_AMOUNT = DESCRIPTOR.message_types_by_name["Amount"]
+_CHANNELBALANCEREQUEST = DESCRIPTOR.message_types_by_name["ChannelBalanceRequest"]
+_CHANNELBALANCERESPONSE = DESCRIPTOR.message_types_by_name["ChannelBalanceResponse"]
+_QUERYROUTESREQUEST = DESCRIPTOR.message_types_by_name["QueryRoutesRequest"]
+_QUERYROUTESREQUEST_DESTCUSTOMRECORDSENTRY = _QUERYROUTESREQUEST.nested_types_by_name[
+ "DestCustomRecordsEntry"
+]
+_NODEPAIR = DESCRIPTOR.message_types_by_name["NodePair"]
+_EDGELOCATOR = DESCRIPTOR.message_types_by_name["EdgeLocator"]
+_QUERYROUTESRESPONSE = DESCRIPTOR.message_types_by_name["QueryRoutesResponse"]
+_HOP = DESCRIPTOR.message_types_by_name["Hop"]
+_HOP_CUSTOMRECORDSENTRY = _HOP.nested_types_by_name["CustomRecordsEntry"]
+_MPPRECORD = DESCRIPTOR.message_types_by_name["MPPRecord"]
+_AMPRECORD = DESCRIPTOR.message_types_by_name["AMPRecord"]
+_ROUTE = DESCRIPTOR.message_types_by_name["Route"]
+_NODEINFOREQUEST = DESCRIPTOR.message_types_by_name["NodeInfoRequest"]
+_NODEINFO = DESCRIPTOR.message_types_by_name["NodeInfo"]
+_LIGHTNINGNODE = DESCRIPTOR.message_types_by_name["LightningNode"]
+_LIGHTNINGNODE_FEATURESENTRY = _LIGHTNINGNODE.nested_types_by_name["FeaturesEntry"]
+_NODEADDRESS = DESCRIPTOR.message_types_by_name["NodeAddress"]
+_ROUTINGPOLICY = DESCRIPTOR.message_types_by_name["RoutingPolicy"]
+_CHANNELEDGE = DESCRIPTOR.message_types_by_name["ChannelEdge"]
+_CHANNELGRAPHREQUEST = DESCRIPTOR.message_types_by_name["ChannelGraphRequest"]
+_CHANNELGRAPH = DESCRIPTOR.message_types_by_name["ChannelGraph"]
+_NODEMETRICSREQUEST = DESCRIPTOR.message_types_by_name["NodeMetricsRequest"]
+_NODEMETRICSRESPONSE = DESCRIPTOR.message_types_by_name["NodeMetricsResponse"]
+_NODEMETRICSRESPONSE_BETWEENNESSCENTRALITYENTRY = (
+ _NODEMETRICSRESPONSE.nested_types_by_name["BetweennessCentralityEntry"]
+)
+_FLOATMETRIC = DESCRIPTOR.message_types_by_name["FloatMetric"]
+_CHANINFOREQUEST = DESCRIPTOR.message_types_by_name["ChanInfoRequest"]
+_NETWORKINFOREQUEST = DESCRIPTOR.message_types_by_name["NetworkInfoRequest"]
+_NETWORKINFO = DESCRIPTOR.message_types_by_name["NetworkInfo"]
+_STOPREQUEST = DESCRIPTOR.message_types_by_name["StopRequest"]
+_STOPRESPONSE = DESCRIPTOR.message_types_by_name["StopResponse"]
+_GRAPHTOPOLOGYSUBSCRIPTION = DESCRIPTOR.message_types_by_name[
"GraphTopologySubscription"
-] = _GRAPHTOPOLOGYSUBSCRIPTION
-DESCRIPTOR.message_types_by_name["GraphTopologyUpdate"] = _GRAPHTOPOLOGYUPDATE
-DESCRIPTOR.message_types_by_name["NodeUpdate"] = _NODEUPDATE
-DESCRIPTOR.message_types_by_name["ChannelEdgeUpdate"] = _CHANNELEDGEUPDATE
-DESCRIPTOR.message_types_by_name["ClosedChannelUpdate"] = _CLOSEDCHANNELUPDATE
-DESCRIPTOR.message_types_by_name["HopHint"] = _HOPHINT
-DESCRIPTOR.message_types_by_name["SetID"] = _SETID
-DESCRIPTOR.message_types_by_name["RouteHint"] = _ROUTEHINT
-DESCRIPTOR.message_types_by_name["AMPInvoiceState"] = _AMPINVOICESTATE
-DESCRIPTOR.message_types_by_name["Invoice"] = _INVOICE
-DESCRIPTOR.message_types_by_name["InvoiceHTLC"] = _INVOICEHTLC
-DESCRIPTOR.message_types_by_name["AMP"] = _AMP
-DESCRIPTOR.message_types_by_name["AddInvoiceResponse"] = _ADDINVOICERESPONSE
-DESCRIPTOR.message_types_by_name["PaymentHash"] = _PAYMENTHASH
-DESCRIPTOR.message_types_by_name["ListInvoiceRequest"] = _LISTINVOICEREQUEST
-DESCRIPTOR.message_types_by_name["ListInvoiceResponse"] = _LISTINVOICERESPONSE
-DESCRIPTOR.message_types_by_name["InvoiceSubscription"] = _INVOICESUBSCRIPTION
-DESCRIPTOR.message_types_by_name["Payment"] = _PAYMENT
-DESCRIPTOR.message_types_by_name["HTLCAttempt"] = _HTLCATTEMPT
-DESCRIPTOR.message_types_by_name["ListPaymentsRequest"] = _LISTPAYMENTSREQUEST
-DESCRIPTOR.message_types_by_name["ListPaymentsResponse"] = _LISTPAYMENTSRESPONSE
-DESCRIPTOR.message_types_by_name["DeletePaymentRequest"] = _DELETEPAYMENTREQUEST
-DESCRIPTOR.message_types_by_name["DeleteAllPaymentsRequest"] = _DELETEALLPAYMENTSREQUEST
-DESCRIPTOR.message_types_by_name["DeletePaymentResponse"] = _DELETEPAYMENTRESPONSE
-DESCRIPTOR.message_types_by_name[
+]
+_GRAPHTOPOLOGYUPDATE = DESCRIPTOR.message_types_by_name["GraphTopologyUpdate"]
+_NODEUPDATE = DESCRIPTOR.message_types_by_name["NodeUpdate"]
+_NODEUPDATE_FEATURESENTRY = _NODEUPDATE.nested_types_by_name["FeaturesEntry"]
+_CHANNELEDGEUPDATE = DESCRIPTOR.message_types_by_name["ChannelEdgeUpdate"]
+_CLOSEDCHANNELUPDATE = DESCRIPTOR.message_types_by_name["ClosedChannelUpdate"]
+_HOPHINT = DESCRIPTOR.message_types_by_name["HopHint"]
+_SETID = DESCRIPTOR.message_types_by_name["SetID"]
+_ROUTEHINT = DESCRIPTOR.message_types_by_name["RouteHint"]
+_AMPINVOICESTATE = DESCRIPTOR.message_types_by_name["AMPInvoiceState"]
+_INVOICE = DESCRIPTOR.message_types_by_name["Invoice"]
+_INVOICE_FEATURESENTRY = _INVOICE.nested_types_by_name["FeaturesEntry"]
+_INVOICE_AMPINVOICESTATEENTRY = _INVOICE.nested_types_by_name["AmpInvoiceStateEntry"]
+_INVOICEHTLC = DESCRIPTOR.message_types_by_name["InvoiceHTLC"]
+_INVOICEHTLC_CUSTOMRECORDSENTRY = _INVOICEHTLC.nested_types_by_name[
+ "CustomRecordsEntry"
+]
+_AMP = DESCRIPTOR.message_types_by_name["AMP"]
+_ADDINVOICERESPONSE = DESCRIPTOR.message_types_by_name["AddInvoiceResponse"]
+_PAYMENTHASH = DESCRIPTOR.message_types_by_name["PaymentHash"]
+_LISTINVOICEREQUEST = DESCRIPTOR.message_types_by_name["ListInvoiceRequest"]
+_LISTINVOICERESPONSE = DESCRIPTOR.message_types_by_name["ListInvoiceResponse"]
+_INVOICESUBSCRIPTION = DESCRIPTOR.message_types_by_name["InvoiceSubscription"]
+_PAYMENT = DESCRIPTOR.message_types_by_name["Payment"]
+_HTLCATTEMPT = DESCRIPTOR.message_types_by_name["HTLCAttempt"]
+_LISTPAYMENTSREQUEST = DESCRIPTOR.message_types_by_name["ListPaymentsRequest"]
+_LISTPAYMENTSRESPONSE = DESCRIPTOR.message_types_by_name["ListPaymentsResponse"]
+_DELETEPAYMENTREQUEST = DESCRIPTOR.message_types_by_name["DeletePaymentRequest"]
+_DELETEALLPAYMENTSREQUEST = DESCRIPTOR.message_types_by_name["DeleteAllPaymentsRequest"]
+_DELETEPAYMENTRESPONSE = DESCRIPTOR.message_types_by_name["DeletePaymentResponse"]
+_DELETEALLPAYMENTSRESPONSE = DESCRIPTOR.message_types_by_name[
"DeleteAllPaymentsResponse"
-] = _DELETEALLPAYMENTSRESPONSE
-DESCRIPTOR.message_types_by_name["AbandonChannelRequest"] = _ABANDONCHANNELREQUEST
-DESCRIPTOR.message_types_by_name["AbandonChannelResponse"] = _ABANDONCHANNELRESPONSE
-DESCRIPTOR.message_types_by_name["DebugLevelRequest"] = _DEBUGLEVELREQUEST
-DESCRIPTOR.message_types_by_name["DebugLevelResponse"] = _DEBUGLEVELRESPONSE
-DESCRIPTOR.message_types_by_name["PayReqString"] = _PAYREQSTRING
-DESCRIPTOR.message_types_by_name["PayReq"] = _PAYREQ
-DESCRIPTOR.message_types_by_name["Feature"] = _FEATURE
-DESCRIPTOR.message_types_by_name["FeeReportRequest"] = _FEEREPORTREQUEST
-DESCRIPTOR.message_types_by_name["ChannelFeeReport"] = _CHANNELFEEREPORT
-DESCRIPTOR.message_types_by_name["FeeReportResponse"] = _FEEREPORTRESPONSE
-DESCRIPTOR.message_types_by_name["PolicyUpdateRequest"] = _POLICYUPDATEREQUEST
-DESCRIPTOR.message_types_by_name["FailedUpdate"] = _FAILEDUPDATE
-DESCRIPTOR.message_types_by_name["PolicyUpdateResponse"] = _POLICYUPDATERESPONSE
-DESCRIPTOR.message_types_by_name["ForwardingHistoryRequest"] = _FORWARDINGHISTORYREQUEST
-DESCRIPTOR.message_types_by_name["ForwardingEvent"] = _FORWARDINGEVENT
-DESCRIPTOR.message_types_by_name[
+]
+_ABANDONCHANNELREQUEST = DESCRIPTOR.message_types_by_name["AbandonChannelRequest"]
+_ABANDONCHANNELRESPONSE = DESCRIPTOR.message_types_by_name["AbandonChannelResponse"]
+_DEBUGLEVELREQUEST = DESCRIPTOR.message_types_by_name["DebugLevelRequest"]
+_DEBUGLEVELRESPONSE = DESCRIPTOR.message_types_by_name["DebugLevelResponse"]
+_PAYREQSTRING = DESCRIPTOR.message_types_by_name["PayReqString"]
+_PAYREQ = DESCRIPTOR.message_types_by_name["PayReq"]
+_PAYREQ_FEATURESENTRY = _PAYREQ.nested_types_by_name["FeaturesEntry"]
+_FEATURE = DESCRIPTOR.message_types_by_name["Feature"]
+_FEEREPORTREQUEST = DESCRIPTOR.message_types_by_name["FeeReportRequest"]
+_CHANNELFEEREPORT = DESCRIPTOR.message_types_by_name["ChannelFeeReport"]
+_FEEREPORTRESPONSE = DESCRIPTOR.message_types_by_name["FeeReportResponse"]
+_POLICYUPDATEREQUEST = DESCRIPTOR.message_types_by_name["PolicyUpdateRequest"]
+_FAILEDUPDATE = DESCRIPTOR.message_types_by_name["FailedUpdate"]
+_POLICYUPDATERESPONSE = DESCRIPTOR.message_types_by_name["PolicyUpdateResponse"]
+_FORWARDINGHISTORYREQUEST = DESCRIPTOR.message_types_by_name["ForwardingHistoryRequest"]
+_FORWARDINGEVENT = DESCRIPTOR.message_types_by_name["ForwardingEvent"]
+_FORWARDINGHISTORYRESPONSE = DESCRIPTOR.message_types_by_name[
"ForwardingHistoryResponse"
-] = _FORWARDINGHISTORYRESPONSE
-DESCRIPTOR.message_types_by_name[
+]
+_EXPORTCHANNELBACKUPREQUEST = DESCRIPTOR.message_types_by_name[
"ExportChannelBackupRequest"
-] = _EXPORTCHANNELBACKUPREQUEST
-DESCRIPTOR.message_types_by_name["ChannelBackup"] = _CHANNELBACKUP
-DESCRIPTOR.message_types_by_name["MultiChanBackup"] = _MULTICHANBACKUP
-DESCRIPTOR.message_types_by_name["ChanBackupExportRequest"] = _CHANBACKUPEXPORTREQUEST
-DESCRIPTOR.message_types_by_name["ChanBackupSnapshot"] = _CHANBACKUPSNAPSHOT
-DESCRIPTOR.message_types_by_name["ChannelBackups"] = _CHANNELBACKUPS
-DESCRIPTOR.message_types_by_name["RestoreChanBackupRequest"] = _RESTORECHANBACKUPREQUEST
-DESCRIPTOR.message_types_by_name["RestoreBackupResponse"] = _RESTOREBACKUPRESPONSE
-DESCRIPTOR.message_types_by_name[
+]
+_CHANNELBACKUP = DESCRIPTOR.message_types_by_name["ChannelBackup"]
+_MULTICHANBACKUP = DESCRIPTOR.message_types_by_name["MultiChanBackup"]
+_CHANBACKUPEXPORTREQUEST = DESCRIPTOR.message_types_by_name["ChanBackupExportRequest"]
+_CHANBACKUPSNAPSHOT = DESCRIPTOR.message_types_by_name["ChanBackupSnapshot"]
+_CHANNELBACKUPS = DESCRIPTOR.message_types_by_name["ChannelBackups"]
+_RESTORECHANBACKUPREQUEST = DESCRIPTOR.message_types_by_name["RestoreChanBackupRequest"]
+_RESTOREBACKUPRESPONSE = DESCRIPTOR.message_types_by_name["RestoreBackupResponse"]
+_CHANNELBACKUPSUBSCRIPTION = DESCRIPTOR.message_types_by_name[
"ChannelBackupSubscription"
-] = _CHANNELBACKUPSUBSCRIPTION
-DESCRIPTOR.message_types_by_name["VerifyChanBackupResponse"] = _VERIFYCHANBACKUPRESPONSE
-DESCRIPTOR.message_types_by_name["MacaroonPermission"] = _MACAROONPERMISSION
-DESCRIPTOR.message_types_by_name["BakeMacaroonRequest"] = _BAKEMACAROONREQUEST
-DESCRIPTOR.message_types_by_name["BakeMacaroonResponse"] = _BAKEMACAROONRESPONSE
-DESCRIPTOR.message_types_by_name["ListMacaroonIDsRequest"] = _LISTMACAROONIDSREQUEST
-DESCRIPTOR.message_types_by_name["ListMacaroonIDsResponse"] = _LISTMACAROONIDSRESPONSE
-DESCRIPTOR.message_types_by_name["DeleteMacaroonIDRequest"] = _DELETEMACAROONIDREQUEST
-DESCRIPTOR.message_types_by_name["DeleteMacaroonIDResponse"] = _DELETEMACAROONIDRESPONSE
-DESCRIPTOR.message_types_by_name["MacaroonPermissionList"] = _MACAROONPERMISSIONLIST
-DESCRIPTOR.message_types_by_name["ListPermissionsRequest"] = _LISTPERMISSIONSREQUEST
-DESCRIPTOR.message_types_by_name["ListPermissionsResponse"] = _LISTPERMISSIONSRESPONSE
-DESCRIPTOR.message_types_by_name["Failure"] = _FAILURE
-DESCRIPTOR.message_types_by_name["ChannelUpdate"] = _CHANNELUPDATE
-DESCRIPTOR.message_types_by_name["MacaroonId"] = _MACAROONID
-DESCRIPTOR.message_types_by_name["Op"] = _OP
-DESCRIPTOR.message_types_by_name["CheckMacPermRequest"] = _CHECKMACPERMREQUEST
-DESCRIPTOR.message_types_by_name["CheckMacPermResponse"] = _CHECKMACPERMRESPONSE
-DESCRIPTOR.message_types_by_name["RPCMiddlewareRequest"] = _RPCMIDDLEWAREREQUEST
-DESCRIPTOR.message_types_by_name["StreamAuth"] = _STREAMAUTH
-DESCRIPTOR.message_types_by_name["RPCMessage"] = _RPCMESSAGE
-DESCRIPTOR.message_types_by_name["RPCMiddlewareResponse"] = _RPCMIDDLEWARERESPONSE
-DESCRIPTOR.message_types_by_name["MiddlewareRegistration"] = _MIDDLEWAREREGISTRATION
-DESCRIPTOR.message_types_by_name["InterceptFeedback"] = _INTERCEPTFEEDBACK
-DESCRIPTOR.enum_types_by_name["AddressType"] = _ADDRESSTYPE
-DESCRIPTOR.enum_types_by_name["CommitmentType"] = _COMMITMENTTYPE
-DESCRIPTOR.enum_types_by_name["Initiator"] = _INITIATOR
-DESCRIPTOR.enum_types_by_name["ResolutionType"] = _RESOLUTIONTYPE
-DESCRIPTOR.enum_types_by_name["ResolutionOutcome"] = _RESOLUTIONOUTCOME
-DESCRIPTOR.enum_types_by_name["NodeMetricType"] = _NODEMETRICTYPE
-DESCRIPTOR.enum_types_by_name["InvoiceHTLCState"] = _INVOICEHTLCSTATE
-DESCRIPTOR.enum_types_by_name["PaymentFailureReason"] = _PAYMENTFAILUREREASON
-DESCRIPTOR.enum_types_by_name["FeatureBit"] = _FEATUREBIT
-DESCRIPTOR.enum_types_by_name["UpdateFailure"] = _UPDATEFAILURE
-_sym_db.RegisterFileDescriptor(DESCRIPTOR)
-
+]
+_VERIFYCHANBACKUPRESPONSE = DESCRIPTOR.message_types_by_name["VerifyChanBackupResponse"]
+_MACAROONPERMISSION = DESCRIPTOR.message_types_by_name["MacaroonPermission"]
+_BAKEMACAROONREQUEST = DESCRIPTOR.message_types_by_name["BakeMacaroonRequest"]
+_BAKEMACAROONRESPONSE = DESCRIPTOR.message_types_by_name["BakeMacaroonResponse"]
+_LISTMACAROONIDSREQUEST = DESCRIPTOR.message_types_by_name["ListMacaroonIDsRequest"]
+_LISTMACAROONIDSRESPONSE = DESCRIPTOR.message_types_by_name["ListMacaroonIDsResponse"]
+_DELETEMACAROONIDREQUEST = DESCRIPTOR.message_types_by_name["DeleteMacaroonIDRequest"]
+_DELETEMACAROONIDRESPONSE = DESCRIPTOR.message_types_by_name["DeleteMacaroonIDResponse"]
+_MACAROONPERMISSIONLIST = DESCRIPTOR.message_types_by_name["MacaroonPermissionList"]
+_LISTPERMISSIONSREQUEST = DESCRIPTOR.message_types_by_name["ListPermissionsRequest"]
+_LISTPERMISSIONSRESPONSE = DESCRIPTOR.message_types_by_name["ListPermissionsResponse"]
+_LISTPERMISSIONSRESPONSE_METHODPERMISSIONSENTRY = (
+ _LISTPERMISSIONSRESPONSE.nested_types_by_name["MethodPermissionsEntry"]
+)
+_FAILURE = DESCRIPTOR.message_types_by_name["Failure"]
+_CHANNELUPDATE = DESCRIPTOR.message_types_by_name["ChannelUpdate"]
+_MACAROONID = DESCRIPTOR.message_types_by_name["MacaroonId"]
+_OP = DESCRIPTOR.message_types_by_name["Op"]
+_CHECKMACPERMREQUEST = DESCRIPTOR.message_types_by_name["CheckMacPermRequest"]
+_CHECKMACPERMRESPONSE = DESCRIPTOR.message_types_by_name["CheckMacPermResponse"]
+_RPCMIDDLEWAREREQUEST = DESCRIPTOR.message_types_by_name["RPCMiddlewareRequest"]
+_STREAMAUTH = DESCRIPTOR.message_types_by_name["StreamAuth"]
+_RPCMESSAGE = DESCRIPTOR.message_types_by_name["RPCMessage"]
+_RPCMIDDLEWARERESPONSE = DESCRIPTOR.message_types_by_name["RPCMiddlewareResponse"]
+_MIDDLEWAREREGISTRATION = DESCRIPTOR.message_types_by_name["MiddlewareRegistration"]
+_INTERCEPTFEEDBACK = DESCRIPTOR.message_types_by_name["InterceptFeedback"]
+_CHANNELCLOSESUMMARY_CLOSURETYPE = _CHANNELCLOSESUMMARY.enum_types_by_name[
+ "ClosureType"
+]
+_PEER_SYNCTYPE = _PEER.enum_types_by_name["SyncType"]
+_PEEREVENT_EVENTTYPE = _PEEREVENT.enum_types_by_name["EventType"]
+_PENDINGCHANNELSRESPONSE_FORCECLOSEDCHANNEL_ANCHORSTATE = (
+ _PENDINGCHANNELSRESPONSE_FORCECLOSEDCHANNEL.enum_types_by_name["AnchorState"]
+)
+_CHANNELEVENTUPDATE_UPDATETYPE = _CHANNELEVENTUPDATE.enum_types_by_name["UpdateType"]
+_INVOICE_INVOICESTATE = _INVOICE.enum_types_by_name["InvoiceState"]
+_PAYMENT_PAYMENTSTATUS = _PAYMENT.enum_types_by_name["PaymentStatus"]
+_HTLCATTEMPT_HTLCSTATUS = _HTLCATTEMPT.enum_types_by_name["HTLCStatus"]
+_FAILURE_FAILURECODE = _FAILURE.enum_types_by_name["FailureCode"]
SubscribeCustomMessagesRequest = _reflection.GeneratedProtocolMessageType(
"SubscribeCustomMessagesRequest",
(_message.Message,),
@@ -21376,6 +437,17 @@ Utxo = _reflection.GeneratedProtocolMessageType(
)
_sym_db.RegisterMessage(Utxo)
+OutputDetail = _reflection.GeneratedProtocolMessageType(
+ "OutputDetail",
+ (_message.Message,),
+ {
+ "DESCRIPTOR": _OUTPUTDETAIL,
+ "__module__": "lightning_pb2"
+ # @@protoc_insertion_point(class_scope:lnrpc.OutputDetail)
+ },
+)
+_sym_db.RegisterMessage(OutputDetail)
+
Transaction = _reflection.GeneratedProtocolMessageType(
"Transaction",
(_message.Message,),
@@ -21507,6 +579,17 @@ OutPoint = _reflection.GeneratedProtocolMessageType(
)
_sym_db.RegisterMessage(OutPoint)
+PreviousOutPoint = _reflection.GeneratedProtocolMessageType(
+ "PreviousOutPoint",
+ (_message.Message,),
+ {
+ "DESCRIPTOR": _PREVIOUSOUTPOINT,
+ "__module__": "lightning_pb2"
+ # @@protoc_insertion_point(class_scope:lnrpc.PreviousOutPoint)
+ },
+)
+_sym_db.RegisterMessage(PreviousOutPoint)
+
LightningAddress = _reflection.GeneratedProtocolMessageType(
"LightningAddress",
(_message.Message,),
@@ -23576,738 +2659,623 @@ InterceptFeedback = _reflection.GeneratedProtocolMessageType(
)
_sym_db.RegisterMessage(InterceptFeedback)
+_LIGHTNING = DESCRIPTOR.services_by_name["Lightning"]
+if _descriptor._USE_C_DESCRIPTORS == False:
-DESCRIPTOR._options = None
-_SENDREQUEST_DESTCUSTOMRECORDSENTRY._options = None
-_SENDREQUEST.fields_by_name["dest_string"]._options = None
-_SENDREQUEST.fields_by_name["payment_hash_string"]._options = None
-_SENDREQUEST.fields_by_name["outgoing_chan_id"]._options = None
-_SENDTOROUTEREQUEST.fields_by_name["payment_hash_string"]._options = None
-_ESTIMATEFEEREQUEST_ADDRTOAMOUNTENTRY._options = None
-_ESTIMATEFEERESPONSE.fields_by_name["feerate_sat_per_byte"]._options = None
-_SENDMANYREQUEST_ADDRTOAMOUNTENTRY._options = None
-_SENDMANYREQUEST.fields_by_name["sat_per_byte"]._options = None
-_SENDCOINSREQUEST.fields_by_name["sat_per_byte"]._options = None
-_CHANNEL.fields_by_name["chan_id"]._options = None
-_CHANNEL.fields_by_name["csv_delay"]._options = None
-_CHANNEL.fields_by_name["local_chan_reserve_sat"]._options = None
-_CHANNEL.fields_by_name["remote_chan_reserve_sat"]._options = None
-_CHANNEL.fields_by_name["static_remote_key"]._options = None
-_CHANNELCLOSESUMMARY.fields_by_name["chan_id"]._options = None
-_PEER_FEATURESENTRY._options = None
-_GETINFORESPONSE_FEATURESENTRY._options = None
-_GETINFORESPONSE.fields_by_name["testnet"]._options = None
-_CLOSECHANNELREQUEST.fields_by_name["sat_per_byte"]._options = None
-_OPENCHANNELREQUEST.fields_by_name["node_pubkey_string"]._options = None
-_OPENCHANNELREQUEST.fields_by_name["sat_per_byte"]._options = None
-_PENDINGCHANNELSRESPONSE.fields_by_name["pending_closing_channels"]._options = None
-_WALLETBALANCERESPONSE_ACCOUNTBALANCEENTRY._options = None
-_CHANNELBALANCERESPONSE.fields_by_name["balance"]._options = None
-_CHANNELBALANCERESPONSE.fields_by_name["pending_open_balance"]._options = None
-_QUERYROUTESREQUEST_DESTCUSTOMRECORDSENTRY._options = None
-_QUERYROUTESREQUEST.fields_by_name["ignored_edges"]._options = None
-_QUERYROUTESREQUEST.fields_by_name["outgoing_chan_id"]._options = None
-_EDGELOCATOR.fields_by_name["channel_id"]._options = None
-_HOP_CUSTOMRECORDSENTRY._options = None
-_HOP.fields_by_name["chan_id"]._options = None
-_HOP.fields_by_name["chan_capacity"]._options = None
-_HOP.fields_by_name["amt_to_forward"]._options = None
-_HOP.fields_by_name["fee"]._options = None
-_ROUTE.fields_by_name["total_fees"]._options = None
-_ROUTE.fields_by_name["total_amt"]._options = None
-_LIGHTNINGNODE_FEATURESENTRY._options = None
-_CHANNELEDGE.fields_by_name["channel_id"]._options = None
-_CHANNELEDGE.fields_by_name["last_update"]._options = None
-_NODEMETRICSRESPONSE_BETWEENNESSCENTRALITYENTRY._options = None
-_CHANINFOREQUEST.fields_by_name["chan_id"]._options = None
-_NODEUPDATE_FEATURESENTRY._options = None
-_NODEUPDATE.fields_by_name["addresses"]._options = None
-_NODEUPDATE.fields_by_name["global_features"]._options = None
-_CHANNELEDGEUPDATE.fields_by_name["chan_id"]._options = None
-_CLOSEDCHANNELUPDATE.fields_by_name["chan_id"]._options = None
-_HOPHINT.fields_by_name["chan_id"]._options = None
-_INVOICE_FEATURESENTRY._options = None
-_INVOICE_AMPINVOICESTATEENTRY._options = None
-_INVOICE.fields_by_name["settled"]._options = None
-_INVOICE.fields_by_name["amt_paid"]._options = None
-_INVOICEHTLC_CUSTOMRECORDSENTRY._options = None
-_INVOICEHTLC.fields_by_name["chan_id"]._options = None
-_PAYMENTHASH.fields_by_name["r_hash_str"]._options = None
-_PAYMENT.fields_by_name["value"]._options = None
-_PAYMENT.fields_by_name["creation_date"]._options = None
-_PAYMENT.fields_by_name["fee"]._options = None
-_PAYREQ_FEATURESENTRY._options = None
-_CHANNELFEEREPORT.fields_by_name["chan_id"]._options = None
-_FORWARDINGEVENT.fields_by_name["timestamp"]._options = None
-_FORWARDINGEVENT.fields_by_name["chan_id_in"]._options = None
-_FORWARDINGEVENT.fields_by_name["chan_id_out"]._options = None
-_LISTPERMISSIONSRESPONSE_METHODPERMISSIONSENTRY._options = None
-_CHANNELUPDATE.fields_by_name["chan_id"]._options = None
-
-_LIGHTNING = _descriptor.ServiceDescriptor(
- name="Lightning",
- full_name="lnrpc.Lightning",
- file=DESCRIPTOR,
- index=0,
- serialized_options=None,
- create_key=_descriptor._internal_create_key,
- serialized_start=28310,
- serialized_end=33119,
- methods=[
- _descriptor.MethodDescriptor(
- name="WalletBalance",
- full_name="lnrpc.Lightning.WalletBalance",
- index=0,
- containing_service=None,
- input_type=_WALLETBALANCEREQUEST,
- output_type=_WALLETBALANCERESPONSE,
- serialized_options=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.MethodDescriptor(
- name="ChannelBalance",
- full_name="lnrpc.Lightning.ChannelBalance",
- index=1,
- containing_service=None,
- input_type=_CHANNELBALANCEREQUEST,
- output_type=_CHANNELBALANCERESPONSE,
- serialized_options=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.MethodDescriptor(
- name="GetTransactions",
- full_name="lnrpc.Lightning.GetTransactions",
- index=2,
- containing_service=None,
- input_type=_GETTRANSACTIONSREQUEST,
- output_type=_TRANSACTIONDETAILS,
- serialized_options=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.MethodDescriptor(
- name="EstimateFee",
- full_name="lnrpc.Lightning.EstimateFee",
- index=3,
- containing_service=None,
- input_type=_ESTIMATEFEEREQUEST,
- output_type=_ESTIMATEFEERESPONSE,
- serialized_options=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.MethodDescriptor(
- name="SendCoins",
- full_name="lnrpc.Lightning.SendCoins",
- index=4,
- containing_service=None,
- input_type=_SENDCOINSREQUEST,
- output_type=_SENDCOINSRESPONSE,
- serialized_options=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.MethodDescriptor(
- name="ListUnspent",
- full_name="lnrpc.Lightning.ListUnspent",
- index=5,
- containing_service=None,
- input_type=_LISTUNSPENTREQUEST,
- output_type=_LISTUNSPENTRESPONSE,
- serialized_options=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.MethodDescriptor(
- name="SubscribeTransactions",
- full_name="lnrpc.Lightning.SubscribeTransactions",
- index=6,
- containing_service=None,
- input_type=_GETTRANSACTIONSREQUEST,
- output_type=_TRANSACTION,
- serialized_options=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.MethodDescriptor(
- name="SendMany",
- full_name="lnrpc.Lightning.SendMany",
- index=7,
- containing_service=None,
- input_type=_SENDMANYREQUEST,
- output_type=_SENDMANYRESPONSE,
- serialized_options=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.MethodDescriptor(
- name="NewAddress",
- full_name="lnrpc.Lightning.NewAddress",
- index=8,
- containing_service=None,
- input_type=_NEWADDRESSREQUEST,
- output_type=_NEWADDRESSRESPONSE,
- serialized_options=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.MethodDescriptor(
- name="SignMessage",
- full_name="lnrpc.Lightning.SignMessage",
- index=9,
- containing_service=None,
- input_type=_SIGNMESSAGEREQUEST,
- output_type=_SIGNMESSAGERESPONSE,
- serialized_options=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.MethodDescriptor(
- name="VerifyMessage",
- full_name="lnrpc.Lightning.VerifyMessage",
- index=10,
- containing_service=None,
- input_type=_VERIFYMESSAGEREQUEST,
- output_type=_VERIFYMESSAGERESPONSE,
- serialized_options=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.MethodDescriptor(
- name="ConnectPeer",
- full_name="lnrpc.Lightning.ConnectPeer",
- index=11,
- containing_service=None,
- input_type=_CONNECTPEERREQUEST,
- output_type=_CONNECTPEERRESPONSE,
- serialized_options=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.MethodDescriptor(
- name="DisconnectPeer",
- full_name="lnrpc.Lightning.DisconnectPeer",
- index=12,
- containing_service=None,
- input_type=_DISCONNECTPEERREQUEST,
- output_type=_DISCONNECTPEERRESPONSE,
- serialized_options=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.MethodDescriptor(
- name="ListPeers",
- full_name="lnrpc.Lightning.ListPeers",
- index=13,
- containing_service=None,
- input_type=_LISTPEERSREQUEST,
- output_type=_LISTPEERSRESPONSE,
- serialized_options=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.MethodDescriptor(
- name="SubscribePeerEvents",
- full_name="lnrpc.Lightning.SubscribePeerEvents",
- index=14,
- containing_service=None,
- input_type=_PEEREVENTSUBSCRIPTION,
- output_type=_PEEREVENT,
- serialized_options=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.MethodDescriptor(
- name="GetInfo",
- full_name="lnrpc.Lightning.GetInfo",
- index=15,
- containing_service=None,
- input_type=_GETINFOREQUEST,
- output_type=_GETINFORESPONSE,
- serialized_options=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.MethodDescriptor(
- name="GetRecoveryInfo",
- full_name="lnrpc.Lightning.GetRecoveryInfo",
- index=16,
- containing_service=None,
- input_type=_GETRECOVERYINFOREQUEST,
- output_type=_GETRECOVERYINFORESPONSE,
- serialized_options=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.MethodDescriptor(
- name="PendingChannels",
- full_name="lnrpc.Lightning.PendingChannels",
- index=17,
- containing_service=None,
- input_type=_PENDINGCHANNELSREQUEST,
- output_type=_PENDINGCHANNELSRESPONSE,
- serialized_options=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.MethodDescriptor(
- name="ListChannels",
- full_name="lnrpc.Lightning.ListChannels",
- index=18,
- containing_service=None,
- input_type=_LISTCHANNELSREQUEST,
- output_type=_LISTCHANNELSRESPONSE,
- serialized_options=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.MethodDescriptor(
- name="SubscribeChannelEvents",
- full_name="lnrpc.Lightning.SubscribeChannelEvents",
- index=19,
- containing_service=None,
- input_type=_CHANNELEVENTSUBSCRIPTION,
- output_type=_CHANNELEVENTUPDATE,
- serialized_options=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.MethodDescriptor(
- name="ClosedChannels",
- full_name="lnrpc.Lightning.ClosedChannels",
- index=20,
- containing_service=None,
- input_type=_CLOSEDCHANNELSREQUEST,
- output_type=_CLOSEDCHANNELSRESPONSE,
- serialized_options=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.MethodDescriptor(
- name="OpenChannelSync",
- full_name="lnrpc.Lightning.OpenChannelSync",
- index=21,
- containing_service=None,
- input_type=_OPENCHANNELREQUEST,
- output_type=_CHANNELPOINT,
- serialized_options=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.MethodDescriptor(
- name="OpenChannel",
- full_name="lnrpc.Lightning.OpenChannel",
- index=22,
- containing_service=None,
- input_type=_OPENCHANNELREQUEST,
- output_type=_OPENSTATUSUPDATE,
- serialized_options=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.MethodDescriptor(
- name="BatchOpenChannel",
- full_name="lnrpc.Lightning.BatchOpenChannel",
- index=23,
- containing_service=None,
- input_type=_BATCHOPENCHANNELREQUEST,
- output_type=_BATCHOPENCHANNELRESPONSE,
- serialized_options=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.MethodDescriptor(
- name="FundingStateStep",
- full_name="lnrpc.Lightning.FundingStateStep",
- index=24,
- containing_service=None,
- input_type=_FUNDINGTRANSITIONMSG,
- output_type=_FUNDINGSTATESTEPRESP,
- serialized_options=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.MethodDescriptor(
- name="ChannelAcceptor",
- full_name="lnrpc.Lightning.ChannelAcceptor",
- index=25,
- containing_service=None,
- input_type=_CHANNELACCEPTRESPONSE,
- output_type=_CHANNELACCEPTREQUEST,
- serialized_options=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.MethodDescriptor(
- name="CloseChannel",
- full_name="lnrpc.Lightning.CloseChannel",
- index=26,
- containing_service=None,
- input_type=_CLOSECHANNELREQUEST,
- output_type=_CLOSESTATUSUPDATE,
- serialized_options=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.MethodDescriptor(
- name="AbandonChannel",
- full_name="lnrpc.Lightning.AbandonChannel",
- index=27,
- containing_service=None,
- input_type=_ABANDONCHANNELREQUEST,
- output_type=_ABANDONCHANNELRESPONSE,
- serialized_options=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.MethodDescriptor(
- name="SendPayment",
- full_name="lnrpc.Lightning.SendPayment",
- index=28,
- containing_service=None,
- input_type=_SENDREQUEST,
- output_type=_SENDRESPONSE,
- serialized_options=b"\210\002\001",
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.MethodDescriptor(
- name="SendPaymentSync",
- full_name="lnrpc.Lightning.SendPaymentSync",
- index=29,
- containing_service=None,
- input_type=_SENDREQUEST,
- output_type=_SENDRESPONSE,
- serialized_options=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.MethodDescriptor(
- name="SendToRoute",
- full_name="lnrpc.Lightning.SendToRoute",
- index=30,
- containing_service=None,
- input_type=_SENDTOROUTEREQUEST,
- output_type=_SENDRESPONSE,
- serialized_options=b"\210\002\001",
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.MethodDescriptor(
- name="SendToRouteSync",
- full_name="lnrpc.Lightning.SendToRouteSync",
- index=31,
- containing_service=None,
- input_type=_SENDTOROUTEREQUEST,
- output_type=_SENDRESPONSE,
- serialized_options=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.MethodDescriptor(
- name="AddInvoice",
- full_name="lnrpc.Lightning.AddInvoice",
- index=32,
- containing_service=None,
- input_type=_INVOICE,
- output_type=_ADDINVOICERESPONSE,
- serialized_options=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.MethodDescriptor(
- name="ListInvoices",
- full_name="lnrpc.Lightning.ListInvoices",
- index=33,
- containing_service=None,
- input_type=_LISTINVOICEREQUEST,
- output_type=_LISTINVOICERESPONSE,
- serialized_options=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.MethodDescriptor(
- name="LookupInvoice",
- full_name="lnrpc.Lightning.LookupInvoice",
- index=34,
- containing_service=None,
- input_type=_PAYMENTHASH,
- output_type=_INVOICE,
- serialized_options=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.MethodDescriptor(
- name="SubscribeInvoices",
- full_name="lnrpc.Lightning.SubscribeInvoices",
- index=35,
- containing_service=None,
- input_type=_INVOICESUBSCRIPTION,
- output_type=_INVOICE,
- serialized_options=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.MethodDescriptor(
- name="DecodePayReq",
- full_name="lnrpc.Lightning.DecodePayReq",
- index=36,
- containing_service=None,
- input_type=_PAYREQSTRING,
- output_type=_PAYREQ,
- serialized_options=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.MethodDescriptor(
- name="ListPayments",
- full_name="lnrpc.Lightning.ListPayments",
- index=37,
- containing_service=None,
- input_type=_LISTPAYMENTSREQUEST,
- output_type=_LISTPAYMENTSRESPONSE,
- serialized_options=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.MethodDescriptor(
- name="DeletePayment",
- full_name="lnrpc.Lightning.DeletePayment",
- index=38,
- containing_service=None,
- input_type=_DELETEPAYMENTREQUEST,
- output_type=_DELETEPAYMENTRESPONSE,
- serialized_options=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.MethodDescriptor(
- name="DeleteAllPayments",
- full_name="lnrpc.Lightning.DeleteAllPayments",
- index=39,
- containing_service=None,
- input_type=_DELETEALLPAYMENTSREQUEST,
- output_type=_DELETEALLPAYMENTSRESPONSE,
- serialized_options=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.MethodDescriptor(
- name="DescribeGraph",
- full_name="lnrpc.Lightning.DescribeGraph",
- index=40,
- containing_service=None,
- input_type=_CHANNELGRAPHREQUEST,
- output_type=_CHANNELGRAPH,
- serialized_options=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.MethodDescriptor(
- name="GetNodeMetrics",
- full_name="lnrpc.Lightning.GetNodeMetrics",
- index=41,
- containing_service=None,
- input_type=_NODEMETRICSREQUEST,
- output_type=_NODEMETRICSRESPONSE,
- serialized_options=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.MethodDescriptor(
- name="GetChanInfo",
- full_name="lnrpc.Lightning.GetChanInfo",
- index=42,
- containing_service=None,
- input_type=_CHANINFOREQUEST,
- output_type=_CHANNELEDGE,
- serialized_options=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.MethodDescriptor(
- name="GetNodeInfo",
- full_name="lnrpc.Lightning.GetNodeInfo",
- index=43,
- containing_service=None,
- input_type=_NODEINFOREQUEST,
- output_type=_NODEINFO,
- serialized_options=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.MethodDescriptor(
- name="QueryRoutes",
- full_name="lnrpc.Lightning.QueryRoutes",
- index=44,
- containing_service=None,
- input_type=_QUERYROUTESREQUEST,
- output_type=_QUERYROUTESRESPONSE,
- serialized_options=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.MethodDescriptor(
- name="GetNetworkInfo",
- full_name="lnrpc.Lightning.GetNetworkInfo",
- index=45,
- containing_service=None,
- input_type=_NETWORKINFOREQUEST,
- output_type=_NETWORKINFO,
- serialized_options=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.MethodDescriptor(
- name="StopDaemon",
- full_name="lnrpc.Lightning.StopDaemon",
- index=46,
- containing_service=None,
- input_type=_STOPREQUEST,
- output_type=_STOPRESPONSE,
- serialized_options=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.MethodDescriptor(
- name="SubscribeChannelGraph",
- full_name="lnrpc.Lightning.SubscribeChannelGraph",
- index=47,
- containing_service=None,
- input_type=_GRAPHTOPOLOGYSUBSCRIPTION,
- output_type=_GRAPHTOPOLOGYUPDATE,
- serialized_options=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.MethodDescriptor(
- name="DebugLevel",
- full_name="lnrpc.Lightning.DebugLevel",
- index=48,
- containing_service=None,
- input_type=_DEBUGLEVELREQUEST,
- output_type=_DEBUGLEVELRESPONSE,
- serialized_options=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.MethodDescriptor(
- name="FeeReport",
- full_name="lnrpc.Lightning.FeeReport",
- index=49,
- containing_service=None,
- input_type=_FEEREPORTREQUEST,
- output_type=_FEEREPORTRESPONSE,
- serialized_options=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.MethodDescriptor(
- name="UpdateChannelPolicy",
- full_name="lnrpc.Lightning.UpdateChannelPolicy",
- index=50,
- containing_service=None,
- input_type=_POLICYUPDATEREQUEST,
- output_type=_POLICYUPDATERESPONSE,
- serialized_options=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.MethodDescriptor(
- name="ForwardingHistory",
- full_name="lnrpc.Lightning.ForwardingHistory",
- index=51,
- containing_service=None,
- input_type=_FORWARDINGHISTORYREQUEST,
- output_type=_FORWARDINGHISTORYRESPONSE,
- serialized_options=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.MethodDescriptor(
- name="ExportChannelBackup",
- full_name="lnrpc.Lightning.ExportChannelBackup",
- index=52,
- containing_service=None,
- input_type=_EXPORTCHANNELBACKUPREQUEST,
- output_type=_CHANNELBACKUP,
- serialized_options=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.MethodDescriptor(
- name="ExportAllChannelBackups",
- full_name="lnrpc.Lightning.ExportAllChannelBackups",
- index=53,
- containing_service=None,
- input_type=_CHANBACKUPEXPORTREQUEST,
- output_type=_CHANBACKUPSNAPSHOT,
- serialized_options=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.MethodDescriptor(
- name="VerifyChanBackup",
- full_name="lnrpc.Lightning.VerifyChanBackup",
- index=54,
- containing_service=None,
- input_type=_CHANBACKUPSNAPSHOT,
- output_type=_VERIFYCHANBACKUPRESPONSE,
- serialized_options=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.MethodDescriptor(
- name="RestoreChannelBackups",
- full_name="lnrpc.Lightning.RestoreChannelBackups",
- index=55,
- containing_service=None,
- input_type=_RESTORECHANBACKUPREQUEST,
- output_type=_RESTOREBACKUPRESPONSE,
- serialized_options=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.MethodDescriptor(
- name="SubscribeChannelBackups",
- full_name="lnrpc.Lightning.SubscribeChannelBackups",
- index=56,
- containing_service=None,
- input_type=_CHANNELBACKUPSUBSCRIPTION,
- output_type=_CHANBACKUPSNAPSHOT,
- serialized_options=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.MethodDescriptor(
- name="BakeMacaroon",
- full_name="lnrpc.Lightning.BakeMacaroon",
- index=57,
- containing_service=None,
- input_type=_BAKEMACAROONREQUEST,
- output_type=_BAKEMACAROONRESPONSE,
- serialized_options=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.MethodDescriptor(
- name="ListMacaroonIDs",
- full_name="lnrpc.Lightning.ListMacaroonIDs",
- index=58,
- containing_service=None,
- input_type=_LISTMACAROONIDSREQUEST,
- output_type=_LISTMACAROONIDSRESPONSE,
- serialized_options=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.MethodDescriptor(
- name="DeleteMacaroonID",
- full_name="lnrpc.Lightning.DeleteMacaroonID",
- index=59,
- containing_service=None,
- input_type=_DELETEMACAROONIDREQUEST,
- output_type=_DELETEMACAROONIDRESPONSE,
- serialized_options=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.MethodDescriptor(
- name="ListPermissions",
- full_name="lnrpc.Lightning.ListPermissions",
- index=60,
- containing_service=None,
- input_type=_LISTPERMISSIONSREQUEST,
- output_type=_LISTPERMISSIONSRESPONSE,
- serialized_options=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.MethodDescriptor(
- name="CheckMacaroonPermissions",
- full_name="lnrpc.Lightning.CheckMacaroonPermissions",
- index=61,
- containing_service=None,
- input_type=_CHECKMACPERMREQUEST,
- output_type=_CHECKMACPERMRESPONSE,
- serialized_options=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.MethodDescriptor(
- name="RegisterRPCMiddleware",
- full_name="lnrpc.Lightning.RegisterRPCMiddleware",
- index=62,
- containing_service=None,
- input_type=_RPCMIDDLEWARERESPONSE,
- output_type=_RPCMIDDLEWAREREQUEST,
- serialized_options=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.MethodDescriptor(
- name="SendCustomMessage",
- full_name="lnrpc.Lightning.SendCustomMessage",
- index=63,
- containing_service=None,
- input_type=_SENDCUSTOMMESSAGEREQUEST,
- output_type=_SENDCUSTOMMESSAGERESPONSE,
- serialized_options=None,
- create_key=_descriptor._internal_create_key,
- ),
- _descriptor.MethodDescriptor(
- name="SubscribeCustomMessages",
- full_name="lnrpc.Lightning.SubscribeCustomMessages",
- index=64,
- containing_service=None,
- input_type=_SUBSCRIBECUSTOMMESSAGESREQUEST,
- output_type=_CUSTOMMESSAGE,
- serialized_options=None,
- create_key=_descriptor._internal_create_key,
- ),
- ],
-)
-_sym_db.RegisterServiceDescriptor(_LIGHTNING)
-
-DESCRIPTOR.services_by_name["Lightning"] = _LIGHTNING
-
+ DESCRIPTOR._options = None
+ DESCRIPTOR._serialized_options = b"Z%github.com/lightningnetwork/lnd/lnrpc"
+ _TRANSACTION.fields_by_name["dest_addresses"]._options = None
+ _TRANSACTION.fields_by_name["dest_addresses"]._serialized_options = b"\030\001"
+ _SENDREQUEST_DESTCUSTOMRECORDSENTRY._options = None
+ _SENDREQUEST_DESTCUSTOMRECORDSENTRY._serialized_options = b"8\001"
+ _SENDREQUEST.fields_by_name["dest_string"]._options = None
+ _SENDREQUEST.fields_by_name["dest_string"]._serialized_options = b"\030\001"
+ _SENDREQUEST.fields_by_name["payment_hash_string"]._options = None
+ _SENDREQUEST.fields_by_name["payment_hash_string"]._serialized_options = b"\030\001"
+ _SENDREQUEST.fields_by_name["outgoing_chan_id"]._options = None
+ _SENDREQUEST.fields_by_name["outgoing_chan_id"]._serialized_options = b"0\001"
+ _SENDTOROUTEREQUEST.fields_by_name["payment_hash_string"]._options = None
+ _SENDTOROUTEREQUEST.fields_by_name[
+ "payment_hash_string"
+ ]._serialized_options = b"\030\001"
+ _ESTIMATEFEEREQUEST_ADDRTOAMOUNTENTRY._options = None
+ _ESTIMATEFEEREQUEST_ADDRTOAMOUNTENTRY._serialized_options = b"8\001"
+ _ESTIMATEFEERESPONSE.fields_by_name["feerate_sat_per_byte"]._options = None
+ _ESTIMATEFEERESPONSE.fields_by_name[
+ "feerate_sat_per_byte"
+ ]._serialized_options = b"\030\001"
+ _SENDMANYREQUEST_ADDRTOAMOUNTENTRY._options = None
+ _SENDMANYREQUEST_ADDRTOAMOUNTENTRY._serialized_options = b"8\001"
+ _SENDMANYREQUEST.fields_by_name["sat_per_byte"]._options = None
+ _SENDMANYREQUEST.fields_by_name["sat_per_byte"]._serialized_options = b"\030\001"
+ _SENDCOINSREQUEST.fields_by_name["sat_per_byte"]._options = None
+ _SENDCOINSREQUEST.fields_by_name["sat_per_byte"]._serialized_options = b"\030\001"
+ _CHANNEL.fields_by_name["chan_id"]._options = None
+ _CHANNEL.fields_by_name["chan_id"]._serialized_options = b"0\001"
+ _CHANNEL.fields_by_name["csv_delay"]._options = None
+ _CHANNEL.fields_by_name["csv_delay"]._serialized_options = b"\030\001"
+ _CHANNEL.fields_by_name["local_chan_reserve_sat"]._options = None
+ _CHANNEL.fields_by_name["local_chan_reserve_sat"]._serialized_options = b"\030\001"
+ _CHANNEL.fields_by_name["remote_chan_reserve_sat"]._options = None
+ _CHANNEL.fields_by_name["remote_chan_reserve_sat"]._serialized_options = b"\030\001"
+ _CHANNEL.fields_by_name["static_remote_key"]._options = None
+ _CHANNEL.fields_by_name["static_remote_key"]._serialized_options = b"\030\001"
+ _CHANNELCLOSESUMMARY.fields_by_name["chan_id"]._options = None
+ _CHANNELCLOSESUMMARY.fields_by_name["chan_id"]._serialized_options = b"0\001"
+ _PEER_FEATURESENTRY._options = None
+ _PEER_FEATURESENTRY._serialized_options = b"8\001"
+ _GETINFORESPONSE_FEATURESENTRY._options = None
+ _GETINFORESPONSE_FEATURESENTRY._serialized_options = b"8\001"
+ _GETINFORESPONSE.fields_by_name["testnet"]._options = None
+ _GETINFORESPONSE.fields_by_name["testnet"]._serialized_options = b"\030\001"
+ _CLOSECHANNELREQUEST.fields_by_name["sat_per_byte"]._options = None
+ _CLOSECHANNELREQUEST.fields_by_name[
+ "sat_per_byte"
+ ]._serialized_options = b"\030\001"
+ _OPENCHANNELREQUEST.fields_by_name["node_pubkey_string"]._options = None
+ _OPENCHANNELREQUEST.fields_by_name[
+ "node_pubkey_string"
+ ]._serialized_options = b"\030\001"
+ _OPENCHANNELREQUEST.fields_by_name["sat_per_byte"]._options = None
+ _OPENCHANNELREQUEST.fields_by_name["sat_per_byte"]._serialized_options = b"\030\001"
+ _PENDINGCHANNELSRESPONSE.fields_by_name["pending_closing_channels"]._options = None
+ _PENDINGCHANNELSRESPONSE.fields_by_name[
+ "pending_closing_channels"
+ ]._serialized_options = b"\030\001"
+ _WALLETBALANCERESPONSE_ACCOUNTBALANCEENTRY._options = None
+ _WALLETBALANCERESPONSE_ACCOUNTBALANCEENTRY._serialized_options = b"8\001"
+ _CHANNELBALANCERESPONSE.fields_by_name["balance"]._options = None
+ _CHANNELBALANCERESPONSE.fields_by_name["balance"]._serialized_options = b"\030\001"
+ _CHANNELBALANCERESPONSE.fields_by_name["pending_open_balance"]._options = None
+ _CHANNELBALANCERESPONSE.fields_by_name[
+ "pending_open_balance"
+ ]._serialized_options = b"\030\001"
+ _QUERYROUTESREQUEST_DESTCUSTOMRECORDSENTRY._options = None
+ _QUERYROUTESREQUEST_DESTCUSTOMRECORDSENTRY._serialized_options = b"8\001"
+ _QUERYROUTESREQUEST.fields_by_name["ignored_edges"]._options = None
+ _QUERYROUTESREQUEST.fields_by_name[
+ "ignored_edges"
+ ]._serialized_options = b"\030\001"
+ _QUERYROUTESREQUEST.fields_by_name["outgoing_chan_id"]._options = None
+ _QUERYROUTESREQUEST.fields_by_name[
+ "outgoing_chan_id"
+ ]._serialized_options = b"0\001"
+ _EDGELOCATOR.fields_by_name["channel_id"]._options = None
+ _EDGELOCATOR.fields_by_name["channel_id"]._serialized_options = b"0\001"
+ _HOP_CUSTOMRECORDSENTRY._options = None
+ _HOP_CUSTOMRECORDSENTRY._serialized_options = b"8\001"
+ _HOP.fields_by_name["chan_id"]._options = None
+ _HOP.fields_by_name["chan_id"]._serialized_options = b"0\001"
+ _HOP.fields_by_name["chan_capacity"]._options = None
+ _HOP.fields_by_name["chan_capacity"]._serialized_options = b"\030\001"
+ _HOP.fields_by_name["amt_to_forward"]._options = None
+ _HOP.fields_by_name["amt_to_forward"]._serialized_options = b"\030\001"
+ _HOP.fields_by_name["fee"]._options = None
+ _HOP.fields_by_name["fee"]._serialized_options = b"\030\001"
+ _HOP.fields_by_name["tlv_payload"]._options = None
+ _HOP.fields_by_name["tlv_payload"]._serialized_options = b"\030\001"
+ _ROUTE.fields_by_name["total_fees"]._options = None
+ _ROUTE.fields_by_name["total_fees"]._serialized_options = b"\030\001"
+ _ROUTE.fields_by_name["total_amt"]._options = None
+ _ROUTE.fields_by_name["total_amt"]._serialized_options = b"\030\001"
+ _LIGHTNINGNODE_FEATURESENTRY._options = None
+ _LIGHTNINGNODE_FEATURESENTRY._serialized_options = b"8\001"
+ _CHANNELEDGE.fields_by_name["channel_id"]._options = None
+ _CHANNELEDGE.fields_by_name["channel_id"]._serialized_options = b"0\001"
+ _CHANNELEDGE.fields_by_name["last_update"]._options = None
+ _CHANNELEDGE.fields_by_name["last_update"]._serialized_options = b"\030\001"
+ _NODEMETRICSRESPONSE_BETWEENNESSCENTRALITYENTRY._options = None
+ _NODEMETRICSRESPONSE_BETWEENNESSCENTRALITYENTRY._serialized_options = b"8\001"
+ _CHANINFOREQUEST.fields_by_name["chan_id"]._options = None
+ _CHANINFOREQUEST.fields_by_name["chan_id"]._serialized_options = b"0\001"
+ _NODEUPDATE_FEATURESENTRY._options = None
+ _NODEUPDATE_FEATURESENTRY._serialized_options = b"8\001"
+ _NODEUPDATE.fields_by_name["addresses"]._options = None
+ _NODEUPDATE.fields_by_name["addresses"]._serialized_options = b"\030\001"
+ _NODEUPDATE.fields_by_name["global_features"]._options = None
+ _NODEUPDATE.fields_by_name["global_features"]._serialized_options = b"\030\001"
+ _CHANNELEDGEUPDATE.fields_by_name["chan_id"]._options = None
+ _CHANNELEDGEUPDATE.fields_by_name["chan_id"]._serialized_options = b"0\001"
+ _CLOSEDCHANNELUPDATE.fields_by_name["chan_id"]._options = None
+ _CLOSEDCHANNELUPDATE.fields_by_name["chan_id"]._serialized_options = b"0\001"
+ _HOPHINT.fields_by_name["chan_id"]._options = None
+ _HOPHINT.fields_by_name["chan_id"]._serialized_options = b"0\001"
+ _INVOICE_FEATURESENTRY._options = None
+ _INVOICE_FEATURESENTRY._serialized_options = b"8\001"
+ _INVOICE_AMPINVOICESTATEENTRY._options = None
+ _INVOICE_AMPINVOICESTATEENTRY._serialized_options = b"8\001"
+ _INVOICE.fields_by_name["settled"]._options = None
+ _INVOICE.fields_by_name["settled"]._serialized_options = b"\030\001"
+ _INVOICE.fields_by_name["amt_paid"]._options = None
+ _INVOICE.fields_by_name["amt_paid"]._serialized_options = b"\030\001"
+ _INVOICEHTLC_CUSTOMRECORDSENTRY._options = None
+ _INVOICEHTLC_CUSTOMRECORDSENTRY._serialized_options = b"8\001"
+ _INVOICEHTLC.fields_by_name["chan_id"]._options = None
+ _INVOICEHTLC.fields_by_name["chan_id"]._serialized_options = b"0\001"
+ _PAYMENTHASH.fields_by_name["r_hash_str"]._options = None
+ _PAYMENTHASH.fields_by_name["r_hash_str"]._serialized_options = b"\030\001"
+ _PAYMENT.fields_by_name["value"]._options = None
+ _PAYMENT.fields_by_name["value"]._serialized_options = b"\030\001"
+ _PAYMENT.fields_by_name["creation_date"]._options = None
+ _PAYMENT.fields_by_name["creation_date"]._serialized_options = b"\030\001"
+ _PAYMENT.fields_by_name["fee"]._options = None
+ _PAYMENT.fields_by_name["fee"]._serialized_options = b"\030\001"
+ _PAYREQ_FEATURESENTRY._options = None
+ _PAYREQ_FEATURESENTRY._serialized_options = b"8\001"
+ _CHANNELFEEREPORT.fields_by_name["chan_id"]._options = None
+ _CHANNELFEEREPORT.fields_by_name["chan_id"]._serialized_options = b"0\001"
+ _FORWARDINGEVENT.fields_by_name["timestamp"]._options = None
+ _FORWARDINGEVENT.fields_by_name["timestamp"]._serialized_options = b"\030\001"
+ _FORWARDINGEVENT.fields_by_name["chan_id_in"]._options = None
+ _FORWARDINGEVENT.fields_by_name["chan_id_in"]._serialized_options = b"0\001"
+ _FORWARDINGEVENT.fields_by_name["chan_id_out"]._options = None
+ _FORWARDINGEVENT.fields_by_name["chan_id_out"]._serialized_options = b"0\001"
+ _LISTPERMISSIONSRESPONSE_METHODPERMISSIONSENTRY._options = None
+ _LISTPERMISSIONSRESPONSE_METHODPERMISSIONSENTRY._serialized_options = b"8\001"
+ _CHANNELUPDATE.fields_by_name["chan_id"]._options = None
+ _CHANNELUPDATE.fields_by_name["chan_id"]._serialized_options = b"0\001"
+ _LIGHTNING.methods_by_name["SendPayment"]._options = None
+ _LIGHTNING.methods_by_name["SendPayment"]._serialized_options = b"\210\002\001"
+ _LIGHTNING.methods_by_name["SendToRoute"]._options = None
+ _LIGHTNING.methods_by_name["SendToRoute"]._serialized_options = b"\210\002\001"
+ _OUTPUTSCRIPTTYPE._serialized_start = 27318
+ _OUTPUTSCRIPTTYPE._serialized_end = 27613
+ _ADDRESSTYPE._serialized_start = 27616
+ _ADDRESSTYPE._serialized_end = 27788
+ _COMMITMENTTYPE._serialized_start = 27790
+ _COMMITMENTTYPE._serialized_end = 27910
+ _INITIATOR._serialized_start = 27912
+ _INITIATOR._serialized_end = 28009
+ _RESOLUTIONTYPE._serialized_start = 28011
+ _RESOLUTIONTYPE._serialized_end = 28107
+ _RESOLUTIONOUTCOME._serialized_start = 28109
+ _RESOLUTIONOUTCOME._serialized_end = 28222
+ _NODEMETRICTYPE._serialized_start = 28224
+ _NODEMETRICTYPE._serialized_end = 28281
+ _INVOICEHTLCSTATE._serialized_start = 28283
+ _INVOICEHTLCSTATE._serialized_end = 28342
+ _PAYMENTFAILUREREASON._serialized_start = 28345
+ _PAYMENTFAILUREREASON._serialized_end = 28562
+ _FEATUREBIT._serialized_start = 28565
+ _FEATUREBIT._serialized_end = 29156
+ _UPDATEFAILURE._serialized_start = 29159
+ _UPDATEFAILURE._serialized_end = 29331
+ _SUBSCRIBECUSTOMMESSAGESREQUEST._serialized_start = 26
+ _SUBSCRIBECUSTOMMESSAGESREQUEST._serialized_end = 58
+ _CUSTOMMESSAGE._serialized_start = 60
+ _CUSTOMMESSAGE._serialized_end = 117
+ _SENDCUSTOMMESSAGEREQUEST._serialized_start = 119
+ _SENDCUSTOMMESSAGEREQUEST._serialized_end = 187
+ _SENDCUSTOMMESSAGERESPONSE._serialized_start = 189
+ _SENDCUSTOMMESSAGERESPONSE._serialized_end = 216
+ _UTXO._serialized_start = 219
+ _UTXO._serialized_end = 381
+ _OUTPUTDETAIL._serialized_start = 384
+ _OUTPUTDETAIL._serialized_end = 542
+ _TRANSACTION._serialized_start = 545
+ _TRANSACTION._serialized_end = 861
+ _GETTRANSACTIONSREQUEST._serialized_start = 863
+ _GETTRANSACTIONSREQUEST._serialized_end = 946
+ _TRANSACTIONDETAILS._serialized_start = 948
+ _TRANSACTIONDETAILS._serialized_end = 1010
+ _FEELIMIT._serialized_start = 1012
+ _FEELIMIT._serialized_end = 1089
+ _SENDREQUEST._serialized_start = 1092
+ _SENDREQUEST._serialized_end = 1614
+ _SENDREQUEST_DESTCUSTOMRECORDSENTRY._serialized_start = 1558
+ _SENDREQUEST_DESTCUSTOMRECORDSENTRY._serialized_end = 1614
+ _SENDRESPONSE._serialized_start = 1616
+ _SENDRESPONSE._serialized_end = 1738
+ _SENDTOROUTEREQUEST._serialized_start = 1740
+ _SENDTOROUTEREQUEST._serialized_end = 1850
+ _CHANNELACCEPTREQUEST._serialized_start = 1853
+ _CHANNELACCEPTREQUEST._serialized_end = 2210
+ _CHANNELACCEPTRESPONSE._serialized_start = 2213
+ _CHANNELACCEPTRESPONSE._serialized_end = 2476
+ _CHANNELPOINT._serialized_start = 2478
+ _CHANNELPOINT._serialized_end = 2588
+ _OUTPOINT._serialized_start = 2590
+ _OUTPOINT._serialized_end = 2660
+ _PREVIOUSOUTPOINT._serialized_start = 2662
+ _PREVIOUSOUTPOINT._serialized_end = 2721
+ _LIGHTNINGADDRESS._serialized_start = 2723
+ _LIGHTNINGADDRESS._serialized_end = 2771
+ _ESTIMATEFEEREQUEST._serialized_start = 2774
+ _ESTIMATEFEEREQUEST._serialized_end = 2981
+ _ESTIMATEFEEREQUEST_ADDRTOAMOUNTENTRY._serialized_start = 2930
+ _ESTIMATEFEEREQUEST_ADDRTOAMOUNTENTRY._serialized_end = 2981
+ _ESTIMATEFEERESPONSE._serialized_start = 2983
+ _ESTIMATEFEERESPONSE._serialized_end = 3078
+ _SENDMANYREQUEST._serialized_start = 3081
+ _SENDMANYREQUEST._serialized_end = 3346
+ _SENDMANYREQUEST_ADDRTOAMOUNTENTRY._serialized_start = 2930
+ _SENDMANYREQUEST_ADDRTOAMOUNTENTRY._serialized_end = 2981
+ _SENDMANYRESPONSE._serialized_start = 3348
+ _SENDMANYRESPONSE._serialized_end = 3380
+ _SENDCOINSREQUEST._serialized_start = 3383
+ _SENDCOINSREQUEST._serialized_end = 3580
+ _SENDCOINSRESPONSE._serialized_start = 3582
+ _SENDCOINSRESPONSE._serialized_end = 3615
+ _LISTUNSPENTREQUEST._serialized_start = 3617
+ _LISTUNSPENTREQUEST._serialized_end = 3692
+ _LISTUNSPENTRESPONSE._serialized_start = 3694
+ _LISTUNSPENTRESPONSE._serialized_end = 3743
+ _NEWADDRESSREQUEST._serialized_start = 3745
+ _NEWADDRESSREQUEST._serialized_end = 3815
+ _NEWADDRESSRESPONSE._serialized_start = 3817
+ _NEWADDRESSRESPONSE._serialized_end = 3854
+ _SIGNMESSAGEREQUEST._serialized_start = 3856
+ _SIGNMESSAGEREQUEST._serialized_end = 3910
+ _SIGNMESSAGERESPONSE._serialized_start = 3912
+ _SIGNMESSAGERESPONSE._serialized_end = 3952
+ _VERIFYMESSAGEREQUEST._serialized_start = 3954
+ _VERIFYMESSAGEREQUEST._serialized_end = 4008
+ _VERIFYMESSAGERESPONSE._serialized_start = 4010
+ _VERIFYMESSAGERESPONSE._serialized_end = 4064
+ _CONNECTPEERREQUEST._serialized_start = 4066
+ _CONNECTPEERREQUEST._serialized_end = 4156
+ _CONNECTPEERRESPONSE._serialized_start = 4158
+ _CONNECTPEERRESPONSE._serialized_end = 4179
+ _DISCONNECTPEERREQUEST._serialized_start = 4181
+ _DISCONNECTPEERREQUEST._serialized_end = 4221
+ _DISCONNECTPEERRESPONSE._serialized_start = 4223
+ _DISCONNECTPEERRESPONSE._serialized_end = 4247
+ _HTLC._serialized_start = 4250
+ _HTLC._serialized_end = 4415
+ _CHANNELCONSTRAINTS._serialized_start = 4418
+ _CHANNELCONSTRAINTS._serialized_end = 4588
+ _CHANNEL._serialized_start = 4591
+ _CHANNEL._serialized_end = 5407
+ _LISTCHANNELSREQUEST._serialized_start = 5409
+ _LISTCHANNELSREQUEST._serialized_end = 5531
+ _LISTCHANNELSRESPONSE._serialized_start = 5533
+ _LISTCHANNELSRESPONSE._serialized_end = 5589
+ _CHANNELCLOSESUMMARY._serialized_start = 5592
+ _CHANNELCLOSESUMMARY._serialized_end = 6145
+ _CHANNELCLOSESUMMARY_CLOSURETYPE._serialized_start = 6007
+ _CHANNELCLOSESUMMARY_CLOSURETYPE._serialized_end = 6145
+ _RESOLUTION._serialized_start = 6148
+ _RESOLUTION._serialized_end = 6326
+ _CLOSEDCHANNELSREQUEST._serialized_start = 6329
+ _CLOSEDCHANNELSREQUEST._serialized_end = 6477
+ _CLOSEDCHANNELSRESPONSE._serialized_start = 6479
+ _CLOSEDCHANNELSRESPONSE._serialized_end = 6549
+ _PEER._serialized_start = 6552
+ _PEER._serialized_end = 7047
+ _PEER_FEATURESENTRY._serialized_start = 6902
+ _PEER_FEATURESENTRY._serialized_end = 6965
+ _PEER_SYNCTYPE._serialized_start = 6967
+ _PEER_SYNCTYPE._serialized_end = 7047
+ _TIMESTAMPEDERROR._serialized_start = 7049
+ _TIMESTAMPEDERROR._serialized_end = 7101
+ _LISTPEERSREQUEST._serialized_start = 7103
+ _LISTPEERSREQUEST._serialized_end = 7143
+ _LISTPEERSRESPONSE._serialized_start = 7145
+ _LISTPEERSRESPONSE._serialized_end = 7192
+ _PEEREVENTSUBSCRIPTION._serialized_start = 7194
+ _PEEREVENTSUBSCRIPTION._serialized_end = 7217
+ _PEEREVENT._serialized_start = 7219
+ _PEEREVENT._serialized_end = 7337
+ _PEEREVENT_EVENTTYPE._serialized_start = 7291
+ _PEEREVENT_EVENTTYPE._serialized_end = 7337
+ _GETINFOREQUEST._serialized_start = 7339
+ _GETINFOREQUEST._serialized_end = 7355
+ _GETINFORESPONSE._serialized_start = 7358
+ _GETINFORESPONSE._serialized_end = 7926
+ _GETINFORESPONSE_FEATURESENTRY._serialized_start = 6902
+ _GETINFORESPONSE_FEATURESENTRY._serialized_end = 6965
+ _GETRECOVERYINFOREQUEST._serialized_start = 7928
+ _GETRECOVERYINFOREQUEST._serialized_end = 7952
+ _GETRECOVERYINFORESPONSE._serialized_start = 7954
+ _GETRECOVERYINFORESPONSE._serialized_end = 8047
+ _CHAIN._serialized_start = 8049
+ _CHAIN._serialized_end = 8088
+ _CONFIRMATIONUPDATE._serialized_start = 8090
+ _CONFIRMATIONUPDATE._serialized_end = 8175
+ _CHANNELOPENUPDATE._serialized_start = 8177
+ _CHANNELOPENUPDATE._serialized_end = 8240
+ _CHANNELCLOSEUPDATE._serialized_start = 8242
+ _CHANNELCLOSEUPDATE._serialized_end = 8301
+ _CLOSECHANNELREQUEST._serialized_start = 8304
+ _CLOSECHANNELREQUEST._serialized_end = 8480
+ _CLOSESTATUSUPDATE._serialized_start = 8482
+ _CLOSESTATUSUPDATE._serialized_end = 8607
+ _PENDINGUPDATE._serialized_start = 8609
+ _PENDINGUPDATE._serialized_end = 8660
+ _READYFORPSBTFUNDING._serialized_start = 8662
+ _READYFORPSBTFUNDING._serialized_end = 8746
+ _BATCHOPENCHANNELREQUEST._serialized_start = 8749
+ _BATCHOPENCHANNELREQUEST._serialized_end = 8922
+ _BATCHOPENCHANNEL._serialized_start = 8925
+ _BATCHOPENCHANNEL._serialized_end = 9174
+ _BATCHOPENCHANNELRESPONSE._serialized_start = 9176
+ _BATCHOPENCHANNELRESPONSE._serialized_end = 9250
+ _OPENCHANNELREQUEST._serialized_start = 9253
+ _OPENCHANNELREQUEST._serialized_end = 9798
+ _OPENSTATUSUPDATE._serialized_start = 9801
+ _OPENSTATUSUPDATE._serialized_end = 9996
+ _KEYLOCATOR._serialized_start = 9998
+ _KEYLOCATOR._serialized_end = 10049
+ _KEYDESCRIPTOR._serialized_start = 10051
+ _KEYDESCRIPTOR._serialized_end = 10125
+ _CHANPOINTSHIM._serialized_start = 10128
+ _CHANPOINTSHIM._serialized_end = 10304
+ _PSBTSHIM._serialized_start = 10306
+ _PSBTSHIM._serialized_end = 10380
+ _FUNDINGSHIM._serialized_start = 10382
+ _FUNDINGSHIM._serialized_end = 10490
+ _FUNDINGSHIMCANCEL._serialized_start = 10492
+ _FUNDINGSHIMCANCEL._serialized_end = 10536
+ _FUNDINGPSBTVERIFY._serialized_start = 10538
+ _FUNDINGPSBTVERIFY._serialized_end = 10626
+ _FUNDINGPSBTFINALIZE._serialized_start = 10628
+ _FUNDINGPSBTFINALIZE._serialized_end = 10717
+ _FUNDINGTRANSITIONMSG._serialized_start = 10720
+ _FUNDINGTRANSITIONMSG._serialized_end = 10949
+ _FUNDINGSTATESTEPRESP._serialized_start = 10951
+ _FUNDINGSTATESTEPRESP._serialized_end = 10973
+ _PENDINGHTLC._serialized_start = 10976
+ _PENDINGHTLC._serialized_end = 11110
+ _PENDINGCHANNELSREQUEST._serialized_start = 11112
+ _PENDINGCHANNELSREQUEST._serialized_end = 11136
+ _PENDINGCHANNELSRESPONSE._serialized_start = 11139
+ _PENDINGCHANNELSRESPONSE._serialized_end = 12922
+ _PENDINGCHANNELSRESPONSE_PENDINGCHANNEL._serialized_start = 11537
+ _PENDINGCHANNELSRESPONSE_PENDINGCHANNEL._serialized_end = 11893
+ _PENDINGCHANNELSRESPONSE_PENDINGOPENCHANNEL._serialized_start = 11896
+ _PENDINGCHANNELSRESPONSE_PENDINGOPENCHANNEL._serialized_end = 12049
+ _PENDINGCHANNELSRESPONSE_WAITINGCLOSECHANNEL._serialized_start = 12052
+ _PENDINGCHANNELSRESPONSE_WAITINGCLOSECHANNEL._serialized_end = 12247
+ _PENDINGCHANNELSRESPONSE_COMMITMENTS._serialized_start = 12250
+ _PENDINGCHANNELSRESPONSE_COMMITMENTS._serialized_end = 12433
+ _PENDINGCHANNELSRESPONSE_CLOSEDCHANNEL._serialized_start = 12435
+ _PENDINGCHANNELSRESPONSE_CLOSEDCHANNEL._serialized_end = 12536
+ _PENDINGCHANNELSRESPONSE_FORCECLOSEDCHANNEL._serialized_start = 12539
+ _PENDINGCHANNELSRESPONSE_FORCECLOSEDCHANNEL._serialized_end = 12922
+ _PENDINGCHANNELSRESPONSE_FORCECLOSEDCHANNEL_ANCHORSTATE._serialized_start = 12873
+ _PENDINGCHANNELSRESPONSE_FORCECLOSEDCHANNEL_ANCHORSTATE._serialized_end = 12922
+ _CHANNELEVENTSUBSCRIPTION._serialized_start = 12924
+ _CHANNELEVENTSUBSCRIPTION._serialized_end = 12950
+ _CHANNELEVENTUPDATE._serialized_start = 12953
+ _CHANNELEVENTUPDATE._serialized_end = 13484
+ _CHANNELEVENTUPDATE_UPDATETYPE._serialized_start = 13327
+ _CHANNELEVENTUPDATE_UPDATETYPE._serialized_end = 13473
+ _WALLETACCOUNTBALANCE._serialized_start = 13486
+ _WALLETACCOUNTBALANCE._serialized_end = 13564
+ _WALLETBALANCEREQUEST._serialized_start = 13566
+ _WALLETBALANCEREQUEST._serialized_end = 13588
+ _WALLETBALANCERESPONSE._serialized_start = 13591
+ _WALLETBALANCERESPONSE._serialized_end = 13914
+ _WALLETBALANCERESPONSE_ACCOUNTBALANCEENTRY._serialized_start = 13832
+ _WALLETBALANCERESPONSE_ACCOUNTBALANCEENTRY._serialized_end = 13914
+ _AMOUNT._serialized_start = 13916
+ _AMOUNT._serialized_end = 13951
+ _CHANNELBALANCEREQUEST._serialized_start = 13953
+ _CHANNELBALANCEREQUEST._serialized_end = 13976
+ _CHANNELBALANCERESPONSE._serialized_start = 13979
+ _CHANNELBALANCERESPONSE._serialized_end = 14335
+ _QUERYROUTESREQUEST._serialized_start = 14338
+ _QUERYROUTESREQUEST._serialized_end = 14949
+ _QUERYROUTESREQUEST_DESTCUSTOMRECORDSENTRY._serialized_start = 1558
+ _QUERYROUTESREQUEST_DESTCUSTOMRECORDSENTRY._serialized_end = 1614
+ _NODEPAIR._serialized_start = 14951
+ _NODEPAIR._serialized_end = 14987
+ _EDGELOCATOR._serialized_start = 14989
+ _EDGELOCATOR._serialized_end = 15053
+ _QUERYROUTESRESPONSE._serialized_start = 15055
+ _QUERYROUTESRESPONSE._serialized_end = 15128
+ _HOP._serialized_start = 15131
+ _HOP._serialized_end = 15537
+ _HOP_CUSTOMRECORDSENTRY._serialized_start = 15485
+ _HOP_CUSTOMRECORDSENTRY._serialized_end = 15537
+ _MPPRECORD._serialized_start = 15539
+ _MPPRECORD._serialized_end = 15596
+ _AMPRECORD._serialized_start = 15598
+ _AMPRECORD._serialized_end = 15666
+ _ROUTE._serialized_start = 15669
+ _ROUTE._serialized_end = 15823
+ _NODEINFOREQUEST._serialized_start = 15825
+ _NODEINFOREQUEST._serialized_end = 15885
+ _NODEINFO._serialized_start = 15888
+ _NODEINFO._serialized_end = 16018
+ _LIGHTNINGNODE._serialized_start = 16021
+ _LIGHTNINGNODE._serialized_end = 16262
+ _LIGHTNINGNODE_FEATURESENTRY._serialized_start = 6902
+ _LIGHTNINGNODE_FEATURESENTRY._serialized_end = 6965
+ _NODEADDRESS._serialized_start = 16264
+ _NODEADDRESS._serialized_end = 16308
+ _ROUTINGPOLICY._serialized_start = 16311
+ _ROUTINGPOLICY._serialized_end = 16483
+ _CHANNELEDGE._serialized_start = 16486
+ _CHANNELEDGE._serialized_end = 16712
+ _CHANNELGRAPHREQUEST._serialized_start = 16714
+ _CHANNELGRAPHREQUEST._serialized_end = 16764
+ _CHANNELGRAPH._serialized_start = 16766
+ _CHANNELGRAPH._serialized_end = 16852
+ _NODEMETRICSREQUEST._serialized_start = 16854
+ _NODEMETRICSREQUEST._serialized_end = 16912
+ _NODEMETRICSRESPONSE._serialized_start = 16915
+ _NODEMETRICSRESPONSE._serialized_end = 17105
+ _NODEMETRICSRESPONSE_BETWEENNESSCENTRALITYENTRY._serialized_start = 17025
+ _NODEMETRICSRESPONSE_BETWEENNESSCENTRALITYENTRY._serialized_end = 17105
+ _FLOATMETRIC._serialized_start = 17107
+ _FLOATMETRIC._serialized_end = 17161
+ _CHANINFOREQUEST._serialized_start = 17163
+ _CHANINFOREQUEST._serialized_end = 17201
+ _NETWORKINFOREQUEST._serialized_start = 17203
+ _NETWORKINFOREQUEST._serialized_end = 17223
+ _NETWORKINFO._serialized_start = 17226
+ _NETWORKINFO._serialized_end = 17521
+ _STOPREQUEST._serialized_start = 17523
+ _STOPREQUEST._serialized_end = 17536
+ _STOPRESPONSE._serialized_start = 17538
+ _STOPRESPONSE._serialized_end = 17552
+ _GRAPHTOPOLOGYSUBSCRIPTION._serialized_start = 17554
+ _GRAPHTOPOLOGYSUBSCRIPTION._serialized_end = 17581
+ _GRAPHTOPOLOGYUPDATE._serialized_start = 17584
+ _GRAPHTOPOLOGYUPDATE._serialized_end = 17747
+ _NODEUPDATE._serialized_start = 17750
+ _NODEUPDATE._serialized_end = 18026
+ _NODEUPDATE_FEATURESENTRY._serialized_start = 6902
+ _NODEUPDATE_FEATURESENTRY._serialized_end = 6965
+ _CHANNELEDGEUPDATE._serialized_start = 18029
+ _CHANNELEDGEUPDATE._serialized_end = 18225
+ _CLOSEDCHANNELUPDATE._serialized_start = 18227
+ _CLOSEDCHANNELUPDATE._serialized_end = 18351
+ _HOPHINT._serialized_start = 18354
+ _HOPHINT._serialized_end = 18488
+ _SETID._serialized_start = 18490
+ _SETID._serialized_end = 18513
+ _ROUTEHINT._serialized_start = 18515
+ _ROUTEHINT._serialized_end = 18561
+ _AMPINVOICESTATE._serialized_start = 18563
+ _AMPINVOICESTATE._serialized_end = 18686
+ _INVOICE._serialized_start = 18689
+ _INVOICE._serialized_end = 19590
+ _INVOICE_FEATURESENTRY._serialized_start = 6902
+ _INVOICE_FEATURESENTRY._serialized_end = 6965
+ _INVOICE_AMPINVOICESTATEENTRY._serialized_start = 19439
+ _INVOICE_AMPINVOICESTATEENTRY._serialized_end = 19517
+ _INVOICE_INVOICESTATE._serialized_start = 19519
+ _INVOICE_INVOICESTATE._serialized_end = 19584
+ _INVOICEHTLC._serialized_start = 19593
+ _INVOICEHTLC._serialized_end = 19964
+ _INVOICEHTLC_CUSTOMRECORDSENTRY._serialized_start = 15485
+ _INVOICEHTLC_CUSTOMRECORDSENTRY._serialized_end = 15537
+ _AMP._serialized_start = 19966
+ _AMP._serialized_end = 20060
+ _ADDINVOICERESPONSE._serialized_start = 20062
+ _ADDINVOICERESPONSE._serialized_end = 20164
+ _PAYMENTHASH._serialized_start = 20166
+ _PAYMENTHASH._serialized_end = 20219
+ _LISTINVOICEREQUEST._serialized_start = 20221
+ _LISTINVOICEREQUEST._serialized_end = 20329
+ _LISTINVOICERESPONSE._serialized_start = 20331
+ _LISTINVOICERESPONSE._serialized_end = 20441
+ _INVOICESUBSCRIPTION._serialized_start = 20443
+ _INVOICESUBSCRIPTION._serialized_end = 20505
+ _PAYMENT._serialized_start = 20508
+ _PAYMENT._serialized_end = 20988
+ _PAYMENT_PAYMENTSTATUS._serialized_start = 20912
+ _PAYMENT_PAYMENTSTATUS._serialized_end = 20982
+ _HTLCATTEMPT._serialized_start = 20991
+ _HTLCATTEMPT._serialized_end = 21257
+ _HTLCATTEMPT_HTLCSTATUS._serialized_start = 21203
+ _HTLCATTEMPT_HTLCSTATUS._serialized_end = 21257
+ _LISTPAYMENTSREQUEST._serialized_start = 21260
+ _LISTPAYMENTSREQUEST._serialized_end = 21401
+ _LISTPAYMENTSRESPONSE._serialized_start = 21404
+ _LISTPAYMENTSRESPONSE._serialized_end = 21543
+ _DELETEPAYMENTREQUEST._serialized_start = 21545
+ _DELETEPAYMENTREQUEST._serialized_end = 21616
+ _DELETEALLPAYMENTSREQUEST._serialized_start = 21618
+ _DELETEALLPAYMENTSREQUEST._serialized_end = 21701
+ _DELETEPAYMENTRESPONSE._serialized_start = 21703
+ _DELETEPAYMENTRESPONSE._serialized_end = 21726
+ _DELETEALLPAYMENTSRESPONSE._serialized_start = 21728
+ _DELETEALLPAYMENTSRESPONSE._serialized_end = 21755
+ _ABANDONCHANNELREQUEST._serialized_start = 21758
+ _ABANDONCHANNELREQUEST._serialized_end = 21892
+ _ABANDONCHANNELRESPONSE._serialized_start = 21894
+ _ABANDONCHANNELRESPONSE._serialized_end = 21918
+ _DEBUGLEVELREQUEST._serialized_start = 21920
+ _DEBUGLEVELREQUEST._serialized_end = 21973
+ _DEBUGLEVELRESPONSE._serialized_start = 21975
+ _DEBUGLEVELRESPONSE._serialized_end = 22016
+ _PAYREQSTRING._serialized_start = 22018
+ _PAYREQSTRING._serialized_end = 22049
+ _PAYREQ._serialized_start = 22052
+ _PAYREQ._serialized_end = 22442
+ _PAYREQ_FEATURESENTRY._serialized_start = 6902
+ _PAYREQ_FEATURESENTRY._serialized_end = 6965
+ _FEATURE._serialized_start = 22444
+ _FEATURE._serialized_end = 22506
+ _FEEREPORTREQUEST._serialized_start = 22508
+ _FEEREPORTREQUEST._serialized_end = 22526
+ _CHANNELFEEREPORT._serialized_start = 22528
+ _CHANNELFEEREPORT._serialized_end = 22652
+ _FEEREPORTRESPONSE._serialized_start = 22655
+ _FEEREPORTRESPONSE._serialized_end = 22787
+ _POLICYUPDATEREQUEST._serialized_start = 22790
+ _POLICYUPDATEREQUEST._serialized_end = 23048
+ _FAILEDUPDATE._serialized_start = 23050
+ _FAILEDUPDATE._serialized_end = 23159
+ _POLICYUPDATERESPONSE._serialized_start = 23161
+ _POLICYUPDATERESPONSE._serialized_end = 23228
+ _FORWARDINGHISTORYREQUEST._serialized_start = 23230
+ _FORWARDINGHISTORYREQUEST._serialized_end = 23340
+ _FORWARDINGEVENT._serialized_start = 23343
+ _FORWARDINGEVENT._serialized_end = 23561
+ _FORWARDINGHISTORYRESPONSE._serialized_start = 23563
+ _FORWARDINGHISTORYRESPONSE._serialized_end = 23668
+ _EXPORTCHANNELBACKUPREQUEST._serialized_start = 23670
+ _EXPORTCHANNELBACKUPREQUEST._serialized_end = 23739
+ _CHANNELBACKUP._serialized_start = 23741
+ _CHANNELBACKUP._serialized_end = 23818
+ _MULTICHANBACKUP._serialized_start = 23820
+ _MULTICHANBACKUP._serialized_end = 23906
+ _CHANBACKUPEXPORTREQUEST._serialized_start = 23908
+ _CHANBACKUPEXPORTREQUEST._serialized_end = 23933
+ _CHANBACKUPSNAPSHOT._serialized_start = 23935
+ _CHANBACKUPSNAPSHOT._serialized_end = 24058
+ _CHANNELBACKUPS._serialized_start = 24060
+ _CHANNELBACKUPS._serialized_end = 24120
+ _RESTORECHANBACKUPREQUEST._serialized_start = 24122
+ _RESTORECHANBACKUPREQUEST._serialized_end = 24234
+ _RESTOREBACKUPRESPONSE._serialized_start = 24236
+ _RESTOREBACKUPRESPONSE._serialized_end = 24259
+ _CHANNELBACKUPSUBSCRIPTION._serialized_start = 24261
+ _CHANNELBACKUPSUBSCRIPTION._serialized_end = 24288
+ _VERIFYCHANBACKUPRESPONSE._serialized_start = 24290
+ _VERIFYCHANBACKUPRESPONSE._serialized_end = 24316
+ _MACAROONPERMISSION._serialized_start = 24318
+ _MACAROONPERMISSION._serialized_end = 24370
+ _BAKEMACAROONREQUEST._serialized_start = 24372
+ _BAKEMACAROONREQUEST._serialized_end = 24498
+ _BAKEMACAROONRESPONSE._serialized_start = 24500
+ _BAKEMACAROONRESPONSE._serialized_end = 24540
+ _LISTMACAROONIDSREQUEST._serialized_start = 24542
+ _LISTMACAROONIDSREQUEST._serialized_end = 24566
+ _LISTMACAROONIDSRESPONSE._serialized_start = 24568
+ _LISTMACAROONIDSRESPONSE._serialized_end = 24615
+ _DELETEMACAROONIDREQUEST._serialized_start = 24617
+ _DELETEMACAROONIDREQUEST._serialized_end = 24663
+ _DELETEMACAROONIDRESPONSE._serialized_start = 24665
+ _DELETEMACAROONIDRESPONSE._serialized_end = 24708
+ _MACAROONPERMISSIONLIST._serialized_start = 24710
+ _MACAROONPERMISSIONLIST._serialized_end = 24782
+ _LISTPERMISSIONSREQUEST._serialized_start = 24784
+ _LISTPERMISSIONSREQUEST._serialized_end = 24808
+ _LISTPERMISSIONSRESPONSE._serialized_start = 24811
+ _LISTPERMISSIONSRESPONSE._serialized_end = 25008
+ _LISTPERMISSIONSRESPONSE_METHODPERMISSIONSENTRY._serialized_start = 24921
+ _LISTPERMISSIONSRESPONSE_METHODPERMISSIONSENTRY._serialized_end = 25008
+ _FAILURE._serialized_start = 25011
+ _FAILURE._serialized_end = 25992
+ _FAILURE_FAILURECODE._serialized_start = 25235
+ _FAILURE_FAILURECODE._serialized_end = 25986
+ _CHANNELUPDATE._serialized_start = 25995
+ _CHANNELUPDATE._serialized_end = 26277
+ _MACAROONID._serialized_start = 26279
+ _MACAROONID._serialized_end = 26349
+ _OP._serialized_start = 26351
+ _OP._serialized_end = 26388
+ _CHECKMACPERMREQUEST._serialized_start = 26390
+ _CHECKMACPERMREQUEST._serialized_end = 26497
+ _CHECKMACPERMRESPONSE._serialized_start = 26499
+ _CHECKMACPERMRESPONSE._serialized_end = 26536
+ _RPCMIDDLEWAREREQUEST._serialized_start = 26539
+ _RPCMIDDLEWAREREQUEST._serialized_end = 26789
+ _STREAMAUTH._serialized_start = 26791
+ _STREAMAUTH._serialized_end = 26828
+ _RPCMESSAGE._serialized_start = 26830
+ _RPCMESSAGE._serialized_end = 26944
+ _RPCMIDDLEWARERESPONSE._serialized_start = 26947
+ _RPCMIDDLEWARERESPONSE._serialized_end = 27109
+ _MIDDLEWAREREGISTRATION._serialized_start = 27111
+ _MIDDLEWAREREGISTRATION._serialized_end = 27221
+ _INTERCEPTFEEDBACK._serialized_start = 27223
+ _INTERCEPTFEEDBACK._serialized_end = 27315
+ _LIGHTNING._serialized_start = 29334
+ _LIGHTNING._serialized_end = 34143
# @@protoc_insertion_point(module_scope)
diff --git a/lnbits/wallets/lnd_grpc_files/router_pb2.py b/lnbits/wallets/lnd_grpc_files/router_pb2.py
new file mode 100644
index 00000000..4237556b
--- /dev/null
+++ b/lnbits/wallets/lnd_grpc_files/router_pb2.py
@@ -0,0 +1,665 @@
+# -*- coding: utf-8 -*-
+# Generated by the protocol buffer compiler. DO NOT EDIT!
+# source: router.proto
+"""Generated protocol buffer code."""
+from google.protobuf import descriptor as _descriptor
+from google.protobuf import descriptor_pool as _descriptor_pool
+from google.protobuf import message as _message
+from google.protobuf import reflection as _reflection
+from google.protobuf import symbol_database as _symbol_database
+from google.protobuf.internal import enum_type_wrapper
+
+# @@protoc_insertion_point(imports)
+
+_sym_db = _symbol_database.Default()
+
+
+import lnbits.wallets.lnd_grpc_files.lightning_pb2 as lightning__pb2
+
+DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
+ b'\n\x0crouter.proto\x12\trouterrpc\x1a\x0flightning.proto"\xb7\x05\n\x12SendPaymentRequest\x12\x0c\n\x04\x64\x65st\x18\x01 \x01(\x0c\x12\x0b\n\x03\x61mt\x18\x02 \x01(\x03\x12\x10\n\x08\x61mt_msat\x18\x0c \x01(\x03\x12\x14\n\x0cpayment_hash\x18\x03 \x01(\x0c\x12\x18\n\x10\x66inal_cltv_delta\x18\x04 \x01(\x05\x12\x14\n\x0cpayment_addr\x18\x14 \x01(\x0c\x12\x17\n\x0fpayment_request\x18\x05 \x01(\t\x12\x17\n\x0ftimeout_seconds\x18\x06 \x01(\x05\x12\x15\n\rfee_limit_sat\x18\x07 \x01(\x03\x12\x16\n\x0e\x66\x65\x65_limit_msat\x18\r \x01(\x03\x12\x1e\n\x10outgoing_chan_id\x18\x08 \x01(\x04\x42\x04\x18\x01\x30\x01\x12\x19\n\x11outgoing_chan_ids\x18\x13 \x03(\x04\x12\x17\n\x0flast_hop_pubkey\x18\x0e \x01(\x0c\x12\x12\n\ncltv_limit\x18\t \x01(\x05\x12%\n\x0broute_hints\x18\n \x03(\x0b\x32\x10.lnrpc.RouteHint\x12Q\n\x13\x64\x65st_custom_records\x18\x0b \x03(\x0b\x32\x34.routerrpc.SendPaymentRequest.DestCustomRecordsEntry\x12\x1a\n\x12\x61llow_self_payment\x18\x0f \x01(\x08\x12(\n\rdest_features\x18\x10 \x03(\x0e\x32\x11.lnrpc.FeatureBit\x12\x11\n\tmax_parts\x18\x11 \x01(\r\x12\x1b\n\x13no_inflight_updates\x18\x12 \x01(\x08\x12\x1b\n\x13max_shard_size_msat\x18\x15 \x01(\x04\x12\x0b\n\x03\x61mp\x18\x16 \x01(\x08\x12\x11\n\ttime_pref\x18\x17 \x01(\x01\x1a\x38\n\x16\x44\x65stCustomRecordsEntry\x12\x0b\n\x03key\x18\x01 \x01(\x04\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01"H\n\x13TrackPaymentRequest\x12\x14\n\x0cpayment_hash\x18\x01 \x01(\x0c\x12\x1b\n\x13no_inflight_updates\x18\x02 \x01(\x08"0\n\x0fRouteFeeRequest\x12\x0c\n\x04\x64\x65st\x18\x01 \x01(\x0c\x12\x0f\n\x07\x61mt_sat\x18\x02 \x01(\x03"E\n\x10RouteFeeResponse\x12\x18\n\x10routing_fee_msat\x18\x01 \x01(\x03\x12\x17\n\x0ftime_lock_delay\x18\x02 \x01(\x03"^\n\x12SendToRouteRequest\x12\x14\n\x0cpayment_hash\x18\x01 \x01(\x0c\x12\x1b\n\x05route\x18\x02 \x01(\x0b\x32\x0c.lnrpc.Route\x12\x15\n\rskip_temp_err\x18\x03 \x01(\x08"H\n\x13SendToRouteResponse\x12\x10\n\x08preimage\x18\x01 \x01(\x0c\x12\x1f\n\x07\x66\x61ilure\x18\x02 \x01(\x0b\x32\x0e.lnrpc.Failure"\x1c\n\x1aResetMissionControlRequest"\x1d\n\x1bResetMissionControlResponse"\x1c\n\x1aQueryMissionControlRequest"J\n\x1bQueryMissionControlResponse\x12%\n\x05pairs\x18\x02 \x03(\x0b\x32\x16.routerrpc.PairHistoryJ\x04\x08\x01\x10\x02"T\n\x1cXImportMissionControlRequest\x12%\n\x05pairs\x18\x01 \x03(\x0b\x32\x16.routerrpc.PairHistory\x12\r\n\x05\x66orce\x18\x02 \x01(\x08"\x1f\n\x1dXImportMissionControlResponse"o\n\x0bPairHistory\x12\x11\n\tnode_from\x18\x01 \x01(\x0c\x12\x0f\n\x07node_to\x18\x02 \x01(\x0c\x12$\n\x07history\x18\x07 \x01(\x0b\x32\x13.routerrpc.PairDataJ\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05J\x04\x08\x05\x10\x06J\x04\x08\x06\x10\x07"\x99\x01\n\x08PairData\x12\x11\n\tfail_time\x18\x01 \x01(\x03\x12\x14\n\x0c\x66\x61il_amt_sat\x18\x02 \x01(\x03\x12\x15\n\rfail_amt_msat\x18\x04 \x01(\x03\x12\x14\n\x0csuccess_time\x18\x05 \x01(\x03\x12\x17\n\x0fsuccess_amt_sat\x18\x06 \x01(\x03\x12\x18\n\x10success_amt_msat\x18\x07 \x01(\x03J\x04\x08\x03\x10\x04" \n\x1eGetMissionControlConfigRequest"R\n\x1fGetMissionControlConfigResponse\x12/\n\x06\x63onfig\x18\x01 \x01(\x0b\x32\x1f.routerrpc.MissionControlConfig"Q\n\x1eSetMissionControlConfigRequest\x12/\n\x06\x63onfig\x18\x01 \x01(\x0b\x32\x1f.routerrpc.MissionControlConfig"!\n\x1fSetMissionControlConfigResponse"\xa3\x01\n\x14MissionControlConfig\x12\x19\n\x11half_life_seconds\x18\x01 \x01(\x04\x12\x17\n\x0fhop_probability\x18\x02 \x01(\x02\x12\x0e\n\x06weight\x18\x03 \x01(\x02\x12\x1f\n\x17maximum_payment_results\x18\x04 \x01(\r\x12&\n\x1eminimum_failure_relax_interval\x18\x05 \x01(\x04"O\n\x17QueryProbabilityRequest\x12\x11\n\tfrom_node\x18\x01 \x01(\x0c\x12\x0f\n\x07to_node\x18\x02 \x01(\x0c\x12\x10\n\x08\x61mt_msat\x18\x03 \x01(\x03"U\n\x18QueryProbabilityResponse\x12\x13\n\x0bprobability\x18\x01 \x01(\x01\x12$\n\x07history\x18\x02 \x01(\x0b\x32\x13.routerrpc.PairData"\x88\x01\n\x11\x42uildRouteRequest\x12\x10\n\x08\x61mt_msat\x18\x01 \x01(\x03\x12\x18\n\x10\x66inal_cltv_delta\x18\x02 \x01(\x05\x12\x1c\n\x10outgoing_chan_id\x18\x03 \x01(\x04\x42\x02\x30\x01\x12\x13\n\x0bhop_pubkeys\x18\x04 \x03(\x0c\x12\x14\n\x0cpayment_addr\x18\x05 \x01(\x0c"1\n\x12\x42uildRouteResponse\x12\x1b\n\x05route\x18\x01 \x01(\x0b\x32\x0c.lnrpc.Route"\x1c\n\x1aSubscribeHtlcEventsRequest"\xdc\x03\n\tHtlcEvent\x12\x1b\n\x13incoming_channel_id\x18\x01 \x01(\x04\x12\x1b\n\x13outgoing_channel_id\x18\x02 \x01(\x04\x12\x18\n\x10incoming_htlc_id\x18\x03 \x01(\x04\x12\x18\n\x10outgoing_htlc_id\x18\x04 \x01(\x04\x12\x14\n\x0ctimestamp_ns\x18\x05 \x01(\x04\x12\x32\n\nevent_type\x18\x06 \x01(\x0e\x32\x1e.routerrpc.HtlcEvent.EventType\x12\x30\n\rforward_event\x18\x07 \x01(\x0b\x32\x17.routerrpc.ForwardEventH\x00\x12\x39\n\x12\x66orward_fail_event\x18\x08 \x01(\x0b\x32\x1b.routerrpc.ForwardFailEventH\x00\x12.\n\x0csettle_event\x18\t \x01(\x0b\x32\x16.routerrpc.SettleEventH\x00\x12\x33\n\x0flink_fail_event\x18\n \x01(\x0b\x32\x18.routerrpc.LinkFailEventH\x00"<\n\tEventType\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x08\n\x04SEND\x10\x01\x12\x0b\n\x07RECEIVE\x10\x02\x12\x0b\n\x07\x46ORWARD\x10\x03\x42\x07\n\x05\x65vent"v\n\x08HtlcInfo\x12\x19\n\x11incoming_timelock\x18\x01 \x01(\r\x12\x19\n\x11outgoing_timelock\x18\x02 \x01(\r\x12\x19\n\x11incoming_amt_msat\x18\x03 \x01(\x04\x12\x19\n\x11outgoing_amt_msat\x18\x04 \x01(\x04"1\n\x0c\x46orwardEvent\x12!\n\x04info\x18\x01 \x01(\x0b\x32\x13.routerrpc.HtlcInfo"\x12\n\x10\x46orwardFailEvent"\x1f\n\x0bSettleEvent\x12\x10\n\x08preimage\x18\x01 \x01(\x0c"\xae\x01\n\rLinkFailEvent\x12!\n\x04info\x18\x01 \x01(\x0b\x32\x13.routerrpc.HtlcInfo\x12\x30\n\x0cwire_failure\x18\x02 \x01(\x0e\x32\x1a.lnrpc.Failure.FailureCode\x12\x30\n\x0e\x66\x61ilure_detail\x18\x03 \x01(\x0e\x32\x18.routerrpc.FailureDetail\x12\x16\n\x0e\x66\x61ilure_string\x18\x04 \x01(\t"r\n\rPaymentStatus\x12&\n\x05state\x18\x01 \x01(\x0e\x32\x17.routerrpc.PaymentState\x12\x10\n\x08preimage\x18\x02 \x01(\x0c\x12!\n\x05htlcs\x18\x04 \x03(\x0b\x32\x12.lnrpc.HTLCAttemptJ\x04\x08\x03\x10\x04".\n\nCircuitKey\x12\x0f\n\x07\x63han_id\x18\x01 \x01(\x04\x12\x0f\n\x07htlc_id\x18\x02 \x01(\x04"\x97\x03\n\x1b\x46orwardHtlcInterceptRequest\x12\x33\n\x14incoming_circuit_key\x18\x01 \x01(\x0b\x32\x15.routerrpc.CircuitKey\x12\x1c\n\x14incoming_amount_msat\x18\x05 \x01(\x04\x12\x17\n\x0fincoming_expiry\x18\x06 \x01(\r\x12\x14\n\x0cpayment_hash\x18\x02 \x01(\x0c\x12"\n\x1aoutgoing_requested_chan_id\x18\x07 \x01(\x04\x12\x1c\n\x14outgoing_amount_msat\x18\x03 \x01(\x04\x12\x17\n\x0foutgoing_expiry\x18\x04 \x01(\r\x12Q\n\x0e\x63ustom_records\x18\x08 \x03(\x0b\x32\x39.routerrpc.ForwardHtlcInterceptRequest.CustomRecordsEntry\x12\x12\n\nonion_blob\x18\t \x01(\x0c\x1a\x34\n\x12\x43ustomRecordsEntry\x12\x0b\n\x03key\x18\x01 \x01(\x04\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01"\xe5\x01\n\x1c\x46orwardHtlcInterceptResponse\x12\x33\n\x14incoming_circuit_key\x18\x01 \x01(\x0b\x32\x15.routerrpc.CircuitKey\x12\x33\n\x06\x61\x63tion\x18\x02 \x01(\x0e\x32#.routerrpc.ResolveHoldForwardAction\x12\x10\n\x08preimage\x18\x03 \x01(\x0c\x12\x17\n\x0f\x66\x61ilure_message\x18\x04 \x01(\x0c\x12\x30\n\x0c\x66\x61ilure_code\x18\x05 \x01(\x0e\x32\x1a.lnrpc.Failure.FailureCode"o\n\x17UpdateChanStatusRequest\x12\'\n\nchan_point\x18\x01 \x01(\x0b\x32\x13.lnrpc.ChannelPoint\x12+\n\x06\x61\x63tion\x18\x02 \x01(\x0e\x32\x1b.routerrpc.ChanStatusAction"\x1a\n\x18UpdateChanStatusResponse*\x81\x04\n\rFailureDetail\x12\x0b\n\x07UNKNOWN\x10\x00\x12\r\n\tNO_DETAIL\x10\x01\x12\x10\n\x0cONION_DECODE\x10\x02\x12\x15\n\x11LINK_NOT_ELIGIBLE\x10\x03\x12\x14\n\x10ON_CHAIN_TIMEOUT\x10\x04\x12\x14\n\x10HTLC_EXCEEDS_MAX\x10\x05\x12\x18\n\x14INSUFFICIENT_BALANCE\x10\x06\x12\x16\n\x12INCOMPLETE_FORWARD\x10\x07\x12\x13\n\x0fHTLC_ADD_FAILED\x10\x08\x12\x15\n\x11\x46ORWARDS_DISABLED\x10\t\x12\x14\n\x10INVOICE_CANCELED\x10\n\x12\x15\n\x11INVOICE_UNDERPAID\x10\x0b\x12\x1b\n\x17INVOICE_EXPIRY_TOO_SOON\x10\x0c\x12\x14\n\x10INVOICE_NOT_OPEN\x10\r\x12\x17\n\x13MPP_INVOICE_TIMEOUT\x10\x0e\x12\x14\n\x10\x41\x44\x44RESS_MISMATCH\x10\x0f\x12\x16\n\x12SET_TOTAL_MISMATCH\x10\x10\x12\x15\n\x11SET_TOTAL_TOO_LOW\x10\x11\x12\x10\n\x0cSET_OVERPAID\x10\x12\x12\x13\n\x0fUNKNOWN_INVOICE\x10\x13\x12\x13\n\x0fINVALID_KEYSEND\x10\x14\x12\x13\n\x0fMPP_IN_PROGRESS\x10\x15\x12\x12\n\x0e\x43IRCULAR_ROUTE\x10\x16*\xae\x01\n\x0cPaymentState\x12\r\n\tIN_FLIGHT\x10\x00\x12\r\n\tSUCCEEDED\x10\x01\x12\x12\n\x0e\x46\x41ILED_TIMEOUT\x10\x02\x12\x13\n\x0f\x46\x41ILED_NO_ROUTE\x10\x03\x12\x10\n\x0c\x46\x41ILED_ERROR\x10\x04\x12$\n FAILED_INCORRECT_PAYMENT_DETAILS\x10\x05\x12\x1f\n\x1b\x46\x41ILED_INSUFFICIENT_BALANCE\x10\x06*<\n\x18ResolveHoldForwardAction\x12\n\n\x06SETTLE\x10\x00\x12\x08\n\x04\x46\x41IL\x10\x01\x12\n\n\x06RESUME\x10\x02*5\n\x10\x43hanStatusAction\x12\n\n\x06\x45NABLE\x10\x00\x12\x0b\n\x07\x44ISABLE\x10\x01\x12\x08\n\x04\x41UTO\x10\x02\x32\xf1\x0b\n\x06Router\x12@\n\rSendPaymentV2\x12\x1d.routerrpc.SendPaymentRequest\x1a\x0e.lnrpc.Payment0\x01\x12\x42\n\x0eTrackPaymentV2\x12\x1e.routerrpc.TrackPaymentRequest\x1a\x0e.lnrpc.Payment0\x01\x12K\n\x10\x45stimateRouteFee\x12\x1a.routerrpc.RouteFeeRequest\x1a\x1b.routerrpc.RouteFeeResponse\x12Q\n\x0bSendToRoute\x12\x1d.routerrpc.SendToRouteRequest\x1a\x1e.routerrpc.SendToRouteResponse"\x03\x88\x02\x01\x12\x42\n\rSendToRouteV2\x12\x1d.routerrpc.SendToRouteRequest\x1a\x12.lnrpc.HTLCAttempt\x12\x64\n\x13ResetMissionControl\x12%.routerrpc.ResetMissionControlRequest\x1a&.routerrpc.ResetMissionControlResponse\x12\x64\n\x13QueryMissionControl\x12%.routerrpc.QueryMissionControlRequest\x1a&.routerrpc.QueryMissionControlResponse\x12j\n\x15XImportMissionControl\x12\'.routerrpc.XImportMissionControlRequest\x1a(.routerrpc.XImportMissionControlResponse\x12p\n\x17GetMissionControlConfig\x12).routerrpc.GetMissionControlConfigRequest\x1a*.routerrpc.GetMissionControlConfigResponse\x12p\n\x17SetMissionControlConfig\x12).routerrpc.SetMissionControlConfigRequest\x1a*.routerrpc.SetMissionControlConfigResponse\x12[\n\x10QueryProbability\x12".routerrpc.QueryProbabilityRequest\x1a#.routerrpc.QueryProbabilityResponse\x12I\n\nBuildRoute\x12\x1c.routerrpc.BuildRouteRequest\x1a\x1d.routerrpc.BuildRouteResponse\x12T\n\x13SubscribeHtlcEvents\x12%.routerrpc.SubscribeHtlcEventsRequest\x1a\x14.routerrpc.HtlcEvent0\x01\x12M\n\x0bSendPayment\x12\x1d.routerrpc.SendPaymentRequest\x1a\x18.routerrpc.PaymentStatus"\x03\x88\x02\x01\x30\x01\x12O\n\x0cTrackPayment\x12\x1e.routerrpc.TrackPaymentRequest\x1a\x18.routerrpc.PaymentStatus"\x03\x88\x02\x01\x30\x01\x12\x66\n\x0fHtlcInterceptor\x12\'.routerrpc.ForwardHtlcInterceptResponse\x1a&.routerrpc.ForwardHtlcInterceptRequest(\x01\x30\x01\x12[\n\x10UpdateChanStatus\x12".routerrpc.UpdateChanStatusRequest\x1a#.routerrpc.UpdateChanStatusResponseB1Z/github.com/lightningnetwork/lnd/lnrpc/routerrpcb\x06proto3'
+)
+
+_FAILUREDETAIL = DESCRIPTOR.enum_types_by_name["FailureDetail"]
+FailureDetail = enum_type_wrapper.EnumTypeWrapper(_FAILUREDETAIL)
+_PAYMENTSTATE = DESCRIPTOR.enum_types_by_name["PaymentState"]
+PaymentState = enum_type_wrapper.EnumTypeWrapper(_PAYMENTSTATE)
+_RESOLVEHOLDFORWARDACTION = DESCRIPTOR.enum_types_by_name["ResolveHoldForwardAction"]
+ResolveHoldForwardAction = enum_type_wrapper.EnumTypeWrapper(_RESOLVEHOLDFORWARDACTION)
+_CHANSTATUSACTION = DESCRIPTOR.enum_types_by_name["ChanStatusAction"]
+ChanStatusAction = enum_type_wrapper.EnumTypeWrapper(_CHANSTATUSACTION)
+UNKNOWN = 0
+NO_DETAIL = 1
+ONION_DECODE = 2
+LINK_NOT_ELIGIBLE = 3
+ON_CHAIN_TIMEOUT = 4
+HTLC_EXCEEDS_MAX = 5
+INSUFFICIENT_BALANCE = 6
+INCOMPLETE_FORWARD = 7
+HTLC_ADD_FAILED = 8
+FORWARDS_DISABLED = 9
+INVOICE_CANCELED = 10
+INVOICE_UNDERPAID = 11
+INVOICE_EXPIRY_TOO_SOON = 12
+INVOICE_NOT_OPEN = 13
+MPP_INVOICE_TIMEOUT = 14
+ADDRESS_MISMATCH = 15
+SET_TOTAL_MISMATCH = 16
+SET_TOTAL_TOO_LOW = 17
+SET_OVERPAID = 18
+UNKNOWN_INVOICE = 19
+INVALID_KEYSEND = 20
+MPP_IN_PROGRESS = 21
+CIRCULAR_ROUTE = 22
+IN_FLIGHT = 0
+SUCCEEDED = 1
+FAILED_TIMEOUT = 2
+FAILED_NO_ROUTE = 3
+FAILED_ERROR = 4
+FAILED_INCORRECT_PAYMENT_DETAILS = 5
+FAILED_INSUFFICIENT_BALANCE = 6
+SETTLE = 0
+FAIL = 1
+RESUME = 2
+ENABLE = 0
+DISABLE = 1
+AUTO = 2
+
+
+_SENDPAYMENTREQUEST = DESCRIPTOR.message_types_by_name["SendPaymentRequest"]
+_SENDPAYMENTREQUEST_DESTCUSTOMRECORDSENTRY = _SENDPAYMENTREQUEST.nested_types_by_name[
+ "DestCustomRecordsEntry"
+]
+_TRACKPAYMENTREQUEST = DESCRIPTOR.message_types_by_name["TrackPaymentRequest"]
+_ROUTEFEEREQUEST = DESCRIPTOR.message_types_by_name["RouteFeeRequest"]
+_ROUTEFEERESPONSE = DESCRIPTOR.message_types_by_name["RouteFeeResponse"]
+_SENDTOROUTEREQUEST = DESCRIPTOR.message_types_by_name["SendToRouteRequest"]
+_SENDTOROUTERESPONSE = DESCRIPTOR.message_types_by_name["SendToRouteResponse"]
+_RESETMISSIONCONTROLREQUEST = DESCRIPTOR.message_types_by_name[
+ "ResetMissionControlRequest"
+]
+_RESETMISSIONCONTROLRESPONSE = DESCRIPTOR.message_types_by_name[
+ "ResetMissionControlResponse"
+]
+_QUERYMISSIONCONTROLREQUEST = DESCRIPTOR.message_types_by_name[
+ "QueryMissionControlRequest"
+]
+_QUERYMISSIONCONTROLRESPONSE = DESCRIPTOR.message_types_by_name[
+ "QueryMissionControlResponse"
+]
+_XIMPORTMISSIONCONTROLREQUEST = DESCRIPTOR.message_types_by_name[
+ "XImportMissionControlRequest"
+]
+_XIMPORTMISSIONCONTROLRESPONSE = DESCRIPTOR.message_types_by_name[
+ "XImportMissionControlResponse"
+]
+_PAIRHISTORY = DESCRIPTOR.message_types_by_name["PairHistory"]
+_PAIRDATA = DESCRIPTOR.message_types_by_name["PairData"]
+_GETMISSIONCONTROLCONFIGREQUEST = DESCRIPTOR.message_types_by_name[
+ "GetMissionControlConfigRequest"
+]
+_GETMISSIONCONTROLCONFIGRESPONSE = DESCRIPTOR.message_types_by_name[
+ "GetMissionControlConfigResponse"
+]
+_SETMISSIONCONTROLCONFIGREQUEST = DESCRIPTOR.message_types_by_name[
+ "SetMissionControlConfigRequest"
+]
+_SETMISSIONCONTROLCONFIGRESPONSE = DESCRIPTOR.message_types_by_name[
+ "SetMissionControlConfigResponse"
+]
+_MISSIONCONTROLCONFIG = DESCRIPTOR.message_types_by_name["MissionControlConfig"]
+_QUERYPROBABILITYREQUEST = DESCRIPTOR.message_types_by_name["QueryProbabilityRequest"]
+_QUERYPROBABILITYRESPONSE = DESCRIPTOR.message_types_by_name["QueryProbabilityResponse"]
+_BUILDROUTEREQUEST = DESCRIPTOR.message_types_by_name["BuildRouteRequest"]
+_BUILDROUTERESPONSE = DESCRIPTOR.message_types_by_name["BuildRouteResponse"]
+_SUBSCRIBEHTLCEVENTSREQUEST = DESCRIPTOR.message_types_by_name[
+ "SubscribeHtlcEventsRequest"
+]
+_HTLCEVENT = DESCRIPTOR.message_types_by_name["HtlcEvent"]
+_HTLCINFO = DESCRIPTOR.message_types_by_name["HtlcInfo"]
+_FORWARDEVENT = DESCRIPTOR.message_types_by_name["ForwardEvent"]
+_FORWARDFAILEVENT = DESCRIPTOR.message_types_by_name["ForwardFailEvent"]
+_SETTLEEVENT = DESCRIPTOR.message_types_by_name["SettleEvent"]
+_LINKFAILEVENT = DESCRIPTOR.message_types_by_name["LinkFailEvent"]
+_PAYMENTSTATUS = DESCRIPTOR.message_types_by_name["PaymentStatus"]
+_CIRCUITKEY = DESCRIPTOR.message_types_by_name["CircuitKey"]
+_FORWARDHTLCINTERCEPTREQUEST = DESCRIPTOR.message_types_by_name[
+ "ForwardHtlcInterceptRequest"
+]
+_FORWARDHTLCINTERCEPTREQUEST_CUSTOMRECORDSENTRY = (
+ _FORWARDHTLCINTERCEPTREQUEST.nested_types_by_name["CustomRecordsEntry"]
+)
+_FORWARDHTLCINTERCEPTRESPONSE = DESCRIPTOR.message_types_by_name[
+ "ForwardHtlcInterceptResponse"
+]
+_UPDATECHANSTATUSREQUEST = DESCRIPTOR.message_types_by_name["UpdateChanStatusRequest"]
+_UPDATECHANSTATUSRESPONSE = DESCRIPTOR.message_types_by_name["UpdateChanStatusResponse"]
+_HTLCEVENT_EVENTTYPE = _HTLCEVENT.enum_types_by_name["EventType"]
+SendPaymentRequest = _reflection.GeneratedProtocolMessageType(
+ "SendPaymentRequest",
+ (_message.Message,),
+ {
+ "DestCustomRecordsEntry": _reflection.GeneratedProtocolMessageType(
+ "DestCustomRecordsEntry",
+ (_message.Message,),
+ {
+ "DESCRIPTOR": _SENDPAYMENTREQUEST_DESTCUSTOMRECORDSENTRY,
+ "__module__": "router_pb2"
+ # @@protoc_insertion_point(class_scope:routerrpc.SendPaymentRequest.DestCustomRecordsEntry)
+ },
+ ),
+ "DESCRIPTOR": _SENDPAYMENTREQUEST,
+ "__module__": "router_pb2"
+ # @@protoc_insertion_point(class_scope:routerrpc.SendPaymentRequest)
+ },
+)
+_sym_db.RegisterMessage(SendPaymentRequest)
+_sym_db.RegisterMessage(SendPaymentRequest.DestCustomRecordsEntry)
+
+TrackPaymentRequest = _reflection.GeneratedProtocolMessageType(
+ "TrackPaymentRequest",
+ (_message.Message,),
+ {
+ "DESCRIPTOR": _TRACKPAYMENTREQUEST,
+ "__module__": "router_pb2"
+ # @@protoc_insertion_point(class_scope:routerrpc.TrackPaymentRequest)
+ },
+)
+_sym_db.RegisterMessage(TrackPaymentRequest)
+
+RouteFeeRequest = _reflection.GeneratedProtocolMessageType(
+ "RouteFeeRequest",
+ (_message.Message,),
+ {
+ "DESCRIPTOR": _ROUTEFEEREQUEST,
+ "__module__": "router_pb2"
+ # @@protoc_insertion_point(class_scope:routerrpc.RouteFeeRequest)
+ },
+)
+_sym_db.RegisterMessage(RouteFeeRequest)
+
+RouteFeeResponse = _reflection.GeneratedProtocolMessageType(
+ "RouteFeeResponse",
+ (_message.Message,),
+ {
+ "DESCRIPTOR": _ROUTEFEERESPONSE,
+ "__module__": "router_pb2"
+ # @@protoc_insertion_point(class_scope:routerrpc.RouteFeeResponse)
+ },
+)
+_sym_db.RegisterMessage(RouteFeeResponse)
+
+SendToRouteRequest = _reflection.GeneratedProtocolMessageType(
+ "SendToRouteRequest",
+ (_message.Message,),
+ {
+ "DESCRIPTOR": _SENDTOROUTEREQUEST,
+ "__module__": "router_pb2"
+ # @@protoc_insertion_point(class_scope:routerrpc.SendToRouteRequest)
+ },
+)
+_sym_db.RegisterMessage(SendToRouteRequest)
+
+SendToRouteResponse = _reflection.GeneratedProtocolMessageType(
+ "SendToRouteResponse",
+ (_message.Message,),
+ {
+ "DESCRIPTOR": _SENDTOROUTERESPONSE,
+ "__module__": "router_pb2"
+ # @@protoc_insertion_point(class_scope:routerrpc.SendToRouteResponse)
+ },
+)
+_sym_db.RegisterMessage(SendToRouteResponse)
+
+ResetMissionControlRequest = _reflection.GeneratedProtocolMessageType(
+ "ResetMissionControlRequest",
+ (_message.Message,),
+ {
+ "DESCRIPTOR": _RESETMISSIONCONTROLREQUEST,
+ "__module__": "router_pb2"
+ # @@protoc_insertion_point(class_scope:routerrpc.ResetMissionControlRequest)
+ },
+)
+_sym_db.RegisterMessage(ResetMissionControlRequest)
+
+ResetMissionControlResponse = _reflection.GeneratedProtocolMessageType(
+ "ResetMissionControlResponse",
+ (_message.Message,),
+ {
+ "DESCRIPTOR": _RESETMISSIONCONTROLRESPONSE,
+ "__module__": "router_pb2"
+ # @@protoc_insertion_point(class_scope:routerrpc.ResetMissionControlResponse)
+ },
+)
+_sym_db.RegisterMessage(ResetMissionControlResponse)
+
+QueryMissionControlRequest = _reflection.GeneratedProtocolMessageType(
+ "QueryMissionControlRequest",
+ (_message.Message,),
+ {
+ "DESCRIPTOR": _QUERYMISSIONCONTROLREQUEST,
+ "__module__": "router_pb2"
+ # @@protoc_insertion_point(class_scope:routerrpc.QueryMissionControlRequest)
+ },
+)
+_sym_db.RegisterMessage(QueryMissionControlRequest)
+
+QueryMissionControlResponse = _reflection.GeneratedProtocolMessageType(
+ "QueryMissionControlResponse",
+ (_message.Message,),
+ {
+ "DESCRIPTOR": _QUERYMISSIONCONTROLRESPONSE,
+ "__module__": "router_pb2"
+ # @@protoc_insertion_point(class_scope:routerrpc.QueryMissionControlResponse)
+ },
+)
+_sym_db.RegisterMessage(QueryMissionControlResponse)
+
+XImportMissionControlRequest = _reflection.GeneratedProtocolMessageType(
+ "XImportMissionControlRequest",
+ (_message.Message,),
+ {
+ "DESCRIPTOR": _XIMPORTMISSIONCONTROLREQUEST,
+ "__module__": "router_pb2"
+ # @@protoc_insertion_point(class_scope:routerrpc.XImportMissionControlRequest)
+ },
+)
+_sym_db.RegisterMessage(XImportMissionControlRequest)
+
+XImportMissionControlResponse = _reflection.GeneratedProtocolMessageType(
+ "XImportMissionControlResponse",
+ (_message.Message,),
+ {
+ "DESCRIPTOR": _XIMPORTMISSIONCONTROLRESPONSE,
+ "__module__": "router_pb2"
+ # @@protoc_insertion_point(class_scope:routerrpc.XImportMissionControlResponse)
+ },
+)
+_sym_db.RegisterMessage(XImportMissionControlResponse)
+
+PairHistory = _reflection.GeneratedProtocolMessageType(
+ "PairHistory",
+ (_message.Message,),
+ {
+ "DESCRIPTOR": _PAIRHISTORY,
+ "__module__": "router_pb2"
+ # @@protoc_insertion_point(class_scope:routerrpc.PairHistory)
+ },
+)
+_sym_db.RegisterMessage(PairHistory)
+
+PairData = _reflection.GeneratedProtocolMessageType(
+ "PairData",
+ (_message.Message,),
+ {
+ "DESCRIPTOR": _PAIRDATA,
+ "__module__": "router_pb2"
+ # @@protoc_insertion_point(class_scope:routerrpc.PairData)
+ },
+)
+_sym_db.RegisterMessage(PairData)
+
+GetMissionControlConfigRequest = _reflection.GeneratedProtocolMessageType(
+ "GetMissionControlConfigRequest",
+ (_message.Message,),
+ {
+ "DESCRIPTOR": _GETMISSIONCONTROLCONFIGREQUEST,
+ "__module__": "router_pb2"
+ # @@protoc_insertion_point(class_scope:routerrpc.GetMissionControlConfigRequest)
+ },
+)
+_sym_db.RegisterMessage(GetMissionControlConfigRequest)
+
+GetMissionControlConfigResponse = _reflection.GeneratedProtocolMessageType(
+ "GetMissionControlConfigResponse",
+ (_message.Message,),
+ {
+ "DESCRIPTOR": _GETMISSIONCONTROLCONFIGRESPONSE,
+ "__module__": "router_pb2"
+ # @@protoc_insertion_point(class_scope:routerrpc.GetMissionControlConfigResponse)
+ },
+)
+_sym_db.RegisterMessage(GetMissionControlConfigResponse)
+
+SetMissionControlConfigRequest = _reflection.GeneratedProtocolMessageType(
+ "SetMissionControlConfigRequest",
+ (_message.Message,),
+ {
+ "DESCRIPTOR": _SETMISSIONCONTROLCONFIGREQUEST,
+ "__module__": "router_pb2"
+ # @@protoc_insertion_point(class_scope:routerrpc.SetMissionControlConfigRequest)
+ },
+)
+_sym_db.RegisterMessage(SetMissionControlConfigRequest)
+
+SetMissionControlConfigResponse = _reflection.GeneratedProtocolMessageType(
+ "SetMissionControlConfigResponse",
+ (_message.Message,),
+ {
+ "DESCRIPTOR": _SETMISSIONCONTROLCONFIGRESPONSE,
+ "__module__": "router_pb2"
+ # @@protoc_insertion_point(class_scope:routerrpc.SetMissionControlConfigResponse)
+ },
+)
+_sym_db.RegisterMessage(SetMissionControlConfigResponse)
+
+MissionControlConfig = _reflection.GeneratedProtocolMessageType(
+ "MissionControlConfig",
+ (_message.Message,),
+ {
+ "DESCRIPTOR": _MISSIONCONTROLCONFIG,
+ "__module__": "router_pb2"
+ # @@protoc_insertion_point(class_scope:routerrpc.MissionControlConfig)
+ },
+)
+_sym_db.RegisterMessage(MissionControlConfig)
+
+QueryProbabilityRequest = _reflection.GeneratedProtocolMessageType(
+ "QueryProbabilityRequest",
+ (_message.Message,),
+ {
+ "DESCRIPTOR": _QUERYPROBABILITYREQUEST,
+ "__module__": "router_pb2"
+ # @@protoc_insertion_point(class_scope:routerrpc.QueryProbabilityRequest)
+ },
+)
+_sym_db.RegisterMessage(QueryProbabilityRequest)
+
+QueryProbabilityResponse = _reflection.GeneratedProtocolMessageType(
+ "QueryProbabilityResponse",
+ (_message.Message,),
+ {
+ "DESCRIPTOR": _QUERYPROBABILITYRESPONSE,
+ "__module__": "router_pb2"
+ # @@protoc_insertion_point(class_scope:routerrpc.QueryProbabilityResponse)
+ },
+)
+_sym_db.RegisterMessage(QueryProbabilityResponse)
+
+BuildRouteRequest = _reflection.GeneratedProtocolMessageType(
+ "BuildRouteRequest",
+ (_message.Message,),
+ {
+ "DESCRIPTOR": _BUILDROUTEREQUEST,
+ "__module__": "router_pb2"
+ # @@protoc_insertion_point(class_scope:routerrpc.BuildRouteRequest)
+ },
+)
+_sym_db.RegisterMessage(BuildRouteRequest)
+
+BuildRouteResponse = _reflection.GeneratedProtocolMessageType(
+ "BuildRouteResponse",
+ (_message.Message,),
+ {
+ "DESCRIPTOR": _BUILDROUTERESPONSE,
+ "__module__": "router_pb2"
+ # @@protoc_insertion_point(class_scope:routerrpc.BuildRouteResponse)
+ },
+)
+_sym_db.RegisterMessage(BuildRouteResponse)
+
+SubscribeHtlcEventsRequest = _reflection.GeneratedProtocolMessageType(
+ "SubscribeHtlcEventsRequest",
+ (_message.Message,),
+ {
+ "DESCRIPTOR": _SUBSCRIBEHTLCEVENTSREQUEST,
+ "__module__": "router_pb2"
+ # @@protoc_insertion_point(class_scope:routerrpc.SubscribeHtlcEventsRequest)
+ },
+)
+_sym_db.RegisterMessage(SubscribeHtlcEventsRequest)
+
+HtlcEvent = _reflection.GeneratedProtocolMessageType(
+ "HtlcEvent",
+ (_message.Message,),
+ {
+ "DESCRIPTOR": _HTLCEVENT,
+ "__module__": "router_pb2"
+ # @@protoc_insertion_point(class_scope:routerrpc.HtlcEvent)
+ },
+)
+_sym_db.RegisterMessage(HtlcEvent)
+
+HtlcInfo = _reflection.GeneratedProtocolMessageType(
+ "HtlcInfo",
+ (_message.Message,),
+ {
+ "DESCRIPTOR": _HTLCINFO,
+ "__module__": "router_pb2"
+ # @@protoc_insertion_point(class_scope:routerrpc.HtlcInfo)
+ },
+)
+_sym_db.RegisterMessage(HtlcInfo)
+
+ForwardEvent = _reflection.GeneratedProtocolMessageType(
+ "ForwardEvent",
+ (_message.Message,),
+ {
+ "DESCRIPTOR": _FORWARDEVENT,
+ "__module__": "router_pb2"
+ # @@protoc_insertion_point(class_scope:routerrpc.ForwardEvent)
+ },
+)
+_sym_db.RegisterMessage(ForwardEvent)
+
+ForwardFailEvent = _reflection.GeneratedProtocolMessageType(
+ "ForwardFailEvent",
+ (_message.Message,),
+ {
+ "DESCRIPTOR": _FORWARDFAILEVENT,
+ "__module__": "router_pb2"
+ # @@protoc_insertion_point(class_scope:routerrpc.ForwardFailEvent)
+ },
+)
+_sym_db.RegisterMessage(ForwardFailEvent)
+
+SettleEvent = _reflection.GeneratedProtocolMessageType(
+ "SettleEvent",
+ (_message.Message,),
+ {
+ "DESCRIPTOR": _SETTLEEVENT,
+ "__module__": "router_pb2"
+ # @@protoc_insertion_point(class_scope:routerrpc.SettleEvent)
+ },
+)
+_sym_db.RegisterMessage(SettleEvent)
+
+LinkFailEvent = _reflection.GeneratedProtocolMessageType(
+ "LinkFailEvent",
+ (_message.Message,),
+ {
+ "DESCRIPTOR": _LINKFAILEVENT,
+ "__module__": "router_pb2"
+ # @@protoc_insertion_point(class_scope:routerrpc.LinkFailEvent)
+ },
+)
+_sym_db.RegisterMessage(LinkFailEvent)
+
+PaymentStatus = _reflection.GeneratedProtocolMessageType(
+ "PaymentStatus",
+ (_message.Message,),
+ {
+ "DESCRIPTOR": _PAYMENTSTATUS,
+ "__module__": "router_pb2"
+ # @@protoc_insertion_point(class_scope:routerrpc.PaymentStatus)
+ },
+)
+_sym_db.RegisterMessage(PaymentStatus)
+
+CircuitKey = _reflection.GeneratedProtocolMessageType(
+ "CircuitKey",
+ (_message.Message,),
+ {
+ "DESCRIPTOR": _CIRCUITKEY,
+ "__module__": "router_pb2"
+ # @@protoc_insertion_point(class_scope:routerrpc.CircuitKey)
+ },
+)
+_sym_db.RegisterMessage(CircuitKey)
+
+ForwardHtlcInterceptRequest = _reflection.GeneratedProtocolMessageType(
+ "ForwardHtlcInterceptRequest",
+ (_message.Message,),
+ {
+ "CustomRecordsEntry": _reflection.GeneratedProtocolMessageType(
+ "CustomRecordsEntry",
+ (_message.Message,),
+ {
+ "DESCRIPTOR": _FORWARDHTLCINTERCEPTREQUEST_CUSTOMRECORDSENTRY,
+ "__module__": "router_pb2"
+ # @@protoc_insertion_point(class_scope:routerrpc.ForwardHtlcInterceptRequest.CustomRecordsEntry)
+ },
+ ),
+ "DESCRIPTOR": _FORWARDHTLCINTERCEPTREQUEST,
+ "__module__": "router_pb2"
+ # @@protoc_insertion_point(class_scope:routerrpc.ForwardHtlcInterceptRequest)
+ },
+)
+_sym_db.RegisterMessage(ForwardHtlcInterceptRequest)
+_sym_db.RegisterMessage(ForwardHtlcInterceptRequest.CustomRecordsEntry)
+
+ForwardHtlcInterceptResponse = _reflection.GeneratedProtocolMessageType(
+ "ForwardHtlcInterceptResponse",
+ (_message.Message,),
+ {
+ "DESCRIPTOR": _FORWARDHTLCINTERCEPTRESPONSE,
+ "__module__": "router_pb2"
+ # @@protoc_insertion_point(class_scope:routerrpc.ForwardHtlcInterceptResponse)
+ },
+)
+_sym_db.RegisterMessage(ForwardHtlcInterceptResponse)
+
+UpdateChanStatusRequest = _reflection.GeneratedProtocolMessageType(
+ "UpdateChanStatusRequest",
+ (_message.Message,),
+ {
+ "DESCRIPTOR": _UPDATECHANSTATUSREQUEST,
+ "__module__": "router_pb2"
+ # @@protoc_insertion_point(class_scope:routerrpc.UpdateChanStatusRequest)
+ },
+)
+_sym_db.RegisterMessage(UpdateChanStatusRequest)
+
+UpdateChanStatusResponse = _reflection.GeneratedProtocolMessageType(
+ "UpdateChanStatusResponse",
+ (_message.Message,),
+ {
+ "DESCRIPTOR": _UPDATECHANSTATUSRESPONSE,
+ "__module__": "router_pb2"
+ # @@protoc_insertion_point(class_scope:routerrpc.UpdateChanStatusResponse)
+ },
+)
+_sym_db.RegisterMessage(UpdateChanStatusResponse)
+
+_ROUTER = DESCRIPTOR.services_by_name["Router"]
+if _descriptor._USE_C_DESCRIPTORS == False:
+
+ DESCRIPTOR._options = None
+ DESCRIPTOR._serialized_options = (
+ b"Z/github.com/lightningnetwork/lnd/lnrpc/routerrpc"
+ )
+ _SENDPAYMENTREQUEST_DESTCUSTOMRECORDSENTRY._options = None
+ _SENDPAYMENTREQUEST_DESTCUSTOMRECORDSENTRY._serialized_options = b"8\001"
+ _SENDPAYMENTREQUEST.fields_by_name["outgoing_chan_id"]._options = None
+ _SENDPAYMENTREQUEST.fields_by_name[
+ "outgoing_chan_id"
+ ]._serialized_options = b"\030\0010\001"
+ _BUILDROUTEREQUEST.fields_by_name["outgoing_chan_id"]._options = None
+ _BUILDROUTEREQUEST.fields_by_name["outgoing_chan_id"]._serialized_options = b"0\001"
+ _FORWARDHTLCINTERCEPTREQUEST_CUSTOMRECORDSENTRY._options = None
+ _FORWARDHTLCINTERCEPTREQUEST_CUSTOMRECORDSENTRY._serialized_options = b"8\001"
+ _ROUTER.methods_by_name["SendToRoute"]._options = None
+ _ROUTER.methods_by_name["SendToRoute"]._serialized_options = b"\210\002\001"
+ _ROUTER.methods_by_name["SendPayment"]._options = None
+ _ROUTER.methods_by_name["SendPayment"]._serialized_options = b"\210\002\001"
+ _ROUTER.methods_by_name["TrackPayment"]._options = None
+ _ROUTER.methods_by_name["TrackPayment"]._serialized_options = b"\210\002\001"
+ _FAILUREDETAIL._serialized_start = 4280
+ _FAILUREDETAIL._serialized_end = 4793
+ _PAYMENTSTATE._serialized_start = 4796
+ _PAYMENTSTATE._serialized_end = 4970
+ _RESOLVEHOLDFORWARDACTION._serialized_start = 4972
+ _RESOLVEHOLDFORWARDACTION._serialized_end = 5032
+ _CHANSTATUSACTION._serialized_start = 5034
+ _CHANSTATUSACTION._serialized_end = 5087
+ _SENDPAYMENTREQUEST._serialized_start = 45
+ _SENDPAYMENTREQUEST._serialized_end = 740
+ _SENDPAYMENTREQUEST_DESTCUSTOMRECORDSENTRY._serialized_start = 684
+ _SENDPAYMENTREQUEST_DESTCUSTOMRECORDSENTRY._serialized_end = 740
+ _TRACKPAYMENTREQUEST._serialized_start = 742
+ _TRACKPAYMENTREQUEST._serialized_end = 814
+ _ROUTEFEEREQUEST._serialized_start = 816
+ _ROUTEFEEREQUEST._serialized_end = 864
+ _ROUTEFEERESPONSE._serialized_start = 866
+ _ROUTEFEERESPONSE._serialized_end = 935
+ _SENDTOROUTEREQUEST._serialized_start = 937
+ _SENDTOROUTEREQUEST._serialized_end = 1031
+ _SENDTOROUTERESPONSE._serialized_start = 1033
+ _SENDTOROUTERESPONSE._serialized_end = 1105
+ _RESETMISSIONCONTROLREQUEST._serialized_start = 1107
+ _RESETMISSIONCONTROLREQUEST._serialized_end = 1135
+ _RESETMISSIONCONTROLRESPONSE._serialized_start = 1137
+ _RESETMISSIONCONTROLRESPONSE._serialized_end = 1166
+ _QUERYMISSIONCONTROLREQUEST._serialized_start = 1168
+ _QUERYMISSIONCONTROLREQUEST._serialized_end = 1196
+ _QUERYMISSIONCONTROLRESPONSE._serialized_start = 1198
+ _QUERYMISSIONCONTROLRESPONSE._serialized_end = 1272
+ _XIMPORTMISSIONCONTROLREQUEST._serialized_start = 1274
+ _XIMPORTMISSIONCONTROLREQUEST._serialized_end = 1358
+ _XIMPORTMISSIONCONTROLRESPONSE._serialized_start = 1360
+ _XIMPORTMISSIONCONTROLRESPONSE._serialized_end = 1391
+ _PAIRHISTORY._serialized_start = 1393
+ _PAIRHISTORY._serialized_end = 1504
+ _PAIRDATA._serialized_start = 1507
+ _PAIRDATA._serialized_end = 1660
+ _GETMISSIONCONTROLCONFIGREQUEST._serialized_start = 1662
+ _GETMISSIONCONTROLCONFIGREQUEST._serialized_end = 1694
+ _GETMISSIONCONTROLCONFIGRESPONSE._serialized_start = 1696
+ _GETMISSIONCONTROLCONFIGRESPONSE._serialized_end = 1778
+ _SETMISSIONCONTROLCONFIGREQUEST._serialized_start = 1780
+ _SETMISSIONCONTROLCONFIGREQUEST._serialized_end = 1861
+ _SETMISSIONCONTROLCONFIGRESPONSE._serialized_start = 1863
+ _SETMISSIONCONTROLCONFIGRESPONSE._serialized_end = 1896
+ _MISSIONCONTROLCONFIG._serialized_start = 1899
+ _MISSIONCONTROLCONFIG._serialized_end = 2062
+ _QUERYPROBABILITYREQUEST._serialized_start = 2064
+ _QUERYPROBABILITYREQUEST._serialized_end = 2143
+ _QUERYPROBABILITYRESPONSE._serialized_start = 2145
+ _QUERYPROBABILITYRESPONSE._serialized_end = 2230
+ _BUILDROUTEREQUEST._serialized_start = 2233
+ _BUILDROUTEREQUEST._serialized_end = 2369
+ _BUILDROUTERESPONSE._serialized_start = 2371
+ _BUILDROUTERESPONSE._serialized_end = 2420
+ _SUBSCRIBEHTLCEVENTSREQUEST._serialized_start = 2422
+ _SUBSCRIBEHTLCEVENTSREQUEST._serialized_end = 2450
+ _HTLCEVENT._serialized_start = 2453
+ _HTLCEVENT._serialized_end = 2929
+ _HTLCEVENT_EVENTTYPE._serialized_start = 2860
+ _HTLCEVENT_EVENTTYPE._serialized_end = 2920
+ _HTLCINFO._serialized_start = 2931
+ _HTLCINFO._serialized_end = 3049
+ _FORWARDEVENT._serialized_start = 3051
+ _FORWARDEVENT._serialized_end = 3100
+ _FORWARDFAILEVENT._serialized_start = 3102
+ _FORWARDFAILEVENT._serialized_end = 3120
+ _SETTLEEVENT._serialized_start = 3122
+ _SETTLEEVENT._serialized_end = 3153
+ _LINKFAILEVENT._serialized_start = 3156
+ _LINKFAILEVENT._serialized_end = 3330
+ _PAYMENTSTATUS._serialized_start = 3332
+ _PAYMENTSTATUS._serialized_end = 3446
+ _CIRCUITKEY._serialized_start = 3448
+ _CIRCUITKEY._serialized_end = 3494
+ _FORWARDHTLCINTERCEPTREQUEST._serialized_start = 3497
+ _FORWARDHTLCINTERCEPTREQUEST._serialized_end = 3904
+ _FORWARDHTLCINTERCEPTREQUEST_CUSTOMRECORDSENTRY._serialized_start = 3852
+ _FORWARDHTLCINTERCEPTREQUEST_CUSTOMRECORDSENTRY._serialized_end = 3904
+ _FORWARDHTLCINTERCEPTRESPONSE._serialized_start = 3907
+ _FORWARDHTLCINTERCEPTRESPONSE._serialized_end = 4136
+ _UPDATECHANSTATUSREQUEST._serialized_start = 4138
+ _UPDATECHANSTATUSREQUEST._serialized_end = 4249
+ _UPDATECHANSTATUSRESPONSE._serialized_start = 4251
+ _UPDATECHANSTATUSRESPONSE._serialized_end = 4277
+ _ROUTER._serialized_start = 5090
+ _ROUTER._serialized_end = 6611
+# @@protoc_insertion_point(module_scope)
diff --git a/lnbits/wallets/lnd_grpc_files/router_pb2_grpc.py b/lnbits/wallets/lnd_grpc_files/router_pb2_grpc.py
new file mode 100644
index 00000000..32923a91
--- /dev/null
+++ b/lnbits/wallets/lnd_grpc_files/router_pb2_grpc.py
@@ -0,0 +1,871 @@
+# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
+"""Client and server classes corresponding to protobuf-defined services."""
+import grpc
+
+import lnbits.wallets.lnd_grpc_files.lightning_pb2 as lightning__pb2
+import lnbits.wallets.lnd_grpc_files.router_pb2 as router__pb2
+
+
+class RouterStub(object):
+ """Router is a service that offers advanced interaction with the router
+ subsystem of the daemon.
+ """
+
+ def __init__(self, channel):
+ """Constructor.
+
+ Args:
+ channel: A grpc.Channel.
+ """
+ self.SendPaymentV2 = channel.unary_stream(
+ "/routerrpc.Router/SendPaymentV2",
+ request_serializer=router__pb2.SendPaymentRequest.SerializeToString,
+ response_deserializer=lightning__pb2.Payment.FromString,
+ )
+ self.TrackPaymentV2 = channel.unary_stream(
+ "/routerrpc.Router/TrackPaymentV2",
+ request_serializer=router__pb2.TrackPaymentRequest.SerializeToString,
+ response_deserializer=lightning__pb2.Payment.FromString,
+ )
+ self.EstimateRouteFee = channel.unary_unary(
+ "/routerrpc.Router/EstimateRouteFee",
+ request_serializer=router__pb2.RouteFeeRequest.SerializeToString,
+ response_deserializer=router__pb2.RouteFeeResponse.FromString,
+ )
+ self.SendToRoute = channel.unary_unary(
+ "/routerrpc.Router/SendToRoute",
+ request_serializer=router__pb2.SendToRouteRequest.SerializeToString,
+ response_deserializer=router__pb2.SendToRouteResponse.FromString,
+ )
+ self.SendToRouteV2 = channel.unary_unary(
+ "/routerrpc.Router/SendToRouteV2",
+ request_serializer=router__pb2.SendToRouteRequest.SerializeToString,
+ response_deserializer=lightning__pb2.HTLCAttempt.FromString,
+ )
+ self.ResetMissionControl = channel.unary_unary(
+ "/routerrpc.Router/ResetMissionControl",
+ request_serializer=router__pb2.ResetMissionControlRequest.SerializeToString,
+ response_deserializer=router__pb2.ResetMissionControlResponse.FromString,
+ )
+ self.QueryMissionControl = channel.unary_unary(
+ "/routerrpc.Router/QueryMissionControl",
+ request_serializer=router__pb2.QueryMissionControlRequest.SerializeToString,
+ response_deserializer=router__pb2.QueryMissionControlResponse.FromString,
+ )
+ self.XImportMissionControl = channel.unary_unary(
+ "/routerrpc.Router/XImportMissionControl",
+ request_serializer=router__pb2.XImportMissionControlRequest.SerializeToString,
+ response_deserializer=router__pb2.XImportMissionControlResponse.FromString,
+ )
+ self.GetMissionControlConfig = channel.unary_unary(
+ "/routerrpc.Router/GetMissionControlConfig",
+ request_serializer=router__pb2.GetMissionControlConfigRequest.SerializeToString,
+ response_deserializer=router__pb2.GetMissionControlConfigResponse.FromString,
+ )
+ self.SetMissionControlConfig = channel.unary_unary(
+ "/routerrpc.Router/SetMissionControlConfig",
+ request_serializer=router__pb2.SetMissionControlConfigRequest.SerializeToString,
+ response_deserializer=router__pb2.SetMissionControlConfigResponse.FromString,
+ )
+ self.QueryProbability = channel.unary_unary(
+ "/routerrpc.Router/QueryProbability",
+ request_serializer=router__pb2.QueryProbabilityRequest.SerializeToString,
+ response_deserializer=router__pb2.QueryProbabilityResponse.FromString,
+ )
+ self.BuildRoute = channel.unary_unary(
+ "/routerrpc.Router/BuildRoute",
+ request_serializer=router__pb2.BuildRouteRequest.SerializeToString,
+ response_deserializer=router__pb2.BuildRouteResponse.FromString,
+ )
+ self.SubscribeHtlcEvents = channel.unary_stream(
+ "/routerrpc.Router/SubscribeHtlcEvents",
+ request_serializer=router__pb2.SubscribeHtlcEventsRequest.SerializeToString,
+ response_deserializer=router__pb2.HtlcEvent.FromString,
+ )
+ self.SendPayment = channel.unary_stream(
+ "/routerrpc.Router/SendPayment",
+ request_serializer=router__pb2.SendPaymentRequest.SerializeToString,
+ response_deserializer=router__pb2.PaymentStatus.FromString,
+ )
+ self.TrackPayment = channel.unary_stream(
+ "/routerrpc.Router/TrackPayment",
+ request_serializer=router__pb2.TrackPaymentRequest.SerializeToString,
+ response_deserializer=router__pb2.PaymentStatus.FromString,
+ )
+ self.HtlcInterceptor = channel.stream_stream(
+ "/routerrpc.Router/HtlcInterceptor",
+ request_serializer=router__pb2.ForwardHtlcInterceptResponse.SerializeToString,
+ response_deserializer=router__pb2.ForwardHtlcInterceptRequest.FromString,
+ )
+ self.UpdateChanStatus = channel.unary_unary(
+ "/routerrpc.Router/UpdateChanStatus",
+ request_serializer=router__pb2.UpdateChanStatusRequest.SerializeToString,
+ response_deserializer=router__pb2.UpdateChanStatusResponse.FromString,
+ )
+
+
+class RouterServicer(object):
+ """Router is a service that offers advanced interaction with the router
+ subsystem of the daemon.
+ """
+
+ def SendPaymentV2(self, request, context):
+ """
+ SendPaymentV2 attempts to route a payment described by the passed
+ PaymentRequest to the final destination. The call returns a stream of
+ payment updates.
+ """
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
+ context.set_details("Method not implemented!")
+ raise NotImplementedError("Method not implemented!")
+
+ def TrackPaymentV2(self, request, context):
+ """
+ TrackPaymentV2 returns an update stream for the payment identified by the
+ payment hash.
+ """
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
+ context.set_details("Method not implemented!")
+ raise NotImplementedError("Method not implemented!")
+
+ def EstimateRouteFee(self, request, context):
+ """
+ EstimateRouteFee allows callers to obtain a lower bound w.r.t how much it
+ may cost to send an HTLC to the target end destination.
+ """
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
+ context.set_details("Method not implemented!")
+ raise NotImplementedError("Method not implemented!")
+
+ def SendToRoute(self, request, context):
+ """
+ Deprecated, use SendToRouteV2. SendToRoute attempts to make a payment via
+ the specified route. This method differs from SendPayment in that it
+ allows users to specify a full route manually. This can be used for
+ things like rebalancing, and atomic swaps. It differs from the newer
+ SendToRouteV2 in that it doesn't return the full HTLC information.
+ """
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
+ context.set_details("Method not implemented!")
+ raise NotImplementedError("Method not implemented!")
+
+ def SendToRouteV2(self, request, context):
+ """
+ SendToRouteV2 attempts to make a payment via the specified route. This
+ method differs from SendPayment in that it allows users to specify a full
+ route manually. This can be used for things like rebalancing, and atomic
+ swaps.
+ """
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
+ context.set_details("Method not implemented!")
+ raise NotImplementedError("Method not implemented!")
+
+ def ResetMissionControl(self, request, context):
+ """
+ ResetMissionControl clears all mission control state and starts with a clean
+ slate.
+ """
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
+ context.set_details("Method not implemented!")
+ raise NotImplementedError("Method not implemented!")
+
+ def QueryMissionControl(self, request, context):
+ """
+ QueryMissionControl exposes the internal mission control state to callers.
+ It is a development feature.
+ """
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
+ context.set_details("Method not implemented!")
+ raise NotImplementedError("Method not implemented!")
+
+ def XImportMissionControl(self, request, context):
+ """
+ XImportMissionControl is an experimental API that imports the state provided
+ to the internal mission control's state, using all results which are more
+ recent than our existing values. These values will only be imported
+ in-memory, and will not be persisted across restarts.
+ """
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
+ context.set_details("Method not implemented!")
+ raise NotImplementedError("Method not implemented!")
+
+ def GetMissionControlConfig(self, request, context):
+ """
+ GetMissionControlConfig returns mission control's current config.
+ """
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
+ context.set_details("Method not implemented!")
+ raise NotImplementedError("Method not implemented!")
+
+ def SetMissionControlConfig(self, request, context):
+ """
+ SetMissionControlConfig will set mission control's config, if the config
+ provided is valid.
+ """
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
+ context.set_details("Method not implemented!")
+ raise NotImplementedError("Method not implemented!")
+
+ def QueryProbability(self, request, context):
+ """
+ QueryProbability returns the current success probability estimate for a
+ given node pair and amount.
+ """
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
+ context.set_details("Method not implemented!")
+ raise NotImplementedError("Method not implemented!")
+
+ def BuildRoute(self, request, context):
+ """
+ BuildRoute builds a fully specified route based on a list of hop public
+ keys. It retrieves the relevant channel policies from the graph in order to
+ calculate the correct fees and time locks.
+ """
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
+ context.set_details("Method not implemented!")
+ raise NotImplementedError("Method not implemented!")
+
+ def SubscribeHtlcEvents(self, request, context):
+ """
+ SubscribeHtlcEvents creates a uni-directional stream from the server to
+ the client which delivers a stream of htlc events.
+ """
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
+ context.set_details("Method not implemented!")
+ raise NotImplementedError("Method not implemented!")
+
+ def SendPayment(self, request, context):
+ """
+ Deprecated, use SendPaymentV2. SendPayment attempts to route a payment
+ described by the passed PaymentRequest to the final destination. The call
+ returns a stream of payment status updates.
+ """
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
+ context.set_details("Method not implemented!")
+ raise NotImplementedError("Method not implemented!")
+
+ def TrackPayment(self, request, context):
+ """
+ Deprecated, use TrackPaymentV2. TrackPayment returns an update stream for
+ the payment identified by the payment hash.
+ """
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
+ context.set_details("Method not implemented!")
+ raise NotImplementedError("Method not implemented!")
+
+ def HtlcInterceptor(self, request_iterator, context):
+ """*
+ HtlcInterceptor dispatches a bi-directional streaming RPC in which
+ Forwarded HTLC requests are sent to the client and the client responds with
+ a boolean that tells LND if this htlc should be intercepted.
+ In case of interception, the htlc can be either settled, cancelled or
+ resumed later by using the ResolveHoldForward endpoint.
+ """
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
+ context.set_details("Method not implemented!")
+ raise NotImplementedError("Method not implemented!")
+
+ def UpdateChanStatus(self, request, context):
+ """
+ UpdateChanStatus attempts to manually set the state of a channel
+ (enabled, disabled, or auto). A manual "disable" request will cause the
+ channel to stay disabled until a subsequent manual request of either
+ "enable" or "auto".
+ """
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
+ context.set_details("Method not implemented!")
+ raise NotImplementedError("Method not implemented!")
+
+
+def add_RouterServicer_to_server(servicer, server):
+ rpc_method_handlers = {
+ "SendPaymentV2": grpc.unary_stream_rpc_method_handler(
+ servicer.SendPaymentV2,
+ request_deserializer=router__pb2.SendPaymentRequest.FromString,
+ response_serializer=lightning__pb2.Payment.SerializeToString,
+ ),
+ "TrackPaymentV2": grpc.unary_stream_rpc_method_handler(
+ servicer.TrackPaymentV2,
+ request_deserializer=router__pb2.TrackPaymentRequest.FromString,
+ response_serializer=lightning__pb2.Payment.SerializeToString,
+ ),
+ "EstimateRouteFee": grpc.unary_unary_rpc_method_handler(
+ servicer.EstimateRouteFee,
+ request_deserializer=router__pb2.RouteFeeRequest.FromString,
+ response_serializer=router__pb2.RouteFeeResponse.SerializeToString,
+ ),
+ "SendToRoute": grpc.unary_unary_rpc_method_handler(
+ servicer.SendToRoute,
+ request_deserializer=router__pb2.SendToRouteRequest.FromString,
+ response_serializer=router__pb2.SendToRouteResponse.SerializeToString,
+ ),
+ "SendToRouteV2": grpc.unary_unary_rpc_method_handler(
+ servicer.SendToRouteV2,
+ request_deserializer=router__pb2.SendToRouteRequest.FromString,
+ response_serializer=lightning__pb2.HTLCAttempt.SerializeToString,
+ ),
+ "ResetMissionControl": grpc.unary_unary_rpc_method_handler(
+ servicer.ResetMissionControl,
+ request_deserializer=router__pb2.ResetMissionControlRequest.FromString,
+ response_serializer=router__pb2.ResetMissionControlResponse.SerializeToString,
+ ),
+ "QueryMissionControl": grpc.unary_unary_rpc_method_handler(
+ servicer.QueryMissionControl,
+ request_deserializer=router__pb2.QueryMissionControlRequest.FromString,
+ response_serializer=router__pb2.QueryMissionControlResponse.SerializeToString,
+ ),
+ "XImportMissionControl": grpc.unary_unary_rpc_method_handler(
+ servicer.XImportMissionControl,
+ request_deserializer=router__pb2.XImportMissionControlRequest.FromString,
+ response_serializer=router__pb2.XImportMissionControlResponse.SerializeToString,
+ ),
+ "GetMissionControlConfig": grpc.unary_unary_rpc_method_handler(
+ servicer.GetMissionControlConfig,
+ request_deserializer=router__pb2.GetMissionControlConfigRequest.FromString,
+ response_serializer=router__pb2.GetMissionControlConfigResponse.SerializeToString,
+ ),
+ "SetMissionControlConfig": grpc.unary_unary_rpc_method_handler(
+ servicer.SetMissionControlConfig,
+ request_deserializer=router__pb2.SetMissionControlConfigRequest.FromString,
+ response_serializer=router__pb2.SetMissionControlConfigResponse.SerializeToString,
+ ),
+ "QueryProbability": grpc.unary_unary_rpc_method_handler(
+ servicer.QueryProbability,
+ request_deserializer=router__pb2.QueryProbabilityRequest.FromString,
+ response_serializer=router__pb2.QueryProbabilityResponse.SerializeToString,
+ ),
+ "BuildRoute": grpc.unary_unary_rpc_method_handler(
+ servicer.BuildRoute,
+ request_deserializer=router__pb2.BuildRouteRequest.FromString,
+ response_serializer=router__pb2.BuildRouteResponse.SerializeToString,
+ ),
+ "SubscribeHtlcEvents": grpc.unary_stream_rpc_method_handler(
+ servicer.SubscribeHtlcEvents,
+ request_deserializer=router__pb2.SubscribeHtlcEventsRequest.FromString,
+ response_serializer=router__pb2.HtlcEvent.SerializeToString,
+ ),
+ "SendPayment": grpc.unary_stream_rpc_method_handler(
+ servicer.SendPayment,
+ request_deserializer=router__pb2.SendPaymentRequest.FromString,
+ response_serializer=router__pb2.PaymentStatus.SerializeToString,
+ ),
+ "TrackPayment": grpc.unary_stream_rpc_method_handler(
+ servicer.TrackPayment,
+ request_deserializer=router__pb2.TrackPaymentRequest.FromString,
+ response_serializer=router__pb2.PaymentStatus.SerializeToString,
+ ),
+ "HtlcInterceptor": grpc.stream_stream_rpc_method_handler(
+ servicer.HtlcInterceptor,
+ request_deserializer=router__pb2.ForwardHtlcInterceptResponse.FromString,
+ response_serializer=router__pb2.ForwardHtlcInterceptRequest.SerializeToString,
+ ),
+ "UpdateChanStatus": grpc.unary_unary_rpc_method_handler(
+ servicer.UpdateChanStatus,
+ request_deserializer=router__pb2.UpdateChanStatusRequest.FromString,
+ response_serializer=router__pb2.UpdateChanStatusResponse.SerializeToString,
+ ),
+ }
+ generic_handler = grpc.method_handlers_generic_handler(
+ "routerrpc.Router", rpc_method_handlers
+ )
+ server.add_generic_rpc_handlers((generic_handler,))
+
+
+# This class is part of an EXPERIMENTAL API.
+class Router(object):
+ """Router is a service that offers advanced interaction with the router
+ subsystem of the daemon.
+ """
+
+ @staticmethod
+ def SendPaymentV2(
+ request,
+ target,
+ options=(),
+ channel_credentials=None,
+ call_credentials=None,
+ insecure=False,
+ compression=None,
+ wait_for_ready=None,
+ timeout=None,
+ metadata=None,
+ ):
+ return grpc.experimental.unary_stream(
+ request,
+ target,
+ "/routerrpc.Router/SendPaymentV2",
+ router__pb2.SendPaymentRequest.SerializeToString,
+ lightning__pb2.Payment.FromString,
+ options,
+ channel_credentials,
+ insecure,
+ call_credentials,
+ compression,
+ wait_for_ready,
+ timeout,
+ metadata,
+ )
+
+ @staticmethod
+ def TrackPaymentV2(
+ request,
+ target,
+ options=(),
+ channel_credentials=None,
+ call_credentials=None,
+ insecure=False,
+ compression=None,
+ wait_for_ready=None,
+ timeout=None,
+ metadata=None,
+ ):
+ return grpc.experimental.unary_stream(
+ request,
+ target,
+ "/routerrpc.Router/TrackPaymentV2",
+ router__pb2.TrackPaymentRequest.SerializeToString,
+ lightning__pb2.Payment.FromString,
+ options,
+ channel_credentials,
+ insecure,
+ call_credentials,
+ compression,
+ wait_for_ready,
+ timeout,
+ metadata,
+ )
+
+ @staticmethod
+ def EstimateRouteFee(
+ request,
+ target,
+ options=(),
+ channel_credentials=None,
+ call_credentials=None,
+ insecure=False,
+ compression=None,
+ wait_for_ready=None,
+ timeout=None,
+ metadata=None,
+ ):
+ return grpc.experimental.unary_unary(
+ request,
+ target,
+ "/routerrpc.Router/EstimateRouteFee",
+ router__pb2.RouteFeeRequest.SerializeToString,
+ router__pb2.RouteFeeResponse.FromString,
+ options,
+ channel_credentials,
+ insecure,
+ call_credentials,
+ compression,
+ wait_for_ready,
+ timeout,
+ metadata,
+ )
+
+ @staticmethod
+ def SendToRoute(
+ request,
+ target,
+ options=(),
+ channel_credentials=None,
+ call_credentials=None,
+ insecure=False,
+ compression=None,
+ wait_for_ready=None,
+ timeout=None,
+ metadata=None,
+ ):
+ return grpc.experimental.unary_unary(
+ request,
+ target,
+ "/routerrpc.Router/SendToRoute",
+ router__pb2.SendToRouteRequest.SerializeToString,
+ router__pb2.SendToRouteResponse.FromString,
+ options,
+ channel_credentials,
+ insecure,
+ call_credentials,
+ compression,
+ wait_for_ready,
+ timeout,
+ metadata,
+ )
+
+ @staticmethod
+ def SendToRouteV2(
+ request,
+ target,
+ options=(),
+ channel_credentials=None,
+ call_credentials=None,
+ insecure=False,
+ compression=None,
+ wait_for_ready=None,
+ timeout=None,
+ metadata=None,
+ ):
+ return grpc.experimental.unary_unary(
+ request,
+ target,
+ "/routerrpc.Router/SendToRouteV2",
+ router__pb2.SendToRouteRequest.SerializeToString,
+ lightning__pb2.HTLCAttempt.FromString,
+ options,
+ channel_credentials,
+ insecure,
+ call_credentials,
+ compression,
+ wait_for_ready,
+ timeout,
+ metadata,
+ )
+
+ @staticmethod
+ def ResetMissionControl(
+ request,
+ target,
+ options=(),
+ channel_credentials=None,
+ call_credentials=None,
+ insecure=False,
+ compression=None,
+ wait_for_ready=None,
+ timeout=None,
+ metadata=None,
+ ):
+ return grpc.experimental.unary_unary(
+ request,
+ target,
+ "/routerrpc.Router/ResetMissionControl",
+ router__pb2.ResetMissionControlRequest.SerializeToString,
+ router__pb2.ResetMissionControlResponse.FromString,
+ options,
+ channel_credentials,
+ insecure,
+ call_credentials,
+ compression,
+ wait_for_ready,
+ timeout,
+ metadata,
+ )
+
+ @staticmethod
+ def QueryMissionControl(
+ request,
+ target,
+ options=(),
+ channel_credentials=None,
+ call_credentials=None,
+ insecure=False,
+ compression=None,
+ wait_for_ready=None,
+ timeout=None,
+ metadata=None,
+ ):
+ return grpc.experimental.unary_unary(
+ request,
+ target,
+ "/routerrpc.Router/QueryMissionControl",
+ router__pb2.QueryMissionControlRequest.SerializeToString,
+ router__pb2.QueryMissionControlResponse.FromString,
+ options,
+ channel_credentials,
+ insecure,
+ call_credentials,
+ compression,
+ wait_for_ready,
+ timeout,
+ metadata,
+ )
+
+ @staticmethod
+ def XImportMissionControl(
+ request,
+ target,
+ options=(),
+ channel_credentials=None,
+ call_credentials=None,
+ insecure=False,
+ compression=None,
+ wait_for_ready=None,
+ timeout=None,
+ metadata=None,
+ ):
+ return grpc.experimental.unary_unary(
+ request,
+ target,
+ "/routerrpc.Router/XImportMissionControl",
+ router__pb2.XImportMissionControlRequest.SerializeToString,
+ router__pb2.XImportMissionControlResponse.FromString,
+ options,
+ channel_credentials,
+ insecure,
+ call_credentials,
+ compression,
+ wait_for_ready,
+ timeout,
+ metadata,
+ )
+
+ @staticmethod
+ def GetMissionControlConfig(
+ request,
+ target,
+ options=(),
+ channel_credentials=None,
+ call_credentials=None,
+ insecure=False,
+ compression=None,
+ wait_for_ready=None,
+ timeout=None,
+ metadata=None,
+ ):
+ return grpc.experimental.unary_unary(
+ request,
+ target,
+ "/routerrpc.Router/GetMissionControlConfig",
+ router__pb2.GetMissionControlConfigRequest.SerializeToString,
+ router__pb2.GetMissionControlConfigResponse.FromString,
+ options,
+ channel_credentials,
+ insecure,
+ call_credentials,
+ compression,
+ wait_for_ready,
+ timeout,
+ metadata,
+ )
+
+ @staticmethod
+ def SetMissionControlConfig(
+ request,
+ target,
+ options=(),
+ channel_credentials=None,
+ call_credentials=None,
+ insecure=False,
+ compression=None,
+ wait_for_ready=None,
+ timeout=None,
+ metadata=None,
+ ):
+ return grpc.experimental.unary_unary(
+ request,
+ target,
+ "/routerrpc.Router/SetMissionControlConfig",
+ router__pb2.SetMissionControlConfigRequest.SerializeToString,
+ router__pb2.SetMissionControlConfigResponse.FromString,
+ options,
+ channel_credentials,
+ insecure,
+ call_credentials,
+ compression,
+ wait_for_ready,
+ timeout,
+ metadata,
+ )
+
+ @staticmethod
+ def QueryProbability(
+ request,
+ target,
+ options=(),
+ channel_credentials=None,
+ call_credentials=None,
+ insecure=False,
+ compression=None,
+ wait_for_ready=None,
+ timeout=None,
+ metadata=None,
+ ):
+ return grpc.experimental.unary_unary(
+ request,
+ target,
+ "/routerrpc.Router/QueryProbability",
+ router__pb2.QueryProbabilityRequest.SerializeToString,
+ router__pb2.QueryProbabilityResponse.FromString,
+ options,
+ channel_credentials,
+ insecure,
+ call_credentials,
+ compression,
+ wait_for_ready,
+ timeout,
+ metadata,
+ )
+
+ @staticmethod
+ def BuildRoute(
+ request,
+ target,
+ options=(),
+ channel_credentials=None,
+ call_credentials=None,
+ insecure=False,
+ compression=None,
+ wait_for_ready=None,
+ timeout=None,
+ metadata=None,
+ ):
+ return grpc.experimental.unary_unary(
+ request,
+ target,
+ "/routerrpc.Router/BuildRoute",
+ router__pb2.BuildRouteRequest.SerializeToString,
+ router__pb2.BuildRouteResponse.FromString,
+ options,
+ channel_credentials,
+ insecure,
+ call_credentials,
+ compression,
+ wait_for_ready,
+ timeout,
+ metadata,
+ )
+
+ @staticmethod
+ def SubscribeHtlcEvents(
+ request,
+ target,
+ options=(),
+ channel_credentials=None,
+ call_credentials=None,
+ insecure=False,
+ compression=None,
+ wait_for_ready=None,
+ timeout=None,
+ metadata=None,
+ ):
+ return grpc.experimental.unary_stream(
+ request,
+ target,
+ "/routerrpc.Router/SubscribeHtlcEvents",
+ router__pb2.SubscribeHtlcEventsRequest.SerializeToString,
+ router__pb2.HtlcEvent.FromString,
+ options,
+ channel_credentials,
+ insecure,
+ call_credentials,
+ compression,
+ wait_for_ready,
+ timeout,
+ metadata,
+ )
+
+ @staticmethod
+ def SendPayment(
+ request,
+ target,
+ options=(),
+ channel_credentials=None,
+ call_credentials=None,
+ insecure=False,
+ compression=None,
+ wait_for_ready=None,
+ timeout=None,
+ metadata=None,
+ ):
+ return grpc.experimental.unary_stream(
+ request,
+ target,
+ "/routerrpc.Router/SendPayment",
+ router__pb2.SendPaymentRequest.SerializeToString,
+ router__pb2.PaymentStatus.FromString,
+ options,
+ channel_credentials,
+ insecure,
+ call_credentials,
+ compression,
+ wait_for_ready,
+ timeout,
+ metadata,
+ )
+
+ @staticmethod
+ def TrackPayment(
+ request,
+ target,
+ options=(),
+ channel_credentials=None,
+ call_credentials=None,
+ insecure=False,
+ compression=None,
+ wait_for_ready=None,
+ timeout=None,
+ metadata=None,
+ ):
+ return grpc.experimental.unary_stream(
+ request,
+ target,
+ "/routerrpc.Router/TrackPayment",
+ router__pb2.TrackPaymentRequest.SerializeToString,
+ router__pb2.PaymentStatus.FromString,
+ options,
+ channel_credentials,
+ insecure,
+ call_credentials,
+ compression,
+ wait_for_ready,
+ timeout,
+ metadata,
+ )
+
+ @staticmethod
+ def HtlcInterceptor(
+ request_iterator,
+ target,
+ options=(),
+ channel_credentials=None,
+ call_credentials=None,
+ insecure=False,
+ compression=None,
+ wait_for_ready=None,
+ timeout=None,
+ metadata=None,
+ ):
+ return grpc.experimental.stream_stream(
+ request_iterator,
+ target,
+ "/routerrpc.Router/HtlcInterceptor",
+ router__pb2.ForwardHtlcInterceptResponse.SerializeToString,
+ router__pb2.ForwardHtlcInterceptRequest.FromString,
+ options,
+ channel_credentials,
+ insecure,
+ call_credentials,
+ compression,
+ wait_for_ready,
+ timeout,
+ metadata,
+ )
+
+ @staticmethod
+ def UpdateChanStatus(
+ request,
+ target,
+ options=(),
+ channel_credentials=None,
+ call_credentials=None,
+ insecure=False,
+ compression=None,
+ wait_for_ready=None,
+ timeout=None,
+ metadata=None,
+ ):
+ return grpc.experimental.unary_unary(
+ request,
+ target,
+ "/routerrpc.Router/UpdateChanStatus",
+ router__pb2.UpdateChanStatusRequest.SerializeToString,
+ router__pb2.UpdateChanStatusResponse.FromString,
+ options,
+ channel_credentials,
+ insecure,
+ call_credentials,
+ compression,
+ wait_for_ready,
+ timeout,
+ metadata,
+ )
diff --git a/lnbits/wallets/lndgrpc.py b/lnbits/wallets/lndgrpc.py
index 44fee78c..7f6135ad 100644
--- a/lnbits/wallets/lndgrpc.py
+++ b/lnbits/wallets/lndgrpc.py
@@ -2,10 +2,11 @@ imports_ok = True
try:
import grpc
from google import protobuf
+ from grpc import RpcError
except ImportError: # pragma: nocover
imports_ok = False
-
+import asyncio
import base64
import binascii
import hashlib
@@ -19,6 +20,8 @@ from .macaroon import AESCipher, load_macaroon
if imports_ok:
import lnbits.wallets.lnd_grpc_files.lightning_pb2 as ln
import lnbits.wallets.lnd_grpc_files.lightning_pb2_grpc as lnrpc
+ import lnbits.wallets.lnd_grpc_files.router_pb2 as router
+ import lnbits.wallets.lnd_grpc_files.router_pb2_grpc as routerrpc
from .base import (
InvoiceResponse,
@@ -62,14 +65,32 @@ def get_ssl_context(cert_path: str):
return context
-def parse_checking_id(checking_id: str) -> bytes:
+def b64_to_bytes(checking_id: str) -> bytes:
return base64.b64decode(checking_id.replace("_", "/"))
-def stringify_checking_id(r_hash: bytes) -> str:
+def bytes_to_b64(r_hash: bytes) -> str:
return base64.b64encode(r_hash).decode("utf-8").replace("/", "_")
+def hex_to_b64(hex_str: str) -> str:
+ try:
+ return base64.b64encode(bytes.fromhex(hex_str)).decode()
+ except ValueError:
+ return ""
+
+
+def hex_to_bytes(hex_str: str) -> bytes:
+ try:
+ return bytes.fromhex(hex_str)
+ except:
+ return b""
+
+
+def bytes_to_hex(b: bytes) -> str:
+ return b.hex()
+
+
# Due to updated ECDSA generated tls.cert we need to let gprc know that
# we need to use that cipher suite otherwise there will be a handhsake
# error when we communicate with the lnd rpc server.
@@ -111,6 +132,7 @@ class LndWallet(Wallet):
f"{self.endpoint}:{self.port}", composite_creds
)
self.rpc = lnrpc.LightningStub(channel)
+ self.routerpc = routerrpc.RouterStub(channel)
def metadata_callback(self, _, callback):
callback([("macaroon", self.macaroon)], None)
@@ -118,6 +140,8 @@ class LndWallet(Wallet):
async def status(self) -> StatusResponse:
try:
resp = await self.rpc.ChannelBalance(ln.ChannelBalanceRequest())
+ except RpcError as exc:
+ return StatusResponse(str(exc._details), 0)
except Exception as exc:
return StatusResponse(str(exc), 0)
@@ -128,11 +152,15 @@ class LndWallet(Wallet):
amount: int,
memo: Optional[str] = None,
description_hash: Optional[bytes] = None,
+ unhashed_description: Optional[bytes] = None,
) -> InvoiceResponse:
params: Dict = {"value": amount, "expiry": 600, "private": True}
-
if description_hash:
- params["description_hash"] = description_hash # as bytes directly
+ params["description_hash"] = description_hash
+ elif unhashed_description:
+ params["description_hash"] = hashlib.sha256(
+ unhashed_description
+ ).digest() # as bytes directly
else:
params["memo"] = memo or ""
@@ -143,27 +171,82 @@ class LndWallet(Wallet):
error_message = str(exc)
return InvoiceResponse(False, None, None, error_message)
- checking_id = stringify_checking_id(resp.r_hash)
+ checking_id = bytes_to_hex(resp.r_hash)
payment_request = str(resp.payment_request)
return InvoiceResponse(True, checking_id, payment_request, None)
async def pay_invoice(self, bolt11: str, fee_limit_msat: int) -> PaymentResponse:
- fee_limit_fixed = ln.FeeLimit(fixed=fee_limit_msat // 1000)
- req = ln.SendRequest(payment_request=bolt11, fee_limit=fee_limit_fixed)
- resp = await self.rpc.SendPaymentSync(req)
+ # fee_limit_fixed = ln.FeeLimit(fixed=fee_limit_msat // 1000)
+ req = router.SendPaymentRequest(
+ payment_request=bolt11,
+ fee_limit_msat=fee_limit_msat,
+ timeout_seconds=30,
+ no_inflight_updates=True,
+ )
+ try:
+ resp = await self.routerpc.SendPaymentV2(req).read()
+ except RpcError as exc:
+ return PaymentResponse(False, None, None, None, exc._details)
+ except Exception as exc:
+ return PaymentResponse(False, None, None, None, str(exc))
- if resp.payment_error:
- return PaymentResponse(False, "", 0, None, resp.payment_error)
+ # PaymentStatus from https://github.com/lightningnetwork/lnd/blob/master/channeldb/payments.go#L178
+ statuses = {
+ 0: None, # NON_EXISTENT
+ 1: None, # IN_FLIGHT
+ 2: True, # SUCCEEDED
+ 3: False, # FAILED
+ }
- r_hash = hashlib.sha256(resp.payment_preimage).digest()
- checking_id = stringify_checking_id(r_hash)
- fee_msat = resp.payment_route.total_fees_msat
- preimage = resp.payment_preimage.hex()
- return PaymentResponse(True, checking_id, fee_msat, preimage, None)
+ failure_reasons = {
+ 0: "No error given.",
+ 1: "Payment timed out.",
+ 2: "No route to destination.",
+ 3: "Error.",
+ 4: "Incorrect payment details.",
+ 5: "Insufficient balance.",
+ }
+
+ fee_msat = None
+ preimage = None
+ error_message = None
+ checking_id = None
+
+ if statuses[resp.status] == True: # SUCCEEDED
+ fee_msat = -resp.htlcs[-1].route.total_fees_msat
+ preimage = resp.payment_preimage
+ checking_id = resp.payment_hash
+ elif statuses[resp.status] == False:
+ error_message = failure_reasons[resp.failure_reason]
+
+ return PaymentResponse(
+ statuses[resp.status], checking_id, fee_msat, preimage, error_message
+ )
async def get_invoice_status(self, checking_id: str) -> PaymentStatus:
try:
- r_hash = parse_checking_id(checking_id)
+ r_hash = hex_to_bytes(checking_id)
+ if len(r_hash) != 32:
+ raise binascii.Error
+ except binascii.Error:
+ # this may happen if we switch between backend wallets
+ # that use different checking_id formats
+ return PaymentStatus(None)
+ try:
+ resp = await self.rpc.LookupInvoice(ln.PaymentHash(r_hash=r_hash))
+ except RpcError as exc:
+ return PaymentStatus(None)
+ if resp.settled:
+ return PaymentStatus(True)
+
+ return PaymentStatus(None)
+
+ async def get_payment_status(self, checking_id: str) -> PaymentStatus:
+ """
+ This routine checks the payment status using routerpc.TrackPaymentV2.
+ """
+ try:
+ r_hash = hex_to_bytes(checking_id)
if len(r_hash) != 32:
raise binascii.Error
except binascii.Error:
@@ -171,27 +254,50 @@ class LndWallet(Wallet):
# that use different checking_id formats
return PaymentStatus(None)
- resp = await self.rpc.LookupInvoice(ln.PaymentHash(r_hash=r_hash))
- if resp.settled:
- return PaymentStatus(True)
+ resp = self.routerpc.TrackPaymentV2(
+ router.TrackPaymentRequest(payment_hash=r_hash)
+ )
+
+ # # HTLCAttempt.HTLCStatus:
+ # # https://github.com/lightningnetwork/lnd/blob/master/lnrpc/lightning.proto#L3641
+ # htlc_statuses = {
+ # 0: None, # IN_FLIGHT
+ # 1: True, # "SUCCEEDED"
+ # 2: False, # "FAILED"
+ # }
+ statuses = {
+ 0: None, # NON_EXISTENT
+ 1: None, # IN_FLIGHT
+ 2: True, # SUCCEEDED
+ 3: False, # FAILED
+ }
+
+ try:
+ async for payment in resp:
+ if len(payment.htlcs) and statuses[payment.status]:
+ return PaymentStatus(
+ True,
+ -payment.htlcs[-1].route.total_fees_msat,
+ bytes_to_hex(payment.htlcs[-1].preimage),
+ )
+ return PaymentStatus(statuses[payment.status])
+ except: # most likely the payment wasn't found
+ return PaymentStatus(None)
return PaymentStatus(None)
- async def get_payment_status(self, checking_id: str) -> PaymentStatus:
- return PaymentStatus(True)
-
async def paid_invoices_stream(self) -> AsyncGenerator[str, None]:
- request = ln.InvoiceSubscription()
- try:
- async for i in self.rpc.SubscribeInvoices(request):
- if not i.settled:
- continue
+ while True:
+ try:
+ request = ln.InvoiceSubscription()
+ async for i in self.rpc.SubscribeInvoices(request):
+ if not i.settled:
+ continue
- checking_id = stringify_checking_id(i.r_hash)
- yield checking_id
- except error:
- logger.error(error)
-
- logger.error(
- "lost connection to lnd InvoiceSubscription, please restart lnbits."
- )
+ checking_id = bytes_to_hex(i.r_hash)
+ yield checking_id
+ except Exception as exc:
+ logger.error(
+ f"lost connection to lnd invoices stream: '{exc}', retrying in 5 seconds"
+ )
+ await asyncio.sleep(5)
diff --git a/lnbits/wallets/lndrest.py b/lnbits/wallets/lndrest.py
index 575db64d..1083e48a 100644
--- a/lnbits/wallets/lndrest.py
+++ b/lnbits/wallets/lndrest.py
@@ -1,5 +1,6 @@
import asyncio
import base64
+import hashlib
import json
from os import getenv
from pydoc import describe
@@ -72,12 +73,18 @@ class LndRestWallet(Wallet):
amount: int,
memo: Optional[str] = None,
description_hash: Optional[bytes] = None,
+ unhashed_description: Optional[bytes] = None,
+ **kwargs,
) -> InvoiceResponse:
data: Dict = {"value": amount, "private": True}
if description_hash:
data["description_hash"] = base64.b64encode(description_hash).decode(
"ascii"
)
+ elif unhashed_description:
+ data["description_hash"] = base64.b64encode(
+ hashlib.sha256(unhashed_description).digest()
+ ).decode("ascii")
else:
data["memo"] = memo or ""
@@ -116,18 +123,15 @@ class LndRestWallet(Wallet):
if r.is_error or r.json().get("payment_error"):
error_message = r.json().get("payment_error") or r.text
- return PaymentResponse(False, None, 0, None, error_message)
+ return PaymentResponse(False, None, None, None, error_message)
data = r.json()
- payment_hash = data["payment_hash"]
- checking_id = payment_hash
+ checking_id = base64.b64decode(data["payment_hash"]).hex()
fee_msat = int(data["payment_route"]["total_fees_msat"])
preimage = base64.b64decode(data["payment_preimage"]).hex()
return PaymentResponse(True, checking_id, fee_msat, preimage, None)
async def get_invoice_status(self, checking_id: str) -> PaymentStatus:
- checking_id = checking_id.replace("_", "/")
-
async with httpx.AsyncClient(verify=self.cert) as client:
r = await client.get(
url=f"{self.endpoint}/v1/invoice/{checking_id}", headers=self.auth
@@ -141,18 +145,21 @@ class LndRestWallet(Wallet):
return PaymentStatus(True)
async def get_payment_status(self, checking_id: str) -> PaymentStatus:
- async with httpx.AsyncClient(verify=self.cert) as client:
- r = await client.get(
- url=f"{self.endpoint}/v1/payments",
- headers=self.auth,
- params={"max_payments": "20", "reversed": True},
+ """
+ This routine checks the payment status using routerpc.TrackPaymentV2.
+ """
+ # convert checking_id from hex to base64 and some LND magic
+ try:
+ checking_id = base64.urlsafe_b64encode(bytes.fromhex(checking_id)).decode(
+ "ascii"
)
-
- if r.is_error:
+ except ValueError:
return PaymentStatus(None)
+ url = f"{self.endpoint}/v2/router/track/{checking_id}"
+
# check payment.status:
- # https://api.lightning.community/rest/index.html?python#peersynctype
+ # https://api.lightning.community/?python=#paymentpaymentstatus
statuses = {
"UNKNOWN": None,
"IN_FLIGHT": None,
@@ -160,22 +167,38 @@ class LndRestWallet(Wallet):
"FAILED": False,
}
- # for some reason our checking_ids are in base64 but the payment hashes
- # returned here are in hex, lnd is weird
- checking_id = checking_id.replace("_", "/")
- checking_id = base64.b64decode(checking_id).hex()
-
- for p in r.json()["payments"]:
- if p["payment_hash"] == checking_id:
- return PaymentStatus(statuses[p["status"]])
+ async with httpx.AsyncClient(
+ timeout=None, headers=self.auth, verify=self.cert
+ ) as client:
+ async with client.stream("GET", url) as r:
+ async for l in r.aiter_lines():
+ try:
+ line = json.loads(l)
+ if line.get("error"):
+ logger.error(
+ line["error"]["message"]
+ if "message" in line["error"]
+ else line["error"]
+ )
+ return PaymentStatus(None)
+ payment = line.get("result")
+ if payment is not None and payment.get("status"):
+ return PaymentStatus(
+ paid=statuses[payment["status"]],
+ fee_msat=payment.get("fee_msat"),
+ preimage=payment.get("payment_preimage"),
+ )
+ else:
+ return PaymentStatus(None)
+ except:
+ continue
return PaymentStatus(None)
async def paid_invoices_stream(self) -> AsyncGenerator[str, None]:
- url = self.endpoint + "/v1/invoices/subscribe"
-
while True:
try:
+ url = self.endpoint + "/v1/invoices/subscribe"
async with httpx.AsyncClient(
timeout=None, headers=self.auth, verify=self.cert
) as client:
@@ -190,10 +213,8 @@ class LndRestWallet(Wallet):
payment_hash = base64.b64decode(inv["r_hash"]).hex()
yield payment_hash
- except (OSError, httpx.ConnectError, httpx.ReadError):
- pass
-
- logger.error(
- "lost connection to lnd invoices stream, retrying in 5 seconds"
- )
- await asyncio.sleep(5)
+ except Exception as exc:
+ logger.error(
+ f"lost connection to lnd invoices stream: '{exc}', retrying in 5 seconds"
+ )
+ await asyncio.sleep(5)
diff --git a/lnbits/wallets/lnpay.py b/lnbits/wallets/lnpay.py
index 18b4f8bb..5db68e1f 100644
--- a/lnbits/wallets/lnpay.py
+++ b/lnbits/wallets/lnpay.py
@@ -1,4 +1,5 @@
import asyncio
+import hashlib
import json
from http import HTTPStatus
from os import getenv
@@ -51,10 +52,14 @@ class LNPayWallet(Wallet):
amount: int,
memo: Optional[str] = None,
description_hash: Optional[bytes] = None,
+ unhashed_description: Optional[bytes] = None,
+ **kwargs,
) -> InvoiceResponse:
data: Dict = {"num_satoshis": f"{amount}"}
if description_hash:
data["description_hash"] = description_hash.hex()
+ elif unhashed_description:
+ data["description_hash"] = hashlib.sha256(unhashed_description).hexdigest()
else:
data["memo"] = memo or ""
@@ -95,7 +100,7 @@ class LNPayWallet(Wallet):
)
if r.is_error:
- return PaymentResponse(False, None, 0, None, data["message"])
+ return PaymentResponse(False, None, None, None, data["message"])
checking_id = data["lnTx"]["id"]
fee_msat = 0
@@ -108,15 +113,18 @@ class LNPayWallet(Wallet):
async def get_payment_status(self, checking_id: str) -> PaymentStatus:
async with httpx.AsyncClient() as client:
r = await client.get(
- url=f"{self.endpoint}/lntx/{checking_id}?fields=settled",
+ url=f"{self.endpoint}/lntx/{checking_id}",
headers=self.auth,
)
if r.is_error:
return PaymentStatus(None)
+ data = r.json()
+ preimage = data["payment_preimage"]
+ fee_msat = data["fee_msat"]
statuses = {0: None, 1: True, -1: False}
- return PaymentStatus(statuses[r.json()["settled"]])
+ return PaymentStatus(statuses[data["settled"]], fee_msat, preimage)
async def paid_invoices_stream(self) -> AsyncGenerator[str, None]:
self.queue: asyncio.Queue = asyncio.Queue(0)
diff --git a/lnbits/wallets/lntxbot.py b/lnbits/wallets/lntxbot.py
index 3c758e6c..13046d26 100644
--- a/lnbits/wallets/lntxbot.py
+++ b/lnbits/wallets/lntxbot.py
@@ -1,4 +1,5 @@
import asyncio
+import hashlib
import json
from os import getenv
from typing import AsyncGenerator, Dict, Optional
@@ -51,10 +52,14 @@ class LntxbotWallet(Wallet):
amount: int,
memo: Optional[str] = None,
description_hash: Optional[bytes] = None,
+ unhashed_description: Optional[bytes] = None,
+ **kwargs,
) -> InvoiceResponse:
data: Dict = {"amt": str(amount)}
if description_hash:
data["description_hash"] = description_hash.hex()
+ elif unhashed_description:
+ data["description_hash"] = hashlib.sha256(unhashed_description).hexdigest()
else:
data["memo"] = memo or ""
@@ -92,10 +97,11 @@ class LntxbotWallet(Wallet):
except:
error_message = r.text
pass
-
- return PaymentResponse(False, None, 0, None, error_message)
+ return PaymentResponse(False, None, None, None, error_message)
data = r.json()
+ if data.get("type") != "paid_invoice":
+ return PaymentResponse(None)
checking_id = data["payment_hash"]
fee_msat = -data["fee_msat"]
preimage = data["payment_preimage"]
diff --git a/lnbits/wallets/opennode.py b/lnbits/wallets/opennode.py
index be82365d..f7dcba40 100644
--- a/lnbits/wallets/opennode.py
+++ b/lnbits/wallets/opennode.py
@@ -47,15 +47,17 @@ class OpenNodeWallet(Wallet):
if r.is_error:
return StatusResponse(data["message"], 0)
- return StatusResponse(None, data["balance"]["BTC"] / 100_000_000_000)
+ return StatusResponse(None, data["balance"]["BTC"] * 1000)
async def create_invoice(
self,
amount: int,
memo: Optional[str] = None,
description_hash: Optional[bytes] = None,
+ unhashed_description: Optional[bytes] = None,
+ **kwargs,
) -> InvoiceResponse:
- if description_hash:
+ if description_hash or unhashed_description:
raise Unsupported("description_hash")
async with httpx.AsyncClient() as client:
@@ -65,7 +67,7 @@ class OpenNodeWallet(Wallet):
json={
"amount": amount,
"description": memo or "",
- "callback_url": url_for("/webhook_listener", _external=True),
+ # "callback_url": url_for("/webhook_listener", _external=True),
},
timeout=40,
)
@@ -90,11 +92,15 @@ class OpenNodeWallet(Wallet):
if r.is_error:
error_message = r.json()["message"]
- return PaymentResponse(False, None, 0, None, error_message)
+ return PaymentResponse(False, None, None, None, error_message)
data = r.json()["data"]
checking_id = data["id"]
- fee_msat = data["fee"] * 1000
+ fee_msat = -data["fee"] * 1000
+
+ if data["status"] != "paid":
+ return PaymentResponse(None, checking_id, fee_msat, None, "payment failed")
+
return PaymentResponse(True, checking_id, fee_msat, None, None)
async def get_invoice_status(self, checking_id: str) -> PaymentStatus:
@@ -104,9 +110,9 @@ class OpenNodeWallet(Wallet):
)
if r.is_error:
return PaymentStatus(None)
-
- statuses = {"processing": None, "paid": True, "unpaid": False}
- return PaymentStatus(statuses[r.json()["data"]["status"]])
+ data = r.json()["data"]
+ statuses = {"processing": None, "paid": True, "unpaid": None}
+ return PaymentStatus(statuses[data.get("status")])
async def get_payment_status(self, checking_id: str) -> PaymentStatus:
async with httpx.AsyncClient() as client:
@@ -117,14 +123,16 @@ class OpenNodeWallet(Wallet):
if r.is_error:
return PaymentStatus(None)
+ data = r.json()["data"]
statuses = {
"initial": None,
"pending": None,
"confirmed": True,
- "error": False,
+ "error": None,
"failed": False,
}
- return PaymentStatus(statuses[r.json()["data"]["status"]])
+ fee_msat = -data.get("fee") * 1000
+ return PaymentStatus(statuses[data.get("status")], fee_msat)
async def paid_invoices_stream(self) -> AsyncGenerator[str, None]:
self.queue: asyncio.Queue = asyncio.Queue(0)
diff --git a/lnbits/wallets/spark.py b/lnbits/wallets/spark.py
index 142e388d..414d4e47 100644
--- a/lnbits/wallets/spark.py
+++ b/lnbits/wallets/spark.py
@@ -1,4 +1,5 @@
import asyncio
+import hashlib
import json
import random
from os import getenv
@@ -92,6 +93,8 @@ class SparkWallet(Wallet):
amount: int,
memo: Optional[str] = None,
description_hash: Optional[bytes] = None,
+ unhashed_description: Optional[bytes] = None,
+ **kwargs,
) -> InvoiceResponse:
label = "lbs{}".format(random.random())
checking_id = label
@@ -103,6 +106,12 @@ class SparkWallet(Wallet):
label=label,
description_hash=description_hash.hex(),
)
+ elif unhashed_description:
+ r = await self.invoicewithdescriptionhash(
+ msatoshi=amount * 1000,
+ label=label,
+ description_hash=hashlib.sha256(unhashed_description).hexdigest(),
+ )
else:
r = await self.invoice(
msatoshi=amount * 1000,
@@ -128,7 +137,7 @@ class SparkWallet(Wallet):
pays = listpays["pays"]
if len(pays) == 0:
- return PaymentResponse(False, None, 0, None, str(exc))
+ return PaymentResponse(False, None, None, None, str(exc))
pay = pays[0]
payment_hash = pay["payment_hash"]
@@ -139,11 +148,9 @@ class SparkWallet(Wallet):
)
if pay["status"] == "failed":
- return PaymentResponse(False, None, 0, None, str(exc))
+ return PaymentResponse(False, None, None, None, str(exc))
elif pay["status"] == "pending":
- return PaymentResponse(
- None, payment_hash, fee_limit_msat, None, None
- )
+ return PaymentResponse(None, payment_hash, None, None, None)
elif pay["status"] == "complete":
r = pay
r["payment_preimage"] = pay["preimage"]
@@ -154,7 +161,7 @@ class SparkWallet(Wallet):
# this is good
pass
- fee_msat = r["msatoshi_sent"] - r["msatoshi"]
+ fee_msat = -int(r["msatoshi_sent"] - r["msatoshi"])
preimage = r["payment_preimage"]
return PaymentResponse(True, r["payment_hash"], fee_msat, preimage, None)
@@ -192,7 +199,10 @@ class SparkWallet(Wallet):
if r["pays"][0]["payment_hash"] == checking_id:
status = r["pays"][0]["status"]
if status == "complete":
- return PaymentStatus(True)
+ fee_msat = -int(
+ r["pays"][0]["amount_sent_msat"] - r["pays"][0]["amount_msat"]
+ )
+ return PaymentStatus(True, fee_msat, r["pays"][0]["preimage"])
elif status == "failed":
return PaymentStatus(False)
return PaymentStatus(None)
diff --git a/lnbits/wallets/void.py b/lnbits/wallets/void.py
index 1139f7a8..0de387aa 100644
--- a/lnbits/wallets/void.py
+++ b/lnbits/wallets/void.py
@@ -18,6 +18,7 @@ class VoidWallet(Wallet):
amount: int,
memo: Optional[str] = None,
description_hash: Optional[bytes] = None,
+ **kwargs,
) -> InvoiceResponse:
raise Unsupported("")
@@ -31,10 +32,10 @@ class VoidWallet(Wallet):
raise Unsupported("")
async def get_invoice_status(self, checking_id: str) -> PaymentStatus:
- raise Unsupported("")
+ return PaymentStatus(None)
async def get_payment_status(self, checking_id: str) -> PaymentStatus:
- raise Unsupported("")
+ return PaymentStatus(None)
async def paid_invoices_stream(self) -> AsyncGenerator[str, None]:
yield ""
diff --git a/mypy.ini b/mypy.ini
deleted file mode 100644
index e5a974b5..00000000
--- a/mypy.ini
+++ /dev/null
@@ -1,8 +0,0 @@
-[mypy]
-ignore_missing_imports = True
-exclude = (?x)(
- ^lnbits/extensions.
- | ^lnbits/wallets/lnd_grpc_files.
- )
-[mypy-lnbits.wallets.lnd_grpc_files.*]
-follow_imports = skip
diff --git a/nix/modules/lnbits-service.nix b/nix/modules/lnbits-service.nix
index 5d8e0640..e7029e67 100644
--- a/nix/modules/lnbits-service.nix
+++ b/nix/modules/lnbits-service.nix
@@ -3,7 +3,7 @@
let
defaultUser = "lnbits";
cfg = config.services.lnbits;
- inherit (lib) mkOption mkIf types optionalAttrs;
+ inherit (lib) mkOption mkIf types optionalAttrs literalExpression;
in
{
@@ -25,6 +25,7 @@ in
};
package = mkOption {
type = types.package;
+ defaultText = literalExpression "pkgs.lnbits";
default = pkgs.lnbits;
description = ''
The lnbits package to use.
diff --git a/poetry.lock b/poetry.lock
index 48c508ce..ea83e25e 100644
--- a/poetry.lock
+++ b/poetry.lock
@@ -1,6 +1,6 @@
[[package]]
name = "aiofiles"
-version = "0.7.0"
+version = "0.8.0"
description = "File support for asyncio."
category = "main"
optional = false
@@ -17,10 +17,11 @@ python-versions = ">=3.6.2"
[package.dependencies]
idna = ">=2.8"
sniffio = ">=1.1"
+typing-extensions = {version = "*", markers = "python_version < \"3.8\""}
[package.extras]
-doc = ["packaging", "sphinx-rtd-theme", "sphinx-autodoc-typehints (>=1.2.0)"]
-test = ["coverage[toml] (>=4.5)", "hypothesis (>=4.0)", "pytest (>=7.0)", "pytest-mock (>=3.6.1)", "trustme", "contextlib2", "uvloop (<0.15)", "mock (>=4)", "uvloop (>=0.15)"]
+doc = ["packaging", "sphinx-autodoc-typehints (>=1.2.0)", "sphinx-rtd-theme"]
+test = ["contextlib2", "coverage[toml] (>=4.5)", "hypothesis (>=4.0)", "mock (>=4)", "pytest (>=7.0)", "pytest-mock (>=3.6.1)", "trustme", "uvloop (<0.15)", "uvloop (>=0.15)"]
trio = ["trio (>=0.16)"]
[[package]]
@@ -31,8 +32,19 @@ category = "main"
optional = false
python-versions = ">=3.6"
+[package.dependencies]
+typing-extensions = {version = "*", markers = "python_version < \"3.8\""}
+
[package.extras]
-tests = ["pytest", "pytest-asyncio", "mypy (>=0.800)"]
+tests = ["mypy (>=0.800)", "pytest", "pytest-asyncio"]
+
+[[package]]
+name = "asn1crypto"
+version = "1.5.1"
+description = "Fast ASN.1 parser and serializer with definitions for private keys, public keys, certificates, CRL, OCSP, CMS, PKCS#3, PKCS#7, PKCS#8, PKCS#12, PKCS#5, X.509 and TSP"
+category = "main"
+optional = false
+python-versions = "*"
[[package]]
name = "attrs"
@@ -43,10 +55,21 @@ optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*"
[package.extras]
-dev = ["coverage[toml] (>=5.0.2)", "hypothesis", "pympler", "pytest (>=4.3.0)", "six", "mypy", "pytest-mypy-plugins", "zope.interface", "furo", "sphinx", "sphinx-notfound-page", "pre-commit"]
-docs = ["furo", "sphinx", "zope.interface", "sphinx-notfound-page"]
-tests = ["coverage[toml] (>=5.0.2)", "hypothesis", "pympler", "pytest (>=4.3.0)", "six", "mypy", "pytest-mypy-plugins", "zope.interface"]
-tests_no_zope = ["coverage[toml] (>=5.0.2)", "hypothesis", "pympler", "pytest (>=4.3.0)", "six", "mypy", "pytest-mypy-plugins"]
+dev = ["coverage[toml] (>=5.0.2)", "furo", "hypothesis", "mypy", "pre-commit", "pympler", "pytest (>=4.3.0)", "pytest-mypy-plugins", "six", "sphinx", "sphinx-notfound-page", "zope.interface"]
+docs = ["furo", "sphinx", "sphinx-notfound-page", "zope.interface"]
+tests = ["coverage[toml] (>=5.0.2)", "hypothesis", "mypy", "pympler", "pytest (>=4.3.0)", "pytest-mypy-plugins", "six", "zope.interface"]
+tests_no_zope = ["coverage[toml] (>=5.0.2)", "hypothesis", "mypy", "pympler", "pytest (>=4.3.0)", "pytest-mypy-plugins", "six"]
+
+[[package]]
+name = "base58"
+version = "2.1.1"
+description = "Base58 and Base58Check implementation."
+category = "main"
+optional = false
+python-versions = ">=3.5"
+
+[package.extras]
+tests = ["PyHamcrest (>=2.0.2)", "mypy", "pytest (>=4.6)", "pytest-benchmark", "pytest-cov", "pytest-flake8"]
[[package]]
name = "bech32"
@@ -64,6 +87,29 @@ category = "main"
optional = false
python-versions = "*"
+[[package]]
+name = "black"
+version = "22.8.0"
+description = "The uncompromising code formatter."
+category = "dev"
+optional = false
+python-versions = ">=3.6.2"
+
+[package.dependencies]
+click = ">=8.0.0"
+mypy-extensions = ">=0.4.3"
+pathspec = ">=0.9.0"
+platformdirs = ">=2"
+tomli = {version = ">=1.1.0", markers = "python_full_version < \"3.11.0a7\""}
+typed-ast = {version = ">=1.4.2", markers = "python_version < \"3.8\" and implementation_name == \"cpython\""}
+typing-extensions = {version = ">=3.10.0.0", markers = "python_version < \"3.10\""}
+
+[package.extras]
+colorama = ["colorama (>=0.4.3)"]
+d = ["aiohttp (>=3.7.4)"]
+jupyter = ["ipython (>=7.8.0)", "tokenize-rt (>=3.2.0)"]
+uvloop = ["uvloop (>=0.15.2)"]
+
[[package]]
name = "cerberus"
version = "1.3.4"
@@ -112,6 +158,19 @@ python-versions = ">=3.6"
[package.dependencies]
colorama = {version = "*", markers = "platform_system == \"Windows\""}
+importlib-metadata = {version = "*", markers = "python_version < \"3.8\""}
+
+[[package]]
+name = "coincurve"
+version = "17.0.0"
+description = "Cross-platform Python CFFI bindings for libsecp256k1"
+category = "main"
+optional = false
+python-versions = ">=3.7"
+
+[package.dependencies]
+asn1crypto = "*"
+cffi = ">=1.3.0"
[[package]]
name = "colorama"
@@ -121,6 +180,39 @@ category = "main"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*"
+[[package]]
+name = "coverage"
+version = "6.4.4"
+description = "Code coverage measurement for Python"
+category = "dev"
+optional = false
+python-versions = ">=3.7"
+
+[package.dependencies]
+tomli = {version = "*", optional = true, markers = "python_full_version <= \"3.11.0a6\" and extra == \"toml\""}
+
+[package.extras]
+toml = ["tomli"]
+
+[[package]]
+name = "cryptography"
+version = "36.0.2"
+description = "cryptography is a package which provides cryptographic recipes and primitives to Python developers."
+category = "main"
+optional = false
+python-versions = ">=3.6"
+
+[package.dependencies]
+cffi = ">=1.12"
+
+[package.extras]
+docs = ["sphinx (>=1.6.5,!=1.8.0,!=3.1.0,!=3.1.1)", "sphinx-rtd-theme"]
+docstest = ["pyenchant (>=1.6.11)", "sphinxcontrib-spelling (>=4.0.1)", "twine (>=1.12.0)"]
+pep8test = ["black", "flake8", "flake8-import-order", "pep8-naming"]
+sdist = ["setuptools_rust (>=0.11.4)"]
+ssh = ["bcrypt (>=3.1.5)"]
+test = ["hypothesis (>=1.11.4,!=3.79.2)", "iso8601", "pretend", "pytest (>=6.2.0)", "pytest-cov", "pytest-subtests", "pytest-xdist", "pytz"]
+
[[package]]
name = "ecdsa"
version = "0.17.0"
@@ -144,6 +236,14 @@ category = "main"
optional = false
python-versions = "*"
+[[package]]
+name = "enum34"
+version = "1.1.10"
+description = "Python 3.4 Enum backported to 3.3, 3.2, 3.1, 2.7, 2.6, 2.5, and 2.4"
+category = "main"
+optional = false
+python-versions = "*"
+
[[package]]
name = "environs"
version = "9.3.3"
@@ -157,10 +257,10 @@ marshmallow = ">=3.0.0"
python-dotenv = "*"
[package.extras]
-dev = ["pytest", "dj-database-url", "dj-email-url", "django-cache-url", "flake8 (==3.9.2)", "flake8-bugbear (==21.4.3)", "mypy (==0.910)", "pre-commit (>=2.4,<3.0)", "tox"]
+dev = ["dj-database-url", "dj-email-url", "django-cache-url", "flake8 (==3.9.2)", "flake8-bugbear (==21.4.3)", "mypy (==0.910)", "pre-commit (>=2.4,<3.0)", "pytest", "tox"]
django = ["dj-database-url", "dj-email-url", "django-cache-url"]
lint = ["flake8 (==3.9.2)", "flake8-bugbear (==21.4.3)", "mypy (==0.910)", "pre-commit (>=2.4,<3.0)"]
-tests = ["pytest", "dj-database-url", "dj-email-url", "django-cache-url"]
+tests = ["dj-database-url", "dj-email-url", "django-cache-url", "pytest"]
[[package]]
name = "fastapi"
@@ -175,10 +275,24 @@ pydantic = ">=1.6.2,<1.7 || >1.7,<1.7.1 || >1.7.1,<1.7.2 || >1.7.2,<1.7.3 || >1.
starlette = "0.19.1"
[package.extras]
-all = ["requests (>=2.24.0,<3.0.0)", "jinja2 (>=2.11.2,<4.0.0)", "python-multipart (>=0.0.5,<0.0.6)", "itsdangerous (>=1.1.0,<3.0.0)", "pyyaml (>=5.3.1,<7.0.0)", "ujson (>=4.0.1,!=4.0.2,!=4.1.0,!=4.2.0,!=4.3.0,!=5.0.0,!=5.1.0,<6.0.0)", "orjson (>=3.2.1,<4.0.0)", "email_validator (>=1.1.1,<2.0.0)", "uvicorn[standard] (>=0.12.0,<0.18.0)"]
-dev = ["python-jose[cryptography] (>=3.3.0,<4.0.0)", "passlib[bcrypt] (>=1.7.2,<2.0.0)", "autoflake (>=1.4.0,<2.0.0)", "flake8 (>=3.8.3,<4.0.0)", "uvicorn[standard] (>=0.12.0,<0.18.0)", "pre-commit (>=2.17.0,<3.0.0)"]
-doc = ["mkdocs (>=1.1.2,<2.0.0)", "mkdocs-material (>=8.1.4,<9.0.0)", "mdx-include (>=1.4.1,<2.0.0)", "mkdocs-markdownextradata-plugin (>=0.1.7,<0.3.0)", "typer (>=0.4.1,<0.5.0)", "pyyaml (>=5.3.1,<7.0.0)"]
-test = ["pytest (>=6.2.4,<7.0.0)", "pytest-cov (>=2.12.0,<4.0.0)", "mypy (==0.910)", "flake8 (>=3.8.3,<4.0.0)", "black (==22.3.0)", "isort (>=5.0.6,<6.0.0)", "requests (>=2.24.0,<3.0.0)", "httpx (>=0.14.0,<0.19.0)", "email_validator (>=1.1.1,<2.0.0)", "sqlalchemy (>=1.3.18,<1.5.0)", "peewee (>=3.13.3,<4.0.0)", "databases[sqlite] (>=0.3.2,<0.6.0)", "orjson (>=3.2.1,<4.0.0)", "ujson (>=4.0.1,!=4.0.2,!=4.1.0,!=4.2.0,!=4.3.0,!=5.0.0,!=5.1.0,<6.0.0)", "python-multipart (>=0.0.5,<0.0.6)", "flask (>=1.1.2,<3.0.0)", "anyio[trio] (>=3.2.1,<4.0.0)", "types-ujson (==4.2.1)", "types-orjson (==3.6.2)", "types-dataclasses (==0.6.5)"]
+all = ["email_validator (>=1.1.1,<2.0.0)", "itsdangerous (>=1.1.0,<3.0.0)", "jinja2 (>=2.11.2,<4.0.0)", "orjson (>=3.2.1,<4.0.0)", "python-multipart (>=0.0.5,<0.0.6)", "pyyaml (>=5.3.1,<7.0.0)", "requests (>=2.24.0,<3.0.0)", "ujson (>=4.0.1,!=4.0.2,!=4.1.0,!=4.2.0,!=4.3.0,!=5.0.0,!=5.1.0,<6.0.0)", "uvicorn[standard] (>=0.12.0,<0.18.0)"]
+dev = ["autoflake (>=1.4.0,<2.0.0)", "flake8 (>=3.8.3,<4.0.0)", "passlib[bcrypt] (>=1.7.2,<2.0.0)", "pre-commit (>=2.17.0,<3.0.0)", "python-jose[cryptography] (>=3.3.0,<4.0.0)", "uvicorn[standard] (>=0.12.0,<0.18.0)"]
+doc = ["mdx-include (>=1.4.1,<2.0.0)", "mkdocs (>=1.1.2,<2.0.0)", "mkdocs-markdownextradata-plugin (>=0.1.7,<0.3.0)", "mkdocs-material (>=8.1.4,<9.0.0)", "pyyaml (>=5.3.1,<7.0.0)", "typer (>=0.4.1,<0.5.0)"]
+test = ["anyio[trio] (>=3.2.1,<4.0.0)", "black (==22.3.0)", "databases[sqlite] (>=0.3.2,<0.6.0)", "email_validator (>=1.1.1,<2.0.0)", "flake8 (>=3.8.3,<4.0.0)", "flask (>=1.1.2,<3.0.0)", "httpx (>=0.14.0,<0.19.0)", "isort (>=5.0.6,<6.0.0)", "mypy (==0.910)", "orjson (>=3.2.1,<4.0.0)", "peewee (>=3.13.3,<4.0.0)", "pytest (>=6.2.4,<7.0.0)", "pytest-cov (>=2.12.0,<4.0.0)", "python-multipart (>=0.0.5,<0.0.6)", "requests (>=2.24.0,<3.0.0)", "sqlalchemy (>=1.3.18,<1.5.0)", "types-dataclasses (==0.6.5)", "types-orjson (==3.6.2)", "types-ujson (==4.2.1)", "ujson (>=4.0.1,!=4.0.2,!=4.1.0,!=4.2.0,!=4.3.0,!=5.0.0,!=5.1.0,<6.0.0)"]
+
+[[package]]
+name = "grpcio"
+version = "1.49.1"
+description = "HTTP/2-based RPC framework"
+category = "main"
+optional = false
+python-versions = ">=3.7"
+
+[package.dependencies]
+six = ">=1.5.2"
+
+[package.extras]
+protobuf = ["grpcio-tools (>=1.49.1)"]
[[package]]
name = "h11"
@@ -190,49 +304,52 @@ python-versions = ">=3.6"
[[package]]
name = "httpcore"
-version = "0.13.7"
+version = "0.15.0"
description = "A minimal low-level HTTP client."
category = "main"
optional = false
-python-versions = ">=3.6"
+python-versions = ">=3.7"
[package.dependencies]
anyio = ">=3.0.0,<4.0.0"
+certifi = "*"
h11 = ">=0.11,<0.13"
sniffio = ">=1.0.0,<2.0.0"
[package.extras]
http2 = ["h2 (>=3,<5)"]
+socks = ["socksio (>=1.0.0,<2.0.0)"]
[[package]]
name = "httptools"
-version = "0.2.0"
+version = "0.4.0"
description = "A collection of framework independent HTTP protocol utils."
category = "main"
optional = false
-python-versions = "*"
+python-versions = ">=3.5.0"
[package.extras]
-test = ["Cython (==0.29.22)"]
+test = ["Cython (>=0.29.24,<0.30.0)"]
[[package]]
name = "httpx"
-version = "0.19.0"
+version = "0.23.0"
description = "The next generation HTTP client."
category = "main"
optional = false
-python-versions = ">=3.6"
+python-versions = ">=3.7"
[package.dependencies]
certifi = "*"
-charset-normalizer = "*"
-httpcore = ">=0.13.3,<0.14.0"
+httpcore = ">=0.15.0,<0.16.0"
rfc3986 = {version = ">=1.3,<2", extras = ["idna2008"]}
sniffio = "*"
[package.extras]
-brotli = ["brotlicffi", "brotli"]
+brotli = ["brotli", "brotlicffi"]
+cli = ["click (>=8.0.0,<9.0.0)", "pygments (>=2.0.0,<3.0.0)", "rich (>=10,<13)"]
http2 = ["h2 (>=3,<5)"]
+socks = ["socksio (>=1.0.0,<2.0.0)"]
[[package]]
name = "idna"
@@ -251,12 +368,35 @@ optional = false
python-versions = ">=3.6"
[package.dependencies]
+typing-extensions = {version = ">=3.6.4", markers = "python_version < \"3.8\""}
zipp = ">=0.5"
[package.extras]
-docs = ["sphinx", "jaraco.packaging (>=8.2)", "rst.linker (>=1.9)"]
+docs = ["jaraco.packaging (>=8.2)", "rst.linker (>=1.9)", "sphinx"]
perf = ["ipython"]
-testing = ["pytest (>=4.6)", "pytest-checkdocs (>=2.4)", "pytest-flake8", "pytest-cov", "pytest-enabler (>=1.0.1)", "packaging", "pep517", "pyfakefs", "flufl.flake8", "pytest-perf (>=0.9.2)", "pytest-black (>=0.3.7)", "pytest-mypy", "importlib-resources (>=1.3)"]
+testing = ["flufl.flake8", "importlib-resources (>=1.3)", "packaging", "pep517", "pyfakefs", "pytest (>=4.6)", "pytest-black (>=0.3.7)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=1.0.1)", "pytest-flake8", "pytest-mypy", "pytest-perf (>=0.9.2)"]
+
+[[package]]
+name = "iniconfig"
+version = "1.1.1"
+description = "iniconfig: brain-dead simple config-ini parsing"
+category = "dev"
+optional = false
+python-versions = "*"
+
+[[package]]
+name = "isort"
+version = "5.10.1"
+description = "A Python utility / library to sort Python imports."
+category = "dev"
+optional = false
+python-versions = ">=3.6.1,<4.0"
+
+[package.extras]
+colors = ["colorama (>=0.4.3,<0.5.0)"]
+pipfile_deprecated_finder = ["pipreqs", "requirementslib"]
+plugins = ["setuptools"]
+requirements_deprecated_finder = ["pip-api", "pipreqs"]
[[package]]
name = "jinja2"
@@ -283,6 +423,7 @@ python-versions = ">=3.6"
[package.dependencies]
bech32 = "*"
pydantic = "*"
+typing-extensions = {version = "*", markers = "python_version < \"3.8\""}
[[package]]
name = "loguru"
@@ -297,7 +438,7 @@ colorama = {version = ">=0.3.4", markers = "sys_platform == \"win32\""}
win32-setctime = {version = ">=1.0.0", markers = "sys_platform == \"win32\""}
[package.extras]
-dev = ["codecov (>=2.0.15)", "colorama (>=0.3.4)", "flake8 (>=3.7.7)", "tox (>=3.9.0)", "tox-travis (>=0.12)", "pytest (>=4.6.2)", "pytest-cov (>=2.7.1)", "Sphinx (>=2.2.1)", "sphinx-autobuild (>=0.7.1)", "sphinx-rtd-theme (>=0.4.3)", "black (>=19.10b0)", "isort (>=5.1.1)"]
+dev = ["Sphinx (>=2.2.1)", "black (>=19.10b0)", "codecov (>=2.0.15)", "colorama (>=0.3.4)", "flake8 (>=3.7.7)", "isort (>=5.1.1)", "pytest (>=4.6.2)", "pytest-cov (>=2.7.1)", "sphinx-autobuild (>=0.7.1)", "sphinx-rtd-theme (>=0.4.3)", "tox (>=3.9.0)", "tox-travis (>=0.12)"]
[[package]]
name = "markupsafe"
@@ -309,18 +450,61 @@ python-versions = ">=3.6"
[[package]]
name = "marshmallow"
-version = "3.13.0"
+version = "3.17.0"
description = "A lightweight library for converting complex datatypes to and from native Python datatypes."
category = "main"
optional = false
-python-versions = ">=3.5"
+python-versions = ">=3.7"
+
+[package.dependencies]
+packaging = ">=17.0"
[package.extras]
-dev = ["pytest", "pytz", "simplejson", "mypy (==0.910)", "flake8 (==3.9.2)", "flake8-bugbear (==21.4.3)", "pre-commit (>=2.4,<3.0)", "tox"]
-docs = ["sphinx (==4.1.1)", "sphinx-issues (==1.2.0)", "alabaster (==0.7.12)", "sphinx-version-warning (==1.1.2)", "autodocsumm (==0.2.6)"]
-lint = ["mypy (==0.910)", "flake8 (==3.9.2)", "flake8-bugbear (==21.4.3)", "pre-commit (>=2.4,<3.0)"]
+dev = ["flake8 (==4.0.1)", "flake8-bugbear (==22.6.22)", "mypy (==0.961)", "pre-commit (>=2.4,<3.0)", "pytest", "pytz", "simplejson", "tox"]
+docs = ["alabaster (==0.7.12)", "autodocsumm (==0.2.8)", "sphinx (==4.5.0)", "sphinx-issues (==3.0.1)", "sphinx-version-warning (==1.1.2)"]
+lint = ["flake8 (==4.0.1)", "flake8-bugbear (==22.6.22)", "mypy (==0.961)", "pre-commit (>=2.4,<3.0)"]
tests = ["pytest", "pytz", "simplejson"]
+[[package]]
+name = "mock"
+version = "4.0.3"
+description = "Rolling backport of unittest.mock for all Pythons"
+category = "dev"
+optional = false
+python-versions = ">=3.6"
+
+[package.extras]
+build = ["blurb", "twine", "wheel"]
+docs = ["sphinx"]
+test = ["pytest (<5.4)", "pytest-cov"]
+
+[[package]]
+name = "mypy"
+version = "0.971"
+description = "Optional static typing for Python"
+category = "dev"
+optional = false
+python-versions = ">=3.6"
+
+[package.dependencies]
+mypy-extensions = ">=0.4.3"
+tomli = {version = ">=1.1.0", markers = "python_version < \"3.11\""}
+typed-ast = {version = ">=1.4.0,<2", markers = "python_version < \"3.8\""}
+typing-extensions = ">=3.10"
+
+[package.extras]
+dmypy = ["psutil (>=4.0)"]
+python2 = ["typed-ast (>=1.4.0,<2)"]
+reports = ["lxml"]
+
+[[package]]
+name = "mypy-extensions"
+version = "0.4.3"
+description = "Experimental type system extensions for programs checked with the mypy typechecker."
+category = "dev"
+optional = false
+python-versions = "*"
+
[[package]]
name = "outcome"
version = "1.1.0"
@@ -332,6 +516,71 @@ python-versions = ">=3.6"
[package.dependencies]
attrs = ">=19.2.0"
+[[package]]
+name = "packaging"
+version = "21.3"
+description = "Core utilities for Python packages"
+category = "main"
+optional = false
+python-versions = ">=3.6"
+
+[package.dependencies]
+pyparsing = ">=2.0.2,<3.0.5 || >3.0.5"
+
+[[package]]
+name = "pathlib2"
+version = "2.3.7.post1"
+description = "Object-oriented filesystem paths"
+category = "main"
+optional = false
+python-versions = "*"
+
+[package.dependencies]
+six = "*"
+
+[[package]]
+name = "pathspec"
+version = "0.10.1"
+description = "Utility library for gitignore style pattern matching of file paths."
+category = "dev"
+optional = false
+python-versions = ">=3.7"
+
+[[package]]
+name = "platformdirs"
+version = "2.5.2"
+description = "A small Python module for determining appropriate platform-specific dirs, e.g. a \"user data dir\"."
+category = "dev"
+optional = false
+python-versions = ">=3.7"
+
+[package.extras]
+docs = ["furo (>=2021.7.5b38)", "proselint (>=0.10.2)", "sphinx (>=4)", "sphinx-autodoc-typehints (>=1.12)"]
+test = ["appdirs (==1.4.4)", "pytest (>=6)", "pytest-cov (>=2.7)", "pytest-mock (>=3.6)"]
+
+[[package]]
+name = "pluggy"
+version = "1.0.0"
+description = "plugin and hook calling mechanisms for python"
+category = "dev"
+optional = false
+python-versions = ">=3.6"
+
+[package.dependencies]
+importlib-metadata = {version = ">=0.12", markers = "python_version < \"3.8\""}
+
+[package.extras]
+dev = ["pre-commit", "tox"]
+testing = ["pytest", "pytest-benchmark"]
+
+[[package]]
+name = "protobuf"
+version = "4.21.6"
+description = ""
+category = "main"
+optional = false
+python-versions = ">=3.7"
+
[[package]]
name = "psycopg2-binary"
version = "2.9.1"
@@ -340,6 +589,14 @@ category = "main"
optional = false
python-versions = ">=3.6"
+[[package]]
+name = "py"
+version = "1.11.0"
+description = "library with cross-python path, ini-parsing, io, code, log facilities"
+category = "dev"
+optional = false
+python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*"
+
[[package]]
name = "pycparser"
version = "2.21"
@@ -371,6 +628,52 @@ typing-extensions = ">=3.7.4.3"
dotenv = ["python-dotenv (>=0.10.4)"]
email = ["email-validator (>=1.0.3)"]
+[[package]]
+name = "pyln-bolt7"
+version = "1.0.246"
+description = "BOLT7"
+category = "main"
+optional = false
+python-versions = ">=3.7,<4.0"
+
+[[package]]
+name = "pyln-client"
+version = "0.12.0.post1"
+description = "Client library and plugin library for Core Lightning"
+category = "main"
+optional = false
+python-versions = ">=3.7,<4.0"
+
+[package.dependencies]
+pyln-bolt7 = ">=1.0,<2.0"
+pyln-proto = ">=0.11,<0.12"
+
+[[package]]
+name = "pyln-proto"
+version = "0.11.1"
+description = "This package implements some of the Lightning Network protocol in pure python. It is intended for protocol testing and some minor tooling only. It is not deemed secure enough to handle any amount of real funds (you have been warned!)."
+category = "main"
+optional = false
+python-versions = ">=3.7,<4.0"
+
+[package.dependencies]
+base58 = ">=2.1.1,<3.0.0"
+bitstring = ">=3.1.9,<4.0.0"
+coincurve = ">=17.0.0,<18.0.0"
+cryptography = ">=36.0.1,<37.0.0"
+PySocks = ">=1.7.1,<2.0.0"
+
+[[package]]
+name = "pyparsing"
+version = "3.0.9"
+description = "pyparsing module - Classes and methods to define and execute parsing grammars"
+category = "main"
+optional = false
+python-versions = ">=3.6.8"
+
+[package.extras]
+diagrams = ["jinja2", "railroad-diagrams"]
+
[[package]]
name = "pypng"
version = "0.0.21"
@@ -392,15 +695,76 @@ PNG = ["pypng (>=0.0.13)"]
[[package]]
name = "pyscss"
-version = "1.3.7"
+version = "1.4.0"
description = "pyScss, a Scss compiler for Python"
category = "main"
optional = false
python-versions = "*"
[package.dependencies]
+enum34 = "*"
+pathlib2 = "*"
six = "*"
+[[package]]
+name = "pysocks"
+version = "1.7.1"
+description = "A Python SOCKS client module. See https://github.com/Anorov/PySocks for more information."
+category = "main"
+optional = false
+python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
+
+[[package]]
+name = "pytest"
+version = "7.1.3"
+description = "pytest: simple powerful testing with Python"
+category = "dev"
+optional = false
+python-versions = ">=3.7"
+
+[package.dependencies]
+attrs = ">=19.2.0"
+colorama = {version = "*", markers = "sys_platform == \"win32\""}
+importlib-metadata = {version = ">=0.12", markers = "python_version < \"3.8\""}
+iniconfig = "*"
+packaging = "*"
+pluggy = ">=0.12,<2.0"
+py = ">=1.8.2"
+tomli = ">=1.0.0"
+
+[package.extras]
+testing = ["argcomplete", "hypothesis (>=3.56)", "mock", "nose", "pygments (>=2.7.2)", "requests", "xmlschema"]
+
+[[package]]
+name = "pytest-asyncio"
+version = "0.19.0"
+description = "Pytest support for asyncio"
+category = "dev"
+optional = false
+python-versions = ">=3.7"
+
+[package.dependencies]
+pytest = ">=6.1.0"
+typing-extensions = {version = ">=3.7.2", markers = "python_version < \"3.8\""}
+
+[package.extras]
+testing = ["coverage (>=6.2)", "flaky (>=3.5.0)", "hypothesis (>=5.7.1)", "mypy (>=0.931)", "pytest-trio (>=0.7.0)"]
+
+[[package]]
+name = "pytest-cov"
+version = "3.0.0"
+description = "Pytest plugin for measuring coverage."
+category = "dev"
+optional = false
+python-versions = ">=3.6"
+
+[package.dependencies]
+coverage = {version = ">=5.2.1", extras = ["toml"]}
+pytest = ">=4.6"
+
+[package.extras]
+testing = ["fields", "hunter", "process-tests", "pytest-xdist", "six", "virtualenv"]
+
[[package]]
name = "python-dotenv"
version = "0.19.0"
@@ -432,7 +796,7 @@ python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
six = ">=1.8.0"
[package.extras]
-test = ["ipython", "pytest (>=3.0.5)", "mock"]
+test = ["ipython", "mock", "pytest (>=3.0.5)"]
[[package]]
name = "rfc3986"
@@ -501,11 +865,11 @@ postgresql = ["psycopg2"]
postgresql_pg8000 = ["pg8000 (<1.16.6)"]
postgresql_psycopg2binary = ["psycopg2-binary"]
postgresql_psycopg2cffi = ["psycopg2cffi"]
-pymysql = ["pymysql (<1)", "pymysql"]
+pymysql = ["pymysql", "pymysql (<1)"]
[[package]]
name = "sqlalchemy-aio"
-version = "0.16.0"
+version = "0.17.0"
description = "Async support for SQLAlchemy."
category = "main"
optional = false
@@ -514,7 +878,7 @@ python-versions = ">=3.6"
[package.dependencies]
outcome = "*"
represent = ">=1.4"
-sqlalchemy = "*"
+sqlalchemy = "<1.4"
[package.extras]
test = ["pytest (>=5.4)", "pytest-asyncio (>=0.14)", "pytest-trio (>=0.6)"]
@@ -544,6 +908,30 @@ typing-extensions = {version = ">=3.10.0", markers = "python_version < \"3.10\""
[package.extras]
full = ["itsdangerous", "jinja2", "python-multipart", "pyyaml", "requests"]
+[[package]]
+name = "tomli"
+version = "2.0.1"
+description = "A lil' TOML parser"
+category = "dev"
+optional = false
+python-versions = ">=3.7"
+
+[[package]]
+name = "typed-ast"
+version = "1.5.4"
+description = "a fork of Python 2 and 3 ast modules with type comment support"
+category = "dev"
+optional = false
+python-versions = ">=3.6"
+
+[[package]]
+name = "types-protobuf"
+version = "3.20.4"
+description = "Typing stubs for protobuf"
+category = "dev"
+optional = false
+python-versions = "*"
+
[[package]]
name = "typing-extensions"
version = "3.10.0.2"
@@ -563,9 +951,10 @@ python-versions = ">=3.7"
[package.dependencies]
click = ">=7.0"
h11 = ">=0.8"
+typing-extensions = {version = "*", markers = "python_version < \"3.8\""}
[package.extras]
-standard = ["websockets (>=10.0)", "httptools (>=0.4.0)", "watchfiles (>=0.13)", "python-dotenv (>=0.13)", "PyYAML (>=5.1)", "uvloop (>=0.14.0,!=0.15.0,!=0.15.1)", "colorama (>=0.4)"]
+standard = ["PyYAML (>=5.1)", "colorama (>=0.4)", "httptools (>=0.4.0)", "python-dotenv (>=0.13)", "uvloop (>=0.14.0,!=0.15.0,!=0.15.1)", "watchfiles (>=0.13)", "websockets (>=10.0)"]
[[package]]
name = "uvloop"
@@ -576,9 +965,9 @@ optional = false
python-versions = ">=3.7"
[package.extras]
-dev = ["Cython (>=0.29.24,<0.30.0)", "pytest (>=3.6.0)", "Sphinx (>=4.1.2,<4.2.0)", "sphinxcontrib-asyncio (>=0.3.0,<0.4.0)", "sphinx-rtd-theme (>=0.5.2,<0.6.0)", "aiohttp", "flake8 (>=3.9.2,<3.10.0)", "psutil", "pycodestyle (>=2.7.0,<2.8.0)", "pyOpenSSL (>=19.0.0,<19.1.0)", "mypy (>=0.800)"]
-docs = ["Sphinx (>=4.1.2,<4.2.0)", "sphinxcontrib-asyncio (>=0.3.0,<0.4.0)", "sphinx-rtd-theme (>=0.5.2,<0.6.0)"]
-test = ["aiohttp", "flake8 (>=3.9.2,<3.10.0)", "psutil", "pycodestyle (>=2.7.0,<2.8.0)", "pyOpenSSL (>=19.0.0,<19.1.0)", "mypy (>=0.800)"]
+dev = ["Cython (>=0.29.24,<0.30.0)", "Sphinx (>=4.1.2,<4.2.0)", "aiohttp", "flake8 (>=3.9.2,<3.10.0)", "mypy (>=0.800)", "psutil", "pyOpenSSL (>=19.0.0,<19.1.0)", "pycodestyle (>=2.7.0,<2.8.0)", "pytest (>=3.6.0)", "sphinx-rtd-theme (>=0.5.2,<0.6.0)", "sphinxcontrib-asyncio (>=0.3.0,<0.4.0)"]
+docs = ["Sphinx (>=4.1.2,<4.2.0)", "sphinx-rtd-theme (>=0.5.2,<0.6.0)", "sphinxcontrib-asyncio (>=0.3.0,<0.4.0)"]
+test = ["aiohttp", "flake8 (>=3.9.2,<3.10.0)", "mypy (>=0.800)", "psutil", "pyOpenSSL (>=19.0.0,<19.1.0)", "pycodestyle (>=2.7.0,<2.8.0)"]
[[package]]
name = "watchgod"
@@ -588,6 +977,19 @@ category = "main"
optional = false
python-versions = ">=3.5"
+[[package]]
+name = "websocket-client"
+version = "1.3.3"
+description = "WebSocket client for Python with low level API options"
+category = "main"
+optional = false
+python-versions = ">=3.7"
+
+[package.extras]
+docs = ["Sphinx (>=3.4)", "sphinx-rtd-theme (>=0.5)"]
+optional = ["python-socks", "wsaccel"]
+test = ["websockets"]
+
[[package]]
name = "websockets"
version = "10.0"
@@ -605,7 +1007,7 @@ optional = false
python-versions = ">=3.5"
[package.extras]
-dev = ["pytest (>=4.6.2)", "black (>=19.3b0)"]
+dev = ["black (>=19.3b0)", "pytest (>=4.6.2)"]
[[package]]
name = "zipp"
@@ -616,18 +1018,18 @@ optional = false
python-versions = ">=3.6"
[package.extras]
-docs = ["sphinx", "jaraco.packaging (>=8.2)", "rst.linker (>=1.9)"]
-testing = ["pytest (>=4.6)", "pytest-checkdocs (>=2.4)", "pytest-flake8", "pytest-cov", "pytest-enabler (>=1.0.1)", "jaraco.itertools", "func-timeout", "pytest-black (>=0.3.7)", "pytest-mypy"]
+docs = ["jaraco.packaging (>=8.2)", "rst.linker (>=1.9)", "sphinx"]
+testing = ["func-timeout", "jaraco.itertools", "pytest (>=4.6)", "pytest-black (>=0.3.7)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=1.0.1)", "pytest-flake8", "pytest-mypy"]
[metadata]
lock-version = "1.1"
-python-versions = "^3.9"
-content-hash = "921a5f4fe1a4d1a4c3b490f8631ed4bdd0d8af1f1992f1a4f74eaed986c4eb0b"
+python-versions = "^3.10 | ^3.9 | ^3.8 | ^3.7"
+content-hash = "d0556d4a307864ba04a1e5da517884e523396c98a00ae09d9192c37b1d2c555b"
[metadata.files]
aiofiles = [
- {file = "aiofiles-0.7.0-py3-none-any.whl", hash = "sha256:c67a6823b5f23fcab0a2595a289cec7d8c863ffcb4322fb8cd6b90400aedfdbc"},
- {file = "aiofiles-0.7.0.tar.gz", hash = "sha256:a1c4fc9b2ff81568c83e21392a82f344ea9d23da906e4f6a52662764545e19d4"},
+ {file = "aiofiles-0.8.0-py3-none-any.whl", hash = "sha256:7a973fc22b29e9962d0897805ace5856e6a566ab1f0c8e5c91ff6c866519c937"},
+ {file = "aiofiles-0.8.0.tar.gz", hash = "sha256:8334f23235248a3b2e83b2c3a78a22674f39969b96397126cc93664d9a901e59"},
]
anyio = [
{file = "anyio-3.6.1-py3-none-any.whl", hash = "sha256:cb29b9c70620506a9a8f87a309591713446953302d7d995344d0d7c6c0c9a7be"},
@@ -637,10 +1039,18 @@ asgiref = [
{file = "asgiref-3.4.1-py3-none-any.whl", hash = "sha256:ffc141aa908e6f175673e7b1b3b7af4fdb0ecb738fc5c8b88f69f055c2415214"},
{file = "asgiref-3.4.1.tar.gz", hash = "sha256:4ef1ab46b484e3c706329cedeff284a5d40824200638503f5768edb6de7d58e9"},
]
+asn1crypto = [
+ {file = "asn1crypto-1.5.1-py2.py3-none-any.whl", hash = "sha256:db4e40728b728508912cbb3d44f19ce188f218e9eba635821bb4b68564f8fd67"},
+ {file = "asn1crypto-1.5.1.tar.gz", hash = "sha256:13ae38502be632115abf8a24cbe5f4da52e3b5231990aff31123c805306ccb9c"},
+]
attrs = [
{file = "attrs-21.2.0-py2.py3-none-any.whl", hash = "sha256:149e90d6d8ac20db7a955ad60cf0e6881a3f20d37096140088356da6c716b0b1"},
{file = "attrs-21.2.0.tar.gz", hash = "sha256:ef6aaac3ca6cd92904cdd0d83f629a15f18053ec84e6432106f7a4d04ae4f5fb"},
]
+base58 = [
+ {file = "base58-2.1.1-py3-none-any.whl", hash = "sha256:11a36f4d3ce51dfc1043f3218591ac4eb1ceb172919cebe05b52a5bcc8d245c2"},
+ {file = "base58-2.1.1.tar.gz", hash = "sha256:c5d0cb3f5b6e81e8e35da5754388ddcc6d0d14b6c6a132cb93d69ed580a7278c"},
+]
bech32 = [
{file = "bech32-1.2.0-py3-none-any.whl", hash = "sha256:990dc8e5a5e4feabbdf55207b5315fdd9b73db40be294a19b3752cde9e79d981"},
{file = "bech32-1.2.0.tar.gz", hash = "sha256:7d6db8214603bd7871fcfa6c0826ef68b85b0abd90fa21c285a9c5e21d2bd899"},
@@ -650,6 +1060,31 @@ bitstring = [
{file = "bitstring-3.1.9-py3-none-any.whl", hash = "sha256:0de167daa6a00c9386255a7cac931b45e6e24e0ad7ea64f1f92a64ac23ad4578"},
{file = "bitstring-3.1.9.tar.gz", hash = "sha256:a5848a3f63111785224dca8bb4c0a75b62ecdef56a042c8d6be74b16f7e860e7"},
]
+black = [
+ {file = "black-22.8.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:ce957f1d6b78a8a231b18e0dd2d94a33d2ba738cd88a7fe64f53f659eea49fdd"},
+ {file = "black-22.8.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:5107ea36b2b61917956d018bd25129baf9ad1125e39324a9b18248d362156a27"},
+ {file = "black-22.8.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:e8166b7bfe5dcb56d325385bd1d1e0f635f24aae14b3ae437102dedc0c186747"},
+ {file = "black-22.8.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:dd82842bb272297503cbec1a2600b6bfb338dae017186f8f215c8958f8acf869"},
+ {file = "black-22.8.0-cp310-cp310-win_amd64.whl", hash = "sha256:d839150f61d09e7217f52917259831fe2b689f5c8e5e32611736351b89bb2a90"},
+ {file = "black-22.8.0-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:a05da0430bd5ced89176db098567973be52ce175a55677436a271102d7eaa3fe"},
+ {file = "black-22.8.0-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4a098a69a02596e1f2a58a2a1c8d5a05d5a74461af552b371e82f9fa4ada8342"},
+ {file = "black-22.8.0-cp36-cp36m-win_amd64.whl", hash = "sha256:5594efbdc35426e35a7defa1ea1a1cb97c7dbd34c0e49af7fb593a36bd45edab"},
+ {file = "black-22.8.0-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:a983526af1bea1e4cf6768e649990f28ee4f4137266921c2c3cee8116ae42ec3"},
+ {file = "black-22.8.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3b2c25f8dea5e8444bdc6788a2f543e1fb01494e144480bc17f806178378005e"},
+ {file = "black-22.8.0-cp37-cp37m-win_amd64.whl", hash = "sha256:78dd85caaab7c3153054756b9fe8c611efa63d9e7aecfa33e533060cb14b6d16"},
+ {file = "black-22.8.0-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:cea1b2542d4e2c02c332e83150e41e3ca80dc0fb8de20df3c5e98e242156222c"},
+ {file = "black-22.8.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:5b879eb439094751185d1cfdca43023bc6786bd3c60372462b6f051efa6281a5"},
+ {file = "black-22.8.0-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:0a12e4e1353819af41df998b02c6742643cfef58282915f781d0e4dd7a200411"},
+ {file = "black-22.8.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c3a73f66b6d5ba7288cd5d6dad9b4c9b43f4e8a4b789a94bf5abfb878c663eb3"},
+ {file = "black-22.8.0-cp38-cp38-win_amd64.whl", hash = "sha256:e981e20ec152dfb3e77418fb616077937378b322d7b26aa1ff87717fb18b4875"},
+ {file = "black-22.8.0-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:8ce13ffed7e66dda0da3e0b2eb1bdfc83f5812f66e09aca2b0978593ed636b6c"},
+ {file = "black-22.8.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:32a4b17f644fc288c6ee2bafdf5e3b045f4eff84693ac069d87b1a347d861497"},
+ {file = "black-22.8.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:0ad827325a3a634bae88ae7747db1a395d5ee02cf05d9aa7a9bd77dfb10e940c"},
+ {file = "black-22.8.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:53198e28a1fb865e9fe97f88220da2e44df6da82b18833b588b1883b16bb5d41"},
+ {file = "black-22.8.0-cp39-cp39-win_amd64.whl", hash = "sha256:bc4d4123830a2d190e9cc42a2e43570f82ace35c3aeb26a512a2102bce5af7ec"},
+ {file = "black-22.8.0-py3-none-any.whl", hash = "sha256:d2c21d439b2baf7aa80d6dd4e3659259be64c6f49dfd0f32091063db0e006db4"},
+ {file = "black-22.8.0.tar.gz", hash = "sha256:792f7eb540ba9a17e8656538701d3eb1afcb134e3b45b71f20b25c77a8db7e6e"},
+]
cerberus = [
{file = "Cerberus-1.3.4.tar.gz", hash = "sha256:d1b21b3954b2498d9a79edf16b3170a3ac1021df88d197dc2ce5928ba519237c"},
]
@@ -717,10 +1152,120 @@ click = [
{file = "click-8.0.1-py3-none-any.whl", hash = "sha256:fba402a4a47334742d782209a7c79bc448911afe1149d07bdabdf480b3e2f4b6"},
{file = "click-8.0.1.tar.gz", hash = "sha256:8c04c11192119b1ef78ea049e0a6f0463e4c48ef00a30160c704337586f3ad7a"},
]
+coincurve = [
+ {file = "coincurve-17.0.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:ac8c87d6fd080faa74e7ecf64a6ed20c11a254863238759eb02c3f13ad12b0c4"},
+ {file = "coincurve-17.0.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:25dfa105beba24c8de886f8ed654bb1133866e4e22cfd7ea5ad8438cae6ed924"},
+ {file = "coincurve-17.0.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:698efdd53e4fe1bbebaee9b75cbc851be617974c1c60098e9145cb7198ae97fb"},
+ {file = "coincurve-17.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:30dd44d1039f1d237aaa2da6d14a455ca88df3bcb00610b41f3253fdca1be97b"},
+ {file = "coincurve-17.0.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:d154e2eb5711db8c5ef52fcd80935b5a0e751c057bc6ffb215a7bb409aedef03"},
+ {file = "coincurve-17.0.0-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:c71caffb97dd3d0c243beb62352669b1e5dafa3a4bccdbb27d36bd82f5e65d20"},
+ {file = "coincurve-17.0.0-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:747215254e51dd4dfbe6dded9235491263da5d88fe372d66541ca16b51ea078f"},
+ {file = "coincurve-17.0.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:ad2f6df39ba1e2b7b14bb984505ffa7d0a0ecdd697e8d7dbd19e04bc245c87ed"},
+ {file = "coincurve-17.0.0-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:0503326963916c85b61d16f611ea0545f03c9e418fa8007c233c815429e381e8"},
+ {file = "coincurve-17.0.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1013c1597b65684ae1c3e42497f9ef5a04527fa6136a84a16b34602606428c74"},
+ {file = "coincurve-17.0.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e4beef321fd6434448aab03a0c245f31c4e77f43b54b82108c0948d29852ac7e"},
+ {file = "coincurve-17.0.0-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:f47806527d3184da3e8b146fac92a8ed567bbd225194f4517943d8cdc85f9542"},
+ {file = "coincurve-17.0.0-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:51e56373ac79f4ec1cfc5da53d72c55f5e5ac28d848b0849ef5e687ace857888"},
+ {file = "coincurve-17.0.0-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:3d694ad194bee9e8792e2e75879dc5238d8a184010cde36c5ad518fcfe2cd8f2"},
+ {file = "coincurve-17.0.0-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:74cedb3d3a1dc5abe0c9c2396e1b82cc64496babc5b42e007e72e185cb1edad8"},
+ {file = "coincurve-17.0.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:db874c5c1dcb1f3a19379773b5e8cffc777625a7a7a60dd9a67206e31e62e2e9"},
+ {file = "coincurve-17.0.0-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:896b01941254f0a218cf331a9bddfe2d43892f7f1ba10d6e372e2eb744a744c2"},
+ {file = "coincurve-17.0.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6aec70238dbe7a5d66b5f9438ff45b08eb5e0990d49c32ebb65247c5d5b89d7a"},
+ {file = "coincurve-17.0.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d24284d17162569df917a640f19d9654ba3b43cf560ced8864f270da903f73a5"},
+ {file = "coincurve-17.0.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:4ea057f777842396d387103c606babeb3a1b4c6126769cc0a12044312fc6c465"},
+ {file = "coincurve-17.0.0-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:b88642edf7f281649b0c0b6ffade051945ccceae4b885e40445634877d0b3049"},
+ {file = "coincurve-17.0.0-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:a80a207131813b038351c5bdae8f20f5f774bbf53622081f208d040dd2b7528f"},
+ {file = "coincurve-17.0.0-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:f1ef72574aa423bc33665ef4be859164a478bad24d48442da874ef3dc39a474d"},
+ {file = "coincurve-17.0.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:dfd4fab857bcd975edc39111cb5f5c104f138dac2e9ace35ea8434d37bcea3be"},
+ {file = "coincurve-17.0.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:73f39579dd651a9fc29da5a8fc0d8153d872bcbc166f876457baced1a1c01501"},
+ {file = "coincurve-17.0.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8852dc01af4f0fe941ffd04069f7e4fecdce9b867a016f823a02286a1a1f07b5"},
+ {file = "coincurve-17.0.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b1bef812da1da202cdd601a256825abcf26d86e8634fac3ec3e615e3bb3ff08c"},
+ {file = "coincurve-17.0.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:abbefc9ccb170cb255a31df32457c2e43084b9f37589d0694dacc2dea6ddaf7c"},
+ {file = "coincurve-17.0.0-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:abbd9d017a7638dc38a3b9bb4851f8801b7818d4e5ac22e0c75e373b3c1dbff0"},
+ {file = "coincurve-17.0.0-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:e2c2e8a1f0b1f8e48049c891af4ae3cad65d115d358bde72f6b8abdbb8a23170"},
+ {file = "coincurve-17.0.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:8c571445b166c714af4f8155e38a894376c16c0431e88963f2fff474a9985d87"},
+ {file = "coincurve-17.0.0-py3-none-win32.whl", hash = "sha256:b956b0b2c85e25a7d00099970ff5d8338254b45e46f0a940f4a2379438ce0dde"},
+ {file = "coincurve-17.0.0-py3-none-win_amd64.whl", hash = "sha256:630388080da3026e0b0176cc6762eaabecba857ee3fc85767577dea063ea7c6e"},
+ {file = "coincurve-17.0.0.tar.gz", hash = "sha256:68da55aff898702952fda3ee04fd6ed60bb6b91f919c69270786ed766b548b93"},
+]
colorama = [
{file = "colorama-0.4.5-py2.py3-none-any.whl", hash = "sha256:854bf444933e37f5824ae7bfc1e98d5bce2ebe4160d46b5edf346a89358e99da"},
{file = "colorama-0.4.5.tar.gz", hash = "sha256:e6c6b4334fc50988a639d9b98aa429a0b57da6e17b9a44f0451f930b6967b7a4"},
]
+coverage = [
+ {file = "coverage-6.4.4-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:e7b4da9bafad21ea45a714d3ea6f3e1679099e420c8741c74905b92ee9bfa7cc"},
+ {file = "coverage-6.4.4-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:fde17bc42e0716c94bf19d92e4c9f5a00c5feb401f5bc01101fdf2a8b7cacf60"},
+ {file = "coverage-6.4.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:cdbb0d89923c80dbd435b9cf8bba0ff55585a3cdb28cbec65f376c041472c60d"},
+ {file = "coverage-6.4.4-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:67f9346aeebea54e845d29b487eb38ec95f2ecf3558a3cffb26ee3f0dcc3e760"},
+ {file = "coverage-6.4.4-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:42c499c14efd858b98c4e03595bf914089b98400d30789511577aa44607a1b74"},
+ {file = "coverage-6.4.4-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:c35cca192ba700979d20ac43024a82b9b32a60da2f983bec6c0f5b84aead635c"},
+ {file = "coverage-6.4.4-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:9cc4f107009bca5a81caef2fca843dbec4215c05e917a59dec0c8db5cff1d2aa"},
+ {file = "coverage-6.4.4-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:5f444627b3664b80d078c05fe6a850dd711beeb90d26731f11d492dcbadb6973"},
+ {file = "coverage-6.4.4-cp310-cp310-win32.whl", hash = "sha256:66e6df3ac4659a435677d8cd40e8eb1ac7219345d27c41145991ee9bf4b806a0"},
+ {file = "coverage-6.4.4-cp310-cp310-win_amd64.whl", hash = "sha256:35ef1f8d8a7a275aa7410d2f2c60fa6443f4a64fae9be671ec0696a68525b875"},
+ {file = "coverage-6.4.4-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:c1328d0c2f194ffda30a45f11058c02410e679456276bfa0bbe0b0ee87225fac"},
+ {file = "coverage-6.4.4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:61b993f3998ee384935ee423c3d40894e93277f12482f6e777642a0141f55782"},
+ {file = "coverage-6.4.4-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:d5dd4b8e9cd0deb60e6fcc7b0647cbc1da6c33b9e786f9c79721fd303994832f"},
+ {file = "coverage-6.4.4-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7026f5afe0d1a933685d8f2169d7c2d2e624f6255fb584ca99ccca8c0e966fd7"},
+ {file = "coverage-6.4.4-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:9c7b9b498eb0c0d48b4c2abc0e10c2d78912203f972e0e63e3c9dc21f15abdaa"},
+ {file = "coverage-6.4.4-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:ee2b2fb6eb4ace35805f434e0f6409444e1466a47f620d1d5763a22600f0f892"},
+ {file = "coverage-6.4.4-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:ab066f5ab67059d1f1000b5e1aa8bbd75b6ed1fc0014559aea41a9eb66fc2ce0"},
+ {file = "coverage-6.4.4-cp311-cp311-win32.whl", hash = "sha256:9d6e1f3185cbfd3d91ac77ea065d85d5215d3dfa45b191d14ddfcd952fa53796"},
+ {file = "coverage-6.4.4-cp311-cp311-win_amd64.whl", hash = "sha256:e3d3c4cc38b2882f9a15bafd30aec079582b819bec1b8afdbde8f7797008108a"},
+ {file = "coverage-6.4.4-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:a095aa0a996ea08b10580908e88fbaf81ecf798e923bbe64fb98d1807db3d68a"},
+ {file = "coverage-6.4.4-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ef6f44409ab02e202b31a05dd6666797f9de2aa2b4b3534e9d450e42dea5e817"},
+ {file = "coverage-6.4.4-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:4b7101938584d67e6f45f0015b60e24a95bf8dea19836b1709a80342e01b472f"},
+ {file = "coverage-6.4.4-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:14a32ec68d721c3d714d9b105c7acf8e0f8a4f4734c811eda75ff3718570b5e3"},
+ {file = "coverage-6.4.4-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:6a864733b22d3081749450466ac80698fe39c91cb6849b2ef8752fd7482011f3"},
+ {file = "coverage-6.4.4-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:08002f9251f51afdcc5e3adf5d5d66bb490ae893d9e21359b085f0e03390a820"},
+ {file = "coverage-6.4.4-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:a3b2752de32c455f2521a51bd3ffb53c5b3ae92736afde67ce83477f5c1dd928"},
+ {file = "coverage-6.4.4-cp37-cp37m-win32.whl", hash = "sha256:f855b39e4f75abd0dfbcf74a82e84ae3fc260d523fcb3532786bcbbcb158322c"},
+ {file = "coverage-6.4.4-cp37-cp37m-win_amd64.whl", hash = "sha256:ee6ae6bbcac0786807295e9687169fba80cb0617852b2fa118a99667e8e6815d"},
+ {file = "coverage-6.4.4-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:564cd0f5b5470094df06fab676c6d77547abfdcb09b6c29c8a97c41ad03b103c"},
+ {file = "coverage-6.4.4-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:cbbb0e4cd8ddcd5ef47641cfac97d8473ab6b132dd9a46bacb18872828031685"},
+ {file = "coverage-6.4.4-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6113e4df2fa73b80f77663445be6d567913fb3b82a86ceb64e44ae0e4b695de1"},
+ {file = "coverage-6.4.4-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:8d032bfc562a52318ae05047a6eb801ff31ccee172dc0d2504614e911d8fa83e"},
+ {file = "coverage-6.4.4-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e431e305a1f3126477abe9a184624a85308da8edf8486a863601d58419d26ffa"},
+ {file = "coverage-6.4.4-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:cf2afe83a53f77aec067033199797832617890e15bed42f4a1a93ea24794ae3e"},
+ {file = "coverage-6.4.4-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:783bc7c4ee524039ca13b6d9b4186a67f8e63d91342c713e88c1865a38d0892a"},
+ {file = "coverage-6.4.4-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:ff934ced84054b9018665ca3967fc48e1ac99e811f6cc99ea65978e1d384454b"},
+ {file = "coverage-6.4.4-cp38-cp38-win32.whl", hash = "sha256:e1fabd473566fce2cf18ea41171d92814e4ef1495e04471786cbc943b89a3781"},
+ {file = "coverage-6.4.4-cp38-cp38-win_amd64.whl", hash = "sha256:4179502f210ebed3ccfe2f78bf8e2d59e50b297b598b100d6c6e3341053066a2"},
+ {file = "coverage-6.4.4-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:98c0b9e9b572893cdb0a00e66cf961a238f8d870d4e1dc8e679eb8bdc2eb1b86"},
+ {file = "coverage-6.4.4-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:fc600f6ec19b273da1d85817eda339fb46ce9eef3e89f220055d8696e0a06908"},
+ {file = "coverage-6.4.4-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:7a98d6bf6d4ca5c07a600c7b4e0c5350cd483c85c736c522b786be90ea5bac4f"},
+ {file = "coverage-6.4.4-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:01778769097dbd705a24e221f42be885c544bb91251747a8a3efdec6eb4788f2"},
+ {file = "coverage-6.4.4-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:dfa0b97eb904255e2ab24166071b27408f1f69c8fbda58e9c0972804851e0558"},
+ {file = "coverage-6.4.4-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:fcbe3d9a53e013f8ab88734d7e517eb2cd06b7e689bedf22c0eb68db5e4a0a19"},
+ {file = "coverage-6.4.4-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:15e38d853ee224e92ccc9a851457fb1e1f12d7a5df5ae44544ce7863691c7a0d"},
+ {file = "coverage-6.4.4-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:6913dddee2deff8ab2512639c5168c3e80b3ebb0f818fed22048ee46f735351a"},
+ {file = "coverage-6.4.4-cp39-cp39-win32.whl", hash = "sha256:354df19fefd03b9a13132fa6643527ef7905712109d9c1c1903f2133d3a4e145"},
+ {file = "coverage-6.4.4-cp39-cp39-win_amd64.whl", hash = "sha256:1238b08f3576201ebf41f7c20bf59baa0d05da941b123c6656e42cdb668e9827"},
+ {file = "coverage-6.4.4-pp36.pp37.pp38-none-any.whl", hash = "sha256:f67cf9f406cf0d2f08a3515ce2db5b82625a7257f88aad87904674def6ddaec1"},
+ {file = "coverage-6.4.4.tar.gz", hash = "sha256:e16c45b726acb780e1e6f88b286d3c10b3914ab03438f32117c4aa52d7f30d58"},
+]
+cryptography = [
+ {file = "cryptography-36.0.2-cp36-abi3-macosx_10_10_universal2.whl", hash = "sha256:4e2dddd38a5ba733be6a025a1475a9f45e4e41139d1321f412c6b360b19070b6"},
+ {file = "cryptography-36.0.2-cp36-abi3-macosx_10_10_x86_64.whl", hash = "sha256:4881d09298cd0b669bb15b9cfe6166f16fc1277b4ed0d04a22f3d6430cb30f1d"},
+ {file = "cryptography-36.0.2-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:ea634401ca02367c1567f012317502ef3437522e2fc44a3ea1844de028fa4b84"},
+ {file = "cryptography-36.0.2-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_24_aarch64.whl", hash = "sha256:7be666cc4599b415f320839e36367b273db8501127b38316f3b9f22f17a0b815"},
+ {file = "cryptography-36.0.2-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8241cac0aae90b82d6b5c443b853723bcc66963970c67e56e71a2609dc4b5eaf"},
+ {file = "cryptography-36.0.2-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7b2d54e787a884ffc6e187262823b6feb06c338084bbe80d45166a1cb1c6c5bf"},
+ {file = "cryptography-36.0.2-cp36-abi3-manylinux_2_24_x86_64.whl", hash = "sha256:c2c5250ff0d36fd58550252f54915776940e4e866f38f3a7866d92b32a654b86"},
+ {file = "cryptography-36.0.2-cp36-abi3-musllinux_1_1_aarch64.whl", hash = "sha256:ec6597aa85ce03f3e507566b8bcdf9da2227ec86c4266bd5e6ab4d9e0cc8dab2"},
+ {file = "cryptography-36.0.2-cp36-abi3-musllinux_1_1_x86_64.whl", hash = "sha256:ca9f686517ec2c4a4ce930207f75c00bf03d94e5063cbc00a1dc42531511b7eb"},
+ {file = "cryptography-36.0.2-cp36-abi3-win32.whl", hash = "sha256:f64b232348ee82f13aac22856515ce0195837f6968aeaa94a3d0353ea2ec06a6"},
+ {file = "cryptography-36.0.2-cp36-abi3-win_amd64.whl", hash = "sha256:53e0285b49fd0ab6e604f4c5d9c5ddd98de77018542e88366923f152dbeb3c29"},
+ {file = "cryptography-36.0.2-pp37-pypy37_pp73-manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:32db5cc49c73f39aac27574522cecd0a4bb7384e71198bc65a0d23f901e89bb7"},
+ {file = "cryptography-36.0.2-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d2b3d199647468d410994dbeb8cec5816fb74feb9368aedf300af709ef507e3e"},
+ {file = "cryptography-36.0.2-pp37-pypy37_pp73-manylinux_2_24_x86_64.whl", hash = "sha256:da73d095f8590ad437cd5e9faf6628a218aa7c387e1fdf67b888b47ba56a17f0"},
+ {file = "cryptography-36.0.2-pp38-pypy38_pp73-macosx_10_10_x86_64.whl", hash = "sha256:0a3bf09bb0b7a2c93ce7b98cb107e9170a90c51a0162a20af1c61c765b90e60b"},
+ {file = "cryptography-36.0.2-pp38-pypy38_pp73-manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:8897b7b7ec077c819187a123174b645eb680c13df68354ed99f9b40a50898f77"},
+ {file = "cryptography-36.0.2-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:82740818f2f240a5da8dfb8943b360e4f24022b093207160c77cadade47d7c85"},
+ {file = "cryptography-36.0.2-pp38-pypy38_pp73-manylinux_2_24_x86_64.whl", hash = "sha256:1f64a62b3b75e4005df19d3b5235abd43fa6358d5516cfc43d87aeba8d08dd51"},
+ {file = "cryptography-36.0.2-pp38-pypy38_pp73-win_amd64.whl", hash = "sha256:e167b6b710c7f7bc54e67ef593f8731e1f45aa35f8a8a7b72d6e42ec76afd4b3"},
+ {file = "cryptography-36.0.2.tar.gz", hash = "sha256:70f8f4f7bb2ac9f340655cbac89d68c527af5bb4387522a8413e841e3e6628c9"},
+]
ecdsa = [
{file = "ecdsa-0.17.0-py2.py3-none-any.whl", hash = "sha256:5cf31d5b33743abe0dfc28999036c849a69d548f994b535e527ee3cb7f3ef676"},
{file = "ecdsa-0.17.0.tar.gz", hash = "sha256:b9f500bb439e4153d0330610f5d26baaf18d17b8ced1bc54410d189385ea68aa"},
@@ -728,6 +1273,11 @@ ecdsa = [
embit = [
{file = "embit-0.4.9.tar.gz", hash = "sha256:992332bd89af6e2d027e26fe437eb14aa33997db08c882c49064d49c3e6f4ab9"},
]
+enum34 = [
+ {file = "enum34-1.1.10-py2-none-any.whl", hash = "sha256:a98a201d6de3f2ab3db284e70a33b0f896fbf35f8086594e8c9e74b909058d53"},
+ {file = "enum34-1.1.10-py3-none-any.whl", hash = "sha256:c3858660960c984d6ab0ebad691265180da2b43f07e061c0f8dca9ef3cffd328"},
+ {file = "enum34-1.1.10.tar.gz", hash = "sha256:cce6a7477ed816bd2542d03d53db9f0db935dd013b70f336a95c73979289f248"},
+]
environs = [
{file = "environs-9.3.3-py2.py3-none-any.whl", hash = "sha256:ee5466156b50fe03aa9fec6e720feea577b5bf515d7f21b2c46608272557ba26"},
{file = "environs-9.3.3.tar.gz", hash = "sha256:72b867ff7b553076cdd90f3ee01ecc1cf854987639c9c459f0ed0d3d44ae490c"},
@@ -736,34 +1286,100 @@ fastapi = [
{file = "fastapi-0.78.0-py3-none-any.whl", hash = "sha256:15fcabd5c78c266fa7ae7d8de9b384bfc2375ee0503463a6febbe3bab69d6f65"},
{file = "fastapi-0.78.0.tar.gz", hash = "sha256:3233d4a789ba018578658e2af1a4bb5e38bdd122ff722b313666a9b2c6786a83"},
]
+grpcio = [
+ {file = "grpcio-1.49.1-cp310-cp310-linux_armv7l.whl", hash = "sha256:fd86040232e805b8e6378b2348c928490ee595b058ce9aaa27ed8e4b0f172b20"},
+ {file = "grpcio-1.49.1-cp310-cp310-macosx_10_10_x86_64.whl", hash = "sha256:6fd0c9cede9552bf00f8c5791d257d5bf3790d7057b26c59df08be5e7a1e021d"},
+ {file = "grpcio-1.49.1-cp310-cp310-manylinux_2_17_aarch64.whl", hash = "sha256:d0d402e158d4e84e49c158cb5204119d55e1baf363ee98d6cb5dce321c3a065d"},
+ {file = "grpcio-1.49.1-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:822ceec743d42a627e64ea266059a62d214c5a3cdfcd0d7fe2b7a8e4e82527c7"},
+ {file = "grpcio-1.49.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2106d9c16527f0a85e2eea6e6b91a74fc99579c60dd810d8690843ea02bc0f5f"},
+ {file = "grpcio-1.49.1-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:52dd02b7e7868233c571b49bc38ebd347c3bb1ff8907bb0cb74cb5f00c790afc"},
+ {file = "grpcio-1.49.1-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:120fecba2ec5d14b5a15d11063b39783fda8dc8d24addd83196acb6582cabd9b"},
+ {file = "grpcio-1.49.1-cp310-cp310-win32.whl", hash = "sha256:f1a3b88e3c53c1a6e6bed635ec1bbb92201bb6a1f2db186179f7f3f244829788"},
+ {file = "grpcio-1.49.1-cp310-cp310-win_amd64.whl", hash = "sha256:a7d0017b92d3850abea87c1bdec6ea41104e71c77bca44c3e17f175c6700af62"},
+ {file = "grpcio-1.49.1-cp311-cp311-linux_armv7l.whl", hash = "sha256:9fb17ff8c0d56099ac6ebfa84f670c5a62228d6b5c695cf21c02160c2ac1446b"},
+ {file = "grpcio-1.49.1-cp311-cp311-macosx_10_10_x86_64.whl", hash = "sha256:075f2d06e3db6b48a2157a1bcd52d6cbdca980dd18988fe6afdb41795d51625f"},
+ {file = "grpcio-1.49.1-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:46d93a1b4572b461a227f1db6b8d35a88952db1c47e5fadcf8b8a2f0e1dd9201"},
+ {file = "grpcio-1.49.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:dc79b2b37d779ac42341ddef40ad5bf0966a64af412c89fc2b062e3ddabb093f"},
+ {file = "grpcio-1.49.1-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:5f8b3a971c7820ea9878f3fd70086240a36aeee15d1b7e9ecbc2743b0e785568"},
+ {file = "grpcio-1.49.1-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:49b301740cf5bc8fed4fee4c877570189ae3951432d79fa8e524b09353659811"},
+ {file = "grpcio-1.49.1-cp311-cp311-win32.whl", hash = "sha256:1c66a25afc6c71d357867b341da594a5587db5849b48f4b7d5908d236bb62ede"},
+ {file = "grpcio-1.49.1-cp311-cp311-win_amd64.whl", hash = "sha256:6b6c3a95d27846f4145d6967899b3ab25fffc6ae99544415e1adcacef84842d2"},
+ {file = "grpcio-1.49.1-cp37-cp37m-linux_armv7l.whl", hash = "sha256:1cc400c8a2173d1c042997d98a9563e12d9bb3fb6ad36b7f355bc77c7663b8af"},
+ {file = "grpcio-1.49.1-cp37-cp37m-macosx_10_10_x86_64.whl", hash = "sha256:34f736bd4d0deae90015c0e383885b431444fe6b6c591dea288173df20603146"},
+ {file = "grpcio-1.49.1-cp37-cp37m-manylinux_2_17_aarch64.whl", hash = "sha256:196082b9c89ebf0961dcd77cb114bed8171964c8e3063b9da2fb33536a6938ed"},
+ {file = "grpcio-1.49.1-cp37-cp37m-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:8c9f89c42749890618cd3c2464e1fbf88446e3d2f67f1e334c8e5db2f3272bbd"},
+ {file = "grpcio-1.49.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:64419cb8a5b612cdb1550c2fd4acbb7d4fb263556cf4625f25522337e461509e"},
+ {file = "grpcio-1.49.1-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:8a5272061826e6164f96e3255405ef6f73b88fd3e8bef464c7d061af8585ac62"},
+ {file = "grpcio-1.49.1-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:ea9d0172445241ad7cb49577314e39d0af2c5267395b3561d7ced5d70458a9f3"},
+ {file = "grpcio-1.49.1-cp37-cp37m-win32.whl", hash = "sha256:2070e87d95991473244c72d96d13596c751cb35558e11f5df5414981e7ed2492"},
+ {file = "grpcio-1.49.1-cp37-cp37m-win_amd64.whl", hash = "sha256:4fcedcab49baaa9db4a2d240ac81f2d57eb0052b1c6a9501b46b8ae912720fbf"},
+ {file = "grpcio-1.49.1-cp38-cp38-linux_armv7l.whl", hash = "sha256:afbb3475cf7f4f7d380c2ca37ee826e51974f3e2665613996a91d6a58583a534"},
+ {file = "grpcio-1.49.1-cp38-cp38-macosx_10_10_x86_64.whl", hash = "sha256:a4f9ba141380abde6c3adc1727f21529137a2552002243fa87c41a07e528245c"},
+ {file = "grpcio-1.49.1-cp38-cp38-manylinux_2_17_aarch64.whl", hash = "sha256:cf0a1fb18a7204b9c44623dfbd1465b363236ce70c7a4ed30402f9f60d8b743b"},
+ {file = "grpcio-1.49.1-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:17bb6fe72784b630728c6cff9c9d10ccc3b6d04e85da6e0a7b27fb1d135fac62"},
+ {file = "grpcio-1.49.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:18305d5a082d1593b005a895c10041f833b16788e88b02bb81061f5ebcc465df"},
+ {file = "grpcio-1.49.1-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:b6a1b39e59ac5a3067794a0e498911cf2e37e4b19ee9e9977dc5e7051714f13f"},
+ {file = "grpcio-1.49.1-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:0e20d59aafc086b1cc68400463bddda6e41d3e5ed30851d1e2e0f6a2e7e342d3"},
+ {file = "grpcio-1.49.1-cp38-cp38-win32.whl", hash = "sha256:e1e83233d4680863a421f3ee4a7a9b80d33cd27ee9ed7593bc93f6128302d3f2"},
+ {file = "grpcio-1.49.1-cp38-cp38-win_amd64.whl", hash = "sha256:221d42c654d2a41fa31323216279c73ed17d92f533bc140a3390cc1bd78bf63c"},
+ {file = "grpcio-1.49.1-cp39-cp39-linux_armv7l.whl", hash = "sha256:fa9e6e61391e99708ac87fc3436f6b7b9c6b845dc4639b406e5e61901e1aacde"},
+ {file = "grpcio-1.49.1-cp39-cp39-macosx_10_10_x86_64.whl", hash = "sha256:9b449e966ef518ce9c860d21f8afe0b0f055220d95bc710301752ac1db96dd6a"},
+ {file = "grpcio-1.49.1-cp39-cp39-manylinux_2_17_aarch64.whl", hash = "sha256:aa34d2ad9f24e47fa9a3172801c676e4037d862247e39030165fe83821a7aafd"},
+ {file = "grpcio-1.49.1-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:5207f4eed1b775d264fcfe379d8541e1c43b878f2b63c0698f8f5c56c40f3d68"},
+ {file = "grpcio-1.49.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0b24a74651438d45619ac67004638856f76cc13d78b7478f2457754cbcb1c8ad"},
+ {file = "grpcio-1.49.1-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:fe763781669790dc8b9618e7e677c839c87eae6cf28b655ee1fa69ae04eea03f"},
+ {file = "grpcio-1.49.1-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:2f2ff7ba0f8f431f32d4b4bc3a3713426949d3533b08466c4ff1b2b475932ca8"},
+ {file = "grpcio-1.49.1-cp39-cp39-win32.whl", hash = "sha256:08ff74aec8ff457a89b97152d36cb811dcc1d17cd5a92a65933524e363327394"},
+ {file = "grpcio-1.49.1-cp39-cp39-win_amd64.whl", hash = "sha256:274ffbb39717918c514b35176510ae9be06e1d93121e84d50b350861dcb9a705"},
+ {file = "grpcio-1.49.1.tar.gz", hash = "sha256:d4725fc9ec8e8822906ae26bb26f5546891aa7fbc3443de970cc556d43a5c99f"},
+]
h11 = [
{file = "h11-0.12.0-py3-none-any.whl", hash = "sha256:36a3cb8c0a032f56e2da7084577878a035d3b61d104230d4bd49c0c6b555a9c6"},
{file = "h11-0.12.0.tar.gz", hash = "sha256:47222cb6067e4a307d535814917cd98fd0a57b6788ce715755fa2b6c28b56042"},
]
httpcore = [
- {file = "httpcore-0.13.7-py3-none-any.whl", hash = "sha256:369aa481b014cf046f7067fddd67d00560f2f00426e79569d99cb11245134af0"},
- {file = "httpcore-0.13.7.tar.gz", hash = "sha256:036f960468759e633574d7c121afba48af6419615d36ab8ede979f1ad6276fa3"},
+ {file = "httpcore-0.15.0-py3-none-any.whl", hash = "sha256:1105b8b73c025f23ff7c36468e4432226cbb959176eab66864b8e31c4ee27fa6"},
+ {file = "httpcore-0.15.0.tar.gz", hash = "sha256:18b68ab86a3ccf3e7dc0f43598eaddcf472b602aba29f9aa6ab85fe2ada3980b"},
]
httptools = [
- {file = "httptools-0.2.0-cp35-cp35m-macosx_10_14_x86_64.whl", hash = "sha256:79dbc21f3612a78b28384e989b21872e2e3cf3968532601544696e4ed0007ce5"},
- {file = "httptools-0.2.0-cp35-cp35m-manylinux1_x86_64.whl", hash = "sha256:78d03dd39b09c99ec917d50189e6743adbfd18c15d5944392d2eabda688bf149"},
- {file = "httptools-0.2.0-cp36-cp36m-macosx_10_14_x86_64.whl", hash = "sha256:a23166e5ae2775709cf4f7ad4c2048755ebfb272767d244e1a96d55ac775cca7"},
- {file = "httptools-0.2.0-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:3ab1f390d8867f74b3b5ee2a7ecc9b8d7f53750bd45714bf1cb72a953d7dfa77"},
- {file = "httptools-0.2.0-cp36-cp36m-win_amd64.whl", hash = "sha256:a7594f9a010cdf1e16a58b3bf26c9da39bbf663e3b8d46d39176999d71816658"},
- {file = "httptools-0.2.0-cp37-cp37m-macosx_10_14_x86_64.whl", hash = "sha256:01b392a166adcc8bc2f526a939a8aabf89fe079243e1543fd0e7dc1b58d737cb"},
- {file = "httptools-0.2.0-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:80ffa04fe8c8dfacf6e4cef8277347d35b0442c581f5814f3b0cf41b65c43c6e"},
- {file = "httptools-0.2.0-cp37-cp37m-win_amd64.whl", hash = "sha256:d5682eeb10cca0606c4a8286a3391d4c3c5a36f0c448e71b8bd05be4e1694bfb"},
- {file = "httptools-0.2.0-cp38-cp38-macosx_10_14_x86_64.whl", hash = "sha256:a289c27ccae399a70eacf32df9a44059ca2ba4ac444604b00a19a6c1f0809943"},
- {file = "httptools-0.2.0-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:813871f961edea6cb2fe312f2d9b27d12a51ba92545380126f80d0de1917ea15"},
- {file = "httptools-0.2.0-cp38-cp38-win_amd64.whl", hash = "sha256:cc9be041e428c10f8b6ab358c6b393648f9457094e1dcc11b4906026d43cd380"},
- {file = "httptools-0.2.0-cp39-cp39-macosx_10_14_x86_64.whl", hash = "sha256:b08d00d889a118f68f37f3c43e359aab24ee29eb2e3fe96d64c6a2ba8b9d6557"},
- {file = "httptools-0.2.0-cp39-cp39-manylinux1_x86_64.whl", hash = "sha256:fd3b8905e21431ad306eeaf56644a68fdd621bf8f3097eff54d0f6bdf7262065"},
- {file = "httptools-0.2.0-cp39-cp39-win_amd64.whl", hash = "sha256:200fc1cdf733a9ff554c0bb97a4047785cfaad9875307d6087001db3eb2b417f"},
- {file = "httptools-0.2.0.tar.gz", hash = "sha256:94505026be56652d7a530ab03d89474dc6021019d6b8682281977163b3471ea0"},
+ {file = "httptools-0.4.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:fcddfe70553be717d9745990dfdb194e22ee0f60eb8f48c0794e7bfeda30d2d5"},
+ {file = "httptools-0.4.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:1ee0b459257e222b878a6c09ccf233957d3a4dcb883b0847640af98d2d9aac23"},
+ {file = "httptools-0.4.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ceafd5e960b39c7e0d160a1936b68eb87c5e79b3979d66e774f0c77d4d8faaed"},
+ {file = "httptools-0.4.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:fdb9f9ed79bc6f46b021b3319184699ba1a22410a82204e6e89c774530069683"},
+ {file = "httptools-0.4.0-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:abe829275cdd4174b4c4e65ad718715d449e308d59793bf3a931ee1bf7e7b86c"},
+ {file = "httptools-0.4.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:7af6bdbd21a2a25d6784f6d67f44f5df33ef39b6159543b9f9064d365c01f919"},
+ {file = "httptools-0.4.0-cp310-cp310-win_amd64.whl", hash = "sha256:5d1fe6b6661022fd6cac541f54a4237496b246e6f1c0a6b41998ee08a1135afe"},
+ {file = "httptools-0.4.0-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:48e48530d9b995a84d1d89ae6b3ec4e59ea7d494b150ac3bbc5e2ac4acce92cd"},
+ {file = "httptools-0.4.0-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a113789e53ac1fa26edf99856a61e4c493868e125ae0dd6354cf518948fbbd5c"},
+ {file = "httptools-0.4.0-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:8e2eb957787cbb614a0f006bfc5798ff1d90ac7c4dd24854c84edbdc8c02369e"},
+ {file = "httptools-0.4.0-cp36-cp36m-musllinux_1_1_aarch64.whl", hash = "sha256:7ee9f226acab9085037582c059d66769862706e8e8cd2340470ceb8b3850873d"},
+ {file = "httptools-0.4.0-cp36-cp36m-musllinux_1_1_x86_64.whl", hash = "sha256:701e66b59dd21a32a274771238025d58db7e2b6ecebbab64ceff51b8e31527ae"},
+ {file = "httptools-0.4.0-cp36-cp36m-win_amd64.whl", hash = "sha256:6a1a7dfc1f9c78a833e2c4904757a0f47ce25d08634dd2a52af394eefe5f9777"},
+ {file = "httptools-0.4.0-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:903f739c9fb78dab8970b0f3ea51f21955b24b45afa77b22ff0e172fc11ef111"},
+ {file = "httptools-0.4.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:54bbd295f031b866b9799dd39cb45deee81aca036c9bff9f58ca06726f6494f1"},
+ {file = "httptools-0.4.0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:3194f6d6443befa8d4db16c1946b2fc428a3ceb8ab32eb6f09a59f86104dc1a0"},
+ {file = "httptools-0.4.0-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:cd1295f52971097f757edfbfce827b6dbbfb0f7a74901ee7d4933dff5ad4c9af"},
+ {file = "httptools-0.4.0-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:20a45bcf22452a10fa8d58b7dbdb474381f6946bf5b8933e3662d572bc61bae4"},
+ {file = "httptools-0.4.0-cp37-cp37m-win_amd64.whl", hash = "sha256:d1f27bb0f75bef722d6e22dc609612bfa2f994541621cd2163f8c943b6463dfe"},
+ {file = "httptools-0.4.0-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:7f7bfb74718f52d5ed47d608d507bf66d3bc01d4a8b3e6dd7134daaae129357b"},
+ {file = "httptools-0.4.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:a522d12e2ddbc2e91842ffb454a1aeb0d47607972c7d8fc88bd0838d97fb8a2a"},
+ {file = "httptools-0.4.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2db44a0b294d317199e9f80123e72c6b005c55b625b57fae36de68670090fa48"},
+ {file = "httptools-0.4.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:c286985b5e194ca0ebb2908d71464b9be8f17cc66d6d3e330e8d5407248f56ad"},
+ {file = "httptools-0.4.0-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:d3a4e165ca6204f34856b765d515d558dc84f1352033b8721e8d06c3e44930c3"},
+ {file = "httptools-0.4.0-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:72aa3fbe636b16d22e04b5a9d24711b043495e0ecfe58080addf23a1a37f3409"},
+ {file = "httptools-0.4.0-cp38-cp38-win_amd64.whl", hash = "sha256:9967d9758df505975913304c434cb9ab21e2c609ad859eb921f2f615a038c8de"},
+ {file = "httptools-0.4.0-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:f72b5d24d6730035128b238decdc4c0f2104b7056a7ca55cf047c106842ec890"},
+ {file = "httptools-0.4.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:29bf97a5c532da9c7a04de2c7a9c31d1d54f3abd65a464119b680206bbbb1055"},
+ {file = "httptools-0.4.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:98993805f1e3cdb53de4eed02b55dcc953cdf017ba7bbb2fd89226c086a6d855"},
+ {file = "httptools-0.4.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:d9b90bf58f3ba04e60321a23a8723a1ff2a9377502535e70495e5ada8e6e6722"},
+ {file = "httptools-0.4.0-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:1a99346ebcb801b213c591540837340bdf6fd060a8687518d01c607d338b7424"},
+ {file = "httptools-0.4.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:645373c070080e632480a3d251d892cb795be3d3a15f86975d0f1aca56fd230d"},
+ {file = "httptools-0.4.0-cp39-cp39-win_amd64.whl", hash = "sha256:34d2903dd2a3dd85d33705b6fde40bf91fc44411661283763fd0746723963c83"},
+ {file = "httptools-0.4.0.tar.gz", hash = "sha256:2c9a930c378b3d15d6b695fb95ebcff81a7395b4f9775c4f10a076beb0b2c1ff"},
]
httpx = [
- {file = "httpx-0.19.0-py3-none-any.whl", hash = "sha256:9bd728a6c5ec0a9e243932a9983d57d3cc4a87bb4f554e1360fce407f78f9435"},
- {file = "httpx-0.19.0.tar.gz", hash = "sha256:92ecd2c00c688b529eda11cedb15161eaf02dee9116712f621c70d9a40b2cdd0"},
+ {file = "httpx-0.23.0-py3-none-any.whl", hash = "sha256:42974f577483e1e932c3cdc3cd2303e883cbfba17fe228b0f63589764d7b9c4b"},
+ {file = "httpx-0.23.0.tar.gz", hash = "sha256:f28eac771ec9eb4866d3fb4ab65abd42d38c424739e80c08d8d20570de60b0ef"},
]
idna = [
{file = "idna-3.2-py3-none-any.whl", hash = "sha256:14475042e284991034cb48e06f6851428fb14c4dc953acd9be9a5e95c7b6dd7a"},
@@ -773,6 +1389,14 @@ importlib-metadata = [
{file = "importlib_metadata-4.8.1-py3-none-any.whl", hash = "sha256:b618b6d2d5ffa2f16add5697cf57a46c76a56229b0ed1c438322e4e95645bd15"},
{file = "importlib_metadata-4.8.1.tar.gz", hash = "sha256:f284b3e11256ad1e5d03ab86bb2ccd6f5339688ff17a4d797a0fe7df326f23b1"},
]
+iniconfig = [
+ {file = "iniconfig-1.1.1-py2.py3-none-any.whl", hash = "sha256:011e24c64b7f47f6ebd835bb12a743f2fbe9a26d4cecaa7f53bc4f35ee9da8b3"},
+ {file = "iniconfig-1.1.1.tar.gz", hash = "sha256:bc3af051d7d14b2ee5ef9969666def0cd1a000e121eaea580d4a313df4b37f32"},
+]
+isort = [
+ {file = "isort-5.10.1-py3-none-any.whl", hash = "sha256:6f62d78e2f89b4500b080fe3a81690850cd254227f27f75c3a0c491a1f351ba7"},
+ {file = "isort-5.10.1.tar.gz", hash = "sha256:e8443a5e7a020e9d7f97f1d7d9cd17c88bcb3bc7e218bf9cf5095fe550be2951"},
+]
jinja2 = [
{file = "Jinja2-3.0.1-py3-none-any.whl", hash = "sha256:1f06f2da51e7b56b8f238affdd6b4e2c61e39598a378cc49345bc1bd42a978a4"},
{file = "Jinja2-3.0.1.tar.gz", hash = "sha256:703f484b47a6af502e743c9122595cc812b0271f661722403114f71a79d0f5a4"},
@@ -857,13 +1481,82 @@ markupsafe = [
{file = "MarkupSafe-2.0.1.tar.gz", hash = "sha256:594c67807fb16238b30c44bdf74f36c02cdf22d1c8cda91ef8a0ed8dabf5620a"},
]
marshmallow = [
- {file = "marshmallow-3.13.0-py2.py3-none-any.whl", hash = "sha256:dd4724335d3c2b870b641ffe4a2f8728a1380cd2e7e2312756715ffeaa82b842"},
- {file = "marshmallow-3.13.0.tar.gz", hash = "sha256:c67929438fd73a2be92128caa0325b1b5ed8b626d91a094d2f7f2771bf1f1c0e"},
+ {file = "marshmallow-3.17.0-py3-none-any.whl", hash = "sha256:00040ab5ea0c608e8787137627a8efae97fabd60552a05dc889c888f814e75eb"},
+ {file = "marshmallow-3.17.0.tar.gz", hash = "sha256:635fb65a3285a31a30f276f30e958070f5214c7196202caa5c7ecf28f5274bc7"},
+]
+mock = [
+ {file = "mock-4.0.3-py3-none-any.whl", hash = "sha256:122fcb64ee37cfad5b3f48d7a7d51875d7031aaf3d8be7c42e2bee25044eee62"},
+ {file = "mock-4.0.3.tar.gz", hash = "sha256:7d3fbbde18228f4ff2f1f119a45cdffa458b4c0dee32eb4d2bb2f82554bac7bc"},
+]
+mypy = [
+ {file = "mypy-0.971-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:f2899a3cbd394da157194f913a931edfd4be5f274a88041c9dc2d9cdcb1c315c"},
+ {file = "mypy-0.971-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:98e02d56ebe93981c41211c05adb630d1d26c14195d04d95e49cd97dbc046dc5"},
+ {file = "mypy-0.971-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:19830b7dba7d5356d3e26e2427a2ec91c994cd92d983142cbd025ebe81d69cf3"},
+ {file = "mypy-0.971-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:02ef476f6dcb86e6f502ae39a16b93285fef97e7f1ff22932b657d1ef1f28655"},
+ {file = "mypy-0.971-cp310-cp310-win_amd64.whl", hash = "sha256:25c5750ba5609a0c7550b73a33deb314ecfb559c350bb050b655505e8aed4103"},
+ {file = "mypy-0.971-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:d3348e7eb2eea2472db611486846742d5d52d1290576de99d59edeb7cd4a42ca"},
+ {file = "mypy-0.971-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:3fa7a477b9900be9b7dd4bab30a12759e5abe9586574ceb944bc29cddf8f0417"},
+ {file = "mypy-0.971-cp36-cp36m-win_amd64.whl", hash = "sha256:2ad53cf9c3adc43cf3bea0a7d01a2f2e86db9fe7596dfecb4496a5dda63cbb09"},
+ {file = "mypy-0.971-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:855048b6feb6dfe09d3353466004490b1872887150c5bb5caad7838b57328cc8"},
+ {file = "mypy-0.971-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:23488a14a83bca6e54402c2e6435467a4138785df93ec85aeff64c6170077fb0"},
+ {file = "mypy-0.971-cp37-cp37m-win_amd64.whl", hash = "sha256:4b21e5b1a70dfb972490035128f305c39bc4bc253f34e96a4adf9127cf943eb2"},
+ {file = "mypy-0.971-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:9796a2ba7b4b538649caa5cecd398d873f4022ed2333ffde58eaf604c4d2cb27"},
+ {file = "mypy-0.971-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:5a361d92635ad4ada1b1b2d3630fc2f53f2127d51cf2def9db83cba32e47c856"},
+ {file = "mypy-0.971-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:b793b899f7cf563b1e7044a5c97361196b938e92f0a4343a5d27966a53d2ec71"},
+ {file = "mypy-0.971-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:d1ea5d12c8e2d266b5fb8c7a5d2e9c0219fedfeb493b7ed60cd350322384ac27"},
+ {file = "mypy-0.971-cp38-cp38-win_amd64.whl", hash = "sha256:23c7ff43fff4b0df93a186581885c8512bc50fc4d4910e0f838e35d6bb6b5e58"},
+ {file = "mypy-0.971-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:1f7656b69974a6933e987ee8ffb951d836272d6c0f81d727f1d0e2696074d9e6"},
+ {file = "mypy-0.971-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:d2022bfadb7a5c2ef410d6a7c9763188afdb7f3533f22a0a32be10d571ee4bbe"},
+ {file = "mypy-0.971-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:ef943c72a786b0f8d90fd76e9b39ce81fb7171172daf84bf43eaf937e9f220a9"},
+ {file = "mypy-0.971-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:d744f72eb39f69312bc6c2abf8ff6656973120e2eb3f3ec4f758ed47e414a4bf"},
+ {file = "mypy-0.971-cp39-cp39-win_amd64.whl", hash = "sha256:77a514ea15d3007d33a9e2157b0ba9c267496acf12a7f2b9b9f8446337aac5b0"},
+ {file = "mypy-0.971-py3-none-any.whl", hash = "sha256:0d054ef16b071149917085f51f89555a576e2618d5d9dd70bd6eea6410af3ac9"},
+ {file = "mypy-0.971.tar.gz", hash = "sha256:40b0f21484238269ae6a57200c807d80debc6459d444c0489a102d7c6a75fa56"},
+]
+mypy-extensions = [
+ {file = "mypy_extensions-0.4.3-py2.py3-none-any.whl", hash = "sha256:090fedd75945a69ae91ce1303b5824f428daf5a028d2f6ab8a299250a846f15d"},
+ {file = "mypy_extensions-0.4.3.tar.gz", hash = "sha256:2d82818f5bb3e369420cb3c4060a7970edba416647068eb4c5343488a6c604a8"},
]
outcome = [
{file = "outcome-1.1.0-py2.py3-none-any.whl", hash = "sha256:c7dd9375cfd3c12db9801d080a3b63d4b0a261aa996c4c13152380587288d958"},
{file = "outcome-1.1.0.tar.gz", hash = "sha256:e862f01d4e626e63e8f92c38d1f8d5546d3f9cce989263c521b2e7990d186967"},
]
+packaging = [
+ {file = "packaging-21.3-py3-none-any.whl", hash = "sha256:ef103e05f519cdc783ae24ea4e2e0f508a9c99b2d4969652eed6a2e1ea5bd522"},
+ {file = "packaging-21.3.tar.gz", hash = "sha256:dd47c42927d89ab911e606518907cc2d3a1f38bbd026385970643f9c5b8ecfeb"},
+]
+pathlib2 = [
+ {file = "pathlib2-2.3.7.post1-py2.py3-none-any.whl", hash = "sha256:5266a0fd000452f1b3467d782f079a4343c63aaa119221fbdc4e39577489ca5b"},
+ {file = "pathlib2-2.3.7.post1.tar.gz", hash = "sha256:9fe0edad898b83c0c3e199c842b27ed216645d2e177757b2dd67384d4113c641"},
+]
+pathspec = [
+ {file = "pathspec-0.10.1-py3-none-any.whl", hash = "sha256:46846318467efc4556ccfd27816e004270a9eeeeb4d062ce5e6fc7a87c573f93"},
+ {file = "pathspec-0.10.1.tar.gz", hash = "sha256:7ace6161b621d31e7902eb6b5ae148d12cfd23f4a249b9ffb6b9fee12084323d"},
+]
+platformdirs = [
+ {file = "platformdirs-2.5.2-py3-none-any.whl", hash = "sha256:027d8e83a2d7de06bbac4e5ef7e023c02b863d7ea5d079477e722bb41ab25788"},
+ {file = "platformdirs-2.5.2.tar.gz", hash = "sha256:58c8abb07dcb441e6ee4b11d8df0ac856038f944ab98b7be6b27b2a3c7feef19"},
+]
+pluggy = [
+ {file = "pluggy-1.0.0-py2.py3-none-any.whl", hash = "sha256:74134bbf457f031a36d68416e1509f34bd5ccc019f0bcc952c7b909d06b37bd3"},
+ {file = "pluggy-1.0.0.tar.gz", hash = "sha256:4224373bacce55f955a878bf9cfa763c1e360858e330072059e10bad68531159"},
+]
+protobuf = [
+ {file = "protobuf-4.21.6-cp310-abi3-win32.whl", hash = "sha256:49f88d56a9180dbb7f6199c920f5bb5c1dd0172f672983bb281298d57c2ac8eb"},
+ {file = "protobuf-4.21.6-cp310-abi3-win_amd64.whl", hash = "sha256:7a6cc8842257265bdfd6b74d088b829e44bcac3cca234c5fdd6052730017b9ea"},
+ {file = "protobuf-4.21.6-cp37-abi3-macosx_10_9_universal2.whl", hash = "sha256:ba596b9ffb85c909fcfe1b1a23136224ed678af3faf9912d3fa483d5f9813c4e"},
+ {file = "protobuf-4.21.6-cp37-abi3-manylinux2014_aarch64.whl", hash = "sha256:4143513c766db85b9d7c18dbf8339673c8a290131b2a0fe73855ab20770f72b0"},
+ {file = "protobuf-4.21.6-cp37-abi3-manylinux2014_x86_64.whl", hash = "sha256:b6cea204865595a92a7b240e4b65bcaaca3ad5d2ce25d9db3756eba06041138e"},
+ {file = "protobuf-4.21.6-cp37-cp37m-win32.whl", hash = "sha256:9666da97129138585b26afcb63ad4887f602e169cafe754a8258541c553b8b5d"},
+ {file = "protobuf-4.21.6-cp37-cp37m-win_amd64.whl", hash = "sha256:308173d3e5a3528787bb8c93abea81d5a950bdce62840d9760effc84127fb39c"},
+ {file = "protobuf-4.21.6-cp38-cp38-win32.whl", hash = "sha256:aa29113ec901281f29d9d27b01193407a98aa9658b8a777b0325e6d97149f5ce"},
+ {file = "protobuf-4.21.6-cp38-cp38-win_amd64.whl", hash = "sha256:8f9e60f7d44592c66e7b332b6a7b4b6e8d8b889393c79dbc3a91f815118f8eac"},
+ {file = "protobuf-4.21.6-cp39-cp39-win32.whl", hash = "sha256:80e6540381080715fddac12690ee42d087d0d17395f8d0078dfd6f1181e7be4c"},
+ {file = "protobuf-4.21.6-cp39-cp39-win_amd64.whl", hash = "sha256:77b355c8604fe285536155286b28b0c4cbc57cf81b08d8357bf34829ea982860"},
+ {file = "protobuf-4.21.6-py2.py3-none-any.whl", hash = "sha256:07a0bb9cc6114f16a39c866dc28b6e3d96fa4ffb9cc1033057412547e6e75cb9"},
+ {file = "protobuf-4.21.6-py3-none-any.whl", hash = "sha256:c7c864148a237f058c739ae7a05a2b403c0dfa4ce7d1f3e5213f352ad52d57c6"},
+ {file = "protobuf-4.21.6.tar.gz", hash = "sha256:6b1040a5661cd5f6e610cbca9cfaa2a17d60e2bb545309bc1b278bb05be44bdd"},
+]
psycopg2-binary = [
{file = "psycopg2-binary-2.9.1.tar.gz", hash = "sha256:b0221ca5a9837e040ebf61f48899926b5783668b7807419e4adae8175a31f773"},
{file = "psycopg2_binary-2.9.1-cp310-cp310-macosx_10_14_x86_64.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl", hash = "sha256:24b0b6688b9f31a911f2361fe818492650795c9e5d3a1bc647acbd7440142a4f"},
@@ -902,6 +1595,10 @@ psycopg2-binary = [
{file = "psycopg2_binary-2.9.1-cp39-cp39-win32.whl", hash = "sha256:0b7dae87f0b729922e06f85f667de7bf16455d411971b2043bbd9577af9d1975"},
{file = "psycopg2_binary-2.9.1-cp39-cp39-win_amd64.whl", hash = "sha256:b4d7679a08fea64573c969f6994a2631908bb2c0e69a7235648642f3d2e39a68"},
]
+py = [
+ {file = "py-1.11.0-py2.py3-none-any.whl", hash = "sha256:607c53218732647dff4acdfcd50cb62615cedf612e72d1724fb1a0cc6405b378"},
+ {file = "py-1.11.0.tar.gz", hash = "sha256:51c75c4126074b472f746a24399ad32f6053d1b34b68d2fa41e558e6f4a98719"},
+]
pycparser = [
{file = "pycparser-2.21-py2.py3-none-any.whl", hash = "sha256:8ee45429555515e1f6b185e78100aea234072576aa43ab53aefcae078162fca9"},
{file = "pycparser-2.21.tar.gz", hash = "sha256:e644fdec12f7872f86c58ff790da456218b10f863970249516d60a5eaca77206"},
@@ -959,6 +1656,22 @@ pydantic = [
{file = "pydantic-1.8.2-py3-none-any.whl", hash = "sha256:fec866a0b59f372b7e776f2d7308511784dace622e0992a0b59ea3ccee0ae833"},
{file = "pydantic-1.8.2.tar.gz", hash = "sha256:26464e57ccaafe72b7ad156fdaa4e9b9ef051f69e175dbbb463283000c05ab7b"},
]
+pyln-bolt7 = [
+ {file = "pyln-bolt7-1.0.246.tar.gz", hash = "sha256:2b53744fa21c1b12d2c9c9df153651b122e38fa65d4a5c3f2957317ee148e089"},
+ {file = "pyln_bolt7-1.0.246-py3-none-any.whl", hash = "sha256:54d48ec27fdc8751762cb068b0a9f2757a58fb57933c6d8f8255d02c27eb63c5"},
+]
+pyln-client = [
+ {file = "pyln-client-0.12.0.post1.tar.gz", hash = "sha256:c80338e8e9f435720c0e5f552dc4016fc8fba16d4b79764f881067e0fcd5d5c7"},
+ {file = "pyln_client-0.12.0.post1-py3-none-any.whl", hash = "sha256:cfe3404eb88f294015145e668d774dd754b3baec36b44fe773fa354f1e1e48c1"},
+]
+pyln-proto = [
+ {file = "pyln-proto-0.11.1.tar.gz", hash = "sha256:9bed240f41917c4fd526b767218a77d0fbe69242876eef72c35a856796f922d6"},
+ {file = "pyln_proto-0.11.1-py3-none-any.whl", hash = "sha256:27b2e04a81b894f69018279c0ce4aa2e7ccd03b86dd9783f96b9d8d1498c8393"},
+]
+pyparsing = [
+ {file = "pyparsing-3.0.9-py3-none-any.whl", hash = "sha256:5026bae9a10eeaefb61dab2f09052b9f4307d44aee4eda64b309723d8d206bbc"},
+ {file = "pyparsing-3.0.9.tar.gz", hash = "sha256:2b020ecf7d21b687f219b71ecad3631f644a47f01403fa1d1036b0c6416d70fb"},
+]
pypng = [
{file = "pypng-0.0.21-py3-none-any.whl", hash = "sha256:76f8a1539ec56451da7ab7121f12a361969fe0f2d48d703d198ce2a99d6c5afd"},
]
@@ -967,7 +1680,24 @@ pyqrcode = [
{file = "PyQRCode-1.2.1.zip", hash = "sha256:1b2812775fa6ff5c527977c4cd2ccb07051ca7d0bc0aecf937a43864abe5eff6"},
]
pyscss = [
- {file = "pyScss-1.3.7.tar.gz", hash = "sha256:f1df571569021a23941a538eb154405dde80bed35dc1ea7c5f3e18e0144746bf"},
+ {file = "pyScss-1.4.0.tar.gz", hash = "sha256:8f35521ffe36afa8b34c7d6f3195088a7057c185c2b8f15ee459ab19748669ff"},
+]
+pysocks = [
+ {file = "PySocks-1.7.1-py27-none-any.whl", hash = "sha256:08e69f092cc6dbe92a0fdd16eeb9b9ffbc13cadfe5ca4c7bd92ffb078b293299"},
+ {file = "PySocks-1.7.1-py3-none-any.whl", hash = "sha256:2725bd0a9925919b9b51739eea5f9e2bae91e83288108a9ad338b2e3a4435ee5"},
+ {file = "PySocks-1.7.1.tar.gz", hash = "sha256:3f8804571ebe159c380ac6de37643bb4685970655d3bba243530d6558b799aa0"},
+]
+pytest = [
+ {file = "pytest-7.1.3-py3-none-any.whl", hash = "sha256:1377bda3466d70b55e3f5cecfa55bb7cfcf219c7964629b967c37cf0bda818b7"},
+ {file = "pytest-7.1.3.tar.gz", hash = "sha256:4f365fec2dff9c1162f834d9f18af1ba13062db0c708bf7b946f8a5c76180c39"},
+]
+pytest-asyncio = [
+ {file = "pytest-asyncio-0.19.0.tar.gz", hash = "sha256:ac4ebf3b6207259750bc32f4c1d8fcd7e79739edbc67ad0c58dd150b1d072fed"},
+ {file = "pytest_asyncio-0.19.0-py3-none-any.whl", hash = "sha256:7a97e37cfe1ed296e2e84941384bdd37c376453912d397ed39293e0916f521fa"},
+]
+pytest-cov = [
+ {file = "pytest-cov-3.0.0.tar.gz", hash = "sha256:e7f0f5b1617d2210a2cabc266dfe2f4c75a8d32fb89eafb7ad9d06f6d076d470"},
+ {file = "pytest_cov-3.0.0-py3-none-any.whl", hash = "sha256:578d5d15ac4a25e5f961c938b85a05b09fdaae9deef3bb6de9a6e766622ca7a6"},
]
python-dotenv = [
{file = "python-dotenv-0.19.0.tar.gz", hash = "sha256:f521bc2ac9a8e03c736f62911605c5d83970021e3fa95b37d769e2bbbe9b6172"},
@@ -1090,8 +1820,8 @@ sqlalchemy = [
{file = "SQLAlchemy-1.3.23.tar.gz", hash = "sha256:6fca33672578666f657c131552c4ef8979c1606e494f78cd5199742dfb26918b"},
]
sqlalchemy-aio = [
- {file = "sqlalchemy_aio-0.16.0-py2.py3-none-any.whl", hash = "sha256:f767320427c22c66fa5840a1f17f3261110a8ddc8560558f4fbf12d31a66b17b"},
- {file = "sqlalchemy_aio-0.16.0.tar.gz", hash = "sha256:7f77366f55d34891c87386dd0962a28b948b684e8ea5edb7daae4187c0b291bf"},
+ {file = "sqlalchemy_aio-0.17.0-py3-none-any.whl", hash = "sha256:3f4aa392c38f032d6734826a4138a0f02ed3122d442ed142be1e5964f2a33b60"},
+ {file = "sqlalchemy_aio-0.17.0.tar.gz", hash = "sha256:f531c7982662d71dfc0b117e77bb2ed544e25cd5361e76cf9f5208edcfb71f7b"},
]
sse-starlette = [
{file = "sse-starlette-0.6.2.tar.gz", hash = "sha256:1c0cc62cc7d021a386dc06a16a9ddc3e2861d19da6bc2e654e65cc111e820456"},
@@ -1100,6 +1830,40 @@ starlette = [
{file = "starlette-0.19.1-py3-none-any.whl", hash = "sha256:5a60c5c2d051f3a8eb546136aa0c9399773a689595e099e0877704d5888279bf"},
{file = "starlette-0.19.1.tar.gz", hash = "sha256:c6d21096774ecb9639acad41b86b7706e52ba3bf1dc13ea4ed9ad593d47e24c7"},
]
+tomli = [
+ {file = "tomli-2.0.1-py3-none-any.whl", hash = "sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc"},
+ {file = "tomli-2.0.1.tar.gz", hash = "sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f"},
+]
+typed-ast = [
+ {file = "typed_ast-1.5.4-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:669dd0c4167f6f2cd9f57041e03c3c2ebf9063d0757dc89f79ba1daa2bfca9d4"},
+ {file = "typed_ast-1.5.4-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:211260621ab1cd7324e0798d6be953d00b74e0428382991adfddb352252f1d62"},
+ {file = "typed_ast-1.5.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:267e3f78697a6c00c689c03db4876dd1efdfea2f251a5ad6555e82a26847b4ac"},
+ {file = "typed_ast-1.5.4-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:c542eeda69212fa10a7ada75e668876fdec5f856cd3d06829e6aa64ad17c8dfe"},
+ {file = "typed_ast-1.5.4-cp310-cp310-win_amd64.whl", hash = "sha256:a9916d2bb8865f973824fb47436fa45e1ebf2efd920f2b9f99342cb7fab93f72"},
+ {file = "typed_ast-1.5.4-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:79b1e0869db7c830ba6a981d58711c88b6677506e648496b1f64ac7d15633aec"},
+ {file = "typed_ast-1.5.4-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a94d55d142c9265f4ea46fab70977a1944ecae359ae867397757d836ea5a3f47"},
+ {file = "typed_ast-1.5.4-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:183afdf0ec5b1b211724dfef3d2cad2d767cbefac291f24d69b00546c1837fb6"},
+ {file = "typed_ast-1.5.4-cp36-cp36m-win_amd64.whl", hash = "sha256:639c5f0b21776605dd6c9dbe592d5228f021404dafd377e2b7ac046b0349b1a1"},
+ {file = "typed_ast-1.5.4-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:cf4afcfac006ece570e32d6fa90ab74a17245b83dfd6655a6f68568098345ff6"},
+ {file = "typed_ast-1.5.4-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ed855bbe3eb3715fca349c80174cfcfd699c2f9de574d40527b8429acae23a66"},
+ {file = "typed_ast-1.5.4-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:6778e1b2f81dfc7bc58e4b259363b83d2e509a65198e85d5700dfae4c6c8ff1c"},
+ {file = "typed_ast-1.5.4-cp37-cp37m-win_amd64.whl", hash = "sha256:0261195c2062caf107831e92a76764c81227dae162c4f75192c0d489faf751a2"},
+ {file = "typed_ast-1.5.4-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:2efae9db7a8c05ad5547d522e7dbe62c83d838d3906a3716d1478b6c1d61388d"},
+ {file = "typed_ast-1.5.4-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:7d5d014b7daa8b0bf2eaef684295acae12b036d79f54178b92a2b6a56f92278f"},
+ {file = "typed_ast-1.5.4-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:370788a63915e82fd6f212865a596a0fefcbb7d408bbbb13dea723d971ed8bdc"},
+ {file = "typed_ast-1.5.4-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:4e964b4ff86550a7a7d56345c7864b18f403f5bd7380edf44a3c1fb4ee7ac6c6"},
+ {file = "typed_ast-1.5.4-cp38-cp38-win_amd64.whl", hash = "sha256:683407d92dc953c8a7347119596f0b0e6c55eb98ebebd9b23437501b28dcbb8e"},
+ {file = "typed_ast-1.5.4-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:4879da6c9b73443f97e731b617184a596ac1235fe91f98d279a7af36c796da35"},
+ {file = "typed_ast-1.5.4-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:3e123d878ba170397916557d31c8f589951e353cc95fb7f24f6bb69adc1a8a97"},
+ {file = "typed_ast-1.5.4-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ebd9d7f80ccf7a82ac5f88c521115cc55d84e35bf8b446fcd7836eb6b98929a3"},
+ {file = "typed_ast-1.5.4-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:98f80dee3c03455e92796b58b98ff6ca0b2a6f652120c263efdba4d6c5e58f72"},
+ {file = "typed_ast-1.5.4-cp39-cp39-win_amd64.whl", hash = "sha256:0fdbcf2fef0ca421a3f5912555804296f0b0960f0418c440f5d6d3abb549f3e1"},
+ {file = "typed_ast-1.5.4.tar.gz", hash = "sha256:39e21ceb7388e4bb37f4c679d72707ed46c2fbf2a5609b8b8ebc4b067d977df2"},
+]
+types-protobuf = [
+ {file = "types-protobuf-3.20.4.tar.gz", hash = "sha256:0dad3a5009895c985a56e2837f61902bad9594151265ac0ee907bb16d0b01eb7"},
+ {file = "types_protobuf-3.20.4-py3-none-any.whl", hash = "sha256:5082437afe64ce3b31c8db109eae86e02fda11e4d5f9ac59cb8578a8a138aa70"},
+]
typing-extensions = [
{file = "typing_extensions-3.10.0.2-py2-none-any.whl", hash = "sha256:d8226d10bc02a29bcc81df19a26e56a9647f8b0a6d4a83924139f4a8b01f17b7"},
{file = "typing_extensions-3.10.0.2-py3-none-any.whl", hash = "sha256:f1d25edafde516b146ecd0613dabcc61409817af4766fbbcfb8d1ad4ec441a34"},
@@ -1131,6 +1895,10 @@ watchgod = [
{file = "watchgod-0.7-py3-none-any.whl", hash = "sha256:d6c1ea21df37847ac0537ca0d6c2f4cdf513562e95f77bb93abbcf05573407b7"},
{file = "watchgod-0.7.tar.gz", hash = "sha256:48140d62b0ebe9dd9cf8381337f06351e1f2e70b2203fa9c6eff4e572ca84f29"},
]
+websocket-client = [
+ {file = "websocket-client-1.3.3.tar.gz", hash = "sha256:d58c5f284d6a9bf8379dab423259fe8f85b70d5fa5d2916d5791a84594b122b1"},
+ {file = "websocket_client-1.3.3-py3-none-any.whl", hash = "sha256:5d55652dc1d0b3c734f044337d929aaf83f4f9138816ec680c1aefefb4dc4877"},
+]
websockets = [
{file = "websockets-10.0-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:cd8c6f2ec24aedace251017bc7a414525171d4e6578f914acab9349362def4da"},
{file = "websockets-10.0-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:1f6b814cff6aadc4288297cb3a248614829c6e4ff5556593c44a115e9dd49939"},
@@ -1158,7 +1926,10 @@ websockets = [
{file = "websockets-10.0-cp39-cp39-win_amd64.whl", hash = "sha256:c5880442f5fc268f1ef6d37b2c152c114deccca73f48e3a8c48004d2f16f4567"},
{file = "websockets-10.0.tar.gz", hash = "sha256:c4fc9a1d242317892590abe5b61a9127f1a61740477bfb121743f290b8054002"},
]
-win32-setctime = []
+win32-setctime = [
+ {file = "win32_setctime-1.1.0-py3-none-any.whl", hash = "sha256:231db239e959c2fe7eb1d7dc129f11172354f98361c4fa2d6d2d7e278baa8aad"},
+ {file = "win32_setctime-1.1.0.tar.gz", hash = "sha256:15cf5750465118d6929ae4de4eb46e8edae9a5634350c01ba582df868e932cb2"},
+]
zipp = [
{file = "zipp-3.5.0-py3-none-any.whl", hash = "sha256:957cfda87797e389580cb8b9e3870841ca991e2125350677b2ca83a0e99390a3"},
{file = "zipp-3.5.0.tar.gz", hash = "sha256:f5812b1e007e48cff63449a5e9f4e7ebea716b4111f9c4f9a645f91d579bf0c4"},
diff --git a/pyproject.toml b/pyproject.toml
index 5c4bc7a0..7f833aa5 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -9,8 +9,8 @@ generate-setup-file = false
script = "build.py"
[tool.poetry.dependencies]
-python = "^3.9"
-aiofiles = "0.7.0"
+python = "^3.10 | ^3.9 | ^3.8 | ^3.7"
+aiofiles = "0.8.0"
asgiref = "3.4.1"
attrs = "21.2.0"
bech32 = "1.2.0"
@@ -24,22 +24,22 @@ embit = "0.4.9"
environs = "9.3.3"
fastapi = "0.78.0"
h11 = "0.12.0"
-httpcore = "0.13.7"
-httptools = "0.2.0"
-httpx = "0.19.0"
+httpcore = "0.15.0"
+httptools = "0.4.0"
+httpx = "0.23.0"
idna = "3.2"
importlib-metadata = "4.8.1"
jinja2 = "3.0.1"
lnurl = "0.3.6"
markupsafe = "2.0.1"
-marshmallow = "3.13.0"
+marshmallow = "3.17.0"
outcome = "1.1.0"
psycopg2-binary = "2.9.1"
pycryptodomex = "3.14.1"
pydantic = "1.8.2"
pypng = "0.0.21"
pyqrcode = "1.2.1"
-pyscss = "1.3.7"
+pyScss = "1.4.0"
python-dotenv = "0.19.0"
pyyaml = "5.4.1"
represent = "1.6.0.post0"
@@ -49,7 +49,7 @@ shortuuid = "1.0.1"
six = "1.16.0"
sniffio = "1.2.0"
sqlalchemy = "1.3.23"
-sqlalchemy-aio = "0.16.0"
+sqlalchemy-aio = "0.17.0"
sse-starlette = "0.6.2"
typing-extensions = "3.10.0.2"
uvicorn = "0.18.1"
@@ -59,12 +59,41 @@ websockets = "10.0"
zipp = "3.5.0"
loguru = "0.5.3"
cffi = "1.15.0"
+websocket-client = "1.3.3"
+grpcio = "^1.49.1"
+protobuf = "^4.21.6"
+pyln-client = "^0.12.0"
[tool.poetry.dev-dependencies]
+isort = "^5.10.1"
+pytest = "^7.1.2"
+mock = "^4.0.3"
+black = "^22.6.0"
+pytest-asyncio = "^0.19.0"
+pytest-cov = "^3.0.0"
+mypy = "^0.971"
+types-protobuf = "^3.19.22"
[build-system]
-requires = ["poetry-core>=1.0.0"]
+requires = ["poetry-core>=1.0.0", "pyScss"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
lnbits = "lnbits.server:main"
+
+[tool.isort]
+profile = "black"
+
+[tool.mypy]
+ignore_missing_imports = "True"
+files = "lnbits"
+exclude = """(?x)(
+ ^lnbits/extensions.
+ | ^lnbits/wallets/lnd_grpc_files.
+)"""
+
+[tool.pytest.ini_options]
+addopts = "--durations=1 -s --cov=lnbits --cov-report=xml"
+testpaths = [
+ "tests"
+]
diff --git a/pytest.ini b/pytest.ini
deleted file mode 100644
index 33eea052..00000000
--- a/pytest.ini
+++ /dev/null
@@ -1,3 +0,0 @@
-[pytest]
-filterwarnings =
- ignore::pytest.PytestCacheWarning
diff --git a/requirements.txt b/requirements.txt
index 23d428e5..697ea1d4 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -50,3 +50,4 @@ uvicorn==0.18.2
uvloop==0.16.0
watchfiles==0.16.0
websockets==10.3
+websocket-client==1.3.3
diff --git a/tests/conftest.py b/tests/conftest.py
index adb1fa36..1e719c76 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -1,19 +1,17 @@
import asyncio
-import pytest_asyncio
+from typing import Tuple
+import pytest_asyncio
from httpx import AsyncClient
+
from lnbits.app import create_app
from lnbits.commands import migrate_databases
-from lnbits.settings import HOST, PORT
-
-from lnbits.core.views.api import api_payments_create_invoice, CreateInvoiceData
-
from lnbits.core.crud import create_account, create_wallet, get_wallet
-from tests.helpers import credit_wallet, get_random_invoice_data
-
+from lnbits.core.models import BalanceCheck, Payment, User, Wallet
+from lnbits.core.views.api import CreateInvoiceData, api_payments_create_invoice
from lnbits.db import Database
-from lnbits.core.models import User, Wallet, Payment, BalanceCheck
-from typing import Tuple
+from lnbits.settings import HOST, PORT
+from tests.helpers import credit_wallet, get_random_invoice_data
@pytest_asyncio.fixture(scope="session")
@@ -122,12 +120,8 @@ async def adminkey_headers_to(to_wallet):
@pytest_asyncio.fixture(scope="session")
async def invoice(to_wallet):
- wallet = to_wallet
data = await get_random_invoice_data()
invoiceData = CreateInvoiceData(**data)
- stuff_lock = asyncio.Lock()
- async with stuff_lock:
- invoice = await api_payments_create_invoice(invoiceData, wallet)
- await asyncio.sleep(1)
+ invoice = await api_payments_create_invoice(invoiceData, to_wallet)
yield invoice
del invoice
diff --git a/tests/core/views/test_api.py b/tests/core/views/test_api.py
index dfd2b32a..e0f6b576 100644
--- a/tests/core/views/test_api.py
+++ b/tests/core/views/test_api.py
@@ -1,9 +1,20 @@
+import hashlib
+from binascii import hexlify
+
import pytest
import pytest_asyncio
-from lnbits.core.crud import get_wallet
-from lnbits.core.views.api import api_payment
-from ...helpers import get_random_invoice_data
+from lnbits import bolt11
+from lnbits.core.crud import get_wallet
+from lnbits.core.views.api import (
+ CreateInvoiceData,
+ api_payment,
+ api_payments_create_invoice,
+)
+from lnbits.settings import wallet_class
+
+from ...helpers import get_random_invoice_data, is_regtest
+
# check if the client is working
@pytest.mark.asyncio
@@ -34,6 +45,20 @@ async def test_get_wallet_adminkey(client, adminkey_headers_to):
assert "id" in result
+# check PUT /api/v1/wallet/newwallet: empty request where admin key is needed
+@pytest.mark.asyncio
+async def test_put_empty_request_expected_admin_keys(client):
+ response = await client.put("/api/v1/wallet/newwallet")
+ assert response.status_code == 401
+
+
+# check POST /api/v1/payments: empty request where invoice key is needed
+@pytest.mark.asyncio
+async def test_post_empty_request_expected_invoice_keys(client):
+ response = await client.post("/api/v1/payments")
+ assert response.status_code == 401
+
+
# check POST /api/v1/payments: invoice creation
@pytest.mark.asyncio
async def test_create_invoice(client, inkey_headers_to):
@@ -137,6 +162,7 @@ async def test_pay_invoice_invoicekey(client, invoice, inkey_headers_from):
# check POST /api/v1/payments: payment with admin key [should pass]
@pytest.mark.asyncio
+@pytest.mark.skipif(is_regtest, reason="this only works in fakewallet")
async def test_pay_invoice_adminkey(client, invoice, adminkey_headers_from):
data = {"out": True, "bolt11": invoice["payment_request"]}
# try payment with admin key
@@ -179,3 +205,42 @@ async def test_api_payment_with_key(invoice, inkey_headers_from):
assert type(response) == dict
assert response["paid"] == True
assert "details" in response
+
+
+# check POST /api/v1/payments: invoice creation with a description hash
+@pytest.mark.skipif(
+ wallet_class.__name__ in ["CoreLightningWallet"],
+ reason="wallet does not support description_hash",
+)
+@pytest.mark.asyncio
+async def test_create_invoice_with_description_hash(client, inkey_headers_to):
+ data = await get_random_invoice_data()
+ descr_hash = hashlib.sha256("asdasdasd".encode("utf-8")).hexdigest()
+ data["description_hash"] = descr_hash
+
+ response = await client.post(
+ "/api/v1/payments", json=data, headers=inkey_headers_to
+ )
+ invoice = response.json()
+
+ invoice_bolt11 = bolt11.decode(invoice["payment_request"])
+ assert invoice_bolt11.description_hash == descr_hash
+ assert invoice_bolt11.description is None
+ return invoice
+
+
+@pytest.mark.asyncio
+async def test_create_invoice_with_unhashed_description(client, inkey_headers_to):
+ data = await get_random_invoice_data()
+ descr_hash = hashlib.sha256("asdasdasd".encode("utf-8")).hexdigest()
+ data["unhashed_description"] = "asdasdasd".encode("utf-8").hex()
+
+ response = await client.post(
+ "/api/v1/payments", json=data, headers=inkey_headers_to
+ )
+ invoice = response.json()
+
+ invoice_bolt11 = bolt11.decode(invoice["payment_request"])
+ assert invoice_bolt11.description_hash == descr_hash
+ assert invoice_bolt11.description is None
+ return invoice
diff --git a/tests/core/views/test_generic.py b/tests/core/views/test_generic.py
index 6e6354d1..4300b78b 100644
--- a/tests/core/views/test_generic.py
+++ b/tests/core/views/test_generic.py
@@ -1,5 +1,6 @@
import pytest
import pytest_asyncio
+
from tests.conftest import client
diff --git a/tests/core/views/test_public_api.py b/tests/core/views/test_public_api.py
index d9c253c2..6ebaeabd 100644
--- a/tests/core/views/test_public_api.py
+++ b/tests/core/views/test_public_api.py
@@ -1,7 +1,9 @@
import pytest
import pytest_asyncio
+
from lnbits.core.crud import get_wallet
+
# check if the client is working
@pytest.mark.asyncio
async def test_core_views_generic(client):
diff --git a/tests/data/mock_data.zip b/tests/data/mock_data.zip
index 6f7165b3..d184f94a 100644
Binary files a/tests/data/mock_data.zip and b/tests/data/mock_data.zip differ
diff --git a/tests/extensions/bleskomat/conftest.py b/tests/extensions/bleskomat/conftest.py
index b4ad0bfc..13be2b57 100644
--- a/tests/extensions/bleskomat/conftest.py
+++ b/tests/extensions/bleskomat/conftest.py
@@ -1,17 +1,19 @@
import json
+import secrets
+
import pytest
import pytest_asyncio
-import secrets
+
from lnbits.core.crud import create_account, create_wallet
from lnbits.extensions.bleskomat.crud import create_bleskomat, create_bleskomat_lnurl
-from lnbits.extensions.bleskomat.models import CreateBleskomat
+from lnbits.extensions.bleskomat.exchange_rates import exchange_rate_providers
from lnbits.extensions.bleskomat.helpers import (
generate_bleskomat_lnurl_secret,
generate_bleskomat_lnurl_signature,
prepare_lnurl_params,
query_to_signing_payload,
)
-from lnbits.extensions.bleskomat.exchange_rates import exchange_rate_providers
+from lnbits.extensions.bleskomat.models import CreateBleskomat
exchange_rate_providers["dummy"] = {
"name": "dummy",
diff --git a/tests/extensions/bleskomat/test_lnurl_api.py b/tests/extensions/bleskomat/test_lnurl_api.py
index 0189e119..3f723266 100644
--- a/tests/extensions/bleskomat/test_lnurl_api.py
+++ b/tests/extensions/bleskomat/test_lnurl_api.py
@@ -1,16 +1,18 @@
+import secrets
+
import pytest
import pytest_asyncio
-import secrets
+
from lnbits.core.crud import get_wallet
-from lnbits.settings import HOST, PORT
from lnbits.extensions.bleskomat.crud import get_bleskomat_lnurl
from lnbits.extensions.bleskomat.helpers import (
generate_bleskomat_lnurl_signature,
query_to_signing_payload,
)
+from lnbits.settings import HOST, PORT
from tests.conftest import client
-from tests.helpers import credit_wallet
from tests.extensions.bleskomat.conftest import bleskomat, lnurl
+from tests.helpers import credit_wallet, is_regtest
from tests.mocks import WALLET
@@ -95,6 +97,7 @@ async def test_bleskomat_lnurl_api_valid_signature(client, bleskomat):
@pytest.mark.asyncio
+@pytest.mark.skipif(is_regtest, reason="this test is only passes in fakewallet")
async def test_bleskomat_lnurl_api_action_insufficient_balance(client, lnurl):
bleskomat = lnurl["bleskomat"]
secret = lnurl["secret"]
@@ -114,6 +117,7 @@ async def test_bleskomat_lnurl_api_action_insufficient_balance(client, lnurl):
@pytest.mark.asyncio
+@pytest.mark.skipif(is_regtest, reason="this test is only passes in fakewallet")
async def test_bleskomat_lnurl_api_action_success(client, lnurl):
bleskomat = lnurl["bleskomat"]
secret = lnurl["secret"]
diff --git a/tests/extensions/boltz/__init__.py b/tests/extensions/boltz/__init__.py
new file mode 100644
index 00000000..e69de29b
diff --git a/tests/extensions/boltz/conftest.py b/tests/extensions/boltz/conftest.py
new file mode 100644
index 00000000..b9ef7887
--- /dev/null
+++ b/tests/extensions/boltz/conftest.py
@@ -0,0 +1,25 @@
+import asyncio
+import json
+import secrets
+
+import pytest
+import pytest_asyncio
+
+from lnbits.core.crud import create_account, create_wallet, get_wallet
+from lnbits.extensions.boltz.boltz import create_reverse_swap, create_swap
+from lnbits.extensions.boltz.models import (
+ CreateReverseSubmarineSwap,
+ CreateSubmarineSwap,
+)
+from tests.mocks import WALLET
+
+
+@pytest_asyncio.fixture(scope="session")
+async def reverse_swap(from_wallet):
+ data = CreateReverseSubmarineSwap(
+ wallet=from_wallet.id,
+ instant_settlement=True,
+ onchain_address="bcrt1q4vfyszl4p8cuvqh07fyhtxve5fxq8e2ux5gx43",
+ amount=20_000,
+ )
+ return await create_reverse_swap(data)
diff --git a/tests/extensions/boltz/test_api.py b/tests/extensions/boltz/test_api.py
new file mode 100644
index 00000000..90ce6ec1
--- /dev/null
+++ b/tests/extensions/boltz/test_api.py
@@ -0,0 +1,103 @@
+import pytest
+import pytest_asyncio
+
+from tests.helpers import is_fake, is_regtest
+
+
+@pytest.mark.asyncio
+@pytest.mark.skipif(is_fake, reason="this test is only passes with regtest")
+async def test_mempool_url(client):
+ response = await client.get("/boltz/api/v1/swap/mempool")
+ assert response.status_code == 200
+
+
+@pytest.mark.asyncio
+@pytest.mark.skipif(is_fake, reason="this test is only passes with regtest")
+async def test_boltz_config(client):
+ response = await client.get("/boltz/api/v1/swap/boltz")
+ assert response.status_code == 200
+
+
+@pytest.mark.asyncio
+@pytest.mark.skipif(is_fake, reason="this test is only passes with regtest")
+async def test_endpoints_unauthenticated(client):
+ response = await client.get("/boltz/api/v1/swap?all_wallets=true")
+ assert response.status_code == 401
+ response = await client.get("/boltz/api/v1/swap/reverse?all_wallets=true")
+ assert response.status_code == 401
+ response = await client.post("/boltz/api/v1/swap")
+ assert response.status_code == 401
+ response = await client.post("/boltz/api/v1/swap/reverse")
+ assert response.status_code == 401
+ response = await client.post("/boltz/api/v1/swap/status")
+ assert response.status_code == 401
+ response = await client.post("/boltz/api/v1/swap/check")
+ assert response.status_code == 401
+
+
+@pytest.mark.asyncio
+@pytest.mark.skipif(is_fake, reason="this test is only passes with regtest")
+async def test_endpoints_inkey(client, inkey_headers_to):
+ response = await client.get(
+ "/boltz/api/v1/swap?all_wallets=true", headers=inkey_headers_to
+ )
+ assert response.status_code == 200
+ response = await client.get(
+ "/boltz/api/v1/swap/reverse?all_wallets=true", headers=inkey_headers_to
+ )
+ assert response.status_code == 200
+
+ response = await client.post("/boltz/api/v1/swap", headers=inkey_headers_to)
+ assert response.status_code == 401
+ response = await client.post("/boltz/api/v1/swap/reverse", headers=inkey_headers_to)
+ assert response.status_code == 401
+ response = await client.post("/boltz/api/v1/swap/refund", headers=inkey_headers_to)
+ assert response.status_code == 401
+ response = await client.post("/boltz/api/v1/swap/status", headers=inkey_headers_to)
+ assert response.status_code == 401
+ response = await client.post("/boltz/api/v1/swap/check", headers=inkey_headers_to)
+ assert response.status_code == 401
+
+
+@pytest.mark.asyncio
+@pytest.mark.skipif(is_fake, reason="this test is only passes with regtest")
+async def test_endpoints_adminkey_nocontent(client, adminkey_headers_to):
+ response = await client.post("/boltz/api/v1/swap", headers=adminkey_headers_to)
+ assert response.status_code == 204
+ response = await client.post(
+ "/boltz/api/v1/swap/reverse", headers=adminkey_headers_to
+ )
+ assert response.status_code == 204
+ response = await client.post(
+ "/boltz/api/v1/swap/refund", headers=adminkey_headers_to
+ )
+ assert response.status_code == 204
+ response = await client.post(
+ "/boltz/api/v1/swap/status", headers=adminkey_headers_to
+ )
+ assert response.status_code == 204
+
+
+@pytest.mark.asyncio
+@pytest.mark.skipif(is_fake, reason="this test is only passes with regtest")
+async def test_endpoints_adminkey_regtest(client, from_wallet, adminkey_headers_to):
+ swap = {
+ "wallet": from_wallet.id,
+ "refund_address": "bcrt1q3cwq33y435h52gq3qqsdtczh38ltlnf69zvypm",
+ "amount": 50_000,
+ }
+ response = await client.post(
+ "/boltz/api/v1/swap", json=swap, headers=adminkey_headers_to
+ )
+ assert response.status_code == 201
+
+ reverse_swap = {
+ "wallet": from_wallet.id,
+ "instant_settlement": True,
+ "onchain_address": "bcrt1q4vfyszl4p8cuvqh07fyhtxve5fxq8e2ux5gx43",
+ "amount": 50_000,
+ }
+ response = await client.post(
+ "/boltz/api/v1/swap/reverse", json=reverse_swap, headers=adminkey_headers_to
+ )
+ assert response.status_code == 201
diff --git a/tests/extensions/boltz/test_swap.py b/tests/extensions/boltz/test_swap.py
new file mode 100644
index 00000000..ab5954ac
--- /dev/null
+++ b/tests/extensions/boltz/test_swap.py
@@ -0,0 +1,31 @@
+import asyncio
+
+import pytest
+import pytest_asyncio
+
+from lnbits.extensions.boltz.boltz import create_reverse_swap, create_swap
+from lnbits.extensions.boltz.crud import (
+ create_reverse_submarine_swap,
+ create_submarine_swap,
+ get_reverse_submarine_swap,
+ get_submarine_swap,
+)
+from tests.extensions.boltz.conftest import reverse_swap
+from tests.helpers import is_fake, is_regtest
+
+
+@pytest.mark.asyncio
+@pytest.mark.skipif(is_fake, reason="this test is only passes in regtest")
+async def test_create_reverse_swap(client, reverse_swap):
+ swap, wait_for_onchain = reverse_swap
+ assert swap.status == "pending"
+ assert swap.id is not None
+ assert swap.boltz_id is not None
+ assert swap.claim_privkey is not None
+ assert swap.onchain_address is not None
+ assert swap.lockup_address is not None
+ newswap = await create_reverse_submarine_swap(swap)
+ await wait_for_onchain
+ newswap = await get_reverse_submarine_swap(swap.id)
+ assert newswap is not None
+ assert newswap.status == "complete"
diff --git a/tests/extensions/invoices/__init__.py b/tests/extensions/invoices/__init__.py
new file mode 100644
index 00000000..e69de29b
diff --git a/tests/extensions/invoices/conftest.py b/tests/extensions/invoices/conftest.py
new file mode 100644
index 00000000..09ac42ec
--- /dev/null
+++ b/tests/extensions/invoices/conftest.py
@@ -0,0 +1,37 @@
+import pytest
+import pytest_asyncio
+
+from lnbits.core.crud import create_account, create_wallet
+from lnbits.extensions.invoices.crud import (
+ create_invoice_internal,
+ create_invoice_items,
+)
+from lnbits.extensions.invoices.models import CreateInvoiceData
+
+
+@pytest_asyncio.fixture
+async def invoices_wallet():
+ user = await create_account()
+ wallet = await create_wallet(user_id=user.id, wallet_name="invoices_test")
+
+ return wallet
+
+
+@pytest_asyncio.fixture
+async def accounting_invoice(invoices_wallet):
+ invoice_data = CreateInvoiceData(
+ status="open",
+ currency="USD",
+ company_name="LNBits, Inc",
+ first_name="Ben",
+ last_name="Arc",
+ items=[{"amount": 10.20, "description": "Item costs 10.20"}],
+ )
+ invoice = await create_invoice_internal(
+ wallet_id=invoices_wallet.id, data=invoice_data
+ )
+ items = await create_invoice_items(invoice_id=invoice.id, data=invoice_data.items)
+
+ invoice_dict = invoice.dict()
+ invoice_dict["items"] = items
+ return invoice_dict
diff --git a/tests/extensions/invoices/test_invoices_api.py b/tests/extensions/invoices/test_invoices_api.py
new file mode 100644
index 00000000..eaadd07b
--- /dev/null
+++ b/tests/extensions/invoices/test_invoices_api.py
@@ -0,0 +1,135 @@
+import pytest
+import pytest_asyncio
+from loguru import logger
+
+from lnbits.core.crud import get_wallet
+from tests.conftest import adminkey_headers_from, client, invoice
+from tests.extensions.invoices.conftest import accounting_invoice, invoices_wallet
+from tests.helpers import credit_wallet
+from tests.mocks import WALLET
+
+
+@pytest.mark.asyncio
+async def test_invoices_unknown_invoice(client):
+ response = await client.get("/invoices/pay/u")
+ assert response.json() == {"detail": "Invoice does not exist."}
+
+
+@pytest.mark.asyncio
+async def test_invoices_api_create_invoice_valid(client, invoices_wallet):
+ query = {
+ "status": "open",
+ "currency": "EUR",
+ "company_name": "LNBits, Inc.",
+ "first_name": "Ben",
+ "last_name": "Arc",
+ "email": "ben@legend.arc",
+ "items": [
+ {"amount": 2.34, "description": "Item 1"},
+ {"amount": 0.98, "description": "Item 2"},
+ ],
+ }
+
+ status = query["status"]
+ currency = query["currency"]
+ fname = query["first_name"]
+ total = sum(d["amount"] for d in query["items"])
+
+ response = await client.post(
+ "/invoices/api/v1/invoice",
+ json=query,
+ headers={"X-Api-Key": invoices_wallet.inkey},
+ )
+
+ assert response.status_code == 201
+ data = response.json()
+
+ assert data["status"] == status
+ assert data["wallet"] == invoices_wallet.id
+ assert data["currency"] == currency
+ assert data["first_name"] == fname
+ assert sum(d["amount"] / 100 for d in data["items"]) == total
+
+
+@pytest.mark.asyncio
+async def test_invoices_api_partial_pay_invoice(
+ client, accounting_invoice, adminkey_headers_from
+):
+ invoice_id = accounting_invoice["id"]
+ amount_to_pay = int(5.05 * 100) # mock invoice total amount is 10 USD
+
+ # ask for an invoice
+ response = await client.post(
+ f"/invoices/api/v1/invoice/{invoice_id}/payments?famount={amount_to_pay}"
+ )
+ assert response.status_code < 300
+ data = response.json()
+ payment_hash = data["payment_hash"]
+
+ # pay the invoice
+ data = {"out": True, "bolt11": data["payment_request"]}
+ response = await client.post(
+ "/api/v1/payments", json=data, headers=adminkey_headers_from
+ )
+ assert response.status_code < 300
+ assert len(response.json()["payment_hash"]) == 64
+ assert len(response.json()["checking_id"]) > 0
+
+ # check invoice is paid
+ response = await client.get(
+ f"/invoices/api/v1/invoice/{invoice_id}/payments/{payment_hash}"
+ )
+ assert response.status_code == 200
+ assert response.json()["paid"] == True
+
+ # check invoice status
+ response = await client.get(f"/invoices/api/v1/invoice/{invoice_id}")
+ assert response.status_code == 200
+ data = response.json()
+
+ assert data["status"] == "open"
+
+
+####
+#
+# TEST FAILS FOR NOW, AS LISTENERS ARE NOT WORKING ON TESTING
+#
+###
+
+# @pytest.mark.asyncio
+# async def test_invoices_api_full_pay_invoice(client, accounting_invoice, adminkey_headers_to):
+# invoice_id = accounting_invoice["id"]
+# print(accounting_invoice["id"])
+# amount_to_pay = int(10.20 * 100)
+
+# # ask for an invoice
+# response = await client.post(
+# f"/invoices/api/v1/invoice/{invoice_id}/payments?famount={amount_to_pay}"
+# )
+# assert response.status_code == 201
+# data = response.json()
+# payment_hash = data["payment_hash"]
+
+# # pay the invoice
+# data = {"out": True, "bolt11": data["payment_request"]}
+# response = await client.post(
+# "/api/v1/payments", json=data, headers=adminkey_headers_to
+# )
+# assert response.status_code < 300
+# assert len(response.json()["payment_hash"]) == 64
+# assert len(response.json()["checking_id"]) > 0
+
+# # check invoice is paid
+# response = await client.get(
+# f"/invoices/api/v1/invoice/{invoice_id}/payments/{payment_hash}"
+# )
+# assert response.status_code == 200
+# assert response.json()["paid"] == True
+
+# # check invoice status
+# response = await client.get(f"/invoices/api/v1/invoice/{invoice_id}")
+# assert response.status_code == 200
+# data = response.json()
+
+# print(data)
+# assert data["status"] == "paid"
diff --git a/tests/helpers.py b/tests/helpers.py
index 0ba1963d..fc5931bc 100644
--- a/tests/helpers.py
+++ b/tests/helpers.py
@@ -1,8 +1,10 @@
import hashlib
-import secrets
import random
+import secrets
import string
+
from lnbits.core.crud import create_payment
+from lnbits.settings import wallet_class
async def credit_wallet(wallet_id: str, amount: int):
@@ -31,3 +33,7 @@ def get_random_string(N=10):
async def get_random_invoice_data():
return {"out": False, "amount": 10, "memo": f"test_memo_{get_random_string(10)}"}
+
+
+is_fake: bool = wallet_class.__name__ == "FakeWallet"
+is_regtest: bool = not is_fake
diff --git a/tests/mocks.py b/tests/mocks.py
index c99691cb..3fc0efae 100644
--- a/tests/mocks.py
+++ b/tests/mocks.py
@@ -1,15 +1,11 @@
from mock import AsyncMock
-from lnbits import bolt11
-from lnbits.wallets.base import (
- StatusResponse,
- PaymentResponse,
- PaymentStatus,
-)
-from lnbits.settings import WALLET
+from lnbits import bolt11
+from lnbits.settings import WALLET
+from lnbits.wallets.base import PaymentResponse, PaymentStatus, StatusResponse
from lnbits.wallets.fake import FakeWallet
-from .helpers import get_random_string
+from .helpers import get_random_string, is_fake
# generates an invoice with FakeWallet
@@ -20,12 +16,13 @@ async def generate_mock_invoice(**x):
return invoice
-WALLET.status = AsyncMock(
- return_value=StatusResponse(
- "", # no error
- 1000000, # msats
+if is_fake:
+ WALLET.status = AsyncMock(
+ return_value=StatusResponse(
+ "", # no error
+ 1000000, # msats
+ )
)
-)
# Note: if this line is uncommented, invoices will always be generated by FakeWallet
# WALLET.create_invoice = generate_mock_invoice
@@ -55,26 +52,27 @@ WALLET.status = AsyncMock(
# )
-def pay_invoice_side_effect(
- payment_request: str, fee_limit_msat: int
-) -> PaymentResponse:
- invoice = bolt11.decode(payment_request)
- return PaymentResponse(
- True, # ok
- invoice.payment_hash, # checking_id (i.e. payment_hash)
- 0, # fee_msat
- "", # no error
- )
+if is_fake:
+ def pay_invoice_side_effect(
+ payment_request: str, fee_limit_msat: int
+ ) -> PaymentResponse:
+ invoice = bolt11.decode(payment_request)
+ return PaymentResponse(
+ True, # ok
+ invoice.payment_hash, # checking_id (i.e. payment_hash)
+ 0, # fee_msat
+ "", # no error
+ )
-WALLET.pay_invoice = AsyncMock(side_effect=pay_invoice_side_effect)
-WALLET.get_invoice_status = AsyncMock(
- return_value=PaymentStatus(
- True, # paid
+ WALLET.pay_invoice = AsyncMock(side_effect=pay_invoice_side_effect)
+ WALLET.get_invoice_status = AsyncMock(
+ return_value=PaymentStatus(
+ True, # paid
+ )
)
-)
-WALLET.get_payment_status = AsyncMock(
- return_value=PaymentStatus(
- True, # paid
+ WALLET.get_payment_status = AsyncMock(
+ return_value=PaymentStatus(
+ True, # paid
+ )
)
-)
diff --git a/tools/conv.py b/tools/conv.py
index b93bcfbe..5084660f 100644
--- a/tools/conv.py
+++ b/tools/conv.py
@@ -1,6 +1,7 @@
import argparse
import os
import sqlite3
+from typing import List
import psycopg2
from environs import Env # type: ignore
@@ -18,16 +19,12 @@ env.read_env()
# Change these values as needed
-sqfolder = "data/"
+sqfolder = env.str("LNBITS_DATA_FOLDER", default=None)
LNBITS_DATABASE_URL = env.str("LNBITS_DATABASE_URL", default=None)
if LNBITS_DATABASE_URL is None:
- pgdb = "lnbits"
- pguser = "lnbits"
- pgpswd = "postgres"
- pghost = "localhost"
- pgport = "5432"
- pgschema = ""
+ print("missing LNBITS_DATABASE_URL")
+ sys.exit(1)
else:
# parse postgres://lnbits:postgres@localhost:5432/lnbits
pgdb = LNBITS_DATABASE_URL.split("/")[-1]
@@ -110,627 +107,59 @@ def insert_to_pg(query, data):
connection.close()
-def migrate_core(sqlite_db_file):
- sq = get_sqlite_cursor(sqlite_db_file)
+def migrate_core(file: str, exclude_tables: List[str] = []):
+ print(f"Migrating core: {file}")
+ migrate_db(file, "public", exclude_tables)
+ print("✅ Migrated core")
- # ACCOUNTS
- res = sq.execute("SELECT * FROM accounts;")
- q = f"INSERT INTO public.accounts (id, email, pass) VALUES (%s, %s, %s);"
- insert_to_pg(q, res.fetchall())
- # WALLETS
- res = sq.execute("SELECT * FROM wallets;")
- q = f'INSERT INTO public.wallets (id, name, "user", adminkey, inkey) VALUES (%s, %s, %s, %s, %s);'
- insert_to_pg(q, res.fetchall())
+def migrate_ext(file: str):
+ filename = os.path.basename(file)
+ schema = filename.replace("ext_", "").split(".")[0]
+ print(f"Migrating ext: {file}.{schema}")
+ migrate_db(file, schema)
+ print(f"✅ Migrated ext: {schema}")
- # API PAYMENTS
- res = sq.execute("SELECT * FROM apipayments;")
- q = f"""
- INSERT INTO public.apipayments(
- checking_id, amount, fee, wallet, pending, memo, "time", hash, preimage, bolt11, extra, webhook, webhook_status)
- VALUES (%s, %s, %s, %s, %s::boolean, %s, to_timestamp(%s), %s, %s, %s, %s, %s, %s);
+
+def migrate_db(file: str, schema: str, exclude_tables: List[str] = []):
+ sq = get_sqlite_cursor(file)
+ tables = sq.execute(
+ """
+ SELECT name FROM sqlite_master
+ WHERE type='table' AND name not like 'sqlite?_%' escape '?'
"""
- insert_to_pg(q, res.fetchall())
+ ).fetchall()
- # BALANCE CHECK
- res = sq.execute("SELECT * FROM balance_check;")
- q = f"INSERT INTO public.balance_check(wallet, service, url) VALUES (%s, %s, %s);"
- insert_to_pg(q, res.fetchall())
+ for table in tables:
+ tableName = table[0]
+ if tableName in exclude_tables:
+ continue
- # BALANCE NOTIFY
- res = sq.execute("SELECT * FROM balance_notify;")
- q = f"INSERT INTO public.balance_notify(wallet, url) VALUES (%s, %s);"
- insert_to_pg(q, res.fetchall())
+ columns = sq.execute(f"PRAGMA table_info({tableName})").fetchall()
+ q = build_insert_query(schema, tableName, columns)
- # EXTENSIONS
- res = sq.execute("SELECT * FROM extensions;")
- q = f'INSERT INTO public.extensions("user", extension, active) VALUES (%s, %s, %s::boolean);'
- insert_to_pg(q, res.fetchall())
-
- print("Migrated: core")
-
-
-def migrate_ext(sqlite_db_file, schema, ignore_missing=True):
-
- # skip this file it has been moved to ext_lnurldevices.sqlite3
- if sqlite_db_file == "data/ext_lnurlpos.sqlite3":
- return
-
- print(f"Migrating {sqlite_db_file}.{schema}")
- sq = get_sqlite_cursor(sqlite_db_file)
- if schema == "bleskomat":
- # BLESKOMAT LNURLS
- res = sq.execute("SELECT * FROM bleskomat_lnurls;")
- q = f"""
- INSERT INTO bleskomat.bleskomat_lnurls(
- id, bleskomat, wallet, hash, tag, params, api_key_id, initial_uses, remaining_uses, created_time, updated_time)
- VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s);
- """
- insert_to_pg(q, res.fetchall())
-
- # BLESKOMATS
- res = sq.execute("SELECT * FROM bleskomats;")
- q = f"""
- INSERT INTO bleskomat.bleskomats(
- id, wallet, api_key_id, api_key_secret, api_key_encoding, name, fiat_currency, exchange_rate_provider, fee)
- VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s);
- """
- insert_to_pg(q, res.fetchall())
- elif schema == "captcha":
- # CAPTCHA
- res = sq.execute("SELECT * FROM captchas;")
- q = f"""
- INSERT INTO captcha.captchas(
- id, wallet, url, memo, description, amount, "time", remembers, extras)
- VALUES (%s, %s, %s, %s, %s, %s, to_timestamp(%s), %s, %s);
- """
- insert_to_pg(q, res.fetchall())
- elif schema == "copilot":
- # OLD COPILOTS
- res = sq.execute("SELECT * FROM copilots;")
- q = f"""
- INSERT INTO copilot.copilots(
- id, "user", title, lnurl_toggle, wallet, animation1, animation2, animation3, animation1threshold, animation2threshold, animation3threshold, animation1webhook, animation2webhook, animation3webhook, lnurl_title, show_message, show_ack, show_price, amount_made, fullscreen_cam, iframe_url, "timestamp")
- VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, to_timestamp(%s));
- """
- insert_to_pg(q, res.fetchall())
-
- # NEW COPILOTS
- q = f"""
- INSERT INTO copilot.newer_copilots(
- id, "user", title, lnurl_toggle, wallet, animation1, animation2, animation3, animation1threshold, animation2threshold, animation3threshold, animation1webhook, animation2webhook, animation3webhook, lnurl_title, show_message, show_ack, show_price, amount_made, fullscreen_cam, iframe_url, "timestamp")
- VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, to_timestamp(%s));
- """
- insert_to_pg(q, res.fetchall())
- elif schema == "events":
- # EVENTS
- res = sq.execute("SELECT * FROM events;")
- q = f"""
- INSERT INTO events.events(
- id, wallet, name, info, closing_date, event_start_date, event_end_date, amount_tickets, price_per_ticket, sold, "time")
- VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, to_timestamp(%s));
- """
- insert_to_pg(q, res.fetchall())
- # EVENT TICKETS
- res = sq.execute("SELECT * FROM ticket;")
- q = f"""
- INSERT INTO events.ticket(
- id, wallet, event, name, email, registered, paid, "time")
- VALUES (%s, %s, %s, %s, %s, %s::boolean, %s::boolean, to_timestamp(%s));
- """
- insert_to_pg(q, res.fetchall())
- elif schema == "example":
- # Example doesn't have a database at the moment
- pass
- elif schema == "hivemind":
- # Hivemind doesn't have a database at the moment
- pass
- elif schema == "jukebox":
- # JUKEBOXES
- res = sq.execute("SELECT * FROM jukebox;")
- q = f"""
- INSERT INTO jukebox.jukebox(
- id, "user", title, wallet, inkey, sp_user, sp_secret, sp_access_token, sp_refresh_token, sp_device, sp_playlists, price, profit)
- VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s);
- """
- insert_to_pg(q, res.fetchall())
- # JUKEBOX PAYMENTS
- res = sq.execute("SELECT * FROM jukebox_payment;")
- q = f"""
- INSERT INTO jukebox.jukebox_payment(
- payment_hash, juke_id, song_id, paid)
- VALUES (%s, %s, %s, %s::boolean);
- """
- insert_to_pg(q, res.fetchall())
- elif schema == "withdraw":
- # WITHDRAW LINK
- res = sq.execute("SELECT * FROM withdraw_link;")
- q = f"""
- INSERT INTO withdraw.withdraw_link (
- id,
- wallet,
- title,
- min_withdrawable,
- max_withdrawable,
- uses,
- wait_time,
- is_unique,
- unique_hash,
- k1,
- open_time,
- used,
- usescsv,
- webhook_url,
- custom_url
- )
- VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s);
- """
- insert_to_pg(q, res.fetchall())
- # WITHDRAW HASH CHECK
- res = sq.execute("SELECT * FROM hash_check;")
- q = f"""
- INSERT INTO withdraw.hash_check (id, lnurl_id)
- VALUES (%s, %s);
- """
- insert_to_pg(q, res.fetchall())
- elif schema == "watchonly":
- # WALLETS
- res = sq.execute("SELECT * FROM wallets;")
- q = f"""
- INSERT INTO watchonly.wallets (
- id,
- "user",
- masterpub,
- title,
- address_no,
- balance,
- type,
- fingerprint
- )
- VALUES (%s, %s, %s, %s, %s, %s, %s, %s);
- """
- insert_to_pg(q, res.fetchall())
- # ADDRESSES
- res = sq.execute("SELECT * FROM addresses;")
- q = f"""
- INSERT INTO watchonly.addresses (id, address, wallet, amount, branch_index, address_index, has_activity, note)
- VALUES (%s, %s, %s, %s, %s, %s, %s::boolean, %s);
- """
- insert_to_pg(q, res.fetchall())
- # CONFIG
- res = sq.execute("SELECT * FROM config;")
- q = f"""
- INSERT INTO watchonly.config ("user", json_data)
- VALUES (%s, %s);
- """
- insert_to_pg(q, res.fetchall())
- elif schema == "usermanager":
- # USERS
- res = sq.execute("SELECT * FROM users;")
- q = f"""
- INSERT INTO usermanager.users (id, name, admin, email, password)
- VALUES (%s, %s, %s, %s, %s);
- """
- insert_to_pg(q, res.fetchall())
- # WALLETS
- res = sq.execute("SELECT * FROM wallets;")
- q = f"""
- INSERT INTO usermanager.wallets (id, admin, name, "user", adminkey, inkey)
- VALUES (%s, %s, %s, %s, %s, %s);
- """
- insert_to_pg(q, res.fetchall())
- elif schema == "tpos":
- # TPOSS
- res = sq.execute("SELECT * FROM tposs;")
- q = f"""
- INSERT INTO tpos.tposs (id, wallet, name, currency, tip_wallet, tip_options)
- VALUES (%s, %s, %s, %s, %s, %s);
- """
- insert_to_pg(q, res.fetchall())
- elif schema == "tipjar":
- # TIPJARS
- res = sq.execute("SELECT * FROM TipJars;")
- q = f"""
- INSERT INTO tipjar.TipJars (id, name, wallet, onchain, webhook)
- VALUES (%s, %s, %s, %s, %s);
- """
- pay_links = res.fetchall()
- insert_to_pg(q, pay_links)
- fix_id("tipjar.tipjars_id_seq", pay_links)
- # TIPS
- res = sq.execute("SELECT * FROM Tips;")
- q = f"""
- INSERT INTO tipjar.Tips (id, wallet, name, message, sats, tipjar)
- VALUES (%s, %s, %s, %s, %s, %s);
- """
- insert_to_pg(q, res.fetchall())
- elif schema == "subdomains":
- # DOMAIN
- res = sq.execute("SELECT * FROM domain;")
- q = f"""
- INSERT INTO subdomains.domain (
- id,
- wallet,
- domain,
- webhook,
- cf_token,
- cf_zone_id,
- description,
- cost,
- amountmade,
- allowed_record_types,
- time
- )
- VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, to_timestamp(%s));
- """
- insert_to_pg(q, res.fetchall())
- # SUBDOMAIN
- res = sq.execute("SELECT * FROM subdomain;")
- q = f"""
- INSERT INTO subdomains.subdomain (
- id,
- domain,
- email,
- subdomain,
- ip,
- wallet,
- sats,
- duration,
- paid,
- record_type,
- time
- )
- VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s::boolean, %s, to_timestamp(%s));
- """
- insert_to_pg(q, res.fetchall())
- elif schema == "streamalerts":
- # SERVICES
- res = sq.execute("SELECT * FROM Services;")
- q = f"""
- INSERT INTO streamalerts.Services (
- id,
- state,
- twitchuser,
- client_id,
- client_secret,
- wallet,
- onchain,
- servicename,
- authenticated,
- token
- )
- VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s::boolean, %s);
- """
- services = res.fetchall()
- insert_to_pg(q, services)
- fix_id("streamalerts.services_id_seq", services)
- # DONATIONS
- res = sq.execute("SELECT * FROM Donations;")
- q = f"""
- INSERT INTO streamalerts.Donations (
- id,
- wallet,
- name,
- message,
- cur_code,
- sats,
- amount,
- service,
- posted,
- )
- VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s::boolean);
- """
- insert_to_pg(q, res.fetchall())
- elif schema == "splitpayments":
- # TARGETS
- res = sq.execute("SELECT * FROM targets;")
- q = f"""
- INSERT INTO splitpayments.targets (wallet, source, percent, alias)
- VALUES (%s, %s, %s, %s);
- """
- insert_to_pg(q, res.fetchall())
- elif schema == "satspay":
- # CHARGES
- res = sq.execute("SELECT * FROM charges;")
- q = f"""
- INSERT INTO satspay.charges (
- id,
- "user",
- description,
- onchainwallet,
- onchainaddress,
- lnbitswallet,
- payment_request,
- payment_hash,
- webhook,
- completelink,
- completelinktext,
- time,
- amount,
- balance,
- timestamp
- )
- VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, to_timestamp(%s));
- """
- insert_to_pg(q, res.fetchall())
- elif schema == "satsdice":
- # SATSDICE PAY
- res = sq.execute("SELECT * FROM satsdice_pay;")
- q = f"""
- INSERT INTO satsdice.satsdice_pay (
- id,
- wallet,
- title,
- min_bet,
- max_bet,
- amount,
- served_meta,
- served_pr,
- multiplier,
- haircut,
- chance,
- base_url,
- open_time
- )
- VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s);
- """
- insert_to_pg(q, res.fetchall())
- # SATSDICE WITHDRAW
- res = sq.execute("SELECT * FROM satsdice_withdraw;")
- q = f"""
- INSERT INTO satsdice.satsdice_withdraw (
- id,
- satsdice_pay,
- value,
- unique_hash,
- k1,
- open_time,
- used
- )
- VALUES (%s, %s, %s, %s, %s, %s, %s);
- """
- insert_to_pg(q, res.fetchall())
- # SATSDICE PAYMENT
- res = sq.execute("SELECT * FROM satsdice_payment;")
- q = f"""
- INSERT INTO satsdice.satsdice_payment (
- payment_hash,
- satsdice_pay,
- value,
- paid,
- lost
- )
- VALUES (%s, %s, %s, %s::boolean, %s::boolean);
- """
- insert_to_pg(q, res.fetchall())
- # SATSDICE HASH CHECK
- res = sq.execute("SELECT * FROM hash_checkw;")
- q = f"""
- INSERT INTO satsdice.hash_checkw (id, lnurl_id)
- VALUES (%s, %s);
- """
- insert_to_pg(q, res.fetchall())
- elif schema == "paywall":
- # PAYWALLS
- res = sq.execute("SELECT * FROM paywalls;")
- q = f"""
- INSERT INTO paywall.paywalls(
- id,
- wallet,
- url,
- memo,
- description,
- amount,
- time,
- remembers,
- extras
- )
- VALUES (%s, %s, %s, %s, %s, %s, to_timestamp(%s), %s, %s);
- """
- insert_to_pg(q, res.fetchall())
- elif schema == "offlineshop":
- # SHOPS
- res = sq.execute("SELECT * FROM shops;")
- q = f"""
- INSERT INTO offlineshop.shops (id, wallet, method, wordlist)
- VALUES (%s, %s, %s, %s);
- """
- shops = res.fetchall()
- insert_to_pg(q, shops)
- fix_id("offlineshop.shops_id_seq", shops)
- # ITEMS
- res = sq.execute("SELECT * FROM items;")
- q = f"""
- INSERT INTO offlineshop.items (shop, id, name, description, image, enabled, price, unit, fiat_base_multiplier)
- VALUES (%s, %s, %s, %s, %s, %s::boolean, %s, %s, %s);
- """
- items = res.fetchall()
- insert_to_pg(q, items)
- fix_id("offlineshop.items_id_seq", items)
- elif schema == "lnurlpos" or schema == "lnurldevice":
- # lnurldevice
- res = sq.execute("SELECT * FROM lnurldevices;")
- q = f"""
- INSERT INTO lnurldevice.lnurldevices (id, key, title, wallet, currency, device, profit, timestamp)
- VALUES (%s, %s, %s, %s, %s, %s, %s, to_timestamp(%s));
- """
- insert_to_pg(q, res.fetchall())
- # lnurldevice PAYMENT
- res = sq.execute("SELECT * FROM lnurldevicepayment;")
- q = f"""
- INSERT INTO lnurldevice.lnurldevicepayment (id, deviceid, payhash, payload, pin, sats, timestamp)
- VALUES (%s, %s, %s, %s, %s, %s, to_timestamp(%s));
- """
- insert_to_pg(q, res.fetchall())
- elif schema == "lnurlp":
- # PAY LINKS
- res = sq.execute("SELECT * FROM pay_links;")
- q = f"""
- INSERT INTO lnurlp.pay_links (
- id,
- wallet,
- description,
- min,
- served_meta,
- served_pr,
- webhook_url,
- success_text,
- success_url,
- currency,
- comment_chars,
- max,
- fiat_base_multiplier
- )
- VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s);
- """
- pay_links = res.fetchall()
- insert_to_pg(q, pay_links)
- fix_id("lnurlp.pay_links_id_seq", pay_links)
- elif schema == "lndhub":
- # LndHub doesn't have a database at the moment
- pass
- elif schema == "lnticket":
- # TICKET
- res = sq.execute("SELECT * FROM ticket;")
- q = f"""
- INSERT INTO lnticket.ticket (
- id,
- form,
- email,
- ltext,
- name,
- wallet,
- sats,
- paid,
- time
- )
- VALUES (%s, %s, %s, %s, %s, %s, %s, %s::boolean, to_timestamp(%s));
- """
- insert_to_pg(q, res.fetchall())
- # FORM
- res = sq.execute("SELECT * FROM form2;")
- q = f"""
- INSERT INTO lnticket.form2 (
- id,
- wallet,
- name,
- webhook,
- description,
- flatrate,
- amount,
- amountmade,
- time
- )
- VALUES (%s, %s, %s, %s, %s, %s, %s, %s, to_timestamp(%s));
- """
- insert_to_pg(q, res.fetchall())
- elif schema == "livestream":
- # LIVESTREAMS
- res = sq.execute("SELECT * FROM livestreams;")
- q = f"""
- INSERT INTO livestream.livestreams (
- id,
- wallet,
- fee_pct,
- current_track
- )
- VALUES (%s, %s, %s, %s);
- """
- livestreams = res.fetchall()
- insert_to_pg(q, livestreams)
- fix_id("livestream.livestreams_id_seq", livestreams)
- # PRODUCERS
- res = sq.execute("SELECT * FROM producers;")
- q = f"""
- INSERT INTO livestream.producers (
- livestream,
- id,
- "user",
- wallet,
- name
- )
- VALUES (%s, %s, %s, %s, %s);
- """
- producers = res.fetchall()
- insert_to_pg(q, producers)
- fix_id("livestream.producers_id_seq", producers)
- # TRACKS
- res = sq.execute("SELECT * FROM tracks;")
- q = f"""
- INSERT INTO livestream.tracks (
- livestream,
- id,
- download_url,
- price_msat,
- name,
- producer
- )
- VALUES (%s, %s, %s, %s, %s, %s);
- """
- tracks = res.fetchall()
- insert_to_pg(q, tracks)
- fix_id("livestream.tracks_id_seq", tracks)
- elif schema == "lnaddress":
- # DOMAINS
- res = sq.execute("SELECT * FROM domain;")
- q = f"""
- INSERT INTO lnaddress.domain(
- id, wallet, domain, webhook, cf_token, cf_zone_id, cost, "time")
- VALUES (%s, %s, %s, %s, %s, %s, %s, to_timestamp(%s));
- """
- insert_to_pg(q, res.fetchall())
- # ADDRESSES
- res = sq.execute("SELECT * FROM address;")
- q = f"""
- INSERT INTO lnaddress.address(
- id, wallet, domain, email, username, wallet_key, wallet_endpoint, sats, duration, paid, "time")
- VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s::boolean, to_timestamp(%s));
- """
- insert_to_pg(q, res.fetchall())
- elif schema == "discordbot":
- # USERS
- res = sq.execute("SELECT * FROM users;")
- q = f"""
- INSERT INTO discordbot.users(
- id, name, admin, discord_id)
- VALUES (%s, %s, %s, %s);
- """
- insert_to_pg(q, res.fetchall())
- # WALLETS
- res = sq.execute("SELECT * FROM wallets;")
- q = f"""
- INSERT INTO discordbot.wallets(
- id, admin, name, "user", adminkey, inkey)
- VALUES (%s, %s, %s, %s, %s, %s);
- """
- insert_to_pg(q, res.fetchall())
- elif schema == "scrub":
- # SCRUB LINKS
- res = sq.execute("SELECT * FROM scrub_links;")
- q = f"""
- INSERT INTO scrub.scrub_links (
- id,
- wallet,
- description,
- payoraddress
- )
- VALUES (%s, %s, %s, %s);
- """
- insert_to_pg(q, res.fetchall())
- else:
- print(f"❌ Not implemented: {schema}")
- sq.close()
-
- if ignore_missing == False:
- raise Exception(
- f"Not implemented: {schema}. Use --ignore-missing to skip missing extensions."
- )
- return
-
- print(f"✅ Migrated: {schema}")
+ data = sq.execute(f"SELECT * FROM {tableName};").fetchall()
+ insert_to_pg(q, data)
sq.close()
+def build_insert_query(schema, tableName, columns):
+ to_columns = ", ".join(map(lambda column: f'"{column[1]}"', columns))
+ values = ", ".join(map(lambda column: to_column_type(column[2]), columns))
+ return f"""
+ INSERT INTO {schema}.{tableName}({to_columns})
+ VALUES ({values});
+ """
+
+
+def to_column_type(columnType):
+ if columnType == "TIMESTAMP":
+ return "to_timestamp(%s)"
+ if columnType == "BOOLEAN":
+ return "%s::boolean"
+ return "%s"
+
+
parser = argparse.ArgumentParser(
description="LNbits migration tool for migrating data from SQLite to PostgreSQL"
)
@@ -774,11 +203,11 @@ args = parser.parse_args()
print("Selected path: ", args.sqlite_path)
if os.path.isdir(args.sqlite_path):
+ exclude_tables = ["dbversions"]
file = os.path.join(args.sqlite_path, "database.sqlite3")
check_db_versions(file)
if not args.extensions_only:
- print(f"Migrating: {file}")
- migrate_core(file)
+ migrate_core(file, exclude_tables)
if os.path.isdir(args.sqlite_path):
files = [
@@ -787,13 +216,8 @@ if os.path.isdir(args.sqlite_path):
else:
files = [args.sqlite_path]
+excluded_exts = ["ext_lnurlpos.sqlite3"]
for file in files:
filename = os.path.basename(file)
- if filename.startswith("ext_"):
- schema = filename.replace("ext_", "").split(".")[0]
- print(f"Migrating: {file}")
- migrate_ext(
- file,
- schema,
- ignore_missing=args.skip_missing,
- )
+ if filename.startswith("ext_") and filename not in excluded_exts:
+ migrate_ext(file)