// @generated by protoc-gen-es v2.11.0 with parameter "target=ts" // @generated from file devrpc/dev.proto (package devrpc, syntax proto3) /* eslint-disable */ import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2"; import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2"; import type { ChannelGraphSchema, ChannelPoint } from "../lightning_pb"; import { file_lightning } from "../lightning_pb"; import type { Message } from "@bufbuild/protobuf"; /** * Describes the file devrpc/dev.proto. */ export const file_devrpc_dev: GenFile = /*@__PURE__*/ fileDesc("ChBkZXZycGMvZGV2LnByb3RvEgZkZXZycGMiFQoTSW1wb3J0R3JhcGhSZXNwb25zZSI5ChFRdWllc2NlbmNlUmVxdWVzdBIkCgdjaGFuX2lkGAEgASgLMhMubG5ycGMuQ2hhbm5lbFBvaW50IicKElF1aWVzY2VuY2VSZXNwb25zZRIRCglpbml0aWF0b3IYASABKAgyiAEKA0RldhI/CgtJbXBvcnRHcmFwaBITLmxucnBjLkNoYW5uZWxHcmFwaBobLmRldnJwYy5JbXBvcnRHcmFwaFJlc3BvbnNlEkAKB1F1aWVzY2USGS5kZXZycGMuUXVpZXNjZW5jZVJlcXVlc3QaGi5kZXZycGMuUXVpZXNjZW5jZVJlc3BvbnNlQi5aLGdpdGh1Yi5jb20vbGlnaHRuaW5nbmV0d29yay9sbmQvbG5ycGMvZGV2cnBjYgZwcm90bzM", [file_lightning]); /** * @generated from message devrpc.ImportGraphResponse */ export type ImportGraphResponse = Message<"devrpc.ImportGraphResponse"> & { }; /** * Describes the message devrpc.ImportGraphResponse. * Use `create(ImportGraphResponseSchema)` to create a new message. */ export const ImportGraphResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_devrpc_dev, 0); /** * @generated from message devrpc.QuiescenceRequest */ export type QuiescenceRequest = Message<"devrpc.QuiescenceRequest"> & { /** * The channel point of the channel we wish to quiesce * * @generated from field: lnrpc.ChannelPoint chan_id = 1; */ chanId?: ChannelPoint; }; /** * Describes the message devrpc.QuiescenceRequest. * Use `create(QuiescenceRequestSchema)` to create a new message. */ export const QuiescenceRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_devrpc_dev, 1); /** * @generated from message devrpc.QuiescenceResponse */ export type QuiescenceResponse = Message<"devrpc.QuiescenceResponse"> & { /** * Indicates whether or not we hold the initiator role or not once the * negotiation completes * * @generated from field: bool initiator = 1; */ initiator: boolean; }; /** * Describes the message devrpc.QuiescenceResponse. * Use `create(QuiescenceResponseSchema)` to create a new message. */ export const QuiescenceResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_devrpc_dev, 2); /** * @generated from service devrpc.Dev */ export const Dev: GenService<{ /** * lncli: `importgraph` * ImportGraph imports a ChannelGraph into the graph database. Should only be * used for development. * * @generated from rpc devrpc.Dev.ImportGraph */ importGraph: { methodKind: "unary"; input: typeof ChannelGraphSchema; output: typeof ImportGraphResponseSchema; }, /** * * Quiesce instructs a channel to initiate the quiescence (stfu) protocol. This * RPC is for testing purposes only. The commit that adds it will be removed * once interop is confirmed. * * @generated from rpc devrpc.Dev.Quiesce */ quiesce: { methodKind: "unary"; input: typeof QuiescenceRequestSchema; output: typeof QuiescenceResponseSchema; }, }> = /*@__PURE__*/ serviceDesc(file_devrpc_dev, 0);