Documentation ¶
Overview ¶
Package lnrpc is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package lnrpc is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package lnrpc is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func CalculateFeeLimit(feeLimit *FeeLimit, amount lnwire.MilliSatoshi) lnwire.MilliSatoshi
- func ExtractMinConfs(minConfs int32, spendUnconfirmed bool) (int32, error)
- func FileExists(name string) bool
- func GetChanPointFundingTxid(chanPoint *ChannelPoint) (*chainhash.Hash, error)
- func IsClosedConnError(err error) bool
- func NewWebSocketProxy(h http.Handler, logger bronlog.Logger, pingInterval, pongWait time.Duration, ...) http.Handler
- func ParseConfs(min, max int32) (int32, int32, error)
- func RegisterLightningHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterLightningHandlerClient(ctx context.Context, mux *runtime.ServeMux, client LightningClient) error
- func RegisterLightningHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterLightningHandlerServer(ctx context.Context, mux *runtime.ServeMux, server LightningServer) error
- func RegisterLightningServer(s grpc.ServiceRegistrar, srv LightningServer)
- func RegisterStateHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterStateHandlerClient(ctx context.Context, mux *runtime.ServeMux, client StateClient) error
- func RegisterStateHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterStateHandlerServer(ctx context.Context, mux *runtime.ServeMux, server StateServer) error
- func RegisterStateServer(s grpc.ServiceRegistrar, srv StateServer)
- func RegisterSubServer(driver *SubServerDriver) error
- func RegisterWalletUnlockerHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterWalletUnlockerHandlerClient(ctx context.Context, mux *runtime.ServeMux, client WalletUnlockerClient) error
- func RegisterWalletUnlockerHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterWalletUnlockerHandlerServer(ctx context.Context, mux *runtime.ServeMux, server WalletUnlockerServer) error
- func RegisterWalletUnlockerServer(s grpc.ServiceRegistrar, srv WalletUnlockerServer)
- func SupportedServers() []string
- func UnmarshallAmt(amtSat, amtMsat int64) (lnwire.MilliSatoshi, error)
- type AMP
- func (*AMP) Descriptor() ([]byte, []int)deprecated
- func (x *AMP) GetChildIndex() uint32
- func (x *AMP) GetHash() []byte
- func (x *AMP) GetPreimage() []byte
- func (x *AMP) GetRootShare() []byte
- func (x *AMP) GetSetId() []byte
- func (*AMP) ProtoMessage()
- func (x *AMP) ProtoReflect() protoreflect.Message
- func (x *AMP) Reset()
- func (x *AMP) String() string
- type AMPInvoiceState
- func (*AMPInvoiceState) Descriptor() ([]byte, []int)deprecated
- func (x *AMPInvoiceState) GetAmtPaidMsat() int64
- func (x *AMPInvoiceState) GetSettleIndex() uint64
- func (x *AMPInvoiceState) GetSettleTime() int64
- func (x *AMPInvoiceState) GetState() InvoiceHTLCState
- func (*AMPInvoiceState) ProtoMessage()
- func (x *AMPInvoiceState) ProtoReflect() protoreflect.Message
- func (x *AMPInvoiceState) Reset()
- func (x *AMPInvoiceState) String() string
- type AMPRecord
- func (*AMPRecord) Descriptor() ([]byte, []int)deprecated
- func (x *AMPRecord) GetChildIndex() uint32
- func (x *AMPRecord) GetRootShare() []byte
- func (x *AMPRecord) GetSetId() []byte
- func (*AMPRecord) ProtoMessage()
- func (x *AMPRecord) ProtoReflect() protoreflect.Message
- func (x *AMPRecord) Reset()
- func (x *AMPRecord) String() string
- type AbandonChannelRequest
- func (*AbandonChannelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AbandonChannelRequest) GetChannelPoint() *ChannelPoint
- func (x *AbandonChannelRequest) GetIKnowWhatIAmDoing() bool
- func (x *AbandonChannelRequest) GetPendingFundingShimOnly() bool
- func (*AbandonChannelRequest) ProtoMessage()
- func (x *AbandonChannelRequest) ProtoReflect() protoreflect.Message
- func (x *AbandonChannelRequest) Reset()
- func (x *AbandonChannelRequest) String() string
- type AbandonChannelResponse
- type AddInvoiceResponse
- func (*AddInvoiceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AddInvoiceResponse) GetAddIndex() uint64
- func (x *AddInvoiceResponse) GetPaymentAddr() []byte
- func (x *AddInvoiceResponse) GetPaymentRequest() string
- func (x *AddInvoiceResponse) GetRHash() []byte
- func (*AddInvoiceResponse) ProtoMessage()
- func (x *AddInvoiceResponse) ProtoReflect() protoreflect.Message
- func (x *AddInvoiceResponse) Reset()
- func (x *AddInvoiceResponse) String() string
- type AddressType
- func (AddressType) Descriptor() protoreflect.EnumDescriptor
- func (x AddressType) Enum() *AddressType
- func (AddressType) EnumDescriptor() ([]byte, []int)deprecated
- func (x AddressType) Number() protoreflect.EnumNumber
- func (x AddressType) String() string
- func (AddressType) Type() protoreflect.EnumType
- type Amount
- type BakeMacaroonRequest
- func (*BakeMacaroonRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BakeMacaroonRequest) GetAllowExternalPermissions() bool
- func (x *BakeMacaroonRequest) GetPermissions() []*MacaroonPermission
- func (x *BakeMacaroonRequest) GetRootKeyId() uint64
- func (*BakeMacaroonRequest) ProtoMessage()
- func (x *BakeMacaroonRequest) ProtoReflect() protoreflect.Message
- func (x *BakeMacaroonRequest) Reset()
- func (x *BakeMacaroonRequest) String() string
- type BakeMacaroonResponse
- func (*BakeMacaroonResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BakeMacaroonResponse) GetMacaroon() string
- func (*BakeMacaroonResponse) ProtoMessage()
- func (x *BakeMacaroonResponse) ProtoReflect() protoreflect.Message
- func (x *BakeMacaroonResponse) Reset()
- func (x *BakeMacaroonResponse) String() string
- type BatchOpenChannel
- func (*BatchOpenChannel) Descriptor() ([]byte, []int)deprecated
- func (x *BatchOpenChannel) GetCloseAddress() string
- func (x *BatchOpenChannel) GetCommitmentType() CommitmentType
- func (x *BatchOpenChannel) GetLocalFundingAmount() int64
- func (x *BatchOpenChannel) GetMinHtlcMsat() int64
- func (x *BatchOpenChannel) GetNodePubkey() []byte
- func (x *BatchOpenChannel) GetPendingChanId() []byte
- func (x *BatchOpenChannel) GetPrivate() bool
- func (x *BatchOpenChannel) GetPushSat() int64
- func (x *BatchOpenChannel) GetRemoteCsvDelay() uint32
- func (*BatchOpenChannel) ProtoMessage()
- func (x *BatchOpenChannel) ProtoReflect() protoreflect.Message
- func (x *BatchOpenChannel) Reset()
- func (x *BatchOpenChannel) String() string
- type BatchOpenChannelRequest
- func (*BatchOpenChannelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BatchOpenChannelRequest) GetChannels() []*BatchOpenChannel
- func (x *BatchOpenChannelRequest) GetLabel() string
- func (x *BatchOpenChannelRequest) GetMinConfs() int32
- func (x *BatchOpenChannelRequest) GetSatPerVbyte() int64
- func (x *BatchOpenChannelRequest) GetSpendUnconfirmed() bool
- func (x *BatchOpenChannelRequest) GetTargetConf() int32
- func (*BatchOpenChannelRequest) ProtoMessage()
- func (x *BatchOpenChannelRequest) ProtoReflect() protoreflect.Message
- func (x *BatchOpenChannelRequest) Reset()
- func (x *BatchOpenChannelRequest) String() string
- type BatchOpenChannelResponse
- func (*BatchOpenChannelResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BatchOpenChannelResponse) GetPendingChannels() []*PendingUpdate
- func (*BatchOpenChannelResponse) ProtoMessage()
- func (x *BatchOpenChannelResponse) ProtoReflect() protoreflect.Message
- func (x *BatchOpenChannelResponse) Reset()
- func (x *BatchOpenChannelResponse) String() string
- type Chain
- type ChanBackupExportRequest
- type ChanBackupSnapshot
- func (*ChanBackupSnapshot) Descriptor() ([]byte, []int)deprecated
- func (x *ChanBackupSnapshot) GetMultiChanBackup() *MultiChanBackup
- func (x *ChanBackupSnapshot) GetSingleChanBackups() *ChannelBackups
- func (*ChanBackupSnapshot) ProtoMessage()
- func (x *ChanBackupSnapshot) ProtoReflect() protoreflect.Message
- func (x *ChanBackupSnapshot) Reset()
- func (x *ChanBackupSnapshot) String() string
- type ChanInfoRequest
- type ChanPointShim
- func (*ChanPointShim) Descriptor() ([]byte, []int)deprecated
- func (x *ChanPointShim) GetAmt() int64
- func (x *ChanPointShim) GetChanPoint() *ChannelPoint
- func (x *ChanPointShim) GetLocalKey() *KeyDescriptor
- func (x *ChanPointShim) GetPendingChanId() []byte
- func (x *ChanPointShim) GetRemoteKey() []byte
- func (x *ChanPointShim) GetThawHeight() uint32
- func (*ChanPointShim) ProtoMessage()
- func (x *ChanPointShim) ProtoReflect() protoreflect.Message
- func (x *ChanPointShim) Reset()
- func (x *ChanPointShim) String() string
- type ChangePasswordRequest
- func (*ChangePasswordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ChangePasswordRequest) GetCurrentPassword() []byte
- func (x *ChangePasswordRequest) GetNewMacaroonRootKey() bool
- func (x *ChangePasswordRequest) GetNewPassword() []byte
- func (x *ChangePasswordRequest) GetStatelessInit() bool
- func (*ChangePasswordRequest) ProtoMessage()
- func (x *ChangePasswordRequest) ProtoReflect() protoreflect.Message
- func (x *ChangePasswordRequest) Reset()
- func (x *ChangePasswordRequest) String() string
- type ChangePasswordResponse
- func (*ChangePasswordResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ChangePasswordResponse) GetAdminMacaroon() []byte
- func (*ChangePasswordResponse) ProtoMessage()
- func (x *ChangePasswordResponse) ProtoReflect() protoreflect.Message
- func (x *ChangePasswordResponse) Reset()
- func (x *ChangePasswordResponse) String() string
- type Channel
- func (*Channel) Descriptor() ([]byte, []int)deprecated
- func (x *Channel) GetActive() bool
- func (x *Channel) GetCapacity() int64
- func (x *Channel) GetChanId() uint64
- func (x *Channel) GetChanStatusFlags() string
- func (x *Channel) GetChannelPoint() string
- func (x *Channel) GetCloseAddress() string
- func (x *Channel) GetCommitFee() int64
- func (x *Channel) GetCommitWeight() int64
- func (x *Channel) GetCommitmentType() CommitmentType
- func (x *Channel) GetCsvDelay() uint32deprecated
- func (x *Channel) GetFeePerKw() int64
- func (x *Channel) GetInitiator() bool
- func (x *Channel) GetLifetime() int64
- func (x *Channel) GetLocalBalance() int64
- func (x *Channel) GetLocalChanReserveSat() int64deprecated
- func (x *Channel) GetLocalConstraints() *ChannelConstraints
- func (x *Channel) GetNumUpdates() uint64
- func (x *Channel) GetPendingHtlcs() []*HTLC
- func (x *Channel) GetPrivate() bool
- func (x *Channel) GetPushAmountSat() uint64
- func (x *Channel) GetRemoteBalance() int64
- func (x *Channel) GetRemoteChanReserveSat() int64deprecated
- func (x *Channel) GetRemoteConstraints() *ChannelConstraints
- func (x *Channel) GetRemotePubkey() string
- func (x *Channel) GetStaticRemoteKey() booldeprecated
- func (x *Channel) GetThawHeight() uint32
- func (x *Channel) GetTotalSatoshisReceived() int64
- func (x *Channel) GetTotalSatoshisSent() int64
- func (x *Channel) GetUnsettledBalance() int64
- func (x *Channel) GetUptime() int64
- func (*Channel) ProtoMessage()
- func (x *Channel) ProtoReflect() protoreflect.Message
- func (x *Channel) Reset()
- func (x *Channel) String() string
- type ChannelAcceptRequest
- func (*ChannelAcceptRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ChannelAcceptRequest) GetChainHash() []byte
- func (x *ChannelAcceptRequest) GetChannelFlags() uint32
- func (x *ChannelAcceptRequest) GetChannelReserve() uint64
- func (x *ChannelAcceptRequest) GetCommitmentType() CommitmentType
- func (x *ChannelAcceptRequest) GetCsvDelay() uint32
- func (x *ChannelAcceptRequest) GetDustLimit() uint64
- func (x *ChannelAcceptRequest) GetFeePerKw() uint64
- func (x *ChannelAcceptRequest) GetFundingAmt() uint64
- func (x *ChannelAcceptRequest) GetMaxAcceptedHtlcs() uint32
- func (x *ChannelAcceptRequest) GetMaxValueInFlight() uint64
- func (x *ChannelAcceptRequest) GetMinHtlc() uint64
- func (x *ChannelAcceptRequest) GetNodePubkey() []byte
- func (x *ChannelAcceptRequest) GetPendingChanId() []byte
- func (x *ChannelAcceptRequest) GetPushAmt() uint64
- func (*ChannelAcceptRequest) ProtoMessage()
- func (x *ChannelAcceptRequest) ProtoReflect() protoreflect.Message
- func (x *ChannelAcceptRequest) Reset()
- func (x *ChannelAcceptRequest) String() string
- type ChannelAcceptResponse
- func (*ChannelAcceptResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ChannelAcceptResponse) GetAccept() bool
- func (x *ChannelAcceptResponse) GetCsvDelay() uint32
- func (x *ChannelAcceptResponse) GetError() string
- func (x *ChannelAcceptResponse) GetInFlightMaxMsat() uint64
- func (x *ChannelAcceptResponse) GetMaxHtlcCount() uint32
- func (x *ChannelAcceptResponse) GetMinAcceptDepth() uint32
- func (x *ChannelAcceptResponse) GetMinHtlcIn() uint64
- func (x *ChannelAcceptResponse) GetPendingChanId() []byte
- func (x *ChannelAcceptResponse) GetReserveSat() uint64
- func (x *ChannelAcceptResponse) GetUpfrontShutdown() string
- func (*ChannelAcceptResponse) ProtoMessage()
- func (x *ChannelAcceptResponse) ProtoReflect() protoreflect.Message
- func (x *ChannelAcceptResponse) Reset()
- func (x *ChannelAcceptResponse) String() string
- type ChannelBackup
- func (*ChannelBackup) Descriptor() ([]byte, []int)deprecated
- func (x *ChannelBackup) GetChanBackup() []byte
- func (x *ChannelBackup) GetChanPoint() *ChannelPoint
- func (*ChannelBackup) ProtoMessage()
- func (x *ChannelBackup) ProtoReflect() protoreflect.Message
- func (x *ChannelBackup) Reset()
- func (x *ChannelBackup) String() string
- type ChannelBackupSubscription
- type ChannelBackups
- type ChannelBalanceRequest
- type ChannelBalanceResponse
- func (*ChannelBalanceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ChannelBalanceResponse) GetBalance() int64deprecated
- func (x *ChannelBalanceResponse) GetLocalBalance() *Amount
- func (x *ChannelBalanceResponse) GetPendingOpenBalance() int64deprecated
- func (x *ChannelBalanceResponse) GetPendingOpenLocalBalance() *Amount
- func (x *ChannelBalanceResponse) GetPendingOpenRemoteBalance() *Amount
- func (x *ChannelBalanceResponse) GetRemoteBalance() *Amount
- func (x *ChannelBalanceResponse) GetUnsettledLocalBalance() *Amount
- func (x *ChannelBalanceResponse) GetUnsettledRemoteBalance() *Amount
- func (*ChannelBalanceResponse) ProtoMessage()
- func (x *ChannelBalanceResponse) ProtoReflect() protoreflect.Message
- func (x *ChannelBalanceResponse) Reset()
- func (x *ChannelBalanceResponse) String() string
- type ChannelCloseSummary
- func (*ChannelCloseSummary) Descriptor() ([]byte, []int)deprecated
- func (x *ChannelCloseSummary) GetCapacity() int64
- func (x *ChannelCloseSummary) GetChainHash() string
- func (x *ChannelCloseSummary) GetChanId() uint64
- func (x *ChannelCloseSummary) GetChannelPoint() string
- func (x *ChannelCloseSummary) GetCloseHeight() uint32
- func (x *ChannelCloseSummary) GetCloseInitiator() Initiator
- func (x *ChannelCloseSummary) GetCloseType() ChannelCloseSummary_ClosureType
- func (x *ChannelCloseSummary) GetClosingTxHash() string
- func (x *ChannelCloseSummary) GetOpenInitiator() Initiator
- func (x *ChannelCloseSummary) GetRemotePubkey() string
- func (x *ChannelCloseSummary) GetResolutions() []*Resolution
- func (x *ChannelCloseSummary) GetSettledBalance() int64
- func (x *ChannelCloseSummary) GetTimeLockedBalance() int64
- func (*ChannelCloseSummary) ProtoMessage()
- func (x *ChannelCloseSummary) ProtoReflect() protoreflect.Message
- func (x *ChannelCloseSummary) Reset()
- func (x *ChannelCloseSummary) String() string
- type ChannelCloseSummary_ClosureType
- func (ChannelCloseSummary_ClosureType) Descriptor() protoreflect.EnumDescriptor
- func (x ChannelCloseSummary_ClosureType) Enum() *ChannelCloseSummary_ClosureType
- func (ChannelCloseSummary_ClosureType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ChannelCloseSummary_ClosureType) Number() protoreflect.EnumNumber
- func (x ChannelCloseSummary_ClosureType) String() string
- func (ChannelCloseSummary_ClosureType) Type() protoreflect.EnumType
- type ChannelCloseUpdate
- func (*ChannelCloseUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *ChannelCloseUpdate) GetClosingTxid() []byte
- func (x *ChannelCloseUpdate) GetSuccess() bool
- func (*ChannelCloseUpdate) ProtoMessage()
- func (x *ChannelCloseUpdate) ProtoReflect() protoreflect.Message
- func (x *ChannelCloseUpdate) Reset()
- func (x *ChannelCloseUpdate) String() string
- type ChannelConstraints
- func (*ChannelConstraints) Descriptor() ([]byte, []int)deprecated
- func (x *ChannelConstraints) GetChanReserveSat() uint64
- func (x *ChannelConstraints) GetCsvDelay() uint32
- func (x *ChannelConstraints) GetDustLimitSat() uint64
- func (x *ChannelConstraints) GetMaxAcceptedHtlcs() uint32
- func (x *ChannelConstraints) GetMaxPendingAmtMsat() uint64
- func (x *ChannelConstraints) GetMinHtlcMsat() uint64
- func (*ChannelConstraints) ProtoMessage()
- func (x *ChannelConstraints) ProtoReflect() protoreflect.Message
- func (x *ChannelConstraints) Reset()
- func (x *ChannelConstraints) String() string
- type ChannelEdge
- func (*ChannelEdge) Descriptor() ([]byte, []int)deprecated
- func (x *ChannelEdge) GetCapacity() int64
- func (x *ChannelEdge) GetChanPoint() string
- func (x *ChannelEdge) GetChannelId() uint64
- func (x *ChannelEdge) GetLastUpdate() uint32deprecated
- func (x *ChannelEdge) GetNode1Policy() *RoutingPolicy
- func (x *ChannelEdge) GetNode1Pub() string
- func (x *ChannelEdge) GetNode2Policy() *RoutingPolicy
- func (x *ChannelEdge) GetNode2Pub() string
- func (*ChannelEdge) ProtoMessage()
- func (x *ChannelEdge) ProtoReflect() protoreflect.Message
- func (x *ChannelEdge) Reset()
- func (x *ChannelEdge) String() string
- type ChannelEdgeUpdate
- func (*ChannelEdgeUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *ChannelEdgeUpdate) GetAdvertisingNode() string
- func (x *ChannelEdgeUpdate) GetCapacity() int64
- func (x *ChannelEdgeUpdate) GetChanId() uint64
- func (x *ChannelEdgeUpdate) GetChanPoint() *ChannelPoint
- func (x *ChannelEdgeUpdate) GetConnectingNode() string
- func (x *ChannelEdgeUpdate) GetRoutingPolicy() *RoutingPolicy
- func (*ChannelEdgeUpdate) ProtoMessage()
- func (x *ChannelEdgeUpdate) ProtoReflect() protoreflect.Message
- func (x *ChannelEdgeUpdate) Reset()
- func (x *ChannelEdgeUpdate) String() string
- type ChannelEventSubscription
- type ChannelEventUpdate
- func (*ChannelEventUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *ChannelEventUpdate) GetActiveChannel() *ChannelPoint
- func (m *ChannelEventUpdate) GetChannel() isChannelEventUpdate_Channel
- func (x *ChannelEventUpdate) GetClosedChannel() *ChannelCloseSummary
- func (x *ChannelEventUpdate) GetFullyResolvedChannel() *ChannelPoint
- func (x *ChannelEventUpdate) GetInactiveChannel() *ChannelPoint
- func (x *ChannelEventUpdate) GetOpenChannel() *Channel
- func (x *ChannelEventUpdate) GetPendingOpenChannel() *PendingUpdate
- func (x *ChannelEventUpdate) GetType() ChannelEventUpdate_UpdateType
- func (*ChannelEventUpdate) ProtoMessage()
- func (x *ChannelEventUpdate) ProtoReflect() protoreflect.Message
- func (x *ChannelEventUpdate) Reset()
- func (x *ChannelEventUpdate) String() string
- type ChannelEventUpdate_ActiveChannel
- type ChannelEventUpdate_ClosedChannel
- type ChannelEventUpdate_FullyResolvedChannel
- type ChannelEventUpdate_InactiveChannel
- type ChannelEventUpdate_OpenChannel
- type ChannelEventUpdate_PendingOpenChannel
- type ChannelEventUpdate_UpdateType
- func (ChannelEventUpdate_UpdateType) Descriptor() protoreflect.EnumDescriptor
- func (x ChannelEventUpdate_UpdateType) Enum() *ChannelEventUpdate_UpdateType
- func (ChannelEventUpdate_UpdateType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ChannelEventUpdate_UpdateType) Number() protoreflect.EnumNumber
- func (x ChannelEventUpdate_UpdateType) String() string
- func (ChannelEventUpdate_UpdateType) Type() protoreflect.EnumType
- type ChannelFeeReport
- func (*ChannelFeeReport) Descriptor() ([]byte, []int)deprecated
- func (x *ChannelFeeReport) GetBaseFeeMsat() int64
- func (x *ChannelFeeReport) GetChanId() uint64
- func (x *ChannelFeeReport) GetChannelPoint() string
- func (x *ChannelFeeReport) GetFeePerMil() int64
- func (x *ChannelFeeReport) GetFeeRate() float64
- func (*ChannelFeeReport) ProtoMessage()
- func (x *ChannelFeeReport) ProtoReflect() protoreflect.Message
- func (x *ChannelFeeReport) Reset()
- func (x *ChannelFeeReport) String() string
- type ChannelGraph
- func (*ChannelGraph) Descriptor() ([]byte, []int)deprecated
- func (x *ChannelGraph) GetEdges() []*ChannelEdge
- func (x *ChannelGraph) GetNodes() []*LightningNode
- func (*ChannelGraph) ProtoMessage()
- func (x *ChannelGraph) ProtoReflect() protoreflect.Message
- func (x *ChannelGraph) Reset()
- func (x *ChannelGraph) String() string
- type ChannelGraphRequest
- func (*ChannelGraphRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ChannelGraphRequest) GetIncludeUnannounced() bool
- func (*ChannelGraphRequest) ProtoMessage()
- func (x *ChannelGraphRequest) ProtoReflect() protoreflect.Message
- func (x *ChannelGraphRequest) Reset()
- func (x *ChannelGraphRequest) String() string
- type ChannelOpenUpdate
- func (*ChannelOpenUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *ChannelOpenUpdate) GetChannelPoint() *ChannelPoint
- func (*ChannelOpenUpdate) ProtoMessage()
- func (x *ChannelOpenUpdate) ProtoReflect() protoreflect.Message
- func (x *ChannelOpenUpdate) Reset()
- func (x *ChannelOpenUpdate) String() string
- type ChannelPoint
- func (*ChannelPoint) Descriptor() ([]byte, []int)deprecated
- func (m *ChannelPoint) GetFundingTxid() isChannelPoint_FundingTxid
- func (x *ChannelPoint) GetFundingTxidBytes() []byte
- func (x *ChannelPoint) GetFundingTxidStr() string
- func (x *ChannelPoint) GetOutputIndex() uint32
- func (*ChannelPoint) ProtoMessage()
- func (x *ChannelPoint) ProtoReflect() protoreflect.Message
- func (x *ChannelPoint) Reset()
- func (x *ChannelPoint) String() string
- type ChannelPoint_FundingTxidBytes
- type ChannelPoint_FundingTxidStr
- type ChannelUpdate
- func (*ChannelUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *ChannelUpdate) GetBaseFee() uint32
- func (x *ChannelUpdate) GetChainHash() []byte
- func (x *ChannelUpdate) GetChanId() uint64
- func (x *ChannelUpdate) GetChannelFlags() uint32
- func (x *ChannelUpdate) GetExtraOpaqueData() []byte
- func (x *ChannelUpdate) GetFeeRate() uint32
- func (x *ChannelUpdate) GetHtlcMaximumMsat() uint64
- func (x *ChannelUpdate) GetHtlcMinimumMsat() uint64
- func (x *ChannelUpdate) GetMessageFlags() uint32
- func (x *ChannelUpdate) GetSignature() []byte
- func (x *ChannelUpdate) GetTimeLockDelta() uint32
- func (x *ChannelUpdate) GetTimestamp() uint32
- func (*ChannelUpdate) ProtoMessage()
- func (x *ChannelUpdate) ProtoReflect() protoreflect.Message
- func (x *ChannelUpdate) Reset()
- func (x *ChannelUpdate) String() string
- type CheckMacPermRequest
- func (*CheckMacPermRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CheckMacPermRequest) GetFullMethod() string
- func (x *CheckMacPermRequest) GetMacaroon() []byte
- func (x *CheckMacPermRequest) GetPermissions() []*MacaroonPermission
- func (*CheckMacPermRequest) ProtoMessage()
- func (x *CheckMacPermRequest) ProtoReflect() protoreflect.Message
- func (x *CheckMacPermRequest) Reset()
- func (x *CheckMacPermRequest) String() string
- type CheckMacPermResponse
- func (*CheckMacPermResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CheckMacPermResponse) GetValid() bool
- func (*CheckMacPermResponse) ProtoMessage()
- func (x *CheckMacPermResponse) ProtoReflect() protoreflect.Message
- func (x *CheckMacPermResponse) Reset()
- func (x *CheckMacPermResponse) String() string
- type CloseChannelRequest
- func (*CloseChannelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CloseChannelRequest) GetChannelPoint() *ChannelPoint
- func (x *CloseChannelRequest) GetDeliveryAddress() string
- func (x *CloseChannelRequest) GetForce() bool
- func (x *CloseChannelRequest) GetSatPerByte() int64deprecated
- func (x *CloseChannelRequest) GetSatPerVbyte() uint64
- func (x *CloseChannelRequest) GetTargetConf() int32
- func (*CloseChannelRequest) ProtoMessage()
- func (x *CloseChannelRequest) ProtoReflect() protoreflect.Message
- func (x *CloseChannelRequest) Reset()
- func (x *CloseChannelRequest) String() string
- type CloseStatusUpdate
- func (*CloseStatusUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *CloseStatusUpdate) GetChanClose() *ChannelCloseUpdate
- func (x *CloseStatusUpdate) GetClosePending() *PendingUpdate
- func (m *CloseStatusUpdate) GetUpdate() isCloseStatusUpdate_Update
- func (*CloseStatusUpdate) ProtoMessage()
- func (x *CloseStatusUpdate) ProtoReflect() protoreflect.Message
- func (x *CloseStatusUpdate) Reset()
- func (x *CloseStatusUpdate) String() string
- type CloseStatusUpdate_ChanClose
- type CloseStatusUpdate_ClosePending
- type ClosedChannelUpdate
- func (*ClosedChannelUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *ClosedChannelUpdate) GetCapacity() int64
- func (x *ClosedChannelUpdate) GetChanId() uint64
- func (x *ClosedChannelUpdate) GetChanPoint() *ChannelPoint
- func (x *ClosedChannelUpdate) GetClosedHeight() uint32
- func (*ClosedChannelUpdate) ProtoMessage()
- func (x *ClosedChannelUpdate) ProtoReflect() protoreflect.Message
- func (x *ClosedChannelUpdate) Reset()
- func (x *ClosedChannelUpdate) String() string
- type ClosedChannelsRequest
- func (*ClosedChannelsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ClosedChannelsRequest) GetAbandoned() bool
- func (x *ClosedChannelsRequest) GetBreach() bool
- func (x *ClosedChannelsRequest) GetCooperative() bool
- func (x *ClosedChannelsRequest) GetFundingCanceled() bool
- func (x *ClosedChannelsRequest) GetLocalForce() bool
- func (x *ClosedChannelsRequest) GetRemoteForce() bool
- func (*ClosedChannelsRequest) ProtoMessage()
- func (x *ClosedChannelsRequest) ProtoReflect() protoreflect.Message
- func (x *ClosedChannelsRequest) Reset()
- func (x *ClosedChannelsRequest) String() string
- type ClosedChannelsResponse
- func (*ClosedChannelsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ClosedChannelsResponse) GetChannels() []*ChannelCloseSummary
- func (*ClosedChannelsResponse) ProtoMessage()
- func (x *ClosedChannelsResponse) ProtoReflect() protoreflect.Message
- func (x *ClosedChannelsResponse) Reset()
- func (x *ClosedChannelsResponse) String() string
- type CommitmentType
- func (CommitmentType) Descriptor() protoreflect.EnumDescriptor
- func (x CommitmentType) Enum() *CommitmentType
- func (CommitmentType) EnumDescriptor() ([]byte, []int)deprecated
- func (x CommitmentType) Number() protoreflect.EnumNumber
- func (x CommitmentType) String() string
- func (CommitmentType) Type() protoreflect.EnumType
- type ConfirmationUpdate
- func (*ConfirmationUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *ConfirmationUpdate) GetBlockHeight() int32
- func (x *ConfirmationUpdate) GetBlockSha() []byte
- func (x *ConfirmationUpdate) GetNumConfsLeft() uint32
- func (*ConfirmationUpdate) ProtoMessage()
- func (x *ConfirmationUpdate) ProtoReflect() protoreflect.Message
- func (x *ConfirmationUpdate) Reset()
- func (x *ConfirmationUpdate) String() string
- type ConnectPeerRequest
- func (*ConnectPeerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ConnectPeerRequest) GetAddr() *LightningAddress
- func (x *ConnectPeerRequest) GetPerm() bool
- func (x *ConnectPeerRequest) GetTimeout() uint64
- func (*ConnectPeerRequest) ProtoMessage()
- func (x *ConnectPeerRequest) ProtoReflect() protoreflect.Message
- func (x *ConnectPeerRequest) Reset()
- func (x *ConnectPeerRequest) String() string
- type ConnectPeerResponse
- type CustomMessage
- func (*CustomMessage) Descriptor() ([]byte, []int)deprecated
- func (x *CustomMessage) GetData() []byte
- func (x *CustomMessage) GetPeer() []byte
- func (x *CustomMessage) GetType() uint32
- func (*CustomMessage) ProtoMessage()
- func (x *CustomMessage) ProtoReflect() protoreflect.Message
- func (x *CustomMessage) Reset()
- func (x *CustomMessage) String() string
- type DebugLevelRequest
- func (*DebugLevelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DebugLevelRequest) GetLevelSpec() string
- func (x *DebugLevelRequest) GetShow() bool
- func (*DebugLevelRequest) ProtoMessage()
- func (x *DebugLevelRequest) ProtoReflect() protoreflect.Message
- func (x *DebugLevelRequest) Reset()
- func (x *DebugLevelRequest) String() string
- type DebugLevelResponse
- func (*DebugLevelResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DebugLevelResponse) GetSubSystems() string
- func (*DebugLevelResponse) ProtoMessage()
- func (x *DebugLevelResponse) ProtoReflect() protoreflect.Message
- func (x *DebugLevelResponse) Reset()
- func (x *DebugLevelResponse) String() string
- type DeleteAllPaymentsRequest
- func (*DeleteAllPaymentsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAllPaymentsRequest) GetFailedHtlcsOnly() bool
- func (x *DeleteAllPaymentsRequest) GetFailedPaymentsOnly() bool
- func (*DeleteAllPaymentsRequest) ProtoMessage()
- func (x *DeleteAllPaymentsRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteAllPaymentsRequest) Reset()
- func (x *DeleteAllPaymentsRequest) String() string
- type DeleteAllPaymentsResponse
- type DeleteMacaroonIDRequest
- func (*DeleteMacaroonIDRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteMacaroonIDRequest) GetRootKeyId() uint64
- func (*DeleteMacaroonIDRequest) ProtoMessage()
- func (x *DeleteMacaroonIDRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteMacaroonIDRequest) Reset()
- func (x *DeleteMacaroonIDRequest) String() string
- type DeleteMacaroonIDResponse
- func (*DeleteMacaroonIDResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteMacaroonIDResponse) GetDeleted() bool
- func (*DeleteMacaroonIDResponse) ProtoMessage()
- func (x *DeleteMacaroonIDResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteMacaroonIDResponse) Reset()
- func (x *DeleteMacaroonIDResponse) String() string
- type DeletePaymentRequest
- func (*DeletePaymentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeletePaymentRequest) GetFailedHtlcsOnly() bool
- func (x *DeletePaymentRequest) GetPaymentHash() []byte
- func (*DeletePaymentRequest) ProtoMessage()
- func (x *DeletePaymentRequest) ProtoReflect() protoreflect.Message
- func (x *DeletePaymentRequest) Reset()
- func (x *DeletePaymentRequest) String() string
- type DeletePaymentResponse
- type DisconnectPeerRequest
- func (*DisconnectPeerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DisconnectPeerRequest) GetPubKey() string
- func (*DisconnectPeerRequest) ProtoMessage()
- func (x *DisconnectPeerRequest) ProtoReflect() protoreflect.Message
- func (x *DisconnectPeerRequest) Reset()
- func (x *DisconnectPeerRequest) String() string
- type DisconnectPeerResponse
- type EdgeLocator
- func (*EdgeLocator) Descriptor() ([]byte, []int)deprecated
- func (x *EdgeLocator) GetChannelId() uint64
- func (x *EdgeLocator) GetDirectionReverse() bool
- func (*EdgeLocator) ProtoMessage()
- func (x *EdgeLocator) ProtoReflect() protoreflect.Message
- func (x *EdgeLocator) Reset()
- func (x *EdgeLocator) String() string
- type EstimateFeeRequest
- func (*EstimateFeeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EstimateFeeRequest) GetAddrToAmount() map[string]int64
- func (x *EstimateFeeRequest) GetMinConfs() int32
- func (x *EstimateFeeRequest) GetSpendUnconfirmed() bool
- func (x *EstimateFeeRequest) GetTargetConf() int32
- func (*EstimateFeeRequest) ProtoMessage()
- func (x *EstimateFeeRequest) ProtoReflect() protoreflect.Message
- func (x *EstimateFeeRequest) Reset()
- func (x *EstimateFeeRequest) String() string
- type EstimateFeeResponse
- func (*EstimateFeeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *EstimateFeeResponse) GetFeeSat() int64
- func (x *EstimateFeeResponse) GetFeerateSatPerByte() int64deprecated
- func (x *EstimateFeeResponse) GetSatPerVbyte() uint64
- func (*EstimateFeeResponse) ProtoMessage()
- func (x *EstimateFeeResponse) ProtoReflect() protoreflect.Message
- func (x *EstimateFeeResponse) Reset()
- func (x *EstimateFeeResponse) String() string
- type ExportChannelBackupRequest
- func (*ExportChannelBackupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExportChannelBackupRequest) GetChanPoint() *ChannelPoint
- func (*ExportChannelBackupRequest) ProtoMessage()
- func (x *ExportChannelBackupRequest) ProtoReflect() protoreflect.Message
- func (x *ExportChannelBackupRequest) Reset()
- func (x *ExportChannelBackupRequest) String() string
- type FailedUpdate
- func (*FailedUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *FailedUpdate) GetOutpoint() *OutPoint
- func (x *FailedUpdate) GetReason() UpdateFailure
- func (x *FailedUpdate) GetUpdateError() string
- func (*FailedUpdate) ProtoMessage()
- func (x *FailedUpdate) ProtoReflect() protoreflect.Message
- func (x *FailedUpdate) Reset()
- func (x *FailedUpdate) String() string
- type Failure
- func (*Failure) Descriptor() ([]byte, []int)deprecated
- func (x *Failure) GetChannelUpdate() *ChannelUpdate
- func (x *Failure) GetCltvExpiry() uint32
- func (x *Failure) GetCode() Failure_FailureCode
- func (x *Failure) GetFailureSourceIndex() uint32
- func (x *Failure) GetFlags() uint32
- func (x *Failure) GetHeight() uint32
- func (x *Failure) GetHtlcMsat() uint64
- func (x *Failure) GetOnionSha_256() []byte
- func (*Failure) ProtoMessage()
- func (x *Failure) ProtoReflect() protoreflect.Message
- func (x *Failure) Reset()
- func (x *Failure) String() string
- type Failure_FailureCode
- func (Failure_FailureCode) Descriptor() protoreflect.EnumDescriptor
- func (x Failure_FailureCode) Enum() *Failure_FailureCode
- func (Failure_FailureCode) EnumDescriptor() ([]byte, []int)deprecated
- func (x Failure_FailureCode) Number() protoreflect.EnumNumber
- func (x Failure_FailureCode) String() string
- func (Failure_FailureCode) Type() protoreflect.EnumType
- type Feature
- func (*Feature) Descriptor() ([]byte, []int)deprecated
- func (x *Feature) GetIsKnown() bool
- func (x *Feature) GetIsRequired() bool
- func (x *Feature) GetName() string
- func (*Feature) ProtoMessage()
- func (x *Feature) ProtoReflect() protoreflect.Message
- func (x *Feature) Reset()
- func (x *Feature) String() string
- type FeatureBit
- type FeeLimit
- func (*FeeLimit) Descriptor() ([]byte, []int)deprecated
- func (x *FeeLimit) GetFixed() int64
- func (x *FeeLimit) GetFixedMsat() int64
- func (m *FeeLimit) GetLimit() isFeeLimit_Limit
- func (x *FeeLimit) GetPercent() int64
- func (*FeeLimit) ProtoMessage()
- func (x *FeeLimit) ProtoReflect() protoreflect.Message
- func (x *FeeLimit) Reset()
- func (x *FeeLimit) String() string
- type FeeLimit_Fixed
- type FeeLimit_FixedMsat
- type FeeLimit_Percent
- type FeeReportRequest
- type FeeReportResponse
- func (*FeeReportResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FeeReportResponse) GetChannelFees() []*ChannelFeeReport
- func (x *FeeReportResponse) GetDayFeeSum() uint64
- func (x *FeeReportResponse) GetMonthFeeSum() uint64
- func (x *FeeReportResponse) GetWeekFeeSum() uint64
- func (*FeeReportResponse) ProtoMessage()
- func (x *FeeReportResponse) ProtoReflect() protoreflect.Message
- func (x *FeeReportResponse) Reset()
- func (x *FeeReportResponse) String() string
- type FloatMetric
- func (*FloatMetric) Descriptor() ([]byte, []int)deprecated
- func (x *FloatMetric) GetNormalizedValue() float64
- func (x *FloatMetric) GetValue() float64
- func (*FloatMetric) ProtoMessage()
- func (x *FloatMetric) ProtoReflect() protoreflect.Message
- func (x *FloatMetric) Reset()
- func (x *FloatMetric) String() string
- type ForwardingEvent
- func (*ForwardingEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ForwardingEvent) GetAmtIn() uint64
- func (x *ForwardingEvent) GetAmtInMsat() uint64
- func (x *ForwardingEvent) GetAmtOut() uint64
- func (x *ForwardingEvent) GetAmtOutMsat() uint64
- func (x *ForwardingEvent) GetChanIdIn() uint64
- func (x *ForwardingEvent) GetChanIdOut() uint64
- func (x *ForwardingEvent) GetFee() uint64
- func (x *ForwardingEvent) GetFeeMsat() uint64
- func (x *ForwardingEvent) GetTimestamp() uint64deprecated
- func (x *ForwardingEvent) GetTimestampNs() uint64
- func (*ForwardingEvent) ProtoMessage()
- func (x *ForwardingEvent) ProtoReflect() protoreflect.Message
- func (x *ForwardingEvent) Reset()
- func (x *ForwardingEvent) String() string
- type ForwardingHistoryRequest
- func (*ForwardingHistoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ForwardingHistoryRequest) GetEndTime() uint64
- func (x *ForwardingHistoryRequest) GetIndexOffset() uint32
- func (x *ForwardingHistoryRequest) GetNumMaxEvents() uint32
- func (x *ForwardingHistoryRequest) GetStartTime() uint64
- func (*ForwardingHistoryRequest) ProtoMessage()
- func (x *ForwardingHistoryRequest) ProtoReflect() protoreflect.Message
- func (x *ForwardingHistoryRequest) Reset()
- func (x *ForwardingHistoryRequest) String() string
- type ForwardingHistoryResponse
- func (*ForwardingHistoryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ForwardingHistoryResponse) GetForwardingEvents() []*ForwardingEvent
- func (x *ForwardingHistoryResponse) GetLastOffsetIndex() uint32
- func (*ForwardingHistoryResponse) ProtoMessage()
- func (x *ForwardingHistoryResponse) ProtoReflect() protoreflect.Message
- func (x *ForwardingHistoryResponse) Reset()
- func (x *ForwardingHistoryResponse) String() string
- type FundingPsbtFinalize
- func (*FundingPsbtFinalize) Descriptor() ([]byte, []int)deprecated
- func (x *FundingPsbtFinalize) GetFinalRawTx() []byte
- func (x *FundingPsbtFinalize) GetPendingChanId() []byte
- func (x *FundingPsbtFinalize) GetSignedPsbt() []byte
- func (*FundingPsbtFinalize) ProtoMessage()
- func (x *FundingPsbtFinalize) ProtoReflect() protoreflect.Message
- func (x *FundingPsbtFinalize) Reset()
- func (x *FundingPsbtFinalize) String() string
- type FundingPsbtVerify
- func (*FundingPsbtVerify) Descriptor() ([]byte, []int)deprecated
- func (x *FundingPsbtVerify) GetFundedPsbt() []byte
- func (x *FundingPsbtVerify) GetPendingChanId() []byte
- func (x *FundingPsbtVerify) GetSkipFinalize() bool
- func (*FundingPsbtVerify) ProtoMessage()
- func (x *FundingPsbtVerify) ProtoReflect() protoreflect.Message
- func (x *FundingPsbtVerify) Reset()
- func (x *FundingPsbtVerify) String() string
- type FundingShim
- func (*FundingShim) Descriptor() ([]byte, []int)deprecated
- func (x *FundingShim) GetChanPointShim() *ChanPointShim
- func (x *FundingShim) GetPsbtShim() *PsbtShim
- func (m *FundingShim) GetShim() isFundingShim_Shim
- func (*FundingShim) ProtoMessage()
- func (x *FundingShim) ProtoReflect() protoreflect.Message
- func (x *FundingShim) Reset()
- func (x *FundingShim) String() string
- type FundingShimCancel
- func (*FundingShimCancel) Descriptor() ([]byte, []int)deprecated
- func (x *FundingShimCancel) GetPendingChanId() []byte
- func (*FundingShimCancel) ProtoMessage()
- func (x *FundingShimCancel) ProtoReflect() protoreflect.Message
- func (x *FundingShimCancel) Reset()
- func (x *FundingShimCancel) String() string
- type FundingShim_ChanPointShim
- type FundingShim_PsbtShim
- type FundingStateStepResp
- type FundingTransitionMsg
- func (*FundingTransitionMsg) Descriptor() ([]byte, []int)deprecated
- func (x *FundingTransitionMsg) GetPsbtFinalize() *FundingPsbtFinalize
- func (x *FundingTransitionMsg) GetPsbtVerify() *FundingPsbtVerify
- func (x *FundingTransitionMsg) GetShimCancel() *FundingShimCancel
- func (x *FundingTransitionMsg) GetShimRegister() *FundingShim
- func (m *FundingTransitionMsg) GetTrigger() isFundingTransitionMsg_Trigger
- func (*FundingTransitionMsg) ProtoMessage()
- func (x *FundingTransitionMsg) ProtoReflect() protoreflect.Message
- func (x *FundingTransitionMsg) Reset()
- func (x *FundingTransitionMsg) String() string
- type FundingTransitionMsg_PsbtFinalize
- type FundingTransitionMsg_PsbtVerify
- type FundingTransitionMsg_ShimCancel
- type FundingTransitionMsg_ShimRegister
- type GenSeedRequest
- func (*GenSeedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GenSeedRequest) GetAezeedPassphrase() []byte
- func (x *GenSeedRequest) GetSeedEntropy() []byte
- func (*GenSeedRequest) ProtoMessage()
- func (x *GenSeedRequest) ProtoReflect() protoreflect.Message
- func (x *GenSeedRequest) Reset()
- func (x *GenSeedRequest) String() string
- type GenSeedResponse
- func (*GenSeedResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GenSeedResponse) GetCipherSeedMnemonic() []string
- func (x *GenSeedResponse) GetEncipheredSeed() []byte
- func (*GenSeedResponse) ProtoMessage()
- func (x *GenSeedResponse) ProtoReflect() protoreflect.Message
- func (x *GenSeedResponse) Reset()
- func (x *GenSeedResponse) String() string
- type GetInfoRequest
- type GetInfoResponse
- func (*GetInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetInfoResponse) GetAlias() string
- func (x *GetInfoResponse) GetBestHeaderTimestamp() int64
- func (x *GetInfoResponse) GetBlockHash() string
- func (x *GetInfoResponse) GetBlockHeight() uint32
- func (x *GetInfoResponse) GetChains() []*Chain
- func (x *GetInfoResponse) GetColor() string
- func (x *GetInfoResponse) GetCommitHash() string
- func (x *GetInfoResponse) GetFeatures() map[uint32]*Feature
- func (x *GetInfoResponse) GetIdentityPubkey() string
- func (x *GetInfoResponse) GetNumActiveChannels() uint32
- func (x *GetInfoResponse) GetNumInactiveChannels() uint32
- func (x *GetInfoResponse) GetNumPeers() uint32
- func (x *GetInfoResponse) GetNumPendingChannels() uint32
- func (x *GetInfoResponse) GetSyncedToChain() bool
- func (x *GetInfoResponse) GetSyncedToGraph() bool
- func (x *GetInfoResponse) GetTestnet() booldeprecated
- func (x *GetInfoResponse) GetUris() []string
- func (x *GetInfoResponse) GetVersion() string
- func (*GetInfoResponse) ProtoMessage()
- func (x *GetInfoResponse) ProtoReflect() protoreflect.Message
- func (x *GetInfoResponse) Reset()
- func (x *GetInfoResponse) String() string
- type GetRecoveryInfoRequest
- type GetRecoveryInfoResponse
- func (*GetRecoveryInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetRecoveryInfoResponse) GetProgress() float64
- func (x *GetRecoveryInfoResponse) GetRecoveryFinished() bool
- func (x *GetRecoveryInfoResponse) GetRecoveryMode() bool
- func (*GetRecoveryInfoResponse) ProtoMessage()
- func (x *GetRecoveryInfoResponse) ProtoReflect() protoreflect.Message
- func (x *GetRecoveryInfoResponse) Reset()
- func (x *GetRecoveryInfoResponse) String() string
- type GetStateRequest
- type GetStateResponse
- type GetTransactionsRequest
- func (*GetTransactionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTransactionsRequest) GetAccount() string
- func (x *GetTransactionsRequest) GetEndHeight() int32
- func (x *GetTransactionsRequest) GetStartHeight() int32
- func (*GetTransactionsRequest) ProtoMessage()
- func (x *GetTransactionsRequest) ProtoReflect() protoreflect.Message
- func (x *GetTransactionsRequest) Reset()
- func (x *GetTransactionsRequest) String() string
- type GraphTopologySubscription
- type GraphTopologyUpdate
- func (*GraphTopologyUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *GraphTopologyUpdate) GetChannelUpdates() []*ChannelEdgeUpdate
- func (x *GraphTopologyUpdate) GetClosedChans() []*ClosedChannelUpdate
- func (x *GraphTopologyUpdate) GetNodeUpdates() []*NodeUpdate
- func (*GraphTopologyUpdate) ProtoMessage()
- func (x *GraphTopologyUpdate) ProtoReflect() protoreflect.Message
- func (x *GraphTopologyUpdate) Reset()
- func (x *GraphTopologyUpdate) String() string
- type GrpcHandler
- type HTLC
- func (*HTLC) Descriptor() ([]byte, []int)deprecated
- func (x *HTLC) GetAmount() int64
- func (x *HTLC) GetExpirationHeight() uint32
- func (x *HTLC) GetForwardingChannel() uint64
- func (x *HTLC) GetForwardingHtlcIndex() uint64
- func (x *HTLC) GetHashLock() []byte
- func (x *HTLC) GetHtlcIndex() uint64
- func (x *HTLC) GetIncoming() bool
- func (*HTLC) ProtoMessage()
- func (x *HTLC) ProtoReflect() protoreflect.Message
- func (x *HTLC) Reset()
- func (x *HTLC) String() string
- type HTLCAttempt
- func (*HTLCAttempt) Descriptor() ([]byte, []int)deprecated
- func (x *HTLCAttempt) GetAttemptId() uint64
- func (x *HTLCAttempt) GetAttemptTimeNs() int64
- func (x *HTLCAttempt) GetFailure() *Failure
- func (x *HTLCAttempt) GetPreimage() []byte
- func (x *HTLCAttempt) GetResolveTimeNs() int64
- func (x *HTLCAttempt) GetRoute() *Route
- func (x *HTLCAttempt) GetStatus() HTLCAttempt_HTLCStatus
- func (*HTLCAttempt) ProtoMessage()
- func (x *HTLCAttempt) ProtoReflect() protoreflect.Message
- func (x *HTLCAttempt) Reset()
- func (x *HTLCAttempt) String() string
- type HTLCAttempt_HTLCStatus
- func (HTLCAttempt_HTLCStatus) Descriptor() protoreflect.EnumDescriptor
- func (x HTLCAttempt_HTLCStatus) Enum() *HTLCAttempt_HTLCStatus
- func (HTLCAttempt_HTLCStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x HTLCAttempt_HTLCStatus) Number() protoreflect.EnumNumber
- func (x HTLCAttempt_HTLCStatus) String() string
- func (HTLCAttempt_HTLCStatus) Type() protoreflect.EnumType
- type Hop
- func (*Hop) Descriptor() ([]byte, []int)deprecated
- func (x *Hop) GetAmpRecord() *AMPRecord
- func (x *Hop) GetAmtToForward() int64deprecated
- func (x *Hop) GetAmtToForwardMsat() int64
- func (x *Hop) GetChanCapacity() int64deprecated
- func (x *Hop) GetChanId() uint64
- func (x *Hop) GetCustomRecords() map[uint64][]byte
- func (x *Hop) GetExpiry() uint32
- func (x *Hop) GetFee() int64deprecated
- func (x *Hop) GetFeeMsat() int64
- func (x *Hop) GetMppRecord() *MPPRecord
- func (x *Hop) GetPubKey() string
- func (x *Hop) GetTlvPayload() bool
- func (*Hop) ProtoMessage()
- func (x *Hop) ProtoReflect() protoreflect.Message
- func (x *Hop) Reset()
- func (x *Hop) String() string
- type HopHint
- func (*HopHint) Descriptor() ([]byte, []int)deprecated
- func (x *HopHint) GetChanId() uint64
- func (x *HopHint) GetCltvExpiryDelta() uint32
- func (x *HopHint) GetFeeBaseMsat() uint32
- func (x *HopHint) GetFeeProportionalMillionths() uint32
- func (x *HopHint) GetNodeId() string
- func (*HopHint) ProtoMessage()
- func (x *HopHint) ProtoReflect() protoreflect.Message
- func (x *HopHint) Reset()
- func (x *HopHint) String() string
- type InitWalletRequest
- func (*InitWalletRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InitWalletRequest) GetAezeedPassphrase() []byte
- func (x *InitWalletRequest) GetChannelBackups() *ChanBackupSnapshot
- func (x *InitWalletRequest) GetCipherSeedMnemonic() []string
- func (x *InitWalletRequest) GetExtendedMasterKey() string
- func (x *InitWalletRequest) GetExtendedMasterKeyBirthdayTimestamp() uint64
- func (x *InitWalletRequest) GetRecoveryWindow() int32
- func (x *InitWalletRequest) GetStatelessInit() bool
- func (x *InitWalletRequest) GetWalletPassword() []byte
- func (x *InitWalletRequest) GetWatchOnly() *WatchOnly
- func (*InitWalletRequest) ProtoMessage()
- func (x *InitWalletRequest) ProtoReflect() protoreflect.Message
- func (x *InitWalletRequest) Reset()
- func (x *InitWalletRequest) String() string
- type InitWalletResponse
- func (*InitWalletResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InitWalletResponse) GetAdminMacaroon() []byte
- func (*InitWalletResponse) ProtoMessage()
- func (x *InitWalletResponse) ProtoReflect() protoreflect.Message
- func (x *InitWalletResponse) Reset()
- func (x *InitWalletResponse) String() string
- type Initiator
- type InterceptFeedback
- func (*InterceptFeedback) Descriptor() ([]byte, []int)deprecated
- func (x *InterceptFeedback) GetError() string
- func (x *InterceptFeedback) GetReplaceResponse() bool
- func (x *InterceptFeedback) GetReplacementSerialized() []byte
- func (*InterceptFeedback) ProtoMessage()
- func (x *InterceptFeedback) ProtoReflect() protoreflect.Message
- func (x *InterceptFeedback) Reset()
- func (x *InterceptFeedback) String() string
- type Invoice
- func (*Invoice) Descriptor() ([]byte, []int)deprecated
- func (x *Invoice) GetAddIndex() uint64
- func (x *Invoice) GetAmpInvoiceState() map[string]*AMPInvoiceState
- func (x *Invoice) GetAmtPaid() int64deprecated
- func (x *Invoice) GetAmtPaidMsat() int64
- func (x *Invoice) GetAmtPaidSat() int64
- func (x *Invoice) GetCltvExpiry() uint64
- func (x *Invoice) GetCreationDate() int64
- func (x *Invoice) GetDescriptionHash() []byte
- func (x *Invoice) GetExpiry() int64
- func (x *Invoice) GetFallbackAddr() string
- func (x *Invoice) GetFeatures() map[uint32]*Feature
- func (x *Invoice) GetHtlcs() []*InvoiceHTLC
- func (x *Invoice) GetIsAmp() bool
- func (x *Invoice) GetIsKeysend() bool
- func (x *Invoice) GetMemo() string
- func (x *Invoice) GetPaymentAddr() []byte
- func (x *Invoice) GetPaymentRequest() string
- func (x *Invoice) GetPrivate() bool
- func (x *Invoice) GetRHash() []byte
- func (x *Invoice) GetRPreimage() []byte
- func (x *Invoice) GetRouteHints() []*RouteHint
- func (x *Invoice) GetSettleDate() int64
- func (x *Invoice) GetSettleIndex() uint64
- func (x *Invoice) GetSettled() booldeprecated
- func (x *Invoice) GetState() Invoice_InvoiceState
- func (x *Invoice) GetValue() int64
- func (x *Invoice) GetValueMsat() int64
- func (*Invoice) ProtoMessage()
- func (x *Invoice) ProtoReflect() protoreflect.Message
- func (x *Invoice) Reset()
- func (x *Invoice) String() string
- type InvoiceHTLC
- func (*InvoiceHTLC) Descriptor() ([]byte, []int)deprecated
- func (x *InvoiceHTLC) GetAcceptHeight() int32
- func (x *InvoiceHTLC) GetAcceptTime() int64
- func (x *InvoiceHTLC) GetAmp() *AMP
- func (x *InvoiceHTLC) GetAmtMsat() uint64
- func (x *InvoiceHTLC) GetChanId() uint64
- func (x *InvoiceHTLC) GetCustomRecords() map[uint64][]byte
- func (x *InvoiceHTLC) GetExpiryHeight() int32
- func (x *InvoiceHTLC) GetHtlcIndex() uint64
- func (x *InvoiceHTLC) GetMppTotalAmtMsat() uint64
- func (x *InvoiceHTLC) GetResolveTime() int64
- func (x *InvoiceHTLC) GetState() InvoiceHTLCState
- func (*InvoiceHTLC) ProtoMessage()
- func (x *InvoiceHTLC) ProtoReflect() protoreflect.Message
- func (x *InvoiceHTLC) Reset()
- func (x *InvoiceHTLC) String() string
- type InvoiceHTLCState
- func (InvoiceHTLCState) Descriptor() protoreflect.EnumDescriptor
- func (x InvoiceHTLCState) Enum() *InvoiceHTLCState
- func (InvoiceHTLCState) EnumDescriptor() ([]byte, []int)deprecated
- func (x InvoiceHTLCState) Number() protoreflect.EnumNumber
- func (x InvoiceHTLCState) String() string
- func (InvoiceHTLCState) Type() protoreflect.EnumType
- type InvoiceSubscription
- func (*InvoiceSubscription) Descriptor() ([]byte, []int)deprecated
- func (x *InvoiceSubscription) GetAddIndex() uint64
- func (x *InvoiceSubscription) GetSettleIndex() uint64
- func (*InvoiceSubscription) ProtoMessage()
- func (x *InvoiceSubscription) ProtoReflect() protoreflect.Message
- func (x *InvoiceSubscription) Reset()
- func (x *InvoiceSubscription) String() string
- type Invoice_InvoiceState
- func (Invoice_InvoiceState) Descriptor() protoreflect.EnumDescriptor
- func (x Invoice_InvoiceState) Enum() *Invoice_InvoiceState
- func (Invoice_InvoiceState) EnumDescriptor() ([]byte, []int)deprecated
- func (x Invoice_InvoiceState) Number() protoreflect.EnumNumber
- func (x Invoice_InvoiceState) String() string
- func (Invoice_InvoiceState) Type() protoreflect.EnumType
- type KeyDescriptor
- func (*KeyDescriptor) Descriptor() ([]byte, []int)deprecated
- func (x *KeyDescriptor) GetKeyLoc() *KeyLocator
- func (x *KeyDescriptor) GetRawKeyBytes() []byte
- func (*KeyDescriptor) ProtoMessage()
- func (x *KeyDescriptor) ProtoReflect() protoreflect.Message
- func (x *KeyDescriptor) Reset()
- func (x *KeyDescriptor) String() string
- type KeyLocator
- type LightningAddress
- func (*LightningAddress) Descriptor() ([]byte, []int)deprecated
- func (x *LightningAddress) GetHost() string
- func (x *LightningAddress) GetPubkey() string
- func (*LightningAddress) ProtoMessage()
- func (x *LightningAddress) ProtoReflect() protoreflect.Message
- func (x *LightningAddress) Reset()
- func (x *LightningAddress) String() string
- type LightningClient
- type LightningNode
- func (*LightningNode) Descriptor() ([]byte, []int)deprecated
- func (x *LightningNode) GetAddresses() []*NodeAddress
- func (x *LightningNode) GetAlias() string
- func (x *LightningNode) GetColor() string
- func (x *LightningNode) GetFeatures() map[uint32]*Feature
- func (x *LightningNode) GetLastUpdate() uint32
- func (x *LightningNode) GetPubKey() string
- func (*LightningNode) ProtoMessage()
- func (x *LightningNode) ProtoReflect() protoreflect.Message
- func (x *LightningNode) Reset()
- func (x *LightningNode) String() string
- type LightningServer
- type Lightning_ChannelAcceptorClient
- type Lightning_ChannelAcceptorServer
- type Lightning_CloseChannelClient
- type Lightning_CloseChannelServer
- type Lightning_OpenChannelClient
- type Lightning_OpenChannelServer
- type Lightning_RegisterRPCMiddlewareClient
- type Lightning_RegisterRPCMiddlewareServer
- type Lightning_SendPaymentClient
- type Lightning_SendPaymentServer
- type Lightning_SendToRouteClient
- type Lightning_SendToRouteServer
- type Lightning_SubscribeChannelBackupsClient
- type Lightning_SubscribeChannelBackupsServer
- type Lightning_SubscribeChannelEventsClient
- type Lightning_SubscribeChannelEventsServer
- type Lightning_SubscribeChannelGraphClient
- type Lightning_SubscribeChannelGraphServer
- type Lightning_SubscribeCustomMessagesClient
- type Lightning_SubscribeCustomMessagesServer
- type Lightning_SubscribeInvoicesClient
- type Lightning_SubscribeInvoicesServer
- type Lightning_SubscribePeerEventsClient
- type Lightning_SubscribePeerEventsServer
- type Lightning_SubscribeTransactionsClient
- type Lightning_SubscribeTransactionsServer
- type ListChannelsRequest
- func (*ListChannelsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListChannelsRequest) GetActiveOnly() bool
- func (x *ListChannelsRequest) GetInactiveOnly() bool
- func (x *ListChannelsRequest) GetPeer() []byte
- func (x *ListChannelsRequest) GetPrivateOnly() bool
- func (x *ListChannelsRequest) GetPublicOnly() bool
- func (*ListChannelsRequest) ProtoMessage()
- func (x *ListChannelsRequest) ProtoReflect() protoreflect.Message
- func (x *ListChannelsRequest) Reset()
- func (x *ListChannelsRequest) String() string
- type ListChannelsResponse
- func (*ListChannelsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListChannelsResponse) GetChannels() []*Channel
- func (*ListChannelsResponse) ProtoMessage()
- func (x *ListChannelsResponse) ProtoReflect() protoreflect.Message
- func (x *ListChannelsResponse) Reset()
- func (x *ListChannelsResponse) String() string
- type ListInvoiceRequest
- func (*ListInvoiceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListInvoiceRequest) GetIndexOffset() uint64
- func (x *ListInvoiceRequest) GetNumMaxInvoices() uint64
- func (x *ListInvoiceRequest) GetPendingOnly() bool
- func (x *ListInvoiceRequest) GetReversed() bool
- func (*ListInvoiceRequest) ProtoMessage()
- func (x *ListInvoiceRequest) ProtoReflect() protoreflect.Message
- func (x *ListInvoiceRequest) Reset()
- func (x *ListInvoiceRequest) String() string
- type ListInvoiceResponse
- func (*ListInvoiceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListInvoiceResponse) GetFirstIndexOffset() uint64
- func (x *ListInvoiceResponse) GetInvoices() []*Invoice
- func (x *ListInvoiceResponse) GetLastIndexOffset() uint64
- func (*ListInvoiceResponse) ProtoMessage()
- func (x *ListInvoiceResponse) ProtoReflect() protoreflect.Message
- func (x *ListInvoiceResponse) Reset()
- func (x *ListInvoiceResponse) String() string
- type ListMacaroonIDsRequest
- type ListMacaroonIDsResponse
- func (*ListMacaroonIDsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListMacaroonIDsResponse) GetRootKeyIds() []uint64
- func (*ListMacaroonIDsResponse) ProtoMessage()
- func (x *ListMacaroonIDsResponse) ProtoReflect() protoreflect.Message
- func (x *ListMacaroonIDsResponse) Reset()
- func (x *ListMacaroonIDsResponse) String() string
- type ListPaymentsRequest
- func (*ListPaymentsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListPaymentsRequest) GetIncludeIncomplete() bool
- func (x *ListPaymentsRequest) GetIndexOffset() uint64
- func (x *ListPaymentsRequest) GetMaxPayments() uint64
- func (x *ListPaymentsRequest) GetReversed() bool
- func (*ListPaymentsRequest) ProtoMessage()
- func (x *ListPaymentsRequest) ProtoReflect() protoreflect.Message
- func (x *ListPaymentsRequest) Reset()
- func (x *ListPaymentsRequest) String() string
- type ListPaymentsResponse
- func (*ListPaymentsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListPaymentsResponse) GetFirstIndexOffset() uint64
- func (x *ListPaymentsResponse) GetLastIndexOffset() uint64
- func (x *ListPaymentsResponse) GetPayments() []*Payment
- func (*ListPaymentsResponse) ProtoMessage()
- func (x *ListPaymentsResponse) ProtoReflect() protoreflect.Message
- func (x *ListPaymentsResponse) Reset()
- func (x *ListPaymentsResponse) String() string
- type ListPeersRequest
- type ListPeersResponse
- type ListPermissionsRequest
- type ListPermissionsResponse
- func (*ListPermissionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListPermissionsResponse) GetMethodPermissions() map[string]*MacaroonPermissionList
- func (*ListPermissionsResponse) ProtoMessage()
- func (x *ListPermissionsResponse) ProtoReflect() protoreflect.Message
- func (x *ListPermissionsResponse) Reset()
- func (x *ListPermissionsResponse) String() string
- type ListUnspentRequest
- func (*ListUnspentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListUnspentRequest) GetAccount() string
- func (x *ListUnspentRequest) GetMaxConfs() int32
- func (x *ListUnspentRequest) GetMinConfs() int32
- func (*ListUnspentRequest) ProtoMessage()
- func (x *ListUnspentRequest) ProtoReflect() protoreflect.Message
- func (x *ListUnspentRequest) Reset()
- func (x *ListUnspentRequest) String() string
- type ListUnspentResponse
- func (*ListUnspentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListUnspentResponse) GetUtxos() []*Utxo
- func (*ListUnspentResponse) ProtoMessage()
- func (x *ListUnspentResponse) ProtoReflect() protoreflect.Message
- func (x *ListUnspentResponse) Reset()
- func (x *ListUnspentResponse) String() string
- type MPPRecord
- type MacaroonId
- func (*MacaroonId) Descriptor() ([]byte, []int)deprecated
- func (x *MacaroonId) GetNonce() []byte
- func (x *MacaroonId) GetOps() []*Op
- func (x *MacaroonId) GetStorageId() []byte
- func (*MacaroonId) ProtoMessage()
- func (x *MacaroonId) ProtoReflect() protoreflect.Message
- func (x *MacaroonId) Reset()
- func (x *MacaroonId) String() string
- type MacaroonPermission
- func (*MacaroonPermission) Descriptor() ([]byte, []int)deprecated
- func (x *MacaroonPermission) GetAction() string
- func (x *MacaroonPermission) GetEntity() string
- func (*MacaroonPermission) ProtoMessage()
- func (x *MacaroonPermission) ProtoReflect() protoreflect.Message
- func (x *MacaroonPermission) Reset()
- func (x *MacaroonPermission) String() string
- type MacaroonPermissionList
- func (*MacaroonPermissionList) Descriptor() ([]byte, []int)deprecated
- func (x *MacaroonPermissionList) GetPermissions() []*MacaroonPermission
- func (*MacaroonPermissionList) ProtoMessage()
- func (x *MacaroonPermissionList) ProtoReflect() protoreflect.Message
- func (x *MacaroonPermissionList) Reset()
- func (x *MacaroonPermissionList) String() string
- type MacaroonPerms
- type MiddlewareRegistration
- func (*MiddlewareRegistration) Descriptor() ([]byte, []int)deprecated
- func (x *MiddlewareRegistration) GetCustomMacaroonCaveatName() string
- func (x *MiddlewareRegistration) GetMiddlewareName() string
- func (x *MiddlewareRegistration) GetReadOnlyMode() bool
- func (*MiddlewareRegistration) ProtoMessage()
- func (x *MiddlewareRegistration) ProtoReflect() protoreflect.Message
- func (x *MiddlewareRegistration) Reset()
- func (x *MiddlewareRegistration) String() string
- type MultiChanBackup
- func (*MultiChanBackup) Descriptor() ([]byte, []int)deprecated
- func (x *MultiChanBackup) GetChanPoints() []*ChannelPoint
- func (x *MultiChanBackup) GetMultiChanBackup() []byte
- func (*MultiChanBackup) ProtoMessage()
- func (x *MultiChanBackup) ProtoReflect() protoreflect.Message
- func (x *MultiChanBackup) Reset()
- func (x *MultiChanBackup) String() string
- type NetworkInfo
- func (*NetworkInfo) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkInfo) GetAvgChannelSize() float64
- func (x *NetworkInfo) GetAvgOutDegree() float64
- func (x *NetworkInfo) GetGraphDiameter() uint32
- func (x *NetworkInfo) GetMaxChannelSize() int64
- func (x *NetworkInfo) GetMaxOutDegree() uint32
- func (x *NetworkInfo) GetMedianChannelSizeSat() int64
- func (x *NetworkInfo) GetMinChannelSize() int64
- func (x *NetworkInfo) GetNumChannels() uint32
- func (x *NetworkInfo) GetNumNodes() uint32
- func (x *NetworkInfo) GetNumZombieChans() uint64
- func (x *NetworkInfo) GetTotalNetworkCapacity() int64
- func (*NetworkInfo) ProtoMessage()
- func (x *NetworkInfo) ProtoReflect() protoreflect.Message
- func (x *NetworkInfo) Reset()
- func (x *NetworkInfo) String() string
- type NetworkInfoRequest
- type NewAddressRequest
- func (*NewAddressRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NewAddressRequest) GetAccount() string
- func (x *NewAddressRequest) GetType() AddressType
- func (*NewAddressRequest) ProtoMessage()
- func (x *NewAddressRequest) ProtoReflect() protoreflect.Message
- func (x *NewAddressRequest) Reset()
- func (x *NewAddressRequest) String() string
- type NewAddressResponse
- func (*NewAddressResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NewAddressResponse) GetAddress() string
- func (*NewAddressResponse) ProtoMessage()
- func (x *NewAddressResponse) ProtoReflect() protoreflect.Message
- func (x *NewAddressResponse) Reset()
- func (x *NewAddressResponse) String() string
- type NodeAddress
- func (*NodeAddress) Descriptor() ([]byte, []int)deprecated
- func (x *NodeAddress) GetAddr() string
- func (x *NodeAddress) GetNetwork() string
- func (*NodeAddress) ProtoMessage()
- func (x *NodeAddress) ProtoReflect() protoreflect.Message
- func (x *NodeAddress) Reset()
- func (x *NodeAddress) String() string
- type NodeInfo
- func (*NodeInfo) Descriptor() ([]byte, []int)deprecated
- func (x *NodeInfo) GetChannels() []*ChannelEdge
- func (x *NodeInfo) GetNode() *LightningNode
- func (x *NodeInfo) GetNumChannels() uint32
- func (x *NodeInfo) GetTotalCapacity() int64
- func (*NodeInfo) ProtoMessage()
- func (x *NodeInfo) ProtoReflect() protoreflect.Message
- func (x *NodeInfo) Reset()
- func (x *NodeInfo) String() string
- type NodeInfoRequest
- func (*NodeInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NodeInfoRequest) GetIncludeChannels() bool
- func (x *NodeInfoRequest) GetPubKey() string
- func (*NodeInfoRequest) ProtoMessage()
- func (x *NodeInfoRequest) ProtoReflect() protoreflect.Message
- func (x *NodeInfoRequest) Reset()
- func (x *NodeInfoRequest) String() string
- type NodeMetricType
- func (NodeMetricType) Descriptor() protoreflect.EnumDescriptor
- func (x NodeMetricType) Enum() *NodeMetricType
- func (NodeMetricType) EnumDescriptor() ([]byte, []int)deprecated
- func (x NodeMetricType) Number() protoreflect.EnumNumber
- func (x NodeMetricType) String() string
- func (NodeMetricType) Type() protoreflect.EnumType
- type NodeMetricsRequest
- func (*NodeMetricsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NodeMetricsRequest) GetTypes() []NodeMetricType
- func (*NodeMetricsRequest) ProtoMessage()
- func (x *NodeMetricsRequest) ProtoReflect() protoreflect.Message
- func (x *NodeMetricsRequest) Reset()
- func (x *NodeMetricsRequest) String() string
- type NodeMetricsResponse
- func (*NodeMetricsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NodeMetricsResponse) GetBetweennessCentrality() map[string]*FloatMetric
- func (*NodeMetricsResponse) ProtoMessage()
- func (x *NodeMetricsResponse) ProtoReflect() protoreflect.Message
- func (x *NodeMetricsResponse) Reset()
- func (x *NodeMetricsResponse) String() string
- type NodePair
- type NodeUpdate
- func (*NodeUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *NodeUpdate) GetAddresses() []stringdeprecated
- func (x *NodeUpdate) GetAlias() string
- func (x *NodeUpdate) GetColor() string
- func (x *NodeUpdate) GetFeatures() map[uint32]*Feature
- func (x *NodeUpdate) GetGlobalFeatures() []bytedeprecated
- func (x *NodeUpdate) GetIdentityKey() string
- func (x *NodeUpdate) GetNodeAddresses() []*NodeAddress
- func (*NodeUpdate) ProtoMessage()
- func (x *NodeUpdate) ProtoReflect() protoreflect.Message
- func (x *NodeUpdate) Reset()
- func (x *NodeUpdate) String() string
- type Op
- type OpenChannelRequest
- func (*OpenChannelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *OpenChannelRequest) GetCloseAddress() string
- func (x *OpenChannelRequest) GetCommitmentType() CommitmentType
- func (x *OpenChannelRequest) GetFundingShim() *FundingShim
- func (x *OpenChannelRequest) GetLocalFundingAmount() int64
- func (x *OpenChannelRequest) GetMaxLocalCsv() uint32
- func (x *OpenChannelRequest) GetMinConfs() int32
- func (x *OpenChannelRequest) GetMinHtlcMsat() int64
- func (x *OpenChannelRequest) GetNodePubkey() []byte
- func (x *OpenChannelRequest) GetNodePubkeyString() stringdeprecated
- func (x *OpenChannelRequest) GetPrivate() bool
- func (x *OpenChannelRequest) GetPushSat() int64
- func (x *OpenChannelRequest) GetRemoteCsvDelay() uint32
- func (x *OpenChannelRequest) GetRemoteMaxHtlcs() uint32
- func (x *OpenChannelRequest) GetRemoteMaxValueInFlightMsat() uint64
- func (x *OpenChannelRequest) GetSatPerByte() int64deprecated
- func (x *OpenChannelRequest) GetSatPerVbyte() uint64
- func (x *OpenChannelRequest) GetSpendUnconfirmed() bool
- func (x *OpenChannelRequest) GetTargetConf() int32
- func (*OpenChannelRequest) ProtoMessage()
- func (x *OpenChannelRequest) ProtoReflect() protoreflect.Message
- func (x *OpenChannelRequest) Reset()
- func (x *OpenChannelRequest) String() string
- type OpenStatusUpdate
- func (*OpenStatusUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *OpenStatusUpdate) GetChanOpen() *ChannelOpenUpdate
- func (x *OpenStatusUpdate) GetChanPending() *PendingUpdate
- func (x *OpenStatusUpdate) GetPendingChanId() []byte
- func (x *OpenStatusUpdate) GetPsbtFund() *ReadyForPsbtFunding
- func (m *OpenStatusUpdate) GetUpdate() isOpenStatusUpdate_Update
- func (*OpenStatusUpdate) ProtoMessage()
- func (x *OpenStatusUpdate) ProtoReflect() protoreflect.Message
- func (x *OpenStatusUpdate) Reset()
- func (x *OpenStatusUpdate) String() string
- type OpenStatusUpdate_ChanOpen
- type OpenStatusUpdate_ChanPending
- type OpenStatusUpdate_PsbtFund
- type OutPoint
- func (*OutPoint) Descriptor() ([]byte, []int)deprecated
- func (x *OutPoint) GetOutputIndex() uint32
- func (x *OutPoint) GetTxidBytes() []byte
- func (x *OutPoint) GetTxidStr() string
- func (*OutPoint) ProtoMessage()
- func (x *OutPoint) ProtoReflect() protoreflect.Message
- func (x *OutPoint) Reset()
- func (x *OutPoint) String() string
- type PayReq
- func (*PayReq) Descriptor() ([]byte, []int)deprecated
- func (x *PayReq) GetCltvExpiry() int64
- func (x *PayReq) GetDescription() string
- func (x *PayReq) GetDescriptionHash() string
- func (x *PayReq) GetDestination() string
- func (x *PayReq) GetExpiry() int64
- func (x *PayReq) GetFallbackAddr() string
- func (x *PayReq) GetFeatures() map[uint32]*Feature
- func (x *PayReq) GetNumMsat() int64
- func (x *PayReq) GetNumSatoshis() int64
- func (x *PayReq) GetPaymentAddr() []byte
- func (x *PayReq) GetPaymentHash() string
- func (x *PayReq) GetRouteHints() []*RouteHint
- func (x *PayReq) GetTimestamp() int64
- func (*PayReq) ProtoMessage()
- func (x *PayReq) ProtoReflect() protoreflect.Message
- func (x *PayReq) Reset()
- func (x *PayReq) String() string
- type PayReqString
- type Payment
- func (*Payment) Descriptor() ([]byte, []int)deprecated
- func (x *Payment) GetCreationDate() int64deprecated
- func (x *Payment) GetCreationTimeNs() int64
- func (x *Payment) GetFailureReason() PaymentFailureReason
- func (x *Payment) GetFee() int64deprecated
- func (x *Payment) GetFeeMsat() int64
- func (x *Payment) GetFeeSat() int64
- func (x *Payment) GetHtlcs() []*HTLCAttempt
- func (x *Payment) GetPaymentHash() string
- func (x *Payment) GetPaymentIndex() uint64
- func (x *Payment) GetPaymentPreimage() string
- func (x *Payment) GetPaymentRequest() string
- func (x *Payment) GetStatus() Payment_PaymentStatus
- func (x *Payment) GetValue() int64deprecated
- func (x *Payment) GetValueMsat() int64
- func (x *Payment) GetValueSat() int64
- func (*Payment) ProtoMessage()
- func (x *Payment) ProtoReflect() protoreflect.Message
- func (x *Payment) Reset()
- func (x *Payment) String() string
- type PaymentFailureReason
- func (PaymentFailureReason) Descriptor() protoreflect.EnumDescriptor
- func (x PaymentFailureReason) Enum() *PaymentFailureReason
- func (PaymentFailureReason) EnumDescriptor() ([]byte, []int)deprecated
- func (x PaymentFailureReason) Number() protoreflect.EnumNumber
- func (x PaymentFailureReason) String() string
- func (PaymentFailureReason) Type() protoreflect.EnumType
- type PaymentHash
- func (*PaymentHash) Descriptor() ([]byte, []int)deprecated
- func (x *PaymentHash) GetRHash() []byte
- func (x *PaymentHash) GetRHashStr() stringdeprecated
- func (*PaymentHash) ProtoMessage()
- func (x *PaymentHash) ProtoReflect() protoreflect.Message
- func (x *PaymentHash) Reset()
- func (x *PaymentHash) String() string
- type Payment_PaymentStatus
- func (Payment_PaymentStatus) Descriptor() protoreflect.EnumDescriptor
- func (x Payment_PaymentStatus) Enum() *Payment_PaymentStatus
- func (Payment_PaymentStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x Payment_PaymentStatus) Number() protoreflect.EnumNumber
- func (x Payment_PaymentStatus) String() string
- func (Payment_PaymentStatus) Type() protoreflect.EnumType
- type Peer
- func (*Peer) Descriptor() ([]byte, []int)deprecated
- func (x *Peer) GetAddress() string
- func (x *Peer) GetBytesRecv() uint64
- func (x *Peer) GetBytesSent() uint64
- func (x *Peer) GetErrors() []*TimestampedError
- func (x *Peer) GetFeatures() map[uint32]*Feature
- func (x *Peer) GetFlapCount() int32
- func (x *Peer) GetInbound() bool
- func (x *Peer) GetLastFlapNs() int64
- func (x *Peer) GetLastPingPayload() []byte
- func (x *Peer) GetPingTime() int64
- func (x *Peer) GetPubKey() string
- func (x *Peer) GetSatRecv() int64
- func (x *Peer) GetSatSent() int64
- func (x *Peer) GetSyncType() Peer_SyncType
- func (*Peer) ProtoMessage()
- func (x *Peer) ProtoReflect() protoreflect.Message
- func (x *Peer) Reset()
- func (x *Peer) String() string
- type PeerEvent
- type PeerEventSubscription
- type PeerEvent_EventType
- func (PeerEvent_EventType) Descriptor() protoreflect.EnumDescriptor
- func (x PeerEvent_EventType) Enum() *PeerEvent_EventType
- func (PeerEvent_EventType) EnumDescriptor() ([]byte, []int)deprecated
- func (x PeerEvent_EventType) Number() protoreflect.EnumNumber
- func (x PeerEvent_EventType) String() string
- func (PeerEvent_EventType) Type() protoreflect.EnumType
- type Peer_SyncType
- func (Peer_SyncType) Descriptor() protoreflect.EnumDescriptor
- func (x Peer_SyncType) Enum() *Peer_SyncType
- func (Peer_SyncType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Peer_SyncType) Number() protoreflect.EnumNumber
- func (x Peer_SyncType) String() string
- func (Peer_SyncType) Type() protoreflect.EnumType
- type PendingChannelsRequest
- type PendingChannelsResponse
- func (*PendingChannelsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PendingChannelsResponse) GetPendingClosingChannels() []*PendingChannelsResponse_ClosedChanneldeprecated
- func (x *PendingChannelsResponse) GetPendingForceClosingChannels() []*PendingChannelsResponse_ForceClosedChannel
- func (x *PendingChannelsResponse) GetPendingOpenChannels() []*PendingChannelsResponse_PendingOpenChannel
- func (x *PendingChannelsResponse) GetTotalLimboBalance() int64
- func (x *PendingChannelsResponse) GetWaitingCloseChannels() []*PendingChannelsResponse_WaitingCloseChannel
- func (*PendingChannelsResponse) ProtoMessage()
- func (x *PendingChannelsResponse) ProtoReflect() protoreflect.Message
- func (x *PendingChannelsResponse) Reset()
- func (x *PendingChannelsResponse) String() string
- type PendingChannelsResponse_ClosedChannel
- func (*PendingChannelsResponse_ClosedChannel) Descriptor() ([]byte, []int)deprecated
- func (x *PendingChannelsResponse_ClosedChannel) GetChannel() *PendingChannelsResponse_PendingChannel
- func (x *PendingChannelsResponse_ClosedChannel) GetClosingTxid() string
- func (*PendingChannelsResponse_ClosedChannel) ProtoMessage()
- func (x *PendingChannelsResponse_ClosedChannel) ProtoReflect() protoreflect.Message
- func (x *PendingChannelsResponse_ClosedChannel) Reset()
- func (x *PendingChannelsResponse_ClosedChannel) String() string
- type PendingChannelsResponse_Commitments
- func (*PendingChannelsResponse_Commitments) Descriptor() ([]byte, []int)deprecated
- func (x *PendingChannelsResponse_Commitments) GetLocalCommitFeeSat() uint64
- func (x *PendingChannelsResponse_Commitments) GetLocalTxid() string
- func (x *PendingChannelsResponse_Commitments) GetRemoteCommitFeeSat() uint64
- func (x *PendingChannelsResponse_Commitments) GetRemotePendingCommitFeeSat() uint64
- func (x *PendingChannelsResponse_Commitments) GetRemotePendingTxid() string
- func (x *PendingChannelsResponse_Commitments) GetRemoteTxid() string
- func (*PendingChannelsResponse_Commitments) ProtoMessage()
- func (x *PendingChannelsResponse_Commitments) ProtoReflect() protoreflect.Message
- func (x *PendingChannelsResponse_Commitments) Reset()
- func (x *PendingChannelsResponse_Commitments) String() string
- type PendingChannelsResponse_ForceClosedChannel
- func (*PendingChannelsResponse_ForceClosedChannel) Descriptor() ([]byte, []int)deprecated
- func (x *PendingChannelsResponse_ForceClosedChannel) GetAnchor() PendingChannelsResponse_ForceClosedChannel_AnchorState
- func (x *PendingChannelsResponse_ForceClosedChannel) GetBlocksTilMaturity() int32
- func (x *PendingChannelsResponse_ForceClosedChannel) GetChannel() *PendingChannelsResponse_PendingChannel
- func (x *PendingChannelsResponse_ForceClosedChannel) GetClosingTxid() string
- func (x *PendingChannelsResponse_ForceClosedChannel) GetLimboBalance() int64
- func (x *PendingChannelsResponse_ForceClosedChannel) GetMaturityHeight() uint32
- func (x *PendingChannelsResponse_ForceClosedChannel) GetPendingHtlcs() []*PendingHTLC
- func (x *PendingChannelsResponse_ForceClosedChannel) GetRecoveredBalance() int64
- func (*PendingChannelsResponse_ForceClosedChannel) ProtoMessage()
- func (x *PendingChannelsResponse_ForceClosedChannel) ProtoReflect() protoreflect.Message
- func (x *PendingChannelsResponse_ForceClosedChannel) Reset()
- func (x *PendingChannelsResponse_ForceClosedChannel) String() string
- type PendingChannelsResponse_ForceClosedChannel_AnchorState
- func (PendingChannelsResponse_ForceClosedChannel_AnchorState) Descriptor() protoreflect.EnumDescriptor
- func (x PendingChannelsResponse_ForceClosedChannel_AnchorState) Enum() *PendingChannelsResponse_ForceClosedChannel_AnchorState
- func (PendingChannelsResponse_ForceClosedChannel_AnchorState) EnumDescriptor() ([]byte, []int)deprecated
- func (x PendingChannelsResponse_ForceClosedChannel_AnchorState) Number() protoreflect.EnumNumber
- func (x PendingChannelsResponse_ForceClosedChannel_AnchorState) String() string
- func (PendingChannelsResponse_ForceClosedChannel_AnchorState) Type() protoreflect.EnumType
- type PendingChannelsResponse_PendingChannel
- func (*PendingChannelsResponse_PendingChannel) Descriptor() ([]byte, []int)deprecated
- func (x *PendingChannelsResponse_PendingChannel) GetCapacity() int64
- func (x *PendingChannelsResponse_PendingChannel) GetChanStatusFlags() string
- func (x *PendingChannelsResponse_PendingChannel) GetChannelPoint() string
- func (x *PendingChannelsResponse_PendingChannel) GetCommitmentType() CommitmentType
- func (x *PendingChannelsResponse_PendingChannel) GetInitiator() Initiator
- func (x *PendingChannelsResponse_PendingChannel) GetLocalBalance() int64
- func (x *PendingChannelsResponse_PendingChannel) GetLocalChanReserveSat() int64
- func (x *PendingChannelsResponse_PendingChannel) GetNumForwardingPackages() int64
- func (x *PendingChannelsResponse_PendingChannel) GetRemoteBalance() int64
- func (x *PendingChannelsResponse_PendingChannel) GetRemoteChanReserveSat() int64
- func (x *PendingChannelsResponse_PendingChannel) GetRemoteNodePub() string
- func (*PendingChannelsResponse_PendingChannel) ProtoMessage()
- func (x *PendingChannelsResponse_PendingChannel) ProtoReflect() protoreflect.Message
- func (x *PendingChannelsResponse_PendingChannel) Reset()
- func (x *PendingChannelsResponse_PendingChannel) String() string
- type PendingChannelsResponse_PendingOpenChannel
- func (*PendingChannelsResponse_PendingOpenChannel) Descriptor() ([]byte, []int)deprecated
- func (x *PendingChannelsResponse_PendingOpenChannel) GetChannel() *PendingChannelsResponse_PendingChannel
- func (x *PendingChannelsResponse_PendingOpenChannel) GetCommitFee() int64
- func (x *PendingChannelsResponse_PendingOpenChannel) GetCommitWeight() int64
- func (x *PendingChannelsResponse_PendingOpenChannel) GetConfirmationHeight() uint32
- func (x *PendingChannelsResponse_PendingOpenChannel) GetFeePerKw() int64
- func (*PendingChannelsResponse_PendingOpenChannel) ProtoMessage()
- func (x *PendingChannelsResponse_PendingOpenChannel) ProtoReflect() protoreflect.Message
- func (x *PendingChannelsResponse_PendingOpenChannel) Reset()
- func (x *PendingChannelsResponse_PendingOpenChannel) String() string
- type PendingChannelsResponse_WaitingCloseChannel
- func (*PendingChannelsResponse_WaitingCloseChannel) Descriptor() ([]byte, []int)deprecated
- func (x *PendingChannelsResponse_WaitingCloseChannel) GetChannel() *PendingChannelsResponse_PendingChannel
- func (x *PendingChannelsResponse_WaitingCloseChannel) GetClosingTxid() string
- func (x *PendingChannelsResponse_WaitingCloseChannel) GetCommitments() *PendingChannelsResponse_Commitments
- func (x *PendingChannelsResponse_WaitingCloseChannel) GetLimboBalance() int64
- func (*PendingChannelsResponse_WaitingCloseChannel) ProtoMessage()
- func (x *PendingChannelsResponse_WaitingCloseChannel) ProtoReflect() protoreflect.Message
- func (x *PendingChannelsResponse_WaitingCloseChannel) Reset()
- func (x *PendingChannelsResponse_WaitingCloseChannel) String() string
- type PendingHTLC
- func (*PendingHTLC) Descriptor() ([]byte, []int)deprecated
- func (x *PendingHTLC) GetAmount() int64
- func (x *PendingHTLC) GetBlocksTilMaturity() int32
- func (x *PendingHTLC) GetIncoming() bool
- func (x *PendingHTLC) GetMaturityHeight() uint32
- func (x *PendingHTLC) GetOutpoint() string
- func (x *PendingHTLC) GetStage() uint32
- func (*PendingHTLC) ProtoMessage()
- func (x *PendingHTLC) ProtoReflect() protoreflect.Message
- func (x *PendingHTLC) Reset()
- func (x *PendingHTLC) String() string
- type PendingUpdate
- func (*PendingUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *PendingUpdate) GetOutputIndex() uint32
- func (x *PendingUpdate) GetTxid() []byte
- func (*PendingUpdate) ProtoMessage()
- func (x *PendingUpdate) ProtoReflect() protoreflect.Message
- func (x *PendingUpdate) Reset()
- func (x *PendingUpdate) String() string
- type PolicyUpdateRequest
- func (*PolicyUpdateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PolicyUpdateRequest) GetBaseFeeMsat() int64
- func (x *PolicyUpdateRequest) GetChanPoint() *ChannelPoint
- func (x *PolicyUpdateRequest) GetFeeRate() float64
- func (x *PolicyUpdateRequest) GetFeeRatePpm() uint32
- func (x *PolicyUpdateRequest) GetGlobal() bool
- func (x *PolicyUpdateRequest) GetMaxHtlcMsat() uint64
- func (x *PolicyUpdateRequest) GetMinHtlcMsat() uint64
- func (x *PolicyUpdateRequest) GetMinHtlcMsatSpecified() bool
- func (m *PolicyUpdateRequest) GetScope() isPolicyUpdateRequest_Scope
- func (x *PolicyUpdateRequest) GetTimeLockDelta() uint32
- func (*PolicyUpdateRequest) ProtoMessage()
- func (x *PolicyUpdateRequest) ProtoReflect() protoreflect.Message
- func (x *PolicyUpdateRequest) Reset()
- func (x *PolicyUpdateRequest) String() string
- type PolicyUpdateRequest_ChanPoint
- type PolicyUpdateRequest_Global
- type PolicyUpdateResponse
- func (*PolicyUpdateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PolicyUpdateResponse) GetFailedUpdates() []*FailedUpdate
- func (*PolicyUpdateResponse) ProtoMessage()
- func (x *PolicyUpdateResponse) ProtoReflect() protoreflect.Message
- func (x *PolicyUpdateResponse) Reset()
- func (x *PolicyUpdateResponse) String() string
- type PsbtShim
- func (*PsbtShim) Descriptor() ([]byte, []int)deprecated
- func (x *PsbtShim) GetBasePsbt() []byte
- func (x *PsbtShim) GetNoPublish() bool
- func (x *PsbtShim) GetPendingChanId() []byte
- func (*PsbtShim) ProtoMessage()
- func (x *PsbtShim) ProtoReflect() protoreflect.Message
- func (x *PsbtShim) Reset()
- func (x *PsbtShim) String() string
- type QueryRoutesRequest
- func (*QueryRoutesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryRoutesRequest) GetAmt() int64
- func (x *QueryRoutesRequest) GetAmtMsat() int64
- func (x *QueryRoutesRequest) GetCltvLimit() uint32
- func (x *QueryRoutesRequest) GetDestCustomRecords() map[uint64][]byte
- func (x *QueryRoutesRequest) GetDestFeatures() []FeatureBit
- func (x *QueryRoutesRequest) GetFeeLimit() *FeeLimit
- func (x *QueryRoutesRequest) GetFinalCltvDelta() int32
- func (x *QueryRoutesRequest) GetIgnoredEdges() []*EdgeLocatordeprecated
- func (x *QueryRoutesRequest) GetIgnoredNodes() [][]byte
- func (x *QueryRoutesRequest) GetIgnoredPairs() []*NodePair
- func (x *QueryRoutesRequest) GetLastHopPubkey() []byte
- func (x *QueryRoutesRequest) GetOutgoingChanId() uint64
- func (x *QueryRoutesRequest) GetPubKey() string
- func (x *QueryRoutesRequest) GetRouteHints() []*RouteHint
- func (x *QueryRoutesRequest) GetSourcePubKey() string
- func (x *QueryRoutesRequest) GetUseMissionControl() bool
- func (*QueryRoutesRequest) ProtoMessage()
- func (x *QueryRoutesRequest) ProtoReflect() protoreflect.Message
- func (x *QueryRoutesRequest) Reset()
- func (x *QueryRoutesRequest) String() string
- type QueryRoutesResponse
- func (*QueryRoutesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryRoutesResponse) GetRoutes() []*Route
- func (x *QueryRoutesResponse) GetSuccessProb() float64
- func (*QueryRoutesResponse) ProtoMessage()
- func (x *QueryRoutesResponse) ProtoReflect() protoreflect.Message
- func (x *QueryRoutesResponse) Reset()
- func (x *QueryRoutesResponse) String() string
- type RPCMessage
- func (*RPCMessage) Descriptor() ([]byte, []int)deprecated
- func (x *RPCMessage) GetMethodFullUri() string
- func (x *RPCMessage) GetSerialized() []byte
- func (x *RPCMessage) GetStreamRpc() bool
- func (x *RPCMessage) GetTypeName() string
- func (*RPCMessage) ProtoMessage()
- func (x *RPCMessage) ProtoReflect() protoreflect.Message
- func (x *RPCMessage) Reset()
- func (x *RPCMessage) String() string
- type RPCMiddlewareRequest
- func (*RPCMiddlewareRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RPCMiddlewareRequest) GetCustomCaveatCondition() string
- func (m *RPCMiddlewareRequest) GetInterceptType() isRPCMiddlewareRequest_InterceptType
- func (x *RPCMiddlewareRequest) GetMsgId() uint64
- func (x *RPCMiddlewareRequest) GetRawMacaroon() []byte
- func (x *RPCMiddlewareRequest) GetRequest() *RPCMessage
- func (x *RPCMiddlewareRequest) GetRequestId() uint64
- func (x *RPCMiddlewareRequest) GetResponse() *RPCMessage
- func (x *RPCMiddlewareRequest) GetStreamAuth() *StreamAuth
- func (*RPCMiddlewareRequest) ProtoMessage()
- func (x *RPCMiddlewareRequest) ProtoReflect() protoreflect.Message
- func (x *RPCMiddlewareRequest) Reset()
- func (x *RPCMiddlewareRequest) String() string
- type RPCMiddlewareRequest_Request
- type RPCMiddlewareRequest_Response
- type RPCMiddlewareRequest_StreamAuth
- type RPCMiddlewareResponse
- func (*RPCMiddlewareResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RPCMiddlewareResponse) GetFeedback() *InterceptFeedback
- func (m *RPCMiddlewareResponse) GetMiddlewareMessage() isRPCMiddlewareResponse_MiddlewareMessage
- func (x *RPCMiddlewareResponse) GetRefMsgId() uint64
- func (x *RPCMiddlewareResponse) GetRegister() *MiddlewareRegistration
- func (*RPCMiddlewareResponse) ProtoMessage()
- func (x *RPCMiddlewareResponse) ProtoReflect() protoreflect.Message
- func (x *RPCMiddlewareResponse) Reset()
- func (x *RPCMiddlewareResponse) String() string
- type RPCMiddlewareResponse_Feedback
- type RPCMiddlewareResponse_Register
- type ReadyForPsbtFunding
- func (*ReadyForPsbtFunding) Descriptor() ([]byte, []int)deprecated
- func (x *ReadyForPsbtFunding) GetFundingAddress() string
- func (x *ReadyForPsbtFunding) GetFundingAmount() int64
- func (x *ReadyForPsbtFunding) GetPsbt() []byte
- func (*ReadyForPsbtFunding) ProtoMessage()
- func (x *ReadyForPsbtFunding) ProtoReflect() protoreflect.Message
- func (x *ReadyForPsbtFunding) Reset()
- func (x *ReadyForPsbtFunding) String() string
- type Resolution
- func (*Resolution) Descriptor() ([]byte, []int)deprecated
- func (x *Resolution) GetAmountSat() uint64
- func (x *Resolution) GetOutcome() ResolutionOutcome
- func (x *Resolution) GetOutpoint() *OutPoint
- func (x *Resolution) GetResolutionType() ResolutionType
- func (x *Resolution) GetSweepTxid() string
- func (*Resolution) ProtoMessage()
- func (x *Resolution) ProtoReflect() protoreflect.Message
- func (x *Resolution) Reset()
- func (x *Resolution) String() string
- type ResolutionOutcome
- func (ResolutionOutcome) Descriptor() protoreflect.EnumDescriptor
- func (x ResolutionOutcome) Enum() *ResolutionOutcome
- func (ResolutionOutcome) EnumDescriptor() ([]byte, []int)deprecated
- func (x ResolutionOutcome) Number() protoreflect.EnumNumber
- func (x ResolutionOutcome) String() string
- func (ResolutionOutcome) Type() protoreflect.EnumType
- type ResolutionType
- func (ResolutionType) Descriptor() protoreflect.EnumDescriptor
- func (x ResolutionType) Enum() *ResolutionType
- func (ResolutionType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ResolutionType) Number() protoreflect.EnumNumber
- func (x ResolutionType) String() string
- func (ResolutionType) Type() protoreflect.EnumType
- type RestoreBackupResponse
- type RestoreChanBackupRequest
- func (*RestoreChanBackupRequest) Descriptor() ([]byte, []int)deprecated
- func (m *RestoreChanBackupRequest) GetBackup() isRestoreChanBackupRequest_Backup
- func (x *RestoreChanBackupRequest) GetChanBackups() *ChannelBackups
- func (x *RestoreChanBackupRequest) GetMultiChanBackup() []byte
- func (*RestoreChanBackupRequest) ProtoMessage()
- func (x *RestoreChanBackupRequest) ProtoReflect() protoreflect.Message
- func (x *RestoreChanBackupRequest) Reset()
- func (x *RestoreChanBackupRequest) String() string
- type RestoreChanBackupRequest_ChanBackups
- type RestoreChanBackupRequest_MultiChanBackup
- type Route
- func (*Route) Descriptor() ([]byte, []int)deprecated
- func (x *Route) GetHops() []*Hop
- func (x *Route) GetTotalAmt() int64deprecated
- func (x *Route) GetTotalAmtMsat() int64
- func (x *Route) GetTotalFees() int64deprecated
- func (x *Route) GetTotalFeesMsat() int64
- func (x *Route) GetTotalTimeLock() uint32
- func (*Route) ProtoMessage()
- func (x *Route) ProtoReflect() protoreflect.Message
- func (x *Route) Reset()
- func (x *Route) String() string
- type RouteHint
- type RoutingPolicy
- func (*RoutingPolicy) Descriptor() ([]byte, []int)deprecated
- func (x *RoutingPolicy) GetDisabled() bool
- func (x *RoutingPolicy) GetFeeBaseMsat() int64
- func (x *RoutingPolicy) GetFeeRateMilliMsat() int64
- func (x *RoutingPolicy) GetLastUpdate() uint32
- func (x *RoutingPolicy) GetMaxHtlcMsat() uint64
- func (x *RoutingPolicy) GetMinHtlc() int64
- func (x *RoutingPolicy) GetTimeLockDelta() uint32
- func (*RoutingPolicy) ProtoMessage()
- func (x *RoutingPolicy) ProtoReflect() protoreflect.Message
- func (x *RoutingPolicy) Reset()
- func (x *RoutingPolicy) String() string
- type SendCoinsRequest
- func (*SendCoinsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendCoinsRequest) GetAddr() string
- func (x *SendCoinsRequest) GetAmount() int64
- func (x *SendCoinsRequest) GetLabel() string
- func (x *SendCoinsRequest) GetMinConfs() int32
- func (x *SendCoinsRequest) GetSatPerByte() int64deprecated
- func (x *SendCoinsRequest) GetSatPerVbyte() uint64
- func (x *SendCoinsRequest) GetSendAll() bool
- func (x *SendCoinsRequest) GetSpendUnconfirmed() bool
- func (x *SendCoinsRequest) GetTargetConf() int32
- func (*SendCoinsRequest) ProtoMessage()
- func (x *SendCoinsRequest) ProtoReflect() protoreflect.Message
- func (x *SendCoinsRequest) Reset()
- func (x *SendCoinsRequest) String() string
- type SendCoinsResponse
- type SendCustomMessageRequest
- func (*SendCustomMessageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendCustomMessageRequest) GetData() []byte
- func (x *SendCustomMessageRequest) GetPeer() []byte
- func (x *SendCustomMessageRequest) GetType() uint32
- func (*SendCustomMessageRequest) ProtoMessage()
- func (x *SendCustomMessageRequest) ProtoReflect() protoreflect.Message
- func (x *SendCustomMessageRequest) Reset()
- func (x *SendCustomMessageRequest) String() string
- type SendCustomMessageResponse
- type SendManyRequest
- func (*SendManyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendManyRequest) GetAddrToAmount() map[string]int64
- func (x *SendManyRequest) GetLabel() string
- func (x *SendManyRequest) GetMinConfs() int32
- func (x *SendManyRequest) GetSatPerByte() int64deprecated
- func (x *SendManyRequest) GetSatPerVbyte() uint64
- func (x *SendManyRequest) GetSpendUnconfirmed() bool
- func (x *SendManyRequest) GetTargetConf() int32
- func (*SendManyRequest) ProtoMessage()
- func (x *SendManyRequest) ProtoReflect() protoreflect.Message
- func (x *SendManyRequest) Reset()
- func (x *SendManyRequest) String() string
- type SendManyResponse
- type SendRequest
- func (*SendRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendRequest) GetAllowSelfPayment() bool
- func (x *SendRequest) GetAmt() int64
- func (x *SendRequest) GetAmtMsat() int64
- func (x *SendRequest) GetCltvLimit() uint32
- func (x *SendRequest) GetDest() []byte
- func (x *SendRequest) GetDestCustomRecords() map[uint64][]byte
- func (x *SendRequest) GetDestFeatures() []FeatureBit
- func (x *SendRequest) GetDestString() stringdeprecated
- func (x *SendRequest) GetFeeLimit() *FeeLimit
- func (x *SendRequest) GetFinalCltvDelta() int32
- func (x *SendRequest) GetLastHopPubkey() []byte
- func (x *SendRequest) GetOutgoingChanId() uint64
- func (x *SendRequest) GetPaymentAddr() []byte
- func (x *SendRequest) GetPaymentHash() []byte
- func (x *SendRequest) GetPaymentHashString() stringdeprecated
- func (x *SendRequest) GetPaymentRequest() string
- func (*SendRequest) ProtoMessage()
- func (x *SendRequest) ProtoReflect() protoreflect.Message
- func (x *SendRequest) Reset()
- func (x *SendRequest) String() string
- type SendResponse
- func (*SendResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SendResponse) GetPaymentError() string
- func (x *SendResponse) GetPaymentHash() []byte
- func (x *SendResponse) GetPaymentPreimage() []byte
- func (x *SendResponse) GetPaymentRoute() *Route
- func (*SendResponse) ProtoMessage()
- func (x *SendResponse) ProtoReflect() protoreflect.Message
- func (x *SendResponse) Reset()
- func (x *SendResponse) String() string
- type SendToRouteRequest
- func (*SendToRouteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendToRouteRequest) GetPaymentHash() []byte
- func (x *SendToRouteRequest) GetPaymentHashString() stringdeprecated
- func (x *SendToRouteRequest) GetRoute() *Route
- func (*SendToRouteRequest) ProtoMessage()
- func (x *SendToRouteRequest) ProtoReflect() protoreflect.Message
- func (x *SendToRouteRequest) Reset()
- func (x *SendToRouteRequest) String() string
- type SetID
- type SignMessageRequest
- func (*SignMessageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SignMessageRequest) GetMsg() []byte
- func (x *SignMessageRequest) GetSingleHash() bool
- func (*SignMessageRequest) ProtoMessage()
- func (x *SignMessageRequest) ProtoReflect() protoreflect.Message
- func (x *SignMessageRequest) Reset()
- func (x *SignMessageRequest) String() string
- type SignMessageResponse
- func (*SignMessageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SignMessageResponse) GetSignature() string
- func (*SignMessageResponse) ProtoMessage()
- func (x *SignMessageResponse) ProtoReflect() protoreflect.Message
- func (x *SignMessageResponse) Reset()
- func (x *SignMessageResponse) String() string
- type StateClient
- type StateServer
- type State_SubscribeStateClient
- type State_SubscribeStateServer
- type StopRequest
- type StopResponse
- type StreamAuth
- type SubServer
- type SubServerConfigDispatcher
- type SubServerDriver
- type SubscribeCustomMessagesRequest
- func (*SubscribeCustomMessagesRequest) Descriptor() ([]byte, []int)deprecated
- func (*SubscribeCustomMessagesRequest) ProtoMessage()
- func (x *SubscribeCustomMessagesRequest) ProtoReflect() protoreflect.Message
- func (x *SubscribeCustomMessagesRequest) Reset()
- func (x *SubscribeCustomMessagesRequest) String() string
- type SubscribeStateRequest
- type SubscribeStateResponse
- func (*SubscribeStateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SubscribeStateResponse) GetState() WalletState
- func (*SubscribeStateResponse) ProtoMessage()
- func (x *SubscribeStateResponse) ProtoReflect() protoreflect.Message
- func (x *SubscribeStateResponse) Reset()
- func (x *SubscribeStateResponse) String() string
- type TimestampedError
- func (*TimestampedError) Descriptor() ([]byte, []int)deprecated
- func (x *TimestampedError) GetError() string
- func (x *TimestampedError) GetTimestamp() uint64
- func (*TimestampedError) ProtoMessage()
- func (x *TimestampedError) ProtoReflect() protoreflect.Message
- func (x *TimestampedError) Reset()
- func (x *TimestampedError) String() string
- type Transaction
- func (*Transaction) Descriptor() ([]byte, []int)deprecated
- func (x *Transaction) GetAmount() int64
- func (x *Transaction) GetBlockHash() string
- func (x *Transaction) GetBlockHeight() int32
- func (x *Transaction) GetDestAddresses() []string
- func (x *Transaction) GetLabel() string
- func (x *Transaction) GetNumConfirmations() int32
- func (x *Transaction) GetRawTxHex() string
- func (x *Transaction) GetTimeStamp() int64
- func (x *Transaction) GetTotalFees() int64
- func (x *Transaction) GetTxHash() string
- func (*Transaction) ProtoMessage()
- func (x *Transaction) ProtoReflect() protoreflect.Message
- func (x *Transaction) Reset()
- func (x *Transaction) String() string
- type TransactionDetails
- func (*TransactionDetails) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionDetails) GetTransactions() []*Transaction
- func (*TransactionDetails) ProtoMessage()
- func (x *TransactionDetails) ProtoReflect() protoreflect.Message
- func (x *TransactionDetails) Reset()
- func (x *TransactionDetails) String() string
- type UnimplementedLightningServer
- func (UnimplementedLightningServer) AbandonChannel(context.Context, *AbandonChannelRequest) (*AbandonChannelResponse, error)
- func (UnimplementedLightningServer) AddInvoice(context.Context, *Invoice) (*AddInvoiceResponse, error)
- func (UnimplementedLightningServer) BakeMacaroon(context.Context, *BakeMacaroonRequest) (*BakeMacaroonResponse, error)
- func (UnimplementedLightningServer) BatchOpenChannel(context.Context, *BatchOpenChannelRequest) (*BatchOpenChannelResponse, error)
- func (UnimplementedLightningServer) ChannelAcceptor(Lightning_ChannelAcceptorServer) error
- func (UnimplementedLightningServer) ChannelBalance(context.Context, *ChannelBalanceRequest) (*ChannelBalanceResponse, error)
- func (UnimplementedLightningServer) CheckMacaroonPermissions(context.Context, *CheckMacPermRequest) (*CheckMacPermResponse, error)
- func (UnimplementedLightningServer) CloseChannel(*CloseChannelRequest, Lightning_CloseChannelServer) error
- func (UnimplementedLightningServer) ClosedChannels(context.Context, *ClosedChannelsRequest) (*ClosedChannelsResponse, error)
- func (UnimplementedLightningServer) ConnectPeer(context.Context, *ConnectPeerRequest) (*ConnectPeerResponse, error)
- func (UnimplementedLightningServer) DebugLevel(context.Context, *DebugLevelRequest) (*DebugLevelResponse, error)
- func (UnimplementedLightningServer) DecodePayReq(context.Context, *PayReqString) (*PayReq, error)
- func (UnimplementedLightningServer) DeleteAllPayments(context.Context, *DeleteAllPaymentsRequest) (*DeleteAllPaymentsResponse, error)
- func (UnimplementedLightningServer) DeleteMacaroonID(context.Context, *DeleteMacaroonIDRequest) (*DeleteMacaroonIDResponse, error)
- func (UnimplementedLightningServer) DeletePayment(context.Context, *DeletePaymentRequest) (*DeletePaymentResponse, error)
- func (UnimplementedLightningServer) DescribeGraph(context.Context, *ChannelGraphRequest) (*ChannelGraph, error)
- func (UnimplementedLightningServer) DisconnectPeer(context.Context, *DisconnectPeerRequest) (*DisconnectPeerResponse, error)
- func (UnimplementedLightningServer) EstimateFee(context.Context, *EstimateFeeRequest) (*EstimateFeeResponse, error)
- func (UnimplementedLightningServer) ExportAllChannelBackups(context.Context, *ChanBackupExportRequest) (*ChanBackupSnapshot, error)
- func (UnimplementedLightningServer) ExportChannelBackup(context.Context, *ExportChannelBackupRequest) (*ChannelBackup, error)
- func (UnimplementedLightningServer) FeeReport(context.Context, *FeeReportRequest) (*FeeReportResponse, error)
- func (UnimplementedLightningServer) ForwardingHistory(context.Context, *ForwardingHistoryRequest) (*ForwardingHistoryResponse, error)
- func (UnimplementedLightningServer) FundingStateStep(context.Context, *FundingTransitionMsg) (*FundingStateStepResp, error)
- func (UnimplementedLightningServer) GetChanInfo(context.Context, *ChanInfoRequest) (*ChannelEdge, error)
- func (UnimplementedLightningServer) GetInfo(context.Context, *GetInfoRequest) (*GetInfoResponse, error)
- func (UnimplementedLightningServer) GetNetworkInfo(context.Context, *NetworkInfoRequest) (*NetworkInfo, error)
- func (UnimplementedLightningServer) GetNodeInfo(context.Context, *NodeInfoRequest) (*NodeInfo, error)
- func (UnimplementedLightningServer) GetNodeMetrics(context.Context, *NodeMetricsRequest) (*NodeMetricsResponse, error)
- func (UnimplementedLightningServer) GetRecoveryInfo(context.Context, *GetRecoveryInfoRequest) (*GetRecoveryInfoResponse, error)
- func (UnimplementedLightningServer) GetTransactions(context.Context, *GetTransactionsRequest) (*TransactionDetails, error)
- func (UnimplementedLightningServer) ListChannels(context.Context, *ListChannelsRequest) (*ListChannelsResponse, error)
- func (UnimplementedLightningServer) ListInvoices(context.Context, *ListInvoiceRequest) (*ListInvoiceResponse, error)
- func (UnimplementedLightningServer) ListMacaroonIDs(context.Context, *ListMacaroonIDsRequest) (*ListMacaroonIDsResponse, error)
- func (UnimplementedLightningServer) ListPayments(context.Context, *ListPaymentsRequest) (*ListPaymentsResponse, error)
- func (UnimplementedLightningServer) ListPeers(context.Context, *ListPeersRequest) (*ListPeersResponse, error)
- func (UnimplementedLightningServer) ListPermissions(context.Context, *ListPermissionsRequest) (*ListPermissionsResponse, error)
- func (UnimplementedLightningServer) ListUnspent(context.Context, *ListUnspentRequest) (*ListUnspentResponse, error)
- func (UnimplementedLightningServer) LookupInvoice(context.Context, *PaymentHash) (*Invoice, error)
- func (UnimplementedLightningServer) NewAddress(context.Context, *NewAddressRequest) (*NewAddressResponse, error)
- func (UnimplementedLightningServer) OpenChannel(*OpenChannelRequest, Lightning_OpenChannelServer) error
- func (UnimplementedLightningServer) OpenChannelSync(context.Context, *OpenChannelRequest) (*ChannelPoint, error)
- func (UnimplementedLightningServer) PendingChannels(context.Context, *PendingChannelsRequest) (*PendingChannelsResponse, error)
- func (UnimplementedLightningServer) QueryRoutes(context.Context, *QueryRoutesRequest) (*QueryRoutesResponse, error)
- func (UnimplementedLightningServer) RegisterRPCMiddleware(Lightning_RegisterRPCMiddlewareServer) error
- func (UnimplementedLightningServer) RestoreChannelBackups(context.Context, *RestoreChanBackupRequest) (*RestoreBackupResponse, error)
- func (UnimplementedLightningServer) SendCoins(context.Context, *SendCoinsRequest) (*SendCoinsResponse, error)
- func (UnimplementedLightningServer) SendCustomMessage(context.Context, *SendCustomMessageRequest) (*SendCustomMessageResponse, error)
- func (UnimplementedLightningServer) SendMany(context.Context, *SendManyRequest) (*SendManyResponse, error)
- func (UnimplementedLightningServer) SendPayment(Lightning_SendPaymentServer) error
- func (UnimplementedLightningServer) SendPaymentSync(context.Context, *SendRequest) (*SendResponse, error)
- func (UnimplementedLightningServer) SendToRoute(Lightning_SendToRouteServer) error
- func (UnimplementedLightningServer) SendToRouteSync(context.Context, *SendToRouteRequest) (*SendResponse, error)
- func (UnimplementedLightningServer) SignMessage(context.Context, *SignMessageRequest) (*SignMessageResponse, error)
- func (UnimplementedLightningServer) StopDaemon(context.Context, *StopRequest) (*StopResponse, error)
- func (UnimplementedLightningServer) SubscribeChannelBackups(*ChannelBackupSubscription, Lightning_SubscribeChannelBackupsServer) error
- func (UnimplementedLightningServer) SubscribeChannelEvents(*ChannelEventSubscription, Lightning_SubscribeChannelEventsServer) error
- func (UnimplementedLightningServer) SubscribeChannelGraph(*GraphTopologySubscription, Lightning_SubscribeChannelGraphServer) error
- func (UnimplementedLightningServer) SubscribeCustomMessages(*SubscribeCustomMessagesRequest, Lightning_SubscribeCustomMessagesServer) error
- func (UnimplementedLightningServer) SubscribeInvoices(*InvoiceSubscription, Lightning_SubscribeInvoicesServer) error
- func (UnimplementedLightningServer) SubscribePeerEvents(*PeerEventSubscription, Lightning_SubscribePeerEventsServer) error
- func (UnimplementedLightningServer) SubscribeTransactions(*GetTransactionsRequest, Lightning_SubscribeTransactionsServer) error
- func (UnimplementedLightningServer) UpdateChannelPolicy(context.Context, *PolicyUpdateRequest) (*PolicyUpdateResponse, error)
- func (UnimplementedLightningServer) VerifyChanBackup(context.Context, *ChanBackupSnapshot) (*VerifyChanBackupResponse, error)
- func (UnimplementedLightningServer) VerifyMessage(context.Context, *VerifyMessageRequest) (*VerifyMessageResponse, error)
- func (UnimplementedLightningServer) WalletBalance(context.Context, *WalletBalanceRequest) (*WalletBalanceResponse, error)
- type UnimplementedStateServer
- type UnimplementedWalletUnlockerServer
- func (UnimplementedWalletUnlockerServer) ChangePassword(context.Context, *ChangePasswordRequest) (*ChangePasswordResponse, error)
- func (UnimplementedWalletUnlockerServer) GenSeed(context.Context, *GenSeedRequest) (*GenSeedResponse, error)
- func (UnimplementedWalletUnlockerServer) InitWallet(context.Context, *InitWalletRequest) (*InitWalletResponse, error)
- func (UnimplementedWalletUnlockerServer) UnlockWallet(context.Context, *UnlockWalletRequest) (*UnlockWalletResponse, error)
- type UnlockWalletRequest
- func (*UnlockWalletRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UnlockWalletRequest) GetChannelBackups() *ChanBackupSnapshot
- func (x *UnlockWalletRequest) GetRecoveryWindow() int32
- func (x *UnlockWalletRequest) GetStatelessInit() bool
- func (x *UnlockWalletRequest) GetWalletPassword() []byte
- func (*UnlockWalletRequest) ProtoMessage()
- func (x *UnlockWalletRequest) ProtoReflect() protoreflect.Message
- func (x *UnlockWalletRequest) Reset()
- func (x *UnlockWalletRequest) String() string
- type UnlockWalletResponse
- type UnsafeLightningServer
- type UnsafeStateServer
- type UnsafeWalletUnlockerServer
- type UpdateFailure
- func (UpdateFailure) Descriptor() protoreflect.EnumDescriptor
- func (x UpdateFailure) Enum() *UpdateFailure
- func (UpdateFailure) EnumDescriptor() ([]byte, []int)deprecated
- func (x UpdateFailure) Number() protoreflect.EnumNumber
- func (x UpdateFailure) String() string
- func (UpdateFailure) Type() protoreflect.EnumType
- type Utxo
- func (*Utxo) Descriptor() ([]byte, []int)deprecated
- func (x *Utxo) GetAddress() string
- func (x *Utxo) GetAddressType() AddressType
- func (x *Utxo) GetAmountSat() int64
- func (x *Utxo) GetConfirmations() int64
- func (x *Utxo) GetOutpoint() *OutPoint
- func (x *Utxo) GetPkScript() string
- func (*Utxo) ProtoMessage()
- func (x *Utxo) ProtoReflect() protoreflect.Message
- func (x *Utxo) Reset()
- func (x *Utxo) String() string
- type VerifyChanBackupResponse
- type VerifyMessageRequest
- func (*VerifyMessageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyMessageRequest) GetMsg() []byte
- func (x *VerifyMessageRequest) GetSignature() string
- func (*VerifyMessageRequest) ProtoMessage()
- func (x *VerifyMessageRequest) ProtoReflect() protoreflect.Message
- func (x *VerifyMessageRequest) Reset()
- func (x *VerifyMessageRequest) String() string
- type VerifyMessageResponse
- func (*VerifyMessageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyMessageResponse) GetPubkey() string
- func (x *VerifyMessageResponse) GetValid() bool
- func (*VerifyMessageResponse) ProtoMessage()
- func (x *VerifyMessageResponse) ProtoReflect() protoreflect.Message
- func (x *VerifyMessageResponse) Reset()
- func (x *VerifyMessageResponse) String() string
- type WalletAccountBalance
- func (*WalletAccountBalance) Descriptor() ([]byte, []int)deprecated
- func (x *WalletAccountBalance) GetConfirmedBalance() int64
- func (x *WalletAccountBalance) GetUnconfirmedBalance() int64
- func (*WalletAccountBalance) ProtoMessage()
- func (x *WalletAccountBalance) ProtoReflect() protoreflect.Message
- func (x *WalletAccountBalance) Reset()
- func (x *WalletAccountBalance) String() string
- type WalletBalanceRequest
- type WalletBalanceResponse
- func (*WalletBalanceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *WalletBalanceResponse) GetAccountBalance() map[string]*WalletAccountBalance
- func (x *WalletBalanceResponse) GetConfirmedBalance() int64
- func (x *WalletBalanceResponse) GetTotalBalance() int64
- func (x *WalletBalanceResponse) GetUnconfirmedBalance() int64
- func (*WalletBalanceResponse) ProtoMessage()
- func (x *WalletBalanceResponse) ProtoReflect() protoreflect.Message
- func (x *WalletBalanceResponse) Reset()
- func (x *WalletBalanceResponse) String() string
- type WalletState
- func (WalletState) Descriptor() protoreflect.EnumDescriptor
- func (x WalletState) Enum() *WalletState
- func (WalletState) EnumDescriptor() ([]byte, []int)deprecated
- func (x WalletState) Number() protoreflect.EnumNumber
- func (x WalletState) String() string
- func (WalletState) Type() protoreflect.EnumType
- type WalletUnlockerClient
- type WalletUnlockerServer
- type WatchOnly
- func (*WatchOnly) Descriptor() ([]byte, []int)deprecated
- func (x *WatchOnly) GetAccounts() []*WatchOnlyAccount
- func (x *WatchOnly) GetMasterKeyBirthdayTimestamp() uint64
- func (x *WatchOnly) GetMasterKeyFingerprint() []byte
- func (*WatchOnly) ProtoMessage()
- func (x *WatchOnly) ProtoReflect() protoreflect.Message
- func (x *WatchOnly) Reset()
- func (x *WatchOnly) String() string
- type WatchOnlyAccount
- func (*WatchOnlyAccount) Descriptor() ([]byte, []int)deprecated
- func (x *WatchOnlyAccount) GetAccount() uint32
- func (x *WatchOnlyAccount) GetCoinType() uint32
- func (x *WatchOnlyAccount) GetPurpose() uint32
- func (x *WatchOnlyAccount) GetXpub() string
- func (*WatchOnlyAccount) ProtoMessage()
- func (x *WatchOnlyAccount) ProtoReflect() protoreflect.Message
- func (x *WatchOnlyAccount) Reset()
- func (x *WatchOnlyAccount) String() string
- type WebsocketProxy
Constants ¶
const ( // MethodOverrideParam is the GET query parameter that specifies what // HTTP request method should be used for the forwarded REST request. // This is necessary because the WebSocket API specifies that a // handshake request must always be done through a GET request. MethodOverrideParam = "method" // HeaderWebSocketProtocol is the name of the WebSocket protocol // exchange header field that we use to transport additional header // fields. HeaderWebSocketProtocol = "Sec-Websocket-Protocol" // WebSocketProtocolDelimiter is the delimiter we use between the // additional header field and its value. We use the plus symbol because // the default delimiters aren't allowed in the protocol names. WebSocketProtocolDelimiter = "+" // PingContent is the content of the ping message we send out. This is // an arbitrary non-empty message that has no deeper meaning but should // be sent back by the client in the pong message. PingContent = "are you there?" )
const ( // RegisterRPCMiddlewareURI is the full RPC method URI for the // middleware registration call. This is declared here rather than where // it's mainly used to avoid circular package dependencies. RegisterRPCMiddlewareURI = "/lnrpc.Lightning/RegisterRPCMiddleware" )
Variables ¶
var ( AddressType_name = map[int32]string{ 0: "WITNESS_PUBKEY_HASH", 1: "NESTED_PUBKEY_HASH", 2: "UNUSED_WITNESS_PUBKEY_HASH", 3: "UNUSED_NESTED_PUBKEY_HASH", } AddressType_value = map[string]int32{ "WITNESS_PUBKEY_HASH": 0, "NESTED_PUBKEY_HASH": 1, "UNUSED_WITNESS_PUBKEY_HASH": 2, "UNUSED_NESTED_PUBKEY_HASH": 3, } )
Enum value maps for AddressType.
var ( CommitmentType_name = map[int32]string{ 0: "UNKNOWN_COMMITMENT_TYPE", 1: "LEGACY", 2: "STATIC_REMOTE_KEY", 3: "ANCHORS", 4: "SCRIPT_ENFORCED_LEASE", } CommitmentType_value = map[string]int32{ "UNKNOWN_COMMITMENT_TYPE": 0, "LEGACY": 1, "STATIC_REMOTE_KEY": 2, "ANCHORS": 3, "SCRIPT_ENFORCED_LEASE": 4, } )
Enum value maps for CommitmentType.
var ( Initiator_name = map[int32]string{ 0: "INITIATOR_UNKNOWN", 1: "INITIATOR_LOCAL", 2: "INITIATOR_REMOTE", 3: "INITIATOR_BOTH", } Initiator_value = map[string]int32{ "INITIATOR_UNKNOWN": 0, "INITIATOR_LOCAL": 1, "INITIATOR_REMOTE": 2, "INITIATOR_BOTH": 3, } )
Enum value maps for Initiator.
var ( ResolutionType_name = map[int32]string{ 0: "TYPE_UNKNOWN", 1: "ANCHOR", 2: "INCOMING_HTLC", 3: "OUTGOING_HTLC", 4: "COMMIT", } ResolutionType_value = map[string]int32{ "TYPE_UNKNOWN": 0, "ANCHOR": 1, "INCOMING_HTLC": 2, "OUTGOING_HTLC": 3, "COMMIT": 4, } )
Enum value maps for ResolutionType.
var ( ResolutionOutcome_name = map[int32]string{ 0: "OUTCOME_UNKNOWN", 1: "CLAIMED", 2: "UNCLAIMED", 3: "ABANDONED", 4: "FIRST_STAGE", 5: "TIMEOUT", } ResolutionOutcome_value = map[string]int32{ "OUTCOME_UNKNOWN": 0, "CLAIMED": 1, "UNCLAIMED": 2, "ABANDONED": 3, "FIRST_STAGE": 4, "TIMEOUT": 5, } )
Enum value maps for ResolutionOutcome.
var ( NodeMetricType_name = map[int32]string{ 0: "UNKNOWN", 1: "BETWEENNESS_CENTRALITY", } NodeMetricType_value = map[string]int32{ "UNKNOWN": 0, "BETWEENNESS_CENTRALITY": 1, } )
Enum value maps for NodeMetricType.
var ( InvoiceHTLCState_name = map[int32]string{ 0: "ACCEPTED", 1: "SETTLED", 2: "CANCELED", } InvoiceHTLCState_value = map[string]int32{ "ACCEPTED": 0, "SETTLED": 1, "CANCELED": 2, } )
Enum value maps for InvoiceHTLCState.
var ( PaymentFailureReason_name = map[int32]string{ 0: "FAILURE_REASON_NONE", 1: "FAILURE_REASON_TIMEOUT", 2: "FAILURE_REASON_NO_ROUTE", 3: "FAILURE_REASON_ERROR", 4: "FAILURE_REASON_INCORRECT_PAYMENT_DETAILS", 5: "FAILURE_REASON_INSUFFICIENT_BALANCE", } PaymentFailureReason_value = map[string]int32{ "FAILURE_REASON_NONE": 0, "FAILURE_REASON_TIMEOUT": 1, "FAILURE_REASON_NO_ROUTE": 2, "FAILURE_REASON_ERROR": 3, "FAILURE_REASON_INCORRECT_PAYMENT_DETAILS": 4, "FAILURE_REASON_INSUFFICIENT_BALANCE": 5, } )
Enum value maps for PaymentFailureReason.
var ( FeatureBit_name = map[int32]string{ 0: "DATALOSS_PROTECT_REQ", 1: "DATALOSS_PROTECT_OPT", 3: "INITIAL_ROUING_SYNC", 4: "UPFRONT_SHUTDOWN_SCRIPT_REQ", 5: "UPFRONT_SHUTDOWN_SCRIPT_OPT", 6: "GOSSIP_QUERIES_REQ", 7: "GOSSIP_QUERIES_OPT", 8: "TLV_ONION_REQ", 9: "TLV_ONION_OPT", 10: "EXT_GOSSIP_QUERIES_REQ", 11: "EXT_GOSSIP_QUERIES_OPT", 12: "STATIC_REMOTE_KEY_REQ", 13: "STATIC_REMOTE_KEY_OPT", 14: "PAYMENT_ADDR_REQ", 15: "PAYMENT_ADDR_OPT", 16: "MPP_REQ", 17: "MPP_OPT", 18: "WUMBO_CHANNELS_REQ", 19: "WUMBO_CHANNELS_OPT", 20: "ANCHORS_REQ", 21: "ANCHORS_OPT", 22: "ANCHORS_ZERO_FEE_HTLC_REQ", 23: "ANCHORS_ZERO_FEE_HTLC_OPT", 30: "AMP_REQ", 31: "AMP_OPT", } FeatureBit_value = map[string]int32{ "DATALOSS_PROTECT_REQ": 0, "DATALOSS_PROTECT_OPT": 1, "INITIAL_ROUING_SYNC": 3, "UPFRONT_SHUTDOWN_SCRIPT_REQ": 4, "UPFRONT_SHUTDOWN_SCRIPT_OPT": 5, "GOSSIP_QUERIES_REQ": 6, "GOSSIP_QUERIES_OPT": 7, "TLV_ONION_REQ": 8, "TLV_ONION_OPT": 9, "EXT_GOSSIP_QUERIES_REQ": 10, "EXT_GOSSIP_QUERIES_OPT": 11, "STATIC_REMOTE_KEY_REQ": 12, "STATIC_REMOTE_KEY_OPT": 13, "PAYMENT_ADDR_REQ": 14, "PAYMENT_ADDR_OPT": 15, "MPP_REQ": 16, "MPP_OPT": 17, "WUMBO_CHANNELS_REQ": 18, "WUMBO_CHANNELS_OPT": 19, "ANCHORS_REQ": 20, "ANCHORS_OPT": 21, "ANCHORS_ZERO_FEE_HTLC_REQ": 22, "ANCHORS_ZERO_FEE_HTLC_OPT": 23, "AMP_REQ": 30, "AMP_OPT": 31, } )
Enum value maps for FeatureBit.
var ( UpdateFailure_name = map[int32]string{ 0: "UPDATE_FAILURE_UNKNOWN", 1: "UPDATE_FAILURE_PENDING", 2: "UPDATE_FAILURE_NOT_FOUND", 3: "UPDATE_FAILURE_INTERNAL_ERR", 4: "UPDATE_FAILURE_INVALID_PARAMETER", } UpdateFailure_value = map[string]int32{ "UPDATE_FAILURE_UNKNOWN": 0, "UPDATE_FAILURE_PENDING": 1, "UPDATE_FAILURE_NOT_FOUND": 2, "UPDATE_FAILURE_INTERNAL_ERR": 3, "UPDATE_FAILURE_INVALID_PARAMETER": 4, } )
Enum value maps for UpdateFailure.
var ( ChannelCloseSummary_ClosureType_name = map[int32]string{ 0: "COOPERATIVE_CLOSE", 1: "LOCAL_FORCE_CLOSE", 2: "REMOTE_FORCE_CLOSE", 3: "BREACH_CLOSE", 4: "FUNDING_CANCELED", 5: "ABANDONED", } ChannelCloseSummary_ClosureType_value = map[string]int32{ "COOPERATIVE_CLOSE": 0, "LOCAL_FORCE_CLOSE": 1, "REMOTE_FORCE_CLOSE": 2, "BREACH_CLOSE": 3, "FUNDING_CANCELED": 4, "ABANDONED": 5, } )
Enum value maps for ChannelCloseSummary_ClosureType.
var ( Peer_SyncType_name = map[int32]string{ 0: "UNKNOWN_SYNC", 1: "ACTIVE_SYNC", 2: "PASSIVE_SYNC", 3: "PINNED_SYNC", } Peer_SyncType_value = map[string]int32{ "UNKNOWN_SYNC": 0, "ACTIVE_SYNC": 1, "PASSIVE_SYNC": 2, "PINNED_SYNC": 3, } )
Enum value maps for Peer_SyncType.
var ( PeerEvent_EventType_name = map[int32]string{ 0: "PEER_ONLINE", 1: "PEER_OFFLINE", } PeerEvent_EventType_value = map[string]int32{ "PEER_ONLINE": 0, "PEER_OFFLINE": 1, } )
Enum value maps for PeerEvent_EventType.
var ( PendingChannelsResponse_ForceClosedChannel_AnchorState_name = map[int32]string{ 0: "LIMBO", 1: "RECOVERED", 2: "LOST", } PendingChannelsResponse_ForceClosedChannel_AnchorState_value = map[string]int32{ "LIMBO": 0, "RECOVERED": 1, "LOST": 2, } )
Enum value maps for PendingChannelsResponse_ForceClosedChannel_AnchorState.
var ( ChannelEventUpdate_UpdateType_name = map[int32]string{ 0: "OPEN_CHANNEL", 1: "CLOSED_CHANNEL", 2: "ACTIVE_CHANNEL", 3: "INACTIVE_CHANNEL", 4: "PENDING_OPEN_CHANNEL", 5: "FULLY_RESOLVED_CHANNEL", } ChannelEventUpdate_UpdateType_value = map[string]int32{ "OPEN_CHANNEL": 0, "CLOSED_CHANNEL": 1, "ACTIVE_CHANNEL": 2, "INACTIVE_CHANNEL": 3, "PENDING_OPEN_CHANNEL": 4, "FULLY_RESOLVED_CHANNEL": 5, } )
Enum value maps for ChannelEventUpdate_UpdateType.
var ( Invoice_InvoiceState_name = map[int32]string{ 0: "OPEN", 1: "SETTLED", 2: "CANCELED", 3: "ACCEPTED", } Invoice_InvoiceState_value = map[string]int32{ "OPEN": 0, "SETTLED": 1, "CANCELED": 2, "ACCEPTED": 3, } )
Enum value maps for Invoice_InvoiceState.
var ( Payment_PaymentStatus_name = map[int32]string{ 0: "UNKNOWN", 1: "IN_FLIGHT", 2: "SUCCEEDED", 3: "FAILED", } Payment_PaymentStatus_value = map[string]int32{ "UNKNOWN": 0, "IN_FLIGHT": 1, "SUCCEEDED": 2, "FAILED": 3, } )
Enum value maps for Payment_PaymentStatus.
var ( HTLCAttempt_HTLCStatus_name = map[int32]string{ 0: "IN_FLIGHT", 1: "SUCCEEDED", 2: "FAILED", } HTLCAttempt_HTLCStatus_value = map[string]int32{ "IN_FLIGHT": 0, "SUCCEEDED": 1, "FAILED": 2, } )
Enum value maps for HTLCAttempt_HTLCStatus.
var ( Failure_FailureCode_name = map[int32]string{ 0: "RESERVED", 1: "INCORRECT_OR_UNKNOWN_PAYMENT_DETAILS", 2: "INCORRECT_PAYMENT_AMOUNT", 3: "FINAL_INCORRECT_CLTV_EXPIRY", 4: "FINAL_INCORRECT_HTLC_AMOUNT", 5: "FINAL_EXPIRY_TOO_SOON", 6: "INVALID_REALM", 7: "EXPIRY_TOO_SOON", 8: "INVALID_ONION_VERSION", 9: "INVALID_ONION_HMAC", 10: "INVALID_ONION_KEY", 11: "AMOUNT_BELOW_MINIMUM", 12: "FEE_INSUFFICIENT", 13: "INCORRECT_CLTV_EXPIRY", 14: "CHANNEL_DISABLED", 15: "TEMPORARY_CHANNEL_FAILURE", 16: "REQUIRED_NODE_FEATURE_MISSING", 17: "REQUIRED_CHANNEL_FEATURE_MISSING", 18: "UNKNOWN_NEXT_PEER", 19: "TEMPORARY_NODE_FAILURE", 20: "PERMANENT_NODE_FAILURE", 21: "PERMANENT_CHANNEL_FAILURE", 22: "EXPIRY_TOO_FAR", 23: "MPP_TIMEOUT", 24: "INVALID_ONION_PAYLOAD", 997: "INTERNAL_FAILURE", 998: "UNKNOWN_FAILURE", 999: "UNREADABLE_FAILURE", } Failure_FailureCode_value = map[string]int32{ "RESERVED": 0, "INCORRECT_OR_UNKNOWN_PAYMENT_DETAILS": 1, "INCORRECT_PAYMENT_AMOUNT": 2, "FINAL_INCORRECT_CLTV_EXPIRY": 3, "FINAL_INCORRECT_HTLC_AMOUNT": 4, "FINAL_EXPIRY_TOO_SOON": 5, "INVALID_REALM": 6, "EXPIRY_TOO_SOON": 7, "INVALID_ONION_VERSION": 8, "INVALID_ONION_HMAC": 9, "INVALID_ONION_KEY": 10, "AMOUNT_BELOW_MINIMUM": 11, "FEE_INSUFFICIENT": 12, "INCORRECT_CLTV_EXPIRY": 13, "CHANNEL_DISABLED": 14, "TEMPORARY_CHANNEL_FAILURE": 15, "REQUIRED_NODE_FEATURE_MISSING": 16, "REQUIRED_CHANNEL_FEATURE_MISSING": 17, "UNKNOWN_NEXT_PEER": 18, "TEMPORARY_NODE_FAILURE": 19, "PERMANENT_NODE_FAILURE": 20, "PERMANENT_CHANNEL_FAILURE": 21, "EXPIRY_TOO_FAR": 22, "MPP_TIMEOUT": 23, "INVALID_ONION_PAYLOAD": 24, "INTERNAL_FAILURE": 997, "UNKNOWN_FAILURE": 998, "UNREADABLE_FAILURE": 999, } )
Enum value maps for Failure_FailureCode.
var ( WalletState_name = map[int32]string{ 0: "NON_EXISTING", 1: "LOCKED", 2: "UNLOCKED", 3: "RPC_ACTIVE", 4: "SERVER_ACTIVE", 255: "WAITING_TO_START", } WalletState_value = map[string]int32{ "NON_EXISTING": 0, "LOCKED": 1, "UNLOCKED": 2, "RPC_ACTIVE": 3, "SERVER_ACTIVE": 4, "WAITING_TO_START": 255, } )
Enum value maps for WalletState.
var ( // DefaultPingInterval is the default number of seconds to wait between // sending ping requests. DefaultPingInterval = time.Second * 30 // DefaultPongWait is the maximum duration we wait for a pong response // to a ping we sent before we assume the connection died. DefaultPongWait = time.Second * 5 )
var ( // ErrSatMsatMutualExclusive is returned when both a sat and an msat // amount are set. ErrSatMsatMutualExclusive = errors.New( "sat and msat arguments are mutually exclusive", ) )
var File_lightning_proto protoreflect.FileDescriptor
var File_stateservice_proto protoreflect.FileDescriptor
var File_walletunlocker_proto protoreflect.FileDescriptor
var Lightning_ServiceDesc = grpc.ServiceDesc{ ServiceName: "lnrpc.Lightning", HandlerType: (*LightningServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "WalletBalance", Handler: _Lightning_WalletBalance_Handler, }, { MethodName: "ChannelBalance", Handler: _Lightning_ChannelBalance_Handler, }, { MethodName: "GetTransactions", Handler: _Lightning_GetTransactions_Handler, }, { MethodName: "EstimateFee", Handler: _Lightning_EstimateFee_Handler, }, { MethodName: "SendCoins", Handler: _Lightning_SendCoins_Handler, }, { MethodName: "ListUnspent", Handler: _Lightning_ListUnspent_Handler, }, { MethodName: "SendMany", Handler: _Lightning_SendMany_Handler, }, { MethodName: "NewAddress", Handler: _Lightning_NewAddress_Handler, }, { MethodName: "SignMessage", Handler: _Lightning_SignMessage_Handler, }, { MethodName: "VerifyMessage", Handler: _Lightning_VerifyMessage_Handler, }, { MethodName: "ConnectPeer", Handler: _Lightning_ConnectPeer_Handler, }, { MethodName: "DisconnectPeer", Handler: _Lightning_DisconnectPeer_Handler, }, { MethodName: "ListPeers", Handler: _Lightning_ListPeers_Handler, }, { MethodName: "GetInfo", Handler: _Lightning_GetInfo_Handler, }, { MethodName: "GetRecoveryInfo", Handler: _Lightning_GetRecoveryInfo_Handler, }, { MethodName: "PendingChannels", Handler: _Lightning_PendingChannels_Handler, }, { MethodName: "ListChannels", Handler: _Lightning_ListChannels_Handler, }, { MethodName: "ClosedChannels", Handler: _Lightning_ClosedChannels_Handler, }, { MethodName: "OpenChannelSync", Handler: _Lightning_OpenChannelSync_Handler, }, { MethodName: "BatchOpenChannel", Handler: _Lightning_BatchOpenChannel_Handler, }, { MethodName: "FundingStateStep", Handler: _Lightning_FundingStateStep_Handler, }, { MethodName: "AbandonChannel", Handler: _Lightning_AbandonChannel_Handler, }, { MethodName: "SendPaymentSync", Handler: _Lightning_SendPaymentSync_Handler, }, { MethodName: "SendToRouteSync", Handler: _Lightning_SendToRouteSync_Handler, }, { MethodName: "AddInvoice", Handler: _Lightning_AddInvoice_Handler, }, { MethodName: "ListInvoices", Handler: _Lightning_ListInvoices_Handler, }, { MethodName: "LookupInvoice", Handler: _Lightning_LookupInvoice_Handler, }, { MethodName: "DecodePayReq", Handler: _Lightning_DecodePayReq_Handler, }, { MethodName: "ListPayments", Handler: _Lightning_ListPayments_Handler, }, { MethodName: "DeletePayment", Handler: _Lightning_DeletePayment_Handler, }, { MethodName: "DeleteAllPayments", Handler: _Lightning_DeleteAllPayments_Handler, }, { MethodName: "DescribeGraph", Handler: _Lightning_DescribeGraph_Handler, }, { MethodName: "GetNodeMetrics", Handler: _Lightning_GetNodeMetrics_Handler, }, { MethodName: "GetChanInfo", Handler: _Lightning_GetChanInfo_Handler, }, { MethodName: "GetNodeInfo", Handler: _Lightning_GetNodeInfo_Handler, }, { MethodName: "QueryRoutes", Handler: _Lightning_QueryRoutes_Handler, }, { MethodName: "GetNetworkInfo", Handler: _Lightning_GetNetworkInfo_Handler, }, { MethodName: "StopDaemon", Handler: _Lightning_StopDaemon_Handler, }, { MethodName: "DebugLevel", Handler: _Lightning_DebugLevel_Handler, }, { MethodName: "FeeReport", Handler: _Lightning_FeeReport_Handler, }, { MethodName: "UpdateChannelPolicy", Handler: _Lightning_UpdateChannelPolicy_Handler, }, { MethodName: "ForwardingHistory", Handler: _Lightning_ForwardingHistory_Handler, }, { MethodName: "ExportChannelBackup", Handler: _Lightning_ExportChannelBackup_Handler, }, { MethodName: "ExportAllChannelBackups", Handler: _Lightning_ExportAllChannelBackups_Handler, }, { MethodName: "VerifyChanBackup", Handler: _Lightning_VerifyChanBackup_Handler, }, { MethodName: "RestoreChannelBackups", Handler: _Lightning_RestoreChannelBackups_Handler, }, { MethodName: "BakeMacaroon", Handler: _Lightning_BakeMacaroon_Handler, }, { MethodName: "ListMacaroonIDs", Handler: _Lightning_ListMacaroonIDs_Handler, }, { MethodName: "DeleteMacaroonID", Handler: _Lightning_DeleteMacaroonID_Handler, }, { MethodName: "ListPermissions", Handler: _Lightning_ListPermissions_Handler, }, { MethodName: "CheckMacaroonPermissions", Handler: _Lightning_CheckMacaroonPermissions_Handler, }, { MethodName: "SendCustomMessage", Handler: _Lightning_SendCustomMessage_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "SubscribeTransactions", Handler: _Lightning_SubscribeTransactions_Handler, ServerStreams: true, }, { StreamName: "SubscribePeerEvents", Handler: _Lightning_SubscribePeerEvents_Handler, ServerStreams: true, }, { StreamName: "SubscribeChannelEvents", Handler: _Lightning_SubscribeChannelEvents_Handler, ServerStreams: true, }, { StreamName: "OpenChannel", Handler: _Lightning_OpenChannel_Handler, ServerStreams: true, }, { StreamName: "ChannelAcceptor", Handler: _Lightning_ChannelAcceptor_Handler, ServerStreams: true, ClientStreams: true, }, { StreamName: "CloseChannel", Handler: _Lightning_CloseChannel_Handler, ServerStreams: true, }, { StreamName: "SendPayment", Handler: _Lightning_SendPayment_Handler, ServerStreams: true, ClientStreams: true, }, { StreamName: "SendToRoute", Handler: _Lightning_SendToRoute_Handler, ServerStreams: true, ClientStreams: true, }, { StreamName: "SubscribeInvoices", Handler: _Lightning_SubscribeInvoices_Handler, ServerStreams: true, }, { StreamName: "SubscribeChannelGraph", Handler: _Lightning_SubscribeChannelGraph_Handler, ServerStreams: true, }, { StreamName: "SubscribeChannelBackups", Handler: _Lightning_SubscribeChannelBackups_Handler, ServerStreams: true, }, { StreamName: "RegisterRPCMiddleware", Handler: _Lightning_RegisterRPCMiddleware_Handler, ServerStreams: true, ClientStreams: true, }, { StreamName: "SubscribeCustomMessages", Handler: _Lightning_SubscribeCustomMessages_Handler, ServerStreams: true, }, }, Metadata: "lightning.proto", }
Lightning_ServiceDesc is the grpc.ServiceDesc for Lightning service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var ( // LndClientStreamingURIs is a list of all lnd RPCs that use a request- // streaming interface. Those request-streaming RPCs need to be handled // differently in the WebsocketProxy because of how the request body // parsing is implemented in the grpc-gateway library. Unfortunately // there is no straightforward way of obtaining this information on // runtime so we need to keep a hard coded list here. LndClientStreamingURIs = []*regexp.Regexp{ regexp.MustCompile("^/v1/channels/acceptor$"), regexp.MustCompile("^/v1/channels/transaction-stream$"), regexp.MustCompile("^/v2/router/htlcinterceptor$"), } )
var State_ServiceDesc = grpc.ServiceDesc{ ServiceName: "lnrpc.State", HandlerType: (*StateServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetState", Handler: _State_GetState_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "SubscribeState", Handler: _State_SubscribeState_Handler, ServerStreams: true, }, }, Metadata: "stateservice.proto", }
State_ServiceDesc is the grpc.ServiceDesc for State service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var WalletUnlocker_ServiceDesc = grpc.ServiceDesc{ ServiceName: "lnrpc.WalletUnlocker", HandlerType: (*WalletUnlockerServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GenSeed", Handler: _WalletUnlocker_GenSeed_Handler, }, { MethodName: "InitWallet", Handler: _WalletUnlocker_InitWallet_Handler, }, { MethodName: "UnlockWallet", Handler: _WalletUnlocker_UnlockWallet_Handler, }, { MethodName: "ChangePassword", Handler: _WalletUnlocker_ChangePassword_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "walletunlocker.proto", }
WalletUnlocker_ServiceDesc is the grpc.ServiceDesc for WalletUnlocker service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func CalculateFeeLimit ¶
func CalculateFeeLimit(feeLimit *FeeLimit, amount lnwire.MilliSatoshi) lnwire.MilliSatoshi
CalculateFeeLimit returns the fee limit in millisatoshis. If a percentage based fee limit has been requested, we'll factor in the ratio provided with the amount of the payment.
func ExtractMinConfs ¶
ExtractMinConfs extracts the minimum number of confirmations that each output used to fund a transaction should satisfy.
func FileExists ¶
FileExists reports whether the named file or directory exists.
func GetChanPointFundingTxid ¶
func GetChanPointFundingTxid(chanPoint *ChannelPoint) (*chainhash.Hash, error)
GetChanPointFundingTxid returns the given channel point's funding txid in raw bytes.
func IsClosedConnError ¶
IsClosedConnError is a helper function that returns true if the given error is an error indicating we are using a closed connection.
func NewWebSocketProxy ¶
func NewWebSocketProxy(h http.Handler, logger bronlog.Logger, pingInterval, pongWait time.Duration, clientStreamingURIs []*regexp.Regexp) http.Handler
NewWebSocketProxy attempts to expose the underlying handler as a response- streaming WebSocket stream with newline-delimited JSON as the content encoding. If pingInterval is a non-zero duration, a ping message will be sent out periodically and a pong response message is expected from the client. The clientStreamingURIs parameter can hold a list of all patterns for URIs that are mapped to client-streaming RPC methods. We need to keep track of those to make sure we initialize the request body correctly for the underlying grpc-gateway library.
func ParseConfs ¶
ParseConfs validates the minimum and maximum confirmation arguments of a ListUnspent request.
func RegisterLightningHandler ¶
func RegisterLightningHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterLightningHandler registers the http handlers for service Lightning to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterLightningHandlerClient ¶
func RegisterLightningHandlerClient(ctx context.Context, mux *runtime.ServeMux, client LightningClient) error
RegisterLightningHandlerClient registers the http handlers for service Lightning to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "LightningClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "LightningClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "LightningClient" to call the correct interceptors.
func RegisterLightningHandlerFromEndpoint ¶
func RegisterLightningHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterLightningHandlerFromEndpoint is same as RegisterLightningHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterLightningHandlerServer ¶
func RegisterLightningHandlerServer(ctx context.Context, mux *runtime.ServeMux, server LightningServer) error
RegisterLightningHandlerServer registers the http handlers for service Lightning to "mux". UnaryRPC :call LightningServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterLightningHandlerFromEndpoint instead.
func RegisterLightningServer ¶
func RegisterLightningServer(s grpc.ServiceRegistrar, srv LightningServer)
func RegisterStateHandler ¶
RegisterStateHandler registers the http handlers for service State to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterStateHandlerClient ¶
func RegisterStateHandlerClient(ctx context.Context, mux *runtime.ServeMux, client StateClient) error
RegisterStateHandlerClient registers the http handlers for service State to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "StateClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "StateClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "StateClient" to call the correct interceptors.
func RegisterStateHandlerFromEndpoint ¶
func RegisterStateHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterStateHandlerFromEndpoint is same as RegisterStateHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterStateHandlerServer ¶
func RegisterStateHandlerServer(ctx context.Context, mux *runtime.ServeMux, server StateServer) error
RegisterStateHandlerServer registers the http handlers for service State to "mux". UnaryRPC :call StateServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterStateHandlerFromEndpoint instead.
func RegisterStateServer ¶
func RegisterStateServer(s grpc.ServiceRegistrar, srv StateServer)
func RegisterSubServer ¶
func RegisterSubServer(driver *SubServerDriver) error
RegisterSubServer should be called by a sub-server within its package's init() method to register its existence with the main sub-server map. Each sub-server, if active, is meant to register via this method in their init() method. This allows callers to easily initialize and register all sub-servers without knowing any details beyond that the fact that they satisfy the necessary interfaces.
NOTE: This function is safe for concurrent access.
func RegisterWalletUnlockerHandler ¶
func RegisterWalletUnlockerHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterWalletUnlockerHandler registers the http handlers for service WalletUnlocker to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterWalletUnlockerHandlerClient ¶
func RegisterWalletUnlockerHandlerClient(ctx context.Context, mux *runtime.ServeMux, client WalletUnlockerClient) error
RegisterWalletUnlockerHandlerClient registers the http handlers for service WalletUnlocker to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "WalletUnlockerClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "WalletUnlockerClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "WalletUnlockerClient" to call the correct interceptors.
func RegisterWalletUnlockerHandlerFromEndpoint ¶
func RegisterWalletUnlockerHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterWalletUnlockerHandlerFromEndpoint is same as RegisterWalletUnlockerHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterWalletUnlockerHandlerServer ¶
func RegisterWalletUnlockerHandlerServer(ctx context.Context, mux *runtime.ServeMux, server WalletUnlockerServer) error
RegisterWalletUnlockerHandlerServer registers the http handlers for service WalletUnlocker to "mux". UnaryRPC :call WalletUnlockerServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterWalletUnlockerHandlerFromEndpoint instead.
func RegisterWalletUnlockerServer ¶
func RegisterWalletUnlockerServer(s grpc.ServiceRegistrar, srv WalletUnlockerServer)
func SupportedServers ¶
func SupportedServers() []string
SupportedServers returns slice of the names of all registered sub-servers.
NOTE: This function is safe for concurrent access.
func UnmarshallAmt ¶
func UnmarshallAmt(amtSat, amtMsat int64) (lnwire.MilliSatoshi, error)
UnmarshallAmt returns a strong msat type for a sat/msat pair of rpc fields.
Types ¶
type AMP ¶
type AMP struct { // and preimages are derived. RootShare []byte `protobuf:"bytes,1,opt,name=root_share,json=rootShare,proto3" json:"root_share,omitempty"` // An identifier for the HTLC set that this HTLC belongs to. SetId []byte `protobuf:"bytes,2,opt,name=set_id,json=setId,proto3" json:"set_id,omitempty"` // A nonce used to randomize the child preimage and child hash from a given // root_share. ChildIndex uint32 `protobuf:"varint,3,opt,name=child_index,json=childIndex,proto3" json:"child_index,omitempty"` // The payment hash of the AMP HTLC. Hash []byte `protobuf:"bytes,4,opt,name=hash,proto3" json:"hash,omitempty"` // The preimage used to settle this AMP htlc. This field will only be // populated if the invoice is in InvoiceState_ACCEPTED or // InvoiceState_SETTLED. Preimage []byte `protobuf:"bytes,5,opt,name=preimage,proto3" json:"preimage,omitempty"` // contains filtered or unexported fields }
Details specific to AMP HTLCs.
func (*AMP) Descriptor
deprecated
func (*AMP) GetChildIndex ¶
func (*AMP) GetPreimage ¶
func (*AMP) GetRootShare ¶
func (*AMP) ProtoMessage ¶
func (*AMP) ProtoMessage()
func (*AMP) ProtoReflect ¶
func (x *AMP) ProtoReflect() protoreflect.Message
type AMPInvoiceState ¶
type AMPInvoiceState struct { // The state the HTLCs associated with this setID are in. State InvoiceHTLCState `protobuf:"varint,1,opt,name=state,proto3,enum=lnrpc.InvoiceHTLCState" json:"state,omitempty"` // The settle index of this HTLC set, if the invoice state is settled. SettleIndex uint64 `protobuf:"varint,2,opt,name=settle_index,json=settleIndex,proto3" json:"settle_index,omitempty"` // The time this HTLC set was settled expressed in unix epoch. SettleTime int64 `protobuf:"varint,3,opt,name=settle_time,json=settleTime,proto3" json:"settle_time,omitempty"` // The total amount paid for the sub-invoice expressed in milli satoshis. AmtPaidMsat int64 `protobuf:"varint,5,opt,name=amt_paid_msat,json=amtPaidMsat,proto3" json:"amt_paid_msat,omitempty"` // contains filtered or unexported fields }
func (*AMPInvoiceState) Descriptor
deprecated
func (*AMPInvoiceState) Descriptor() ([]byte, []int)
Deprecated: Use AMPInvoiceState.ProtoReflect.Descriptor instead.
func (*AMPInvoiceState) GetAmtPaidMsat ¶
func (x *AMPInvoiceState) GetAmtPaidMsat() int64
func (*AMPInvoiceState) GetSettleIndex ¶
func (x *AMPInvoiceState) GetSettleIndex() uint64
func (*AMPInvoiceState) GetSettleTime ¶
func (x *AMPInvoiceState) GetSettleTime() int64
func (*AMPInvoiceState) GetState ¶
func (x *AMPInvoiceState) GetState() InvoiceHTLCState
func (*AMPInvoiceState) ProtoMessage ¶
func (*AMPInvoiceState) ProtoMessage()
func (*AMPInvoiceState) ProtoReflect ¶
func (x *AMPInvoiceState) ProtoReflect() protoreflect.Message
func (*AMPInvoiceState) Reset ¶
func (x *AMPInvoiceState) Reset()
func (*AMPInvoiceState) String ¶
func (x *AMPInvoiceState) String() string
type AMPRecord ¶
type AMPRecord struct { SetId []byte `protobuf:"bytes,2,opt,name=set_id,json=setId,proto3" json:"set_id,omitempty"` ChildIndex uint32 `protobuf:"varint,3,opt,name=child_index,json=childIndex,proto3" json:"child_index,omitempty"` // contains filtered or unexported fields }
func (*AMPRecord) Descriptor
deprecated
func (*AMPRecord) GetChildIndex ¶
func (*AMPRecord) GetRootShare ¶
func (*AMPRecord) ProtoMessage ¶
func (*AMPRecord) ProtoMessage()
func (*AMPRecord) ProtoReflect ¶
func (x *AMPRecord) ProtoReflect() protoreflect.Message
type AbandonChannelRequest ¶
type AbandonChannelRequest struct { ChannelPoint *ChannelPoint `protobuf:"bytes,1,opt,name=channel_point,json=channelPoint,proto3" json:"channel_point,omitempty"` PendingFundingShimOnly bool `` /* 132-byte string literal not displayed */ // //Override the requirement for being in dev mode by setting this to true and //confirming the user knows what they are doing and this is a potential foot //gun to lose funds if used on active channels. IKnowWhatIAmDoing bool `protobuf:"varint,3,opt,name=i_know_what_i_am_doing,json=iKnowWhatIAmDoing,proto3" json:"i_know_what_i_am_doing,omitempty"` // contains filtered or unexported fields }
func (*AbandonChannelRequest) Descriptor
deprecated
func (*AbandonChannelRequest) Descriptor() ([]byte, []int)
Deprecated: Use AbandonChannelRequest.ProtoReflect.Descriptor instead.
func (*AbandonChannelRequest) GetChannelPoint ¶
func (x *AbandonChannelRequest) GetChannelPoint() *ChannelPoint
func (*AbandonChannelRequest) GetIKnowWhatIAmDoing ¶
func (x *AbandonChannelRequest) GetIKnowWhatIAmDoing() bool
func (*AbandonChannelRequest) GetPendingFundingShimOnly ¶
func (x *AbandonChannelRequest) GetPendingFundingShimOnly() bool
func (*AbandonChannelRequest) ProtoMessage ¶
func (*AbandonChannelRequest) ProtoMessage()
func (*AbandonChannelRequest) ProtoReflect ¶
func (x *AbandonChannelRequest) ProtoReflect() protoreflect.Message
func (*AbandonChannelRequest) Reset ¶
func (x *AbandonChannelRequest) Reset()
func (*AbandonChannelRequest) String ¶
func (x *AbandonChannelRequest) String() string
type AbandonChannelResponse ¶
type AbandonChannelResponse struct {
// contains filtered or unexported fields
}
func (*AbandonChannelResponse) Descriptor
deprecated
func (*AbandonChannelResponse) Descriptor() ([]byte, []int)
Deprecated: Use AbandonChannelResponse.ProtoReflect.Descriptor instead.
func (*AbandonChannelResponse) ProtoMessage ¶
func (*AbandonChannelResponse) ProtoMessage()
func (*AbandonChannelResponse) ProtoReflect ¶
func (x *AbandonChannelResponse) ProtoReflect() protoreflect.Message
func (*AbandonChannelResponse) Reset ¶
func (x *AbandonChannelResponse) Reset()
func (*AbandonChannelResponse) String ¶
func (x *AbandonChannelResponse) String() string
type AddInvoiceResponse ¶
type AddInvoiceResponse struct { RHash []byte `protobuf:"bytes,1,opt,name=r_hash,json=rHash,proto3" json:"r_hash,omitempty"` // //A bare-bones invoice for a payment within the Lightning Network. With the //details of the invoice, the sender has all the data necessary to send a //payment to the recipient. PaymentRequest string `protobuf:"bytes,2,opt,name=payment_request,json=paymentRequest,proto3" json:"payment_request,omitempty"` // //The "add" index of this invoice. Each newly created invoice will increment //this index making it monotonically increasing. Callers to the //SubscribeInvoices call can use this to instantly get notified of all added //invoices with an add_index greater than this one. AddIndex uint64 `protobuf:"varint,16,opt,name=add_index,json=addIndex,proto3" json:"add_index,omitempty"` // //The payment address of the generated invoice. This value should be used //in all payments for this invoice as we require it for end to end //security. PaymentAddr []byte `protobuf:"bytes,17,opt,name=payment_addr,json=paymentAddr,proto3" json:"payment_addr,omitempty"` // contains filtered or unexported fields }
func (*AddInvoiceResponse) Descriptor
deprecated
func (*AddInvoiceResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddInvoiceResponse.ProtoReflect.Descriptor instead.
func (*AddInvoiceResponse) GetAddIndex ¶
func (x *AddInvoiceResponse) GetAddIndex() uint64
func (*AddInvoiceResponse) GetPaymentAddr ¶
func (x *AddInvoiceResponse) GetPaymentAddr() []byte
func (*AddInvoiceResponse) GetPaymentRequest ¶
func (x *AddInvoiceResponse) GetPaymentRequest() string
func (*AddInvoiceResponse) GetRHash ¶
func (x *AddInvoiceResponse) GetRHash() []byte
func (*AddInvoiceResponse) ProtoMessage ¶
func (*AddInvoiceResponse) ProtoMessage()
func (*AddInvoiceResponse) ProtoReflect ¶
func (x *AddInvoiceResponse) ProtoReflect() protoreflect.Message
func (*AddInvoiceResponse) Reset ¶
func (x *AddInvoiceResponse) Reset()
func (*AddInvoiceResponse) String ¶
func (x *AddInvoiceResponse) String() string
type AddressType ¶
type AddressType int32
`AddressType` has to be one of:
- `p2wkh`: Pay to witness key hash (`WITNESS_PUBKEY_HASH` = 0) - `np2wkh`: Pay to nested witness key hash (`NESTED_PUBKEY_HASH` = 1)
const ( AddressType_WITNESS_PUBKEY_HASH AddressType = 0 AddressType_NESTED_PUBKEY_HASH AddressType = 1 AddressType_UNUSED_WITNESS_PUBKEY_HASH AddressType = 2 AddressType_UNUSED_NESTED_PUBKEY_HASH AddressType = 3 )
func (AddressType) Descriptor ¶
func (AddressType) Descriptor() protoreflect.EnumDescriptor
func (AddressType) Enum ¶
func (x AddressType) Enum() *AddressType
func (AddressType) EnumDescriptor
deprecated
func (AddressType) EnumDescriptor() ([]byte, []int)
Deprecated: Use AddressType.Descriptor instead.
func (AddressType) Number ¶
func (x AddressType) Number() protoreflect.EnumNumber
func (AddressType) String ¶
func (x AddressType) String() string
func (AddressType) Type ¶
func (AddressType) Type() protoreflect.EnumType
type Amount ¶
type Amount struct { // Value denominated in satoshis. Sat uint64 `protobuf:"varint,1,opt,name=sat,proto3" json:"sat,omitempty"` // Value denominated in milli-satoshis. Msat uint64 `protobuf:"varint,2,opt,name=msat,proto3" json:"msat,omitempty"` // contains filtered or unexported fields }
func (*Amount) Descriptor
deprecated
func (*Amount) ProtoMessage ¶
func (*Amount) ProtoMessage()
func (*Amount) ProtoReflect ¶
func (x *Amount) ProtoReflect() protoreflect.Message
type BakeMacaroonRequest ¶
type BakeMacaroonRequest struct { // The list of permissions the new macaroon should grant. Permissions []*MacaroonPermission `protobuf:"bytes,1,rep,name=permissions,proto3" json:"permissions,omitempty"` // The root key ID used to create the macaroon, must be a positive integer. RootKeyId uint64 `protobuf:"varint,2,opt,name=root_key_id,json=rootKeyId,proto3" json:"root_key_id,omitempty"` // //Informs the RPC on whether to allow external permissions that LND is not //aware of. AllowExternalPermissions bool `` /* 136-byte string literal not displayed */ // contains filtered or unexported fields }
func (*BakeMacaroonRequest) Descriptor
deprecated
func (*BakeMacaroonRequest) Descriptor() ([]byte, []int)
Deprecated: Use BakeMacaroonRequest.ProtoReflect.Descriptor instead.
func (*BakeMacaroonRequest) GetAllowExternalPermissions ¶
func (x *BakeMacaroonRequest) GetAllowExternalPermissions() bool
func (*BakeMacaroonRequest) GetPermissions ¶
func (x *BakeMacaroonRequest) GetPermissions() []*MacaroonPermission
func (*BakeMacaroonRequest) GetRootKeyId ¶
func (x *BakeMacaroonRequest) GetRootKeyId() uint64
func (*BakeMacaroonRequest) ProtoMessage ¶
func (*BakeMacaroonRequest) ProtoMessage()
func (*BakeMacaroonRequest) ProtoReflect ¶
func (x *BakeMacaroonRequest) ProtoReflect() protoreflect.Message
func (*BakeMacaroonRequest) Reset ¶
func (x *BakeMacaroonRequest) Reset()
func (*BakeMacaroonRequest) String ¶
func (x *BakeMacaroonRequest) String() string
type BakeMacaroonResponse ¶
type BakeMacaroonResponse struct { // The hex encoded macaroon, serialized in binary format. Macaroon string `protobuf:"bytes,1,opt,name=macaroon,proto3" json:"macaroon,omitempty"` // contains filtered or unexported fields }
func (*BakeMacaroonResponse) Descriptor
deprecated
func (*BakeMacaroonResponse) Descriptor() ([]byte, []int)
Deprecated: Use BakeMacaroonResponse.ProtoReflect.Descriptor instead.
func (*BakeMacaroonResponse) GetMacaroon ¶
func (x *BakeMacaroonResponse) GetMacaroon() string
func (*BakeMacaroonResponse) ProtoMessage ¶
func (*BakeMacaroonResponse) ProtoMessage()
func (*BakeMacaroonResponse) ProtoReflect ¶
func (x *BakeMacaroonResponse) ProtoReflect() protoreflect.Message
func (*BakeMacaroonResponse) Reset ¶
func (x *BakeMacaroonResponse) Reset()
func (*BakeMacaroonResponse) String ¶
func (x *BakeMacaroonResponse) String() string
type BatchOpenChannel ¶
type BatchOpenChannel struct { // The pubkey of the node to open a channel with. When using REST, this // field must be encoded as base64. NodePubkey []byte `protobuf:"bytes,1,opt,name=node_pubkey,json=nodePubkey,proto3" json:"node_pubkey,omitempty"` // The number of satoshis the wallet should commit to the channel. LocalFundingAmount int64 `protobuf:"varint,2,opt,name=local_funding_amount,json=localFundingAmount,proto3" json:"local_funding_amount,omitempty"` // The number of satoshis to push to the remote side as part of the initial // commitment state. PushSat int64 `protobuf:"varint,3,opt,name=push_sat,json=pushSat,proto3" json:"push_sat,omitempty"` // Whether this channel should be private, not announced to the greater // network. Private bool `protobuf:"varint,4,opt,name=private,proto3" json:"private,omitempty"` // The minimum value in millisatoshi we will require for incoming HTLCs on // the channel. MinHtlcMsat int64 `protobuf:"varint,5,opt,name=min_htlc_msat,json=minHtlcMsat,proto3" json:"min_htlc_msat,omitempty"` // The delay we require on the remote's commitment transaction. If this is // not set, it will be scaled automatically with the channel size. RemoteCsvDelay uint32 `protobuf:"varint,6,opt,name=remote_csv_delay,json=remoteCsvDelay,proto3" json:"remote_csv_delay,omitempty"` // //Close address is an optional address which specifies the address to which //funds should be paid out to upon cooperative close. This field may only be //set if the peer supports the option upfront feature bit (call listpeers //to check). The remote peer will only accept cooperative closes to this //address if it is set. // //Note: If this value is set on channel creation, you will *not* be able to //cooperatively close out to a different address. CloseAddress string `protobuf:"bytes,7,opt,name=close_address,json=closeAddress,proto3" json:"close_address,omitempty"` // //An optional, unique identifier of 32 random bytes that will be used as the //pending channel ID to identify the channel while it is in the pre-pending //state. PendingChanId []byte `protobuf:"bytes,8,opt,name=pending_chan_id,json=pendingChanId,proto3" json:"pending_chan_id,omitempty"` // //The explicit commitment type to use. Note this field will only be used if //the remote peer supports explicit channel negotiation. CommitmentType CommitmentType `` /* 130-byte string literal not displayed */ // contains filtered or unexported fields }
func (*BatchOpenChannel) Descriptor
deprecated
func (*BatchOpenChannel) Descriptor() ([]byte, []int)
Deprecated: Use BatchOpenChannel.ProtoReflect.Descriptor instead.
func (*BatchOpenChannel) GetCloseAddress ¶
func (x *BatchOpenChannel) GetCloseAddress() string
func (*BatchOpenChannel) GetCommitmentType ¶
func (x *BatchOpenChannel) GetCommitmentType() CommitmentType
func (*BatchOpenChannel) GetLocalFundingAmount ¶
func (x *BatchOpenChannel) GetLocalFundingAmount() int64
func (*BatchOpenChannel) GetMinHtlcMsat ¶
func (x *BatchOpenChannel) GetMinHtlcMsat() int64
func (*BatchOpenChannel) GetNodePubkey ¶
func (x *BatchOpenChannel) GetNodePubkey() []byte
func (*BatchOpenChannel) GetPendingChanId ¶
func (x *BatchOpenChannel) GetPendingChanId() []byte
func (*BatchOpenChannel) GetPrivate ¶
func (x *BatchOpenChannel) GetPrivate() bool
func (*BatchOpenChannel) GetPushSat ¶
func (x *BatchOpenChannel) GetPushSat() int64
func (*BatchOpenChannel) GetRemoteCsvDelay ¶
func (x *BatchOpenChannel) GetRemoteCsvDelay() uint32
func (*BatchOpenChannel) ProtoMessage ¶
func (*BatchOpenChannel) ProtoMessage()
func (*BatchOpenChannel) ProtoReflect ¶
func (x *BatchOpenChannel) ProtoReflect() protoreflect.Message
func (*BatchOpenChannel) Reset ¶
func (x *BatchOpenChannel) Reset()
func (*BatchOpenChannel) String ¶
func (x *BatchOpenChannel) String() string
type BatchOpenChannelRequest ¶
type BatchOpenChannelRequest struct { // The list of channels to open. Channels []*BatchOpenChannel `protobuf:"bytes,1,rep,name=channels,proto3" json:"channels,omitempty"` // The target number of blocks that the funding transaction should be // confirmed by. TargetConf int32 `protobuf:"varint,2,opt,name=target_conf,json=targetConf,proto3" json:"target_conf,omitempty"` // A manual fee rate set in sat/vByte that should be used when crafting the // funding transaction. SatPerVbyte int64 `protobuf:"varint,3,opt,name=sat_per_vbyte,json=satPerVbyte,proto3" json:"sat_per_vbyte,omitempty"` // The minimum number of confirmations each one of your outputs used for // the funding transaction must satisfy. MinConfs int32 `protobuf:"varint,4,opt,name=min_confs,json=minConfs,proto3" json:"min_confs,omitempty"` // Whether unconfirmed outputs should be used as inputs for the funding // transaction. SpendUnconfirmed bool `protobuf:"varint,5,opt,name=spend_unconfirmed,json=spendUnconfirmed,proto3" json:"spend_unconfirmed,omitempty"` // An optional label for the batch transaction, limited to 500 characters. Label string `protobuf:"bytes,6,opt,name=label,proto3" json:"label,omitempty"` // contains filtered or unexported fields }
func (*BatchOpenChannelRequest) Descriptor
deprecated
func (*BatchOpenChannelRequest) Descriptor() ([]byte, []int)
Deprecated: Use BatchOpenChannelRequest.ProtoReflect.Descriptor instead.
func (*BatchOpenChannelRequest) GetChannels ¶
func (x *BatchOpenChannelRequest) GetChannels() []*BatchOpenChannel
func (*BatchOpenChannelRequest) GetLabel ¶
func (x *BatchOpenChannelRequest) GetLabel() string
func (*BatchOpenChannelRequest) GetMinConfs ¶
func (x *BatchOpenChannelRequest) GetMinConfs() int32
func (*BatchOpenChannelRequest) GetSatPerVbyte ¶
func (x *BatchOpenChannelRequest) GetSatPerVbyte() int64
func (*BatchOpenChannelRequest) GetSpendUnconfirmed ¶
func (x *BatchOpenChannelRequest) GetSpendUnconfirmed() bool
func (*BatchOpenChannelRequest) GetTargetConf ¶
func (x *BatchOpenChannelRequest) GetTargetConf() int32
func (*BatchOpenChannelRequest) ProtoMessage ¶
func (*BatchOpenChannelRequest) ProtoMessage()
func (*BatchOpenChannelRequest) ProtoReflect ¶
func (x *BatchOpenChannelRequest) ProtoReflect() protoreflect.Message
func (*BatchOpenChannelRequest) Reset ¶
func (x *BatchOpenChannelRequest) Reset()
func (*BatchOpenChannelRequest) String ¶
func (x *BatchOpenChannelRequest) String() string
type BatchOpenChannelResponse ¶
type BatchOpenChannelResponse struct { PendingChannels []*PendingUpdate `protobuf:"bytes,1,rep,name=pending_channels,json=pendingChannels,proto3" json:"pending_channels,omitempty"` // contains filtered or unexported fields }
func (*BatchOpenChannelResponse) Descriptor
deprecated
func (*BatchOpenChannelResponse) Descriptor() ([]byte, []int)
Deprecated: Use BatchOpenChannelResponse.ProtoReflect.Descriptor instead.
func (*BatchOpenChannelResponse) GetPendingChannels ¶
func (x *BatchOpenChannelResponse) GetPendingChannels() []*PendingUpdate
func (*BatchOpenChannelResponse) ProtoMessage ¶
func (*BatchOpenChannelResponse) ProtoMessage()
func (*BatchOpenChannelResponse) ProtoReflect ¶
func (x *BatchOpenChannelResponse) ProtoReflect() protoreflect.Message
func (*BatchOpenChannelResponse) Reset ¶
func (x *BatchOpenChannelResponse) Reset()
func (*BatchOpenChannelResponse) String ¶
func (x *BatchOpenChannelResponse) String() string
type Chain ¶
type Chain struct { // The blockchain the node is on (eg brocoin, litecoin) Chain string `protobuf:"bytes,1,opt,name=chain,proto3" json:"chain,omitempty"` // The network the node is on (eg regtest, testnet, mainnet) Network string `protobuf:"bytes,2,opt,name=network,proto3" json:"network,omitempty"` // contains filtered or unexported fields }
func (*Chain) Descriptor
deprecated
func (*Chain) GetNetwork ¶
func (*Chain) ProtoMessage ¶
func (*Chain) ProtoMessage()
func (*Chain) ProtoReflect ¶
func (x *Chain) ProtoReflect() protoreflect.Message
type ChanBackupExportRequest ¶
type ChanBackupExportRequest struct {
// contains filtered or unexported fields
}
func (*ChanBackupExportRequest) Descriptor
deprecated
func (*ChanBackupExportRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChanBackupExportRequest.ProtoReflect.Descriptor instead.
func (*ChanBackupExportRequest) ProtoMessage ¶
func (*ChanBackupExportRequest) ProtoMessage()
func (*ChanBackupExportRequest) ProtoReflect ¶
func (x *ChanBackupExportRequest) ProtoReflect() protoreflect.Message
func (*ChanBackupExportRequest) Reset ¶
func (x *ChanBackupExportRequest) Reset()
func (*ChanBackupExportRequest) String ¶
func (x *ChanBackupExportRequest) String() string
type ChanBackupSnapshot ¶
type ChanBackupSnapshot struct { // //The set of new channels that have been added since the last channel backup //snapshot was requested. SingleChanBackups *ChannelBackups `protobuf:"bytes,1,opt,name=single_chan_backups,json=singleChanBackups,proto3" json:"single_chan_backups,omitempty"` // //A multi-channel backup that covers all open channels currently known to //lnd. MultiChanBackup *MultiChanBackup `protobuf:"bytes,2,opt,name=multi_chan_backup,json=multiChanBackup,proto3" json:"multi_chan_backup,omitempty"` // contains filtered or unexported fields }
func (*ChanBackupSnapshot) Descriptor
deprecated
func (*ChanBackupSnapshot) Descriptor() ([]byte, []int)
Deprecated: Use ChanBackupSnapshot.ProtoReflect.Descriptor instead.
func (*ChanBackupSnapshot) GetMultiChanBackup ¶
func (x *ChanBackupSnapshot) GetMultiChanBackup() *MultiChanBackup
func (*ChanBackupSnapshot) GetSingleChanBackups ¶
func (x *ChanBackupSnapshot) GetSingleChanBackups() *ChannelBackups
func (*ChanBackupSnapshot) ProtoMessage ¶
func (*ChanBackupSnapshot) ProtoMessage()
func (*ChanBackupSnapshot) ProtoReflect ¶
func (x *ChanBackupSnapshot) ProtoReflect() protoreflect.Message
func (*ChanBackupSnapshot) Reset ¶
func (x *ChanBackupSnapshot) Reset()
func (*ChanBackupSnapshot) String ¶
func (x *ChanBackupSnapshot) String() string
type ChanInfoRequest ¶
type ChanInfoRequest struct { // //The unique channel ID for the channel. The first 3 bytes are the block //height, the next 3 the index within the block, and the last 2 bytes are the //output index for the channel. ChanId uint64 `protobuf:"varint,1,opt,name=chan_id,json=chanId,proto3" json:"chan_id,omitempty"` // contains filtered or unexported fields }
func (*ChanInfoRequest) Descriptor
deprecated
func (*ChanInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChanInfoRequest.ProtoReflect.Descriptor instead.
func (*ChanInfoRequest) GetChanId ¶
func (x *ChanInfoRequest) GetChanId() uint64
func (*ChanInfoRequest) ProtoMessage ¶
func (*ChanInfoRequest) ProtoMessage()
func (*ChanInfoRequest) ProtoReflect ¶
func (x *ChanInfoRequest) ProtoReflect() protoreflect.Message
func (*ChanInfoRequest) Reset ¶
func (x *ChanInfoRequest) Reset()
func (*ChanInfoRequest) String ¶
func (x *ChanInfoRequest) String() string
type ChanPointShim ¶
type ChanPointShim struct { // //The size of the pre-crafted output to be used as the channel point for this //channel funding. Amt int64 `protobuf:"varint,1,opt,name=amt,proto3" json:"amt,omitempty"` // The target channel point to refrence in created commitment transactions. ChanPoint *ChannelPoint `protobuf:"bytes,2,opt,name=chan_point,json=chanPoint,proto3" json:"chan_point,omitempty"` // Our local key to use when creating the multi-sig output. LocalKey *KeyDescriptor `protobuf:"bytes,3,opt,name=local_key,json=localKey,proto3" json:"local_key,omitempty"` // The key of the remote party to use when creating the multi-sig output. RemoteKey []byte `protobuf:"bytes,4,opt,name=remote_key,json=remoteKey,proto3" json:"remote_key,omitempty"` // //If non-zero, then this will be used as the pending channel ID on the wire //protocol to initate the funding request. This is an optional field, and //should only be set if the responder is already expecting a specific pending //channel ID. PendingChanId []byte `protobuf:"bytes,5,opt,name=pending_chan_id,json=pendingChanId,proto3" json:"pending_chan_id,omitempty"` // //This uint32 indicates if this channel is to be considered 'frozen'. A frozen //channel does not allow a cooperative channel close by the initiator. The //thaw_height is the height that this restriction stops applying to the //channel. The height can be interpreted in two ways: as a relative height if //the value is less than 500,000, or as an absolute height otherwise. ThawHeight uint32 `protobuf:"varint,6,opt,name=thaw_height,json=thawHeight,proto3" json:"thaw_height,omitempty"` // contains filtered or unexported fields }
func (*ChanPointShim) Descriptor
deprecated
func (*ChanPointShim) Descriptor() ([]byte, []int)
Deprecated: Use ChanPointShim.ProtoReflect.Descriptor instead.
func (*ChanPointShim) GetAmt ¶
func (x *ChanPointShim) GetAmt() int64
func (*ChanPointShim) GetChanPoint ¶
func (x *ChanPointShim) GetChanPoint() *ChannelPoint
func (*ChanPointShim) GetLocalKey ¶
func (x *ChanPointShim) GetLocalKey() *KeyDescriptor
func (*ChanPointShim) GetPendingChanId ¶
func (x *ChanPointShim) GetPendingChanId() []byte
func (*ChanPointShim) GetRemoteKey ¶
func (x *ChanPointShim) GetRemoteKey() []byte
func (*ChanPointShim) GetThawHeight ¶
func (x *ChanPointShim) GetThawHeight() uint32
func (*ChanPointShim) ProtoMessage ¶
func (*ChanPointShim) ProtoMessage()
func (*ChanPointShim) ProtoReflect ¶
func (x *ChanPointShim) ProtoReflect() protoreflect.Message
func (*ChanPointShim) Reset ¶
func (x *ChanPointShim) Reset()
func (*ChanPointShim) String ¶
func (x *ChanPointShim) String() string
type ChangePasswordRequest ¶
type ChangePasswordRequest struct { // //current_password should be the current valid passphrase used to unlock the //daemon. When using REST, this field must be encoded as base64. CurrentPassword []byte `protobuf:"bytes,1,opt,name=current_password,json=currentPassword,proto3" json:"current_password,omitempty"` // //new_password should be the new passphrase that will be needed to unlock the //daemon. When using REST, this field must be encoded as base64. NewPassword []byte `protobuf:"bytes,2,opt,name=new_password,json=newPassword,proto3" json:"new_password,omitempty"` // //stateless_init is an optional argument instructing the daemon NOT to create //any *.macaroon files in its filesystem. If this parameter is set, then the //admin macaroon returned in the response MUST be stored by the caller of the //RPC as otherwise all access to the daemon will be lost! StatelessInit bool `protobuf:"varint,3,opt,name=stateless_init,json=statelessInit,proto3" json:"stateless_init,omitempty"` // //new_macaroon_root_key is an optional argument instructing the daemon to //rotate the macaroon root key when set to true. This will invalidate all //previously generated macaroons. NewMacaroonRootKey bool `protobuf:"varint,4,opt,name=new_macaroon_root_key,json=newMacaroonRootKey,proto3" json:"new_macaroon_root_key,omitempty"` // contains filtered or unexported fields }
func (*ChangePasswordRequest) Descriptor
deprecated
func (*ChangePasswordRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChangePasswordRequest.ProtoReflect.Descriptor instead.
func (*ChangePasswordRequest) GetCurrentPassword ¶
func (x *ChangePasswordRequest) GetCurrentPassword() []byte
func (*ChangePasswordRequest) GetNewMacaroonRootKey ¶
func (x *ChangePasswordRequest) GetNewMacaroonRootKey() bool
func (*ChangePasswordRequest) GetNewPassword ¶
func (x *ChangePasswordRequest) GetNewPassword() []byte
func (*ChangePasswordRequest) GetStatelessInit ¶
func (x *ChangePasswordRequest) GetStatelessInit() bool
func (*ChangePasswordRequest) ProtoMessage ¶
func (*ChangePasswordRequest) ProtoMessage()
func (*ChangePasswordRequest) ProtoReflect ¶
func (x *ChangePasswordRequest) ProtoReflect() protoreflect.Message
func (*ChangePasswordRequest) Reset ¶
func (x *ChangePasswordRequest) Reset()
func (*ChangePasswordRequest) String ¶
func (x *ChangePasswordRequest) String() string
type ChangePasswordResponse ¶
type ChangePasswordResponse struct { // //The binary serialized admin macaroon that can be used to access the daemon //after rotating the macaroon root key. If both the stateless_init and //new_macaroon_root_key parameter were set to true, this is the ONLY copy of //the macaroon that was created from the new root key and MUST be stored //safely by the caller. Otherwise a copy of this macaroon is also persisted on //disk by the daemon, together with other macaroon files. AdminMacaroon []byte `protobuf:"bytes,1,opt,name=admin_macaroon,json=adminMacaroon,proto3" json:"admin_macaroon,omitempty"` // contains filtered or unexported fields }
func (*ChangePasswordResponse) Descriptor
deprecated
func (*ChangePasswordResponse) Descriptor() ([]byte, []int)
Deprecated: Use ChangePasswordResponse.ProtoReflect.Descriptor instead.
func (*ChangePasswordResponse) GetAdminMacaroon ¶
func (x *ChangePasswordResponse) GetAdminMacaroon() []byte
func (*ChangePasswordResponse) ProtoMessage ¶
func (*ChangePasswordResponse) ProtoMessage()
func (*ChangePasswordResponse) ProtoReflect ¶
func (x *ChangePasswordResponse) ProtoReflect() protoreflect.Message
func (*ChangePasswordResponse) Reset ¶
func (x *ChangePasswordResponse) Reset()
func (*ChangePasswordResponse) String ¶
func (x *ChangePasswordResponse) String() string
type Channel ¶
type Channel struct { // Whether this channel is active or not Active bool `protobuf:"varint,1,opt,name=active,proto3" json:"active,omitempty"` // The identity pubkey of the remote node RemotePubkey string `protobuf:"bytes,2,opt,name=remote_pubkey,json=remotePubkey,proto3" json:"remote_pubkey,omitempty"` // //The outpoint (txid:index) of the funding transaction. With this value, Bob //will be able to generate a signature for Alice's version of the commitment //transaction. ChannelPoint string `protobuf:"bytes,3,opt,name=channel_point,json=channelPoint,proto3" json:"channel_point,omitempty"` // //The unique channel ID for the channel. The first 3 bytes are the block //height, the next 3 the index within the block, and the last 2 bytes are the //output index for the channel. ChanId uint64 `protobuf:"varint,4,opt,name=chan_id,json=chanId,proto3" json:"chan_id,omitempty"` // The total amount of funds held in this channel Capacity int64 `protobuf:"varint,5,opt,name=capacity,proto3" json:"capacity,omitempty"` // This node's current balance in this channel LocalBalance int64 `protobuf:"varint,6,opt,name=local_balance,json=localBalance,proto3" json:"local_balance,omitempty"` // The counterparty's current balance in this channel RemoteBalance int64 `protobuf:"varint,7,opt,name=remote_balance,json=remoteBalance,proto3" json:"remote_balance,omitempty"` // //The amount calculated to be paid in fees for the current set of commitment //transactions. The fee amount is persisted with the channel in order to //allow the fee amount to be removed and recalculated with each channel state //update, including updates that happen after a system restart. CommitFee int64 `protobuf:"varint,8,opt,name=commit_fee,json=commitFee,proto3" json:"commit_fee,omitempty"` // The weight of the commitment transaction CommitWeight int64 `protobuf:"varint,9,opt,name=commit_weight,json=commitWeight,proto3" json:"commit_weight,omitempty"` // //The required number of satoshis per kilo-weight that the requester will pay //at all times, for both the funding transaction and commitment transaction. //This value can later be updated once the channel is open. FeePerKw int64 `protobuf:"varint,10,opt,name=fee_per_kw,json=feePerKw,proto3" json:"fee_per_kw,omitempty"` // The unsettled balance in this channel UnsettledBalance int64 `protobuf:"varint,11,opt,name=unsettled_balance,json=unsettledBalance,proto3" json:"unsettled_balance,omitempty"` // //The total number of satoshis we've sent within this channel. TotalSatoshisSent int64 `protobuf:"varint,12,opt,name=total_satoshis_sent,json=totalSatoshisSent,proto3" json:"total_satoshis_sent,omitempty"` // //The total number of satoshis we've received within this channel. TotalSatoshisReceived int64 `` /* 128-byte string literal not displayed */ // //The total number of updates conducted within this channel. NumUpdates uint64 `protobuf:"varint,14,opt,name=num_updates,json=numUpdates,proto3" json:"num_updates,omitempty"` // //The list of active, uncleared HTLCs currently pending within the channel. PendingHtlcs []*HTLC `protobuf:"bytes,15,rep,name=pending_htlcs,json=pendingHtlcs,proto3" json:"pending_htlcs,omitempty"` // //Deprecated. The CSV delay expressed in relative blocks. If the channel is //force closed, we will need to wait for this many blocks before we can regain //our funds. // // Deprecated: Do not use. CsvDelay uint32 `protobuf:"varint,16,opt,name=csv_delay,json=csvDelay,proto3" json:"csv_delay,omitempty"` // Whether this channel is advertised to the network or not. Private bool `protobuf:"varint,17,opt,name=private,proto3" json:"private,omitempty"` // True if we were the ones that created the channel. Initiator bool `protobuf:"varint,18,opt,name=initiator,proto3" json:"initiator,omitempty"` // A set of flags showing the current state of the channel. ChanStatusFlags string `protobuf:"bytes,19,opt,name=chan_status_flags,json=chanStatusFlags,proto3" json:"chan_status_flags,omitempty"` // Deprecated. The minimum satoshis this node is required to reserve in its // balance. // // Deprecated: Do not use. LocalChanReserveSat int64 `protobuf:"varint,20,opt,name=local_chan_reserve_sat,json=localChanReserveSat,proto3" json:"local_chan_reserve_sat,omitempty"` // //Deprecated. The minimum satoshis the other node is required to reserve in //its balance. // // Deprecated: Do not use. RemoteChanReserveSat int64 `` /* 127-byte string literal not displayed */ // Deprecated. Use commitment_type. // // Deprecated: Do not use. StaticRemoteKey bool `protobuf:"varint,22,opt,name=static_remote_key,json=staticRemoteKey,proto3" json:"static_remote_key,omitempty"` // The commitment type used by this channel. CommitmentType CommitmentType `` /* 131-byte string literal not displayed */ // //The number of seconds that the channel has been monitored by the channel //scoring system. Scores are currently not persisted, so this value may be //less than the lifetime of the channel [EXPERIMENTAL]. Lifetime int64 `protobuf:"varint,23,opt,name=lifetime,proto3" json:"lifetime,omitempty"` // //The number of seconds that the remote peer has been observed as being online //by the channel scoring system over the lifetime of the channel //[EXPERIMENTAL]. Uptime int64 `protobuf:"varint,24,opt,name=uptime,proto3" json:"uptime,omitempty"` // //Close address is the address that we will enforce payout to on cooperative //close if the channel was opened utilizing option upfront shutdown. This //value can be set on channel open by setting close_address in an open channel //request. If this value is not set, you can still choose a payout address by //cooperatively closing with the delivery_address field set. CloseAddress string `protobuf:"bytes,25,opt,name=close_address,json=closeAddress,proto3" json:"close_address,omitempty"` // //The amount that the initiator of the channel optionally pushed to the remote //party on channel open. This amount will be zero if the channel initiator did //not push any funds to the remote peer. If the initiator field is true, we //pushed this amount to our peer, if it is false, the remote peer pushed this //amount to us. PushAmountSat uint64 `protobuf:"varint,27,opt,name=push_amount_sat,json=pushAmountSat,proto3" json:"push_amount_sat,omitempty"` // //This uint32 indicates if this channel is to be considered 'frozen'. A //frozen channel doest not allow a cooperative channel close by the //initiator. The thaw_height is the height that this restriction stops //applying to the channel. This field is optional, not setting it or using a //value of zero will mean the channel has no additional restrictions. The //height can be interpreted in two ways: as a relative height if the value is //less than 500,000, or as an absolute height otherwise. ThawHeight uint32 `protobuf:"varint,28,opt,name=thaw_height,json=thawHeight,proto3" json:"thaw_height,omitempty"` // List constraints for the local node. LocalConstraints *ChannelConstraints `protobuf:"bytes,29,opt,name=local_constraints,json=localConstraints,proto3" json:"local_constraints,omitempty"` // List constraints for the remote node. RemoteConstraints *ChannelConstraints `protobuf:"bytes,30,opt,name=remote_constraints,json=remoteConstraints,proto3" json:"remote_constraints,omitempty"` // contains filtered or unexported fields }
func (*Channel) Descriptor
deprecated
func (*Channel) GetCapacity ¶
func (*Channel) GetChanStatusFlags ¶
func (*Channel) GetChannelPoint ¶
func (*Channel) GetCloseAddress ¶
func (*Channel) GetCommitFee ¶
func (*Channel) GetCommitWeight ¶
func (*Channel) GetCommitmentType ¶
func (x *Channel) GetCommitmentType() CommitmentType
func (*Channel) GetCsvDelay
deprecated
func (*Channel) GetFeePerKw ¶
func (*Channel) GetInitiator ¶
func (*Channel) GetLifetime ¶
func (*Channel) GetLocalBalance ¶
func (*Channel) GetLocalChanReserveSat
deprecated
func (*Channel) GetLocalConstraints ¶
func (x *Channel) GetLocalConstraints() *ChannelConstraints
func (*Channel) GetNumUpdates ¶
func (*Channel) GetPendingHtlcs ¶
func (*Channel) GetPrivate ¶
func (*Channel) GetPushAmountSat ¶
func (*Channel) GetRemoteBalance ¶
func (*Channel) GetRemoteChanReserveSat
deprecated
func (*Channel) GetRemoteConstraints ¶
func (x *Channel) GetRemoteConstraints() *ChannelConstraints
func (*Channel) GetRemotePubkey ¶
func (*Channel) GetStaticRemoteKey
deprecated
func (*Channel) GetThawHeight ¶
func (*Channel) GetTotalSatoshisReceived ¶
func (*Channel) GetTotalSatoshisSent ¶
func (*Channel) GetUnsettledBalance ¶
func (*Channel) ProtoMessage ¶
func (*Channel) ProtoMessage()
func (*Channel) ProtoReflect ¶
func (x *Channel) ProtoReflect() protoreflect.Message
type ChannelAcceptRequest ¶
type ChannelAcceptRequest struct { // The pubkey of the node that wishes to open an inbound channel. NodePubkey []byte `protobuf:"bytes,1,opt,name=node_pubkey,json=nodePubkey,proto3" json:"node_pubkey,omitempty"` // The hash of the genesis block that the proposed channel resides in. ChainHash []byte `protobuf:"bytes,2,opt,name=chain_hash,json=chainHash,proto3" json:"chain_hash,omitempty"` // The pending channel id. PendingChanId []byte `protobuf:"bytes,3,opt,name=pending_chan_id,json=pendingChanId,proto3" json:"pending_chan_id,omitempty"` // The funding amount in satoshis that initiator wishes to use in the // channel. FundingAmt uint64 `protobuf:"varint,4,opt,name=funding_amt,json=fundingAmt,proto3" json:"funding_amt,omitempty"` // The push amount of the proposed channel in millisatoshis. PushAmt uint64 `protobuf:"varint,5,opt,name=push_amt,json=pushAmt,proto3" json:"push_amt,omitempty"` // The dust limit of the initiator's commitment tx. DustLimit uint64 `protobuf:"varint,6,opt,name=dust_limit,json=dustLimit,proto3" json:"dust_limit,omitempty"` // The maximum amount of coins in millisatoshis that can be pending in this // channel. MaxValueInFlight uint64 `protobuf:"varint,7,opt,name=max_value_in_flight,json=maxValueInFlight,proto3" json:"max_value_in_flight,omitempty"` // The minimum amount of satoshis the initiator requires us to have at all // times. ChannelReserve uint64 `protobuf:"varint,8,opt,name=channel_reserve,json=channelReserve,proto3" json:"channel_reserve,omitempty"` // The smallest HTLC in millisatoshis that the initiator will accept. MinHtlc uint64 `protobuf:"varint,9,opt,name=min_htlc,json=minHtlc,proto3" json:"min_htlc,omitempty"` // The initial fee rate that the initiator suggests for both commitment // transactions. FeePerKw uint64 `protobuf:"varint,10,opt,name=fee_per_kw,json=feePerKw,proto3" json:"fee_per_kw,omitempty"` // //The number of blocks to use for the relative time lock in the pay-to-self //output of both commitment transactions. CsvDelay uint32 `protobuf:"varint,11,opt,name=csv_delay,json=csvDelay,proto3" json:"csv_delay,omitempty"` // The total number of incoming HTLC's that the initiator will accept. MaxAcceptedHtlcs uint32 `protobuf:"varint,12,opt,name=max_accepted_htlcs,json=maxAcceptedHtlcs,proto3" json:"max_accepted_htlcs,omitempty"` // A bit-field which the initiator uses to specify proposed channel // behavior. ChannelFlags uint32 `protobuf:"varint,13,opt,name=channel_flags,json=channelFlags,proto3" json:"channel_flags,omitempty"` // The commitment type the initiator wishes to use for the proposed channel. CommitmentType CommitmentType `` /* 131-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ChannelAcceptRequest) Descriptor
deprecated
func (*ChannelAcceptRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChannelAcceptRequest.ProtoReflect.Descriptor instead.
func (*ChannelAcceptRequest) GetChainHash ¶
func (x *ChannelAcceptRequest) GetChainHash() []byte
func (*ChannelAcceptRequest) GetChannelFlags ¶
func (x *ChannelAcceptRequest) GetChannelFlags() uint32
func (*ChannelAcceptRequest) GetChannelReserve ¶
func (x *ChannelAcceptRequest) GetChannelReserve() uint64
func (*ChannelAcceptRequest) GetCommitmentType ¶
func (x *ChannelAcceptRequest) GetCommitmentType() CommitmentType
func (*ChannelAcceptRequest) GetCsvDelay ¶
func (x *ChannelAcceptRequest) GetCsvDelay() uint32
func (*ChannelAcceptRequest) GetDustLimit ¶
func (x *ChannelAcceptRequest) GetDustLimit() uint64
func (*ChannelAcceptRequest) GetFeePerKw ¶
func (x *ChannelAcceptRequest) GetFeePerKw() uint64
func (*ChannelAcceptRequest) GetFundingAmt ¶
func (x *ChannelAcceptRequest) GetFundingAmt() uint64
func (*ChannelAcceptRequest) GetMaxAcceptedHtlcs ¶
func (x *ChannelAcceptRequest) GetMaxAcceptedHtlcs() uint32
func (*ChannelAcceptRequest) GetMaxValueInFlight ¶
func (x *ChannelAcceptRequest) GetMaxValueInFlight() uint64
func (*ChannelAcceptRequest) GetMinHtlc ¶
func (x *ChannelAcceptRequest) GetMinHtlc() uint64
func (*ChannelAcceptRequest) GetNodePubkey ¶
func (x *ChannelAcceptRequest) GetNodePubkey() []byte
func (*ChannelAcceptRequest) GetPendingChanId ¶
func (x *ChannelAcceptRequest) GetPendingChanId() []byte
func (*ChannelAcceptRequest) GetPushAmt ¶
func (x *ChannelAcceptRequest) GetPushAmt() uint64
func (*ChannelAcceptRequest) ProtoMessage ¶
func (*ChannelAcceptRequest) ProtoMessage()
func (*ChannelAcceptRequest) ProtoReflect ¶
func (x *ChannelAcceptRequest) ProtoReflect() protoreflect.Message
func (*ChannelAcceptRequest) Reset ¶
func (x *ChannelAcceptRequest) Reset()
func (*ChannelAcceptRequest) String ¶
func (x *ChannelAcceptRequest) String() string
type ChannelAcceptResponse ¶
type ChannelAcceptResponse struct { // Whether or not the client accepts the channel. Accept bool `protobuf:"varint,1,opt,name=accept,proto3" json:"accept,omitempty"` // The pending channel id to which this response applies. PendingChanId []byte `protobuf:"bytes,2,opt,name=pending_chan_id,json=pendingChanId,proto3" json:"pending_chan_id,omitempty"` // //An optional error to send the initiating party to indicate why the channel //was rejected. This field *should not* contain sensitive information, it will //be sent to the initiating party. This field should only be set if accept is //false, the channel will be rejected if an error is set with accept=true //because the meaning of this response is ambiguous. Limited to 500 //characters. Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` // //The upfront shutdown address to use if the initiating peer supports option //upfront shutdown script (see ListPeers for the features supported). Note //that the channel open will fail if this value is set for a peer that does //not support this feature bit. UpfrontShutdown string `protobuf:"bytes,4,opt,name=upfront_shutdown,json=upfrontShutdown,proto3" json:"upfront_shutdown,omitempty"` // //The csv delay (in blocks) that we require for the remote party. CsvDelay uint32 `protobuf:"varint,5,opt,name=csv_delay,json=csvDelay,proto3" json:"csv_delay,omitempty"` // //The reserve amount in satoshis that we require the remote peer to adhere to. //We require that the remote peer always have some reserve amount allocated to //them so that there is always a disincentive to broadcast old state (if they //hold 0 sats on their side of the channel, there is nothing to lose). ReserveSat uint64 `protobuf:"varint,6,opt,name=reserve_sat,json=reserveSat,proto3" json:"reserve_sat,omitempty"` // //The maximum amount of funds in millisatoshis that we allow the remote peer //to have in outstanding htlcs. InFlightMaxMsat uint64 `protobuf:"varint,7,opt,name=in_flight_max_msat,json=inFlightMaxMsat,proto3" json:"in_flight_max_msat,omitempty"` // //The maximum number of htlcs that the remote peer can offer us. MaxHtlcCount uint32 `protobuf:"varint,8,opt,name=max_htlc_count,json=maxHtlcCount,proto3" json:"max_htlc_count,omitempty"` // //The minimum value in millisatoshis for incoming htlcs on the channel. MinHtlcIn uint64 `protobuf:"varint,9,opt,name=min_htlc_in,json=minHtlcIn,proto3" json:"min_htlc_in,omitempty"` // //The number of confirmations we require before we consider the channel open. MinAcceptDepth uint32 `protobuf:"varint,10,opt,name=min_accept_depth,json=minAcceptDepth,proto3" json:"min_accept_depth,omitempty"` // contains filtered or unexported fields }
func (*ChannelAcceptResponse) Descriptor
deprecated
func (*ChannelAcceptResponse) Descriptor() ([]byte, []int)
Deprecated: Use ChannelAcceptResponse.ProtoReflect.Descriptor instead.
func (*ChannelAcceptResponse) GetAccept ¶
func (x *ChannelAcceptResponse) GetAccept() bool
func (*ChannelAcceptResponse) GetCsvDelay ¶
func (x *ChannelAcceptResponse) GetCsvDelay() uint32
func (*ChannelAcceptResponse) GetError ¶
func (x *ChannelAcceptResponse) GetError() string
func (*ChannelAcceptResponse) GetInFlightMaxMsat ¶
func (x *ChannelAcceptResponse) GetInFlightMaxMsat() uint64
func (*ChannelAcceptResponse) GetMaxHtlcCount ¶
func (x *ChannelAcceptResponse) GetMaxHtlcCount() uint32
func (*ChannelAcceptResponse) GetMinAcceptDepth ¶
func (x *ChannelAcceptResponse) GetMinAcceptDepth() uint32
func (*ChannelAcceptResponse) GetMinHtlcIn ¶
func (x *ChannelAcceptResponse) GetMinHtlcIn() uint64
func (*ChannelAcceptResponse) GetPendingChanId ¶
func (x *ChannelAcceptResponse) GetPendingChanId() []byte
func (*ChannelAcceptResponse) GetReserveSat ¶
func (x *ChannelAcceptResponse) GetReserveSat() uint64
func (*ChannelAcceptResponse) GetUpfrontShutdown ¶
func (x *ChannelAcceptResponse) GetUpfrontShutdown() string
func (*ChannelAcceptResponse) ProtoMessage ¶
func (*ChannelAcceptResponse) ProtoMessage()
func (*ChannelAcceptResponse) ProtoReflect ¶
func (x *ChannelAcceptResponse) ProtoReflect() protoreflect.Message
func (*ChannelAcceptResponse) Reset ¶
func (x *ChannelAcceptResponse) Reset()
func (*ChannelAcceptResponse) String ¶
func (x *ChannelAcceptResponse) String() string
type ChannelBackup ¶
type ChannelBackup struct { // //Identifies the channel that this backup belongs to. ChanPoint *ChannelPoint `protobuf:"bytes,1,opt,name=chan_point,json=chanPoint,proto3" json:"chan_point,omitempty"` // //Is an encrypted single-chan backup. this can be passed to //RestoreChannelBackups, or the WalletUnlocker Init and Unlock methods in //order to trigger the recovery protocol. When using REST, this field must be //encoded as base64. ChanBackup []byte `protobuf:"bytes,2,opt,name=chan_backup,json=chanBackup,proto3" json:"chan_backup,omitempty"` // contains filtered or unexported fields }
func (*ChannelBackup) Descriptor
deprecated
func (*ChannelBackup) Descriptor() ([]byte, []int)
Deprecated: Use ChannelBackup.ProtoReflect.Descriptor instead.
func (*ChannelBackup) GetChanBackup ¶
func (x *ChannelBackup) GetChanBackup() []byte
func (*ChannelBackup) GetChanPoint ¶
func (x *ChannelBackup) GetChanPoint() *ChannelPoint
func (*ChannelBackup) ProtoMessage ¶
func (*ChannelBackup) ProtoMessage()
func (*ChannelBackup) ProtoReflect ¶
func (x *ChannelBackup) ProtoReflect() protoreflect.Message
func (*ChannelBackup) Reset ¶
func (x *ChannelBackup) Reset()
func (*ChannelBackup) String ¶
func (x *ChannelBackup) String() string
type ChannelBackupSubscription ¶
type ChannelBackupSubscription struct {
// contains filtered or unexported fields
}
func (*ChannelBackupSubscription) Descriptor
deprecated
func (*ChannelBackupSubscription) Descriptor() ([]byte, []int)
Deprecated: Use ChannelBackupSubscription.ProtoReflect.Descriptor instead.
func (*ChannelBackupSubscription) ProtoMessage ¶
func (*ChannelBackupSubscription) ProtoMessage()
func (*ChannelBackupSubscription) ProtoReflect ¶
func (x *ChannelBackupSubscription) ProtoReflect() protoreflect.Message
func (*ChannelBackupSubscription) Reset ¶
func (x *ChannelBackupSubscription) Reset()
func (*ChannelBackupSubscription) String ¶
func (x *ChannelBackupSubscription) String() string
type ChannelBackups ¶
type ChannelBackups struct { // //A set of single-chan static channel backups. ChanBackups []*ChannelBackup `protobuf:"bytes,1,rep,name=chan_backups,json=chanBackups,proto3" json:"chan_backups,omitempty"` // contains filtered or unexported fields }
func (*ChannelBackups) Descriptor
deprecated
func (*ChannelBackups) Descriptor() ([]byte, []int)
Deprecated: Use ChannelBackups.ProtoReflect.Descriptor instead.
func (*ChannelBackups) GetChanBackups ¶
func (x *ChannelBackups) GetChanBackups() []*ChannelBackup
func (*ChannelBackups) ProtoMessage ¶
func (*ChannelBackups) ProtoMessage()
func (*ChannelBackups) ProtoReflect ¶
func (x *ChannelBackups) ProtoReflect() protoreflect.Message
func (*ChannelBackups) Reset ¶
func (x *ChannelBackups) Reset()
func (*ChannelBackups) String ¶
func (x *ChannelBackups) String() string
type ChannelBalanceRequest ¶
type ChannelBalanceRequest struct {
// contains filtered or unexported fields
}
func (*ChannelBalanceRequest) Descriptor
deprecated
func (*ChannelBalanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChannelBalanceRequest.ProtoReflect.Descriptor instead.
func (*ChannelBalanceRequest) ProtoMessage ¶
func (*ChannelBalanceRequest) ProtoMessage()
func (*ChannelBalanceRequest) ProtoReflect ¶
func (x *ChannelBalanceRequest) ProtoReflect() protoreflect.Message
func (*ChannelBalanceRequest) Reset ¶
func (x *ChannelBalanceRequest) Reset()
func (*ChannelBalanceRequest) String ¶
func (x *ChannelBalanceRequest) String() string
type ChannelBalanceResponse ¶
type ChannelBalanceResponse struct { // Deprecated. Sum of channels balances denominated in satoshis // // Deprecated: Do not use. Balance int64 `protobuf:"varint,1,opt,name=balance,proto3" json:"balance,omitempty"` // Deprecated. Sum of channels pending balances denominated in satoshis // // Deprecated: Do not use. PendingOpenBalance int64 `protobuf:"varint,2,opt,name=pending_open_balance,json=pendingOpenBalance,proto3" json:"pending_open_balance,omitempty"` // Sum of channels local balances. LocalBalance *Amount `protobuf:"bytes,3,opt,name=local_balance,json=localBalance,proto3" json:"local_balance,omitempty"` // Sum of channels remote balances. RemoteBalance *Amount `protobuf:"bytes,4,opt,name=remote_balance,json=remoteBalance,proto3" json:"remote_balance,omitempty"` // Sum of channels local unsettled balances. UnsettledLocalBalance *Amount `` /* 126-byte string literal not displayed */ // Sum of channels remote unsettled balances. UnsettledRemoteBalance *Amount `` /* 129-byte string literal not displayed */ // Sum of channels pending local balances. PendingOpenLocalBalance *Amount `` /* 134-byte string literal not displayed */ // Sum of channels pending remote balances. PendingOpenRemoteBalance *Amount `` /* 137-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ChannelBalanceResponse) Descriptor
deprecated
func (*ChannelBalanceResponse) Descriptor() ([]byte, []int)
Deprecated: Use ChannelBalanceResponse.ProtoReflect.Descriptor instead.
func (*ChannelBalanceResponse) GetBalance
deprecated
func (x *ChannelBalanceResponse) GetBalance() int64
Deprecated: Do not use.
func (*ChannelBalanceResponse) GetLocalBalance ¶
func (x *ChannelBalanceResponse) GetLocalBalance() *Amount
func (*ChannelBalanceResponse) GetPendingOpenBalance
deprecated
func (x *ChannelBalanceResponse) GetPendingOpenBalance() int64
Deprecated: Do not use.
func (*ChannelBalanceResponse) GetPendingOpenLocalBalance ¶
func (x *ChannelBalanceResponse) GetPendingOpenLocalBalance() *Amount
func (*ChannelBalanceResponse) GetPendingOpenRemoteBalance ¶
func (x *ChannelBalanceResponse) GetPendingOpenRemoteBalance() *Amount
func (*ChannelBalanceResponse) GetRemoteBalance ¶
func (x *ChannelBalanceResponse) GetRemoteBalance() *Amount
func (*ChannelBalanceResponse) GetUnsettledLocalBalance ¶
func (x *ChannelBalanceResponse) GetUnsettledLocalBalance() *Amount
func (*ChannelBalanceResponse) GetUnsettledRemoteBalance ¶
func (x *ChannelBalanceResponse) GetUnsettledRemoteBalance() *Amount
func (*ChannelBalanceResponse) ProtoMessage ¶
func (*ChannelBalanceResponse) ProtoMessage()
func (*ChannelBalanceResponse) ProtoReflect ¶
func (x *ChannelBalanceResponse) ProtoReflect() protoreflect.Message
func (*ChannelBalanceResponse) Reset ¶
func (x *ChannelBalanceResponse) Reset()
func (*ChannelBalanceResponse) String ¶
func (x *ChannelBalanceResponse) String() string
type ChannelCloseSummary ¶
type ChannelCloseSummary struct { // The outpoint (txid:index) of the funding transaction. ChannelPoint string `protobuf:"bytes,1,opt,name=channel_point,json=channelPoint,proto3" json:"channel_point,omitempty"` // The unique channel ID for the channel. ChanId uint64 `protobuf:"varint,2,opt,name=chan_id,json=chanId,proto3" json:"chan_id,omitempty"` // The hash of the genesis block that this channel resides within. ChainHash string `protobuf:"bytes,3,opt,name=chain_hash,json=chainHash,proto3" json:"chain_hash,omitempty"` // The txid of the transaction which ultimately closed this channel. ClosingTxHash string `protobuf:"bytes,4,opt,name=closing_tx_hash,json=closingTxHash,proto3" json:"closing_tx_hash,omitempty"` // Public key of the remote peer that we formerly had a channel with. RemotePubkey string `protobuf:"bytes,5,opt,name=remote_pubkey,json=remotePubkey,proto3" json:"remote_pubkey,omitempty"` // Total capacity of the channel. Capacity int64 `protobuf:"varint,6,opt,name=capacity,proto3" json:"capacity,omitempty"` // Height at which the funding transaction was spent. CloseHeight uint32 `protobuf:"varint,7,opt,name=close_height,json=closeHeight,proto3" json:"close_height,omitempty"` // Settled balance at the time of channel closure SettledBalance int64 `protobuf:"varint,8,opt,name=settled_balance,json=settledBalance,proto3" json:"settled_balance,omitempty"` // The sum of all the time-locked outputs at the time of channel closure TimeLockedBalance int64 `protobuf:"varint,9,opt,name=time_locked_balance,json=timeLockedBalance,proto3" json:"time_locked_balance,omitempty"` // Details on how the channel was closed. CloseType ChannelCloseSummary_ClosureType `` /* 133-byte string literal not displayed */ // //Open initiator is the party that initiated opening the channel. Note that //this value may be unknown if the channel was closed before we migrated to //store open channel information after close. OpenInitiator Initiator `protobuf:"varint,11,opt,name=open_initiator,json=openInitiator,proto3,enum=lnrpc.Initiator" json:"open_initiator,omitempty"` // //Close initiator indicates which party initiated the close. This value will //be unknown for channels that were cooperatively closed before we started //tracking cooperative close initiators. Note that this indicates which party //initiated a close, and it is possible for both to initiate cooperative or //force closes, although only one party's close will be confirmed on chain. CloseInitiator Initiator `` /* 126-byte string literal not displayed */ Resolutions []*Resolution `protobuf:"bytes,13,rep,name=resolutions,proto3" json:"resolutions,omitempty"` // contains filtered or unexported fields }
func (*ChannelCloseSummary) Descriptor
deprecated
func (*ChannelCloseSummary) Descriptor() ([]byte, []int)
Deprecated: Use ChannelCloseSummary.ProtoReflect.Descriptor instead.
func (*ChannelCloseSummary) GetCapacity ¶
func (x *ChannelCloseSummary) GetCapacity() int64
func (*ChannelCloseSummary) GetChainHash ¶
func (x *ChannelCloseSummary) GetChainHash() string
func (*ChannelCloseSummary) GetChanId ¶
func (x *ChannelCloseSummary) GetChanId() uint64
func (*ChannelCloseSummary) GetChannelPoint ¶
func (x *ChannelCloseSummary) GetChannelPoint() string
func (*ChannelCloseSummary) GetCloseHeight ¶
func (x *ChannelCloseSummary) GetCloseHeight() uint32
func (*ChannelCloseSummary) GetCloseInitiator ¶
func (x *ChannelCloseSummary) GetCloseInitiator() Initiator
func (*ChannelCloseSummary) GetCloseType ¶
func (x *ChannelCloseSummary) GetCloseType() ChannelCloseSummary_ClosureType
func (*ChannelCloseSummary) GetClosingTxHash ¶
func (x *ChannelCloseSummary) GetClosingTxHash() string
func (*ChannelCloseSummary) GetOpenInitiator ¶
func (x *ChannelCloseSummary) GetOpenInitiator() Initiator
func (*ChannelCloseSummary) GetRemotePubkey ¶
func (x *ChannelCloseSummary) GetRemotePubkey() string
func (*ChannelCloseSummary) GetResolutions ¶
func (x *ChannelCloseSummary) GetResolutions() []*Resolution
func (*ChannelCloseSummary) GetSettledBalance ¶
func (x *ChannelCloseSummary) GetSettledBalance() int64
func (*ChannelCloseSummary) GetTimeLockedBalance ¶
func (x *ChannelCloseSummary) GetTimeLockedBalance() int64
func (*ChannelCloseSummary) ProtoMessage ¶
func (*ChannelCloseSummary) ProtoMessage()
func (*ChannelCloseSummary) ProtoReflect ¶
func (x *ChannelCloseSummary) ProtoReflect() protoreflect.Message
func (*ChannelCloseSummary) Reset ¶
func (x *ChannelCloseSummary) Reset()
func (*ChannelCloseSummary) String ¶
func (x *ChannelCloseSummary) String() string
type ChannelCloseSummary_ClosureType ¶
type ChannelCloseSummary_ClosureType int32
const ( ChannelCloseSummary_COOPERATIVE_CLOSE ChannelCloseSummary_ClosureType = 0 ChannelCloseSummary_LOCAL_FORCE_CLOSE ChannelCloseSummary_ClosureType = 1 ChannelCloseSummary_REMOTE_FORCE_CLOSE ChannelCloseSummary_ClosureType = 2 ChannelCloseSummary_BREACH_CLOSE ChannelCloseSummary_ClosureType = 3 ChannelCloseSummary_FUNDING_CANCELED ChannelCloseSummary_ClosureType = 4 ChannelCloseSummary_ABANDONED ChannelCloseSummary_ClosureType = 5 )
func (ChannelCloseSummary_ClosureType) Descriptor ¶
func (ChannelCloseSummary_ClosureType) Descriptor() protoreflect.EnumDescriptor
func (ChannelCloseSummary_ClosureType) Enum ¶
func (x ChannelCloseSummary_ClosureType) Enum() *ChannelCloseSummary_ClosureType
func (ChannelCloseSummary_ClosureType) EnumDescriptor
deprecated
func (ChannelCloseSummary_ClosureType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ChannelCloseSummary_ClosureType.Descriptor instead.
func (ChannelCloseSummary_ClosureType) Number ¶
func (x ChannelCloseSummary_ClosureType) Number() protoreflect.EnumNumber
func (ChannelCloseSummary_ClosureType) String ¶
func (x ChannelCloseSummary_ClosureType) String() string
func (ChannelCloseSummary_ClosureType) Type ¶
func (ChannelCloseSummary_ClosureType) Type() protoreflect.EnumType
type ChannelCloseUpdate ¶
type ChannelCloseUpdate struct { ClosingTxid []byte `protobuf:"bytes,1,opt,name=closing_txid,json=closingTxid,proto3" json:"closing_txid,omitempty"` Success bool `protobuf:"varint,2,opt,name=success,proto3" json:"success,omitempty"` // contains filtered or unexported fields }
func (*ChannelCloseUpdate) Descriptor
deprecated
func (*ChannelCloseUpdate) Descriptor() ([]byte, []int)
Deprecated: Use ChannelCloseUpdate.ProtoReflect.Descriptor instead.
func (*ChannelCloseUpdate) GetClosingTxid ¶
func (x *ChannelCloseUpdate) GetClosingTxid() []byte
func (*ChannelCloseUpdate) GetSuccess ¶
func (x *ChannelCloseUpdate) GetSuccess() bool
func (*ChannelCloseUpdate) ProtoMessage ¶
func (*ChannelCloseUpdate) ProtoMessage()
func (*ChannelCloseUpdate) ProtoReflect ¶
func (x *ChannelCloseUpdate) ProtoReflect() protoreflect.Message
func (*ChannelCloseUpdate) Reset ¶
func (x *ChannelCloseUpdate) Reset()
func (*ChannelCloseUpdate) String ¶
func (x *ChannelCloseUpdate) String() string
type ChannelConstraints ¶
type ChannelConstraints struct { // //The CSV delay expressed in relative blocks. If the channel is force closed, //we will need to wait for this many blocks before we can regain our funds. CsvDelay uint32 `protobuf:"varint,1,opt,name=csv_delay,json=csvDelay,proto3" json:"csv_delay,omitempty"` // The minimum satoshis this node is required to reserve in its balance. ChanReserveSat uint64 `protobuf:"varint,2,opt,name=chan_reserve_sat,json=chanReserveSat,proto3" json:"chan_reserve_sat,omitempty"` // The dust limit (in satoshis) of the initiator's commitment tx. DustLimitSat uint64 `protobuf:"varint,3,opt,name=dust_limit_sat,json=dustLimitSat,proto3" json:"dust_limit_sat,omitempty"` // The maximum amount of coins in millisatoshis that can be pending in this // channel. MaxPendingAmtMsat uint64 `protobuf:"varint,4,opt,name=max_pending_amt_msat,json=maxPendingAmtMsat,proto3" json:"max_pending_amt_msat,omitempty"` // The smallest HTLC in millisatoshis that the initiator will accept. MinHtlcMsat uint64 `protobuf:"varint,5,opt,name=min_htlc_msat,json=minHtlcMsat,proto3" json:"min_htlc_msat,omitempty"` // The total number of incoming HTLC's that the initiator will accept. MaxAcceptedHtlcs uint32 `protobuf:"varint,6,opt,name=max_accepted_htlcs,json=maxAcceptedHtlcs,proto3" json:"max_accepted_htlcs,omitempty"` // contains filtered or unexported fields }
func (*ChannelConstraints) Descriptor
deprecated
func (*ChannelConstraints) Descriptor() ([]byte, []int)
Deprecated: Use ChannelConstraints.ProtoReflect.Descriptor instead.
func (*ChannelConstraints) GetChanReserveSat ¶
func (x *ChannelConstraints) GetChanReserveSat() uint64
func (*ChannelConstraints) GetCsvDelay ¶
func (x *ChannelConstraints) GetCsvDelay() uint32
func (*ChannelConstraints) GetDustLimitSat ¶
func (x *ChannelConstraints) GetDustLimitSat() uint64
func (*ChannelConstraints) GetMaxAcceptedHtlcs ¶
func (x *ChannelConstraints) GetMaxAcceptedHtlcs() uint32
func (*ChannelConstraints) GetMaxPendingAmtMsat ¶
func (x *ChannelConstraints) GetMaxPendingAmtMsat() uint64
func (*ChannelConstraints) GetMinHtlcMsat ¶
func (x *ChannelConstraints) GetMinHtlcMsat() uint64
func (*ChannelConstraints) ProtoMessage ¶
func (*ChannelConstraints) ProtoMessage()
func (*ChannelConstraints) ProtoReflect ¶
func (x *ChannelConstraints) ProtoReflect() protoreflect.Message
func (*ChannelConstraints) Reset ¶
func (x *ChannelConstraints) Reset()
func (*ChannelConstraints) String ¶
func (x *ChannelConstraints) String() string
type ChannelEdge ¶
type ChannelEdge struct { // //The unique channel ID for the channel. The first 3 bytes are the block //height, the next 3 the index within the block, and the last 2 bytes are the //output index for the channel. ChannelId uint64 `protobuf:"varint,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` ChanPoint string `protobuf:"bytes,2,opt,name=chan_point,json=chanPoint,proto3" json:"chan_point,omitempty"` // Deprecated: Do not use. LastUpdate uint32 `protobuf:"varint,3,opt,name=last_update,json=lastUpdate,proto3" json:"last_update,omitempty"` Node1Pub string `protobuf:"bytes,4,opt,name=node1_pub,json=node1Pub,proto3" json:"node1_pub,omitempty"` Node2Pub string `protobuf:"bytes,5,opt,name=node2_pub,json=node2Pub,proto3" json:"node2_pub,omitempty"` Capacity int64 `protobuf:"varint,6,opt,name=capacity,proto3" json:"capacity,omitempty"` Node1Policy *RoutingPolicy `protobuf:"bytes,7,opt,name=node1_policy,json=node1Policy,proto3" json:"node1_policy,omitempty"` Node2Policy *RoutingPolicy `protobuf:"bytes,8,opt,name=node2_policy,json=node2Policy,proto3" json:"node2_policy,omitempty"` // contains filtered or unexported fields }
A fully authenticated channel along with all its unique attributes. Once an authenticated channel announcement has been processed on the network, then an instance of ChannelEdgeInfo encapsulating the channels attributes is stored. The other portions relevant to routing policy of a channel are stored within a ChannelEdgePolicy for each direction of the channel.
func (*ChannelEdge) Descriptor
deprecated
func (*ChannelEdge) Descriptor() ([]byte, []int)
Deprecated: Use ChannelEdge.ProtoReflect.Descriptor instead.
func (*ChannelEdge) GetCapacity ¶
func (x *ChannelEdge) GetCapacity() int64
func (*ChannelEdge) GetChanPoint ¶
func (x *ChannelEdge) GetChanPoint() string
func (*ChannelEdge) GetChannelId ¶
func (x *ChannelEdge) GetChannelId() uint64
func (*ChannelEdge) GetLastUpdate
deprecated
func (x *ChannelEdge) GetLastUpdate() uint32
Deprecated: Do not use.
func (*ChannelEdge) GetNode1Policy ¶
func (x *ChannelEdge) GetNode1Policy() *RoutingPolicy
func (*ChannelEdge) GetNode1Pub ¶
func (x *ChannelEdge) GetNode1Pub() string
func (*ChannelEdge) GetNode2Policy ¶
func (x *ChannelEdge) GetNode2Policy() *RoutingPolicy
func (*ChannelEdge) GetNode2Pub ¶
func (x *ChannelEdge) GetNode2Pub() string
func (*ChannelEdge) ProtoMessage ¶
func (*ChannelEdge) ProtoMessage()
func (*ChannelEdge) ProtoReflect ¶
func (x *ChannelEdge) ProtoReflect() protoreflect.Message
func (*ChannelEdge) Reset ¶
func (x *ChannelEdge) Reset()
func (*ChannelEdge) String ¶
func (x *ChannelEdge) String() string
type ChannelEdgeUpdate ¶
type ChannelEdgeUpdate struct { // //The unique channel ID for the channel. The first 3 bytes are the block //height, the next 3 the index within the block, and the last 2 bytes are the //output index for the channel. ChanId uint64 `protobuf:"varint,1,opt,name=chan_id,json=chanId,proto3" json:"chan_id,omitempty"` ChanPoint *ChannelPoint `protobuf:"bytes,2,opt,name=chan_point,json=chanPoint,proto3" json:"chan_point,omitempty"` Capacity int64 `protobuf:"varint,3,opt,name=capacity,proto3" json:"capacity,omitempty"` RoutingPolicy *RoutingPolicy `protobuf:"bytes,4,opt,name=routing_policy,json=routingPolicy,proto3" json:"routing_policy,omitempty"` AdvertisingNode string `protobuf:"bytes,5,opt,name=advertising_node,json=advertisingNode,proto3" json:"advertising_node,omitempty"` ConnectingNode string `protobuf:"bytes,6,opt,name=connecting_node,json=connectingNode,proto3" json:"connecting_node,omitempty"` // contains filtered or unexported fields }
func (*ChannelEdgeUpdate) Descriptor
deprecated
func (*ChannelEdgeUpdate) Descriptor() ([]byte, []int)
Deprecated: Use ChannelEdgeUpdate.ProtoReflect.Descriptor instead.
func (*ChannelEdgeUpdate) GetAdvertisingNode ¶
func (x *ChannelEdgeUpdate) GetAdvertisingNode() string
func (*ChannelEdgeUpdate) GetCapacity ¶
func (x *ChannelEdgeUpdate) GetCapacity() int64
func (*ChannelEdgeUpdate) GetChanId ¶
func (x *ChannelEdgeUpdate) GetChanId() uint64
func (*ChannelEdgeUpdate) GetChanPoint ¶
func (x *ChannelEdgeUpdate) GetChanPoint() *ChannelPoint
func (*ChannelEdgeUpdate) GetConnectingNode ¶
func (x *ChannelEdgeUpdate) GetConnectingNode() string
func (*ChannelEdgeUpdate) GetRoutingPolicy ¶
func (x *ChannelEdgeUpdate) GetRoutingPolicy() *RoutingPolicy
func (*ChannelEdgeUpdate) ProtoMessage ¶
func (*ChannelEdgeUpdate) ProtoMessage()
func (*ChannelEdgeUpdate) ProtoReflect ¶
func (x *ChannelEdgeUpdate) ProtoReflect() protoreflect.Message
func (*ChannelEdgeUpdate) Reset ¶
func (x *ChannelEdgeUpdate) Reset()
func (*ChannelEdgeUpdate) String ¶
func (x *ChannelEdgeUpdate) String() string
type ChannelEventSubscription ¶
type ChannelEventSubscription struct {
// contains filtered or unexported fields
}
func (*ChannelEventSubscription) Descriptor
deprecated
func (*ChannelEventSubscription) Descriptor() ([]byte, []int)
Deprecated: Use ChannelEventSubscription.ProtoReflect.Descriptor instead.
func (*ChannelEventSubscription) ProtoMessage ¶
func (*ChannelEventSubscription) ProtoMessage()
func (*ChannelEventSubscription) ProtoReflect ¶
func (x *ChannelEventSubscription) ProtoReflect() protoreflect.Message
func (*ChannelEventSubscription) Reset ¶
func (x *ChannelEventSubscription) Reset()
func (*ChannelEventSubscription) String ¶
func (x *ChannelEventSubscription) String() string
type ChannelEventUpdate ¶
type ChannelEventUpdate struct { // Types that are assignable to Channel: // *ChannelEventUpdate_OpenChannel // *ChannelEventUpdate_ClosedChannel // *ChannelEventUpdate_ActiveChannel // *ChannelEventUpdate_InactiveChannel // *ChannelEventUpdate_PendingOpenChannel // *ChannelEventUpdate_FullyResolvedChannel Channel isChannelEventUpdate_Channel `protobuf_oneof:"channel"` Type ChannelEventUpdate_UpdateType `protobuf:"varint,5,opt,name=type,proto3,enum=lnrpc.ChannelEventUpdate_UpdateType" json:"type,omitempty"` // contains filtered or unexported fields }
func (*ChannelEventUpdate) Descriptor
deprecated
func (*ChannelEventUpdate) Descriptor() ([]byte, []int)
Deprecated: Use ChannelEventUpdate.ProtoReflect.Descriptor instead.
func (*ChannelEventUpdate) GetActiveChannel ¶
func (x *ChannelEventUpdate) GetActiveChannel() *ChannelPoint
func (*ChannelEventUpdate) GetChannel ¶
func (m *ChannelEventUpdate) GetChannel() isChannelEventUpdate_Channel
func (*ChannelEventUpdate) GetClosedChannel ¶
func (x *ChannelEventUpdate) GetClosedChannel() *ChannelCloseSummary
func (*ChannelEventUpdate) GetFullyResolvedChannel ¶
func (x *ChannelEventUpdate) GetFullyResolvedChannel() *ChannelPoint
func (*ChannelEventUpdate) GetInactiveChannel ¶
func (x *ChannelEventUpdate) GetInactiveChannel() *ChannelPoint
func (*ChannelEventUpdate) GetOpenChannel ¶
func (x *ChannelEventUpdate) GetOpenChannel() *Channel
func (*ChannelEventUpdate) GetPendingOpenChannel ¶
func (x *ChannelEventUpdate) GetPendingOpenChannel() *PendingUpdate
func (*ChannelEventUpdate) GetType ¶
func (x *ChannelEventUpdate) GetType() ChannelEventUpdate_UpdateType
func (*ChannelEventUpdate) ProtoMessage ¶
func (*ChannelEventUpdate) ProtoMessage()
func (*ChannelEventUpdate) ProtoReflect ¶
func (x *ChannelEventUpdate) ProtoReflect() protoreflect.Message
func (*ChannelEventUpdate) Reset ¶
func (x *ChannelEventUpdate) Reset()
func (*ChannelEventUpdate) String ¶
func (x *ChannelEventUpdate) String() string
type ChannelEventUpdate_ActiveChannel ¶
type ChannelEventUpdate_ActiveChannel struct {
ActiveChannel *ChannelPoint `protobuf:"bytes,3,opt,name=active_channel,json=activeChannel,proto3,oneof"`
}
type ChannelEventUpdate_ClosedChannel ¶
type ChannelEventUpdate_ClosedChannel struct {
ClosedChannel *ChannelCloseSummary `protobuf:"bytes,2,opt,name=closed_channel,json=closedChannel,proto3,oneof"`
}
type ChannelEventUpdate_FullyResolvedChannel ¶
type ChannelEventUpdate_FullyResolvedChannel struct {
FullyResolvedChannel *ChannelPoint `protobuf:"bytes,7,opt,name=fully_resolved_channel,json=fullyResolvedChannel,proto3,oneof"`
}
type ChannelEventUpdate_InactiveChannel ¶
type ChannelEventUpdate_InactiveChannel struct {
InactiveChannel *ChannelPoint `protobuf:"bytes,4,opt,name=inactive_channel,json=inactiveChannel,proto3,oneof"`
}
type ChannelEventUpdate_OpenChannel ¶
type ChannelEventUpdate_OpenChannel struct {
OpenChannel *Channel `protobuf:"bytes,1,opt,name=open_channel,json=openChannel,proto3,oneof"`
}
type ChannelEventUpdate_PendingOpenChannel ¶
type ChannelEventUpdate_PendingOpenChannel struct {
PendingOpenChannel *PendingUpdate `protobuf:"bytes,6,opt,name=pending_open_channel,json=pendingOpenChannel,proto3,oneof"`
}
type ChannelEventUpdate_UpdateType ¶
type ChannelEventUpdate_UpdateType int32
const ( ChannelEventUpdate_OPEN_CHANNEL ChannelEventUpdate_UpdateType = 0 ChannelEventUpdate_CLOSED_CHANNEL ChannelEventUpdate_UpdateType = 1 ChannelEventUpdate_ACTIVE_CHANNEL ChannelEventUpdate_UpdateType = 2 ChannelEventUpdate_INACTIVE_CHANNEL ChannelEventUpdate_UpdateType = 3 ChannelEventUpdate_PENDING_OPEN_CHANNEL ChannelEventUpdate_UpdateType = 4 ChannelEventUpdate_FULLY_RESOLVED_CHANNEL ChannelEventUpdate_UpdateType = 5 )
func (ChannelEventUpdate_UpdateType) Descriptor ¶
func (ChannelEventUpdate_UpdateType) Descriptor() protoreflect.EnumDescriptor
func (ChannelEventUpdate_UpdateType) Enum ¶
func (x ChannelEventUpdate_UpdateType) Enum() *ChannelEventUpdate_UpdateType
func (ChannelEventUpdate_UpdateType) EnumDescriptor
deprecated
func (ChannelEventUpdate_UpdateType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ChannelEventUpdate_UpdateType.Descriptor instead.
func (ChannelEventUpdate_UpdateType) Number ¶
func (x ChannelEventUpdate_UpdateType) Number() protoreflect.EnumNumber
func (ChannelEventUpdate_UpdateType) String ¶
func (x ChannelEventUpdate_UpdateType) String() string
func (ChannelEventUpdate_UpdateType) Type ¶
func (ChannelEventUpdate_UpdateType) Type() protoreflect.EnumType
type ChannelFeeReport ¶
type ChannelFeeReport struct { // The short channel id that this fee report belongs to. ChanId uint64 `protobuf:"varint,5,opt,name=chan_id,json=chanId,proto3" json:"chan_id,omitempty"` // The channel that this fee report belongs to. ChannelPoint string `protobuf:"bytes,1,opt,name=channel_point,json=channelPoint,proto3" json:"channel_point,omitempty"` // The base fee charged regardless of the number of milli-satoshis sent. BaseFeeMsat int64 `protobuf:"varint,2,opt,name=base_fee_msat,json=baseFeeMsat,proto3" json:"base_fee_msat,omitempty"` // The amount charged per milli-satoshis transferred expressed in // millionths of a satoshi. FeePerMil int64 `protobuf:"varint,3,opt,name=fee_per_mil,json=feePerMil,proto3" json:"fee_per_mil,omitempty"` // The effective fee rate in milli-satoshis. Computed by dividing the // fee_per_mil value by 1 million. FeeRate float64 `protobuf:"fixed64,4,opt,name=fee_rate,json=feeRate,proto3" json:"fee_rate,omitempty"` // contains filtered or unexported fields }
func (*ChannelFeeReport) Descriptor
deprecated
func (*ChannelFeeReport) Descriptor() ([]byte, []int)
Deprecated: Use ChannelFeeReport.ProtoReflect.Descriptor instead.
func (*ChannelFeeReport) GetBaseFeeMsat ¶
func (x *ChannelFeeReport) GetBaseFeeMsat() int64
func (*ChannelFeeReport) GetChanId ¶
func (x *ChannelFeeReport) GetChanId() uint64
func (*ChannelFeeReport) GetChannelPoint ¶
func (x *ChannelFeeReport) GetChannelPoint() string
func (*ChannelFeeReport) GetFeePerMil ¶
func (x *ChannelFeeReport) GetFeePerMil() int64
func (*ChannelFeeReport) GetFeeRate ¶
func (x *ChannelFeeReport) GetFeeRate() float64
func (*ChannelFeeReport) ProtoMessage ¶
func (*ChannelFeeReport) ProtoMessage()
func (*ChannelFeeReport) ProtoReflect ¶
func (x *ChannelFeeReport) ProtoReflect() protoreflect.Message
func (*ChannelFeeReport) Reset ¶
func (x *ChannelFeeReport) Reset()
func (*ChannelFeeReport) String ¶
func (x *ChannelFeeReport) String() string
type ChannelGraph ¶
type ChannelGraph struct { // The list of `LightningNode`s in this channel graph Nodes []*LightningNode `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"` // The list of `ChannelEdge`s in this channel graph Edges []*ChannelEdge `protobuf:"bytes,2,rep,name=edges,proto3" json:"edges,omitempty"` // contains filtered or unexported fields }
Returns a new instance of the directed channel graph.
func (*ChannelGraph) Descriptor
deprecated
func (*ChannelGraph) Descriptor() ([]byte, []int)
Deprecated: Use ChannelGraph.ProtoReflect.Descriptor instead.
func (*ChannelGraph) GetEdges ¶
func (x *ChannelGraph) GetEdges() []*ChannelEdge
func (*ChannelGraph) GetNodes ¶
func (x *ChannelGraph) GetNodes() []*LightningNode
func (*ChannelGraph) ProtoMessage ¶
func (*ChannelGraph) ProtoMessage()
func (*ChannelGraph) ProtoReflect ¶
func (x *ChannelGraph) ProtoReflect() protoreflect.Message
func (*ChannelGraph) Reset ¶
func (x *ChannelGraph) Reset()
func (*ChannelGraph) String ¶
func (x *ChannelGraph) String() string
type ChannelGraphRequest ¶
type ChannelGraphRequest struct { // //Whether unannounced channels are included in the response or not. If set, //unannounced channels are included. Unannounced channels are both private //channels, and public channels that are not yet announced to the network. IncludeUnannounced bool `protobuf:"varint,1,opt,name=include_unannounced,json=includeUnannounced,proto3" json:"include_unannounced,omitempty"` // contains filtered or unexported fields }
func (*ChannelGraphRequest) Descriptor
deprecated
func (*ChannelGraphRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChannelGraphRequest.ProtoReflect.Descriptor instead.
func (*ChannelGraphRequest) GetIncludeUnannounced ¶
func (x *ChannelGraphRequest) GetIncludeUnannounced() bool
func (*ChannelGraphRequest) ProtoMessage ¶
func (*ChannelGraphRequest) ProtoMessage()
func (*ChannelGraphRequest) ProtoReflect ¶
func (x *ChannelGraphRequest) ProtoReflect() protoreflect.Message
func (*ChannelGraphRequest) Reset ¶
func (x *ChannelGraphRequest) Reset()
func (*ChannelGraphRequest) String ¶
func (x *ChannelGraphRequest) String() string
type ChannelOpenUpdate ¶
type ChannelOpenUpdate struct { ChannelPoint *ChannelPoint `protobuf:"bytes,1,opt,name=channel_point,json=channelPoint,proto3" json:"channel_point,omitempty"` // contains filtered or unexported fields }
func (*ChannelOpenUpdate) Descriptor
deprecated
func (*ChannelOpenUpdate) Descriptor() ([]byte, []int)
Deprecated: Use ChannelOpenUpdate.ProtoReflect.Descriptor instead.
func (*ChannelOpenUpdate) GetChannelPoint ¶
func (x *ChannelOpenUpdate) GetChannelPoint() *ChannelPoint
func (*ChannelOpenUpdate) ProtoMessage ¶
func (*ChannelOpenUpdate) ProtoMessage()
func (*ChannelOpenUpdate) ProtoReflect ¶
func (x *ChannelOpenUpdate) ProtoReflect() protoreflect.Message
func (*ChannelOpenUpdate) Reset ¶
func (x *ChannelOpenUpdate) Reset()
func (*ChannelOpenUpdate) String ¶
func (x *ChannelOpenUpdate) String() string
type ChannelPoint ¶
type ChannelPoint struct { // Types that are assignable to FundingTxid: // *ChannelPoint_FundingTxidBytes // *ChannelPoint_FundingTxidStr FundingTxid isChannelPoint_FundingTxid `protobuf_oneof:"funding_txid"` // The index of the output of the funding transaction OutputIndex uint32 `protobuf:"varint,3,opt,name=output_index,json=outputIndex,proto3" json:"output_index,omitempty"` // contains filtered or unexported fields }
func (*ChannelPoint) Descriptor
deprecated
func (*ChannelPoint) Descriptor() ([]byte, []int)
Deprecated: Use ChannelPoint.ProtoReflect.Descriptor instead.
func (*ChannelPoint) GetFundingTxid ¶
func (m *ChannelPoint) GetFundingTxid() isChannelPoint_FundingTxid
func (*ChannelPoint) GetFundingTxidBytes ¶
func (x *ChannelPoint) GetFundingTxidBytes() []byte
func (*ChannelPoint) GetFundingTxidStr ¶
func (x *ChannelPoint) GetFundingTxidStr() string
func (*ChannelPoint) GetOutputIndex ¶
func (x *ChannelPoint) GetOutputIndex() uint32
func (*ChannelPoint) ProtoMessage ¶
func (*ChannelPoint) ProtoMessage()
func (*ChannelPoint) ProtoReflect ¶
func (x *ChannelPoint) ProtoReflect() protoreflect.Message
func (*ChannelPoint) Reset ¶
func (x *ChannelPoint) Reset()
func (*ChannelPoint) String ¶
func (x *ChannelPoint) String() string
type ChannelPoint_FundingTxidBytes ¶
type ChannelPoint_FundingTxidBytes struct { // //Txid of the funding transaction. When using REST, this field must be //encoded as base64. FundingTxidBytes []byte `protobuf:"bytes,1,opt,name=funding_txid_bytes,json=fundingTxidBytes,proto3,oneof"` }
type ChannelPoint_FundingTxidStr ¶
type ChannelPoint_FundingTxidStr struct { // //Hex-encoded string representing the byte-reversed hash of the funding //transaction. FundingTxidStr string `protobuf:"bytes,2,opt,name=funding_txid_str,json=fundingTxidStr,proto3,oneof"` }
type ChannelUpdate ¶
type ChannelUpdate struct { // //The signature that validates the announced data and proves the ownership //of node id. Signature []byte `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"` // //The target chain that this channel was opened within. This value //should be the genesis hash of the target chain. Along with the short //channel ID, this uniquely identifies the channel globally in a //blockchain. ChainHash []byte `protobuf:"bytes,2,opt,name=chain_hash,json=chainHash,proto3" json:"chain_hash,omitempty"` // //The unique description of the funding transaction. ChanId uint64 `protobuf:"varint,3,opt,name=chan_id,json=chanId,proto3" json:"chan_id,omitempty"` // //A timestamp that allows ordering in the case of multiple announcements. //We should ignore the message if timestamp is not greater than the //last-received. Timestamp uint32 `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // //The bitfield that describes whether optional fields are present in this //update. Currently, the least-significant bit must be set to 1 if the //optional field MaxHtlc is present. MessageFlags uint32 `protobuf:"varint,10,opt,name=message_flags,json=messageFlags,proto3" json:"message_flags,omitempty"` // //The bitfield that describes additional meta-data concerning how the //update is to be interpreted. Currently, the least-significant bit must be //set to 0 if the creating node corresponds to the first node in the //previously sent channel announcement and 1 otherwise. If the second bit //is set, then the channel is set to be disabled. ChannelFlags uint32 `protobuf:"varint,5,opt,name=channel_flags,json=channelFlags,proto3" json:"channel_flags,omitempty"` // //The minimum number of blocks this node requires to be added to the expiry //of HTLCs. This is a security parameter determined by the node operator. //This value represents the required gap between the time locks of the //incoming and outgoing HTLC's set to this node. TimeLockDelta uint32 `protobuf:"varint,6,opt,name=time_lock_delta,json=timeLockDelta,proto3" json:"time_lock_delta,omitempty"` // //The minimum HTLC value which will be accepted. HtlcMinimumMsat uint64 `protobuf:"varint,7,opt,name=htlc_minimum_msat,json=htlcMinimumMsat,proto3" json:"htlc_minimum_msat,omitempty"` // //The base fee that must be used for incoming HTLC's to this particular //channel. This value will be tacked onto the required for a payment //independent of the size of the payment. BaseFee uint32 `protobuf:"varint,8,opt,name=base_fee,json=baseFee,proto3" json:"base_fee,omitempty"` // //The fee rate that will be charged per millionth of a satoshi. FeeRate uint32 `protobuf:"varint,9,opt,name=fee_rate,json=feeRate,proto3" json:"fee_rate,omitempty"` // //The maximum HTLC value which will be accepted. HtlcMaximumMsat uint64 `protobuf:"varint,11,opt,name=htlc_maximum_msat,json=htlcMaximumMsat,proto3" json:"htlc_maximum_msat,omitempty"` // //The set of data that was appended to this message, some of which we may //not actually know how to iterate or parse. By holding onto this data, we //ensure that we're able to properly validate the set of signatures that //cover these new fields, and ensure we're able to make upgrades to the //network in a forwards compatible manner. ExtraOpaqueData []byte `protobuf:"bytes,12,opt,name=extra_opaque_data,json=extraOpaqueData,proto3" json:"extra_opaque_data,omitempty"` // contains filtered or unexported fields }
func (*ChannelUpdate) Descriptor
deprecated
func (*ChannelUpdate) Descriptor() ([]byte, []int)
Deprecated: Use ChannelUpdate.ProtoReflect.Descriptor instead.
func (*ChannelUpdate) GetBaseFee ¶
func (x *ChannelUpdate) GetBaseFee() uint32
func (*ChannelUpdate) GetChainHash ¶
func (x *ChannelUpdate) GetChainHash() []byte
func (*ChannelUpdate) GetChanId ¶
func (x *ChannelUpdate) GetChanId() uint64
func (*ChannelUpdate) GetChannelFlags ¶
func (x *ChannelUpdate) GetChannelFlags() uint32
func (*ChannelUpdate) GetExtraOpaqueData ¶
func (x *ChannelUpdate) GetExtraOpaqueData() []byte
func (*ChannelUpdate) GetFeeRate ¶
func (x *ChannelUpdate) GetFeeRate() uint32
func (*ChannelUpdate) GetHtlcMaximumMsat ¶
func (x *ChannelUpdate) GetHtlcMaximumMsat() uint64
func (*ChannelUpdate) GetHtlcMinimumMsat ¶
func (x *ChannelUpdate) GetHtlcMinimumMsat() uint64
func (*ChannelUpdate) GetMessageFlags ¶
func (x *ChannelUpdate) GetMessageFlags() uint32
func (*ChannelUpdate) GetSignature ¶
func (x *ChannelUpdate) GetSignature() []byte
func (*ChannelUpdate) GetTimeLockDelta ¶
func (x *ChannelUpdate) GetTimeLockDelta() uint32
func (*ChannelUpdate) GetTimestamp ¶
func (x *ChannelUpdate) GetTimestamp() uint32
func (*ChannelUpdate) ProtoMessage ¶
func (*ChannelUpdate) ProtoMessage()
func (*ChannelUpdate) ProtoReflect ¶
func (x *ChannelUpdate) ProtoReflect() protoreflect.Message
func (*ChannelUpdate) Reset ¶
func (x *ChannelUpdate) Reset()
func (*ChannelUpdate) String ¶
func (x *ChannelUpdate) String() string
type CheckMacPermRequest ¶
type CheckMacPermRequest struct { Macaroon []byte `protobuf:"bytes,1,opt,name=macaroon,proto3" json:"macaroon,omitempty"` Permissions []*MacaroonPermission `protobuf:"bytes,2,rep,name=permissions,proto3" json:"permissions,omitempty"` FullMethod string `protobuf:"bytes,3,opt,name=fullMethod,proto3" json:"fullMethod,omitempty"` // contains filtered or unexported fields }
func (*CheckMacPermRequest) Descriptor
deprecated
func (*CheckMacPermRequest) Descriptor() ([]byte, []int)
Deprecated: Use CheckMacPermRequest.ProtoReflect.Descriptor instead.
func (*CheckMacPermRequest) GetFullMethod ¶
func (x *CheckMacPermRequest) GetFullMethod() string
func (*CheckMacPermRequest) GetMacaroon ¶
func (x *CheckMacPermRequest) GetMacaroon() []byte
func (*CheckMacPermRequest) GetPermissions ¶
func (x *CheckMacPermRequest) GetPermissions() []*MacaroonPermission
func (*CheckMacPermRequest) ProtoMessage ¶
func (*CheckMacPermRequest) ProtoMessage()
func (*CheckMacPermRequest) ProtoReflect ¶
func (x *CheckMacPermRequest) ProtoReflect() protoreflect.Message
func (*CheckMacPermRequest) Reset ¶
func (x *CheckMacPermRequest) Reset()
func (*CheckMacPermRequest) String ¶
func (x *CheckMacPermRequest) String() string
type CheckMacPermResponse ¶
type CheckMacPermResponse struct { Valid bool `protobuf:"varint,1,opt,name=valid,proto3" json:"valid,omitempty"` // contains filtered or unexported fields }
func (*CheckMacPermResponse) Descriptor
deprecated
func (*CheckMacPermResponse) Descriptor() ([]byte, []int)
Deprecated: Use CheckMacPermResponse.ProtoReflect.Descriptor instead.
func (*CheckMacPermResponse) GetValid ¶
func (x *CheckMacPermResponse) GetValid() bool
func (*CheckMacPermResponse) ProtoMessage ¶
func (*CheckMacPermResponse) ProtoMessage()
func (*CheckMacPermResponse) ProtoReflect ¶
func (x *CheckMacPermResponse) ProtoReflect() protoreflect.Message
func (*CheckMacPermResponse) Reset ¶
func (x *CheckMacPermResponse) Reset()
func (*CheckMacPermResponse) String ¶
func (x *CheckMacPermResponse) String() string
type CloseChannelRequest ¶
type CloseChannelRequest struct { // //The outpoint (txid:index) of the funding transaction. With this value, Bob //will be able to generate a signature for Alice's version of the commitment //transaction. ChannelPoint *ChannelPoint `protobuf:"bytes,1,opt,name=channel_point,json=channelPoint,proto3" json:"channel_point,omitempty"` // If true, then the channel will be closed forcibly. This means the // current commitment transaction will be signed and broadcast. Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"` // The target number of blocks that the closure transaction should be // confirmed by. TargetConf int32 `protobuf:"varint,3,opt,name=target_conf,json=targetConf,proto3" json:"target_conf,omitempty"` // Deprecated, use sat_per_vbyte. // A manual fee rate set in sat/vbyte that should be used when crafting the // closure transaction. // // Deprecated: Do not use. SatPerByte int64 `protobuf:"varint,4,opt,name=sat_per_byte,json=satPerByte,proto3" json:"sat_per_byte,omitempty"` // //An optional address to send funds to in the case of a cooperative close. //If the channel was opened with an upfront shutdown script and this field //is set, the request to close will fail because the channel must pay out //to the upfront shutdown addresss. DeliveryAddress string `protobuf:"bytes,5,opt,name=delivery_address,json=deliveryAddress,proto3" json:"delivery_address,omitempty"` // A manual fee rate set in sat/vbyte that should be used when crafting the // closure transaction. SatPerVbyte uint64 `protobuf:"varint,6,opt,name=sat_per_vbyte,json=satPerVbyte,proto3" json:"sat_per_vbyte,omitempty"` // contains filtered or unexported fields }
func (*CloseChannelRequest) Descriptor
deprecated
func (*CloseChannelRequest) Descriptor() ([]byte, []int)
Deprecated: Use CloseChannelRequest.ProtoReflect.Descriptor instead.
func (*CloseChannelRequest) GetChannelPoint ¶
func (x *CloseChannelRequest) GetChannelPoint() *ChannelPoint
func (*CloseChannelRequest) GetDeliveryAddress ¶
func (x *CloseChannelRequest) GetDeliveryAddress() string
func (*CloseChannelRequest) GetForce ¶
func (x *CloseChannelRequest) GetForce() bool
func (*CloseChannelRequest) GetSatPerByte
deprecated
func (x *CloseChannelRequest) GetSatPerByte() int64
Deprecated: Do not use.
func (*CloseChannelRequest) GetSatPerVbyte ¶
func (x *CloseChannelRequest) GetSatPerVbyte() uint64
func (*CloseChannelRequest) GetTargetConf ¶
func (x *CloseChannelRequest) GetTargetConf() int32
func (*CloseChannelRequest) ProtoMessage ¶
func (*CloseChannelRequest) ProtoMessage()
func (*CloseChannelRequest) ProtoReflect ¶
func (x *CloseChannelRequest) ProtoReflect() protoreflect.Message
func (*CloseChannelRequest) Reset ¶
func (x *CloseChannelRequest) Reset()
func (*CloseChannelRequest) String ¶
func (x *CloseChannelRequest) String() string
type CloseStatusUpdate ¶
type CloseStatusUpdate struct { // Types that are assignable to Update: // *CloseStatusUpdate_ClosePending // *CloseStatusUpdate_ChanClose Update isCloseStatusUpdate_Update `protobuf_oneof:"update"` // contains filtered or unexported fields }
func (*CloseStatusUpdate) Descriptor
deprecated
func (*CloseStatusUpdate) Descriptor() ([]byte, []int)
Deprecated: Use CloseStatusUpdate.ProtoReflect.Descriptor instead.
func (*CloseStatusUpdate) GetChanClose ¶
func (x *CloseStatusUpdate) GetChanClose() *ChannelCloseUpdate
func (*CloseStatusUpdate) GetClosePending ¶
func (x *CloseStatusUpdate) GetClosePending() *PendingUpdate
func (*CloseStatusUpdate) GetUpdate ¶
func (m *CloseStatusUpdate) GetUpdate() isCloseStatusUpdate_Update
func (*CloseStatusUpdate) ProtoMessage ¶
func (*CloseStatusUpdate) ProtoMessage()
func (*CloseStatusUpdate) ProtoReflect ¶
func (x *CloseStatusUpdate) ProtoReflect() protoreflect.Message
func (*CloseStatusUpdate) Reset ¶
func (x *CloseStatusUpdate) Reset()
func (*CloseStatusUpdate) String ¶
func (x *CloseStatusUpdate) String() string
type CloseStatusUpdate_ChanClose ¶
type CloseStatusUpdate_ChanClose struct {
ChanClose *ChannelCloseUpdate `protobuf:"bytes,3,opt,name=chan_close,json=chanClose,proto3,oneof"`
}
type CloseStatusUpdate_ClosePending ¶
type CloseStatusUpdate_ClosePending struct {
ClosePending *PendingUpdate `protobuf:"bytes,1,opt,name=close_pending,json=closePending,proto3,oneof"`
}
type ClosedChannelUpdate ¶
type ClosedChannelUpdate struct { // //The unique channel ID for the channel. The first 3 bytes are the block //height, the next 3 the index within the block, and the last 2 bytes are the //output index for the channel. ChanId uint64 `protobuf:"varint,1,opt,name=chan_id,json=chanId,proto3" json:"chan_id,omitempty"` Capacity int64 `protobuf:"varint,2,opt,name=capacity,proto3" json:"capacity,omitempty"` ClosedHeight uint32 `protobuf:"varint,3,opt,name=closed_height,json=closedHeight,proto3" json:"closed_height,omitempty"` ChanPoint *ChannelPoint `protobuf:"bytes,4,opt,name=chan_point,json=chanPoint,proto3" json:"chan_point,omitempty"` // contains filtered or unexported fields }
func (*ClosedChannelUpdate) Descriptor
deprecated
func (*ClosedChannelUpdate) Descriptor() ([]byte, []int)
Deprecated: Use ClosedChannelUpdate.ProtoReflect.Descriptor instead.
func (*ClosedChannelUpdate) GetCapacity ¶
func (x *ClosedChannelUpdate) GetCapacity() int64
func (*ClosedChannelUpdate) GetChanId ¶
func (x *ClosedChannelUpdate) GetChanId() uint64
func (*ClosedChannelUpdate) GetChanPoint ¶
func (x *ClosedChannelUpdate) GetChanPoint() *ChannelPoint
func (*ClosedChannelUpdate) GetClosedHeight ¶
func (x *ClosedChannelUpdate) GetClosedHeight() uint32
func (*ClosedChannelUpdate) ProtoMessage ¶
func (*ClosedChannelUpdate) ProtoMessage()
func (*ClosedChannelUpdate) ProtoReflect ¶
func (x *ClosedChannelUpdate) ProtoReflect() protoreflect.Message
func (*ClosedChannelUpdate) Reset ¶
func (x *ClosedChannelUpdate) Reset()
func (*ClosedChannelUpdate) String ¶
func (x *ClosedChannelUpdate) String() string
type ClosedChannelsRequest ¶
type ClosedChannelsRequest struct { Cooperative bool `protobuf:"varint,1,opt,name=cooperative,proto3" json:"cooperative,omitempty"` LocalForce bool `protobuf:"varint,2,opt,name=local_force,json=localForce,proto3" json:"local_force,omitempty"` RemoteForce bool `protobuf:"varint,3,opt,name=remote_force,json=remoteForce,proto3" json:"remote_force,omitempty"` Breach bool `protobuf:"varint,4,opt,name=breach,proto3" json:"breach,omitempty"` FundingCanceled bool `protobuf:"varint,5,opt,name=funding_canceled,json=fundingCanceled,proto3" json:"funding_canceled,omitempty"` Abandoned bool `protobuf:"varint,6,opt,name=abandoned,proto3" json:"abandoned,omitempty"` // contains filtered or unexported fields }
func (*ClosedChannelsRequest) Descriptor
deprecated
func (*ClosedChannelsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ClosedChannelsRequest.ProtoReflect.Descriptor instead.
func (*ClosedChannelsRequest) GetAbandoned ¶
func (x *ClosedChannelsRequest) GetAbandoned() bool
func (*ClosedChannelsRequest) GetBreach ¶
func (x *ClosedChannelsRequest) GetBreach() bool
func (*ClosedChannelsRequest) GetCooperative ¶
func (x *ClosedChannelsRequest) GetCooperative() bool
func (*ClosedChannelsRequest) GetFundingCanceled ¶
func (x *ClosedChannelsRequest) GetFundingCanceled() bool
func (*ClosedChannelsRequest) GetLocalForce ¶
func (x *ClosedChannelsRequest) GetLocalForce() bool
func (*ClosedChannelsRequest) GetRemoteForce ¶
func (x *ClosedChannelsRequest) GetRemoteForce() bool
func (*ClosedChannelsRequest) ProtoMessage ¶
func (*ClosedChannelsRequest) ProtoMessage()
func (*ClosedChannelsRequest) ProtoReflect ¶
func (x *ClosedChannelsRequest) ProtoReflect() protoreflect.Message
func (*ClosedChannelsRequest) Reset ¶
func (x *ClosedChannelsRequest) Reset()
func (*ClosedChannelsRequest) String ¶
func (x *ClosedChannelsRequest) String() string
type ClosedChannelsResponse ¶
type ClosedChannelsResponse struct { Channels []*ChannelCloseSummary `protobuf:"bytes,1,rep,name=channels,proto3" json:"channels,omitempty"` // contains filtered or unexported fields }
func (*ClosedChannelsResponse) Descriptor
deprecated
func (*ClosedChannelsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ClosedChannelsResponse.ProtoReflect.Descriptor instead.
func (*ClosedChannelsResponse) GetChannels ¶
func (x *ClosedChannelsResponse) GetChannels() []*ChannelCloseSummary
func (*ClosedChannelsResponse) ProtoMessage ¶
func (*ClosedChannelsResponse) ProtoMessage()
func (*ClosedChannelsResponse) ProtoReflect ¶
func (x *ClosedChannelsResponse) ProtoReflect() protoreflect.Message
func (*ClosedChannelsResponse) Reset ¶
func (x *ClosedChannelsResponse) Reset()
func (*ClosedChannelsResponse) String ¶
func (x *ClosedChannelsResponse) String() string
type CommitmentType ¶
type CommitmentType int32
const ( // //Returned when the commitment type isn't known or unavailable. CommitmentType_UNKNOWN_COMMITMENT_TYPE CommitmentType = 0 // //A channel using the legacy commitment format having tweaked to_remote //keys. CommitmentType_LEGACY CommitmentType = 1 // //A channel that uses the modern commitment format where the key in the //output of the remote party does not change each state. This makes back //up and recovery easier as when the channel is closed, the funds go //directly to that key. CommitmentType_STATIC_REMOTE_KEY CommitmentType = 2 // //A channel that uses a commitment format that has anchor outputs on the //commitments, allowing fee bumping after a force close transaction has //been broadcast. CommitmentType_ANCHORS CommitmentType = 3 // //A channel that uses a commitment type that builds upon the anchors //commitment format, but in addition requires a CLTV clause to spend outputs //paying to the channel initiator. This is intended for use on leased channels //to guarantee that the channel initiator has no incentives to close a leased //channel before its maturity date. CommitmentType_SCRIPT_ENFORCED_LEASE CommitmentType = 4 )
func (CommitmentType) Descriptor ¶
func (CommitmentType) Descriptor() protoreflect.EnumDescriptor
func (CommitmentType) Enum ¶
func (x CommitmentType) Enum() *CommitmentType
func (CommitmentType) EnumDescriptor
deprecated
func (CommitmentType) EnumDescriptor() ([]byte, []int)
Deprecated: Use CommitmentType.Descriptor instead.
func (CommitmentType) Number ¶
func (x CommitmentType) Number() protoreflect.EnumNumber
func (CommitmentType) String ¶
func (x CommitmentType) String() string
func (CommitmentType) Type ¶
func (CommitmentType) Type() protoreflect.EnumType
type ConfirmationUpdate ¶
type ConfirmationUpdate struct { BlockSha []byte `protobuf:"bytes,1,opt,name=block_sha,json=blockSha,proto3" json:"block_sha,omitempty"` BlockHeight int32 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` NumConfsLeft uint32 `protobuf:"varint,3,opt,name=num_confs_left,json=numConfsLeft,proto3" json:"num_confs_left,omitempty"` // contains filtered or unexported fields }
func (*ConfirmationUpdate) Descriptor
deprecated
func (*ConfirmationUpdate) Descriptor() ([]byte, []int)
Deprecated: Use ConfirmationUpdate.ProtoReflect.Descriptor instead.
func (*ConfirmationUpdate) GetBlockHeight ¶
func (x *ConfirmationUpdate) GetBlockHeight() int32
func (*ConfirmationUpdate) GetBlockSha ¶
func (x *ConfirmationUpdate) GetBlockSha() []byte
func (*ConfirmationUpdate) GetNumConfsLeft ¶
func (x *ConfirmationUpdate) GetNumConfsLeft() uint32
func (*ConfirmationUpdate) ProtoMessage ¶
func (*ConfirmationUpdate) ProtoMessage()
func (*ConfirmationUpdate) ProtoReflect ¶
func (x *ConfirmationUpdate) ProtoReflect() protoreflect.Message
func (*ConfirmationUpdate) Reset ¶
func (x *ConfirmationUpdate) Reset()
func (*ConfirmationUpdate) String ¶
func (x *ConfirmationUpdate) String() string
type ConnectPeerRequest ¶
type ConnectPeerRequest struct { // Lightning address of the peer, in the format `<pubkey>@host` Addr *LightningAddress `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"` // If set, the daemon will attempt to persistently connect to the target // peer. Otherwise, the call will be synchronous. Perm bool `protobuf:"varint,2,opt,name=perm,proto3" json:"perm,omitempty"` // //The connection timeout value (in seconds) for this request. It won't affect //other requests. Timeout uint64 `protobuf:"varint,3,opt,name=timeout,proto3" json:"timeout,omitempty"` // contains filtered or unexported fields }
func (*ConnectPeerRequest) Descriptor
deprecated
func (*ConnectPeerRequest) Descriptor() ([]byte, []int)
Deprecated: Use ConnectPeerRequest.ProtoReflect.Descriptor instead.
func (*ConnectPeerRequest) GetAddr ¶
func (x *ConnectPeerRequest) GetAddr() *LightningAddress
func (*ConnectPeerRequest) GetPerm ¶
func (x *ConnectPeerRequest) GetPerm() bool
func (*ConnectPeerRequest) GetTimeout ¶
func (x *ConnectPeerRequest) GetTimeout() uint64
func (*ConnectPeerRequest) ProtoMessage ¶
func (*ConnectPeerRequest) ProtoMessage()
func (*ConnectPeerRequest) ProtoReflect ¶
func (x *ConnectPeerRequest) ProtoReflect() protoreflect.Message
func (*ConnectPeerRequest) Reset ¶
func (x *ConnectPeerRequest) Reset()
func (*ConnectPeerRequest) String ¶
func (x *ConnectPeerRequest) String() string
type ConnectPeerResponse ¶
type ConnectPeerResponse struct {
// contains filtered or unexported fields
}
func (*ConnectPeerResponse) Descriptor
deprecated
func (*ConnectPeerResponse) Descriptor() ([]byte, []int)
Deprecated: Use ConnectPeerResponse.ProtoReflect.Descriptor instead.
func (*ConnectPeerResponse) ProtoMessage ¶
func (*ConnectPeerResponse) ProtoMessage()
func (*ConnectPeerResponse) ProtoReflect ¶
func (x *ConnectPeerResponse) ProtoReflect() protoreflect.Message
func (*ConnectPeerResponse) Reset ¶
func (x *ConnectPeerResponse) Reset()
func (*ConnectPeerResponse) String ¶
func (x *ConnectPeerResponse) String() string
type CustomMessage ¶
type CustomMessage struct { // Peer from which the message originates Peer []byte `protobuf:"bytes,1,opt,name=peer,proto3" json:"peer,omitempty"` // Message type. This value will be in the custom range (>= 32768). Type uint32 `protobuf:"varint,2,opt,name=type,proto3" json:"type,omitempty"` // Raw message data Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*CustomMessage) Descriptor
deprecated
func (*CustomMessage) Descriptor() ([]byte, []int)
Deprecated: Use CustomMessage.ProtoReflect.Descriptor instead.
func (*CustomMessage) GetData ¶
func (x *CustomMessage) GetData() []byte
func (*CustomMessage) GetPeer ¶
func (x *CustomMessage) GetPeer() []byte
func (*CustomMessage) GetType ¶
func (x *CustomMessage) GetType() uint32
func (*CustomMessage) ProtoMessage ¶
func (*CustomMessage) ProtoMessage()
func (*CustomMessage) ProtoReflect ¶
func (x *CustomMessage) ProtoReflect() protoreflect.Message
func (*CustomMessage) Reset ¶
func (x *CustomMessage) Reset()
func (*CustomMessage) String ¶
func (x *CustomMessage) String() string
type DebugLevelRequest ¶
type DebugLevelRequest struct { Show bool `protobuf:"varint,1,opt,name=show,proto3" json:"show,omitempty"` LevelSpec string `protobuf:"bytes,2,opt,name=level_spec,json=levelSpec,proto3" json:"level_spec,omitempty"` // contains filtered or unexported fields }
func (*DebugLevelRequest) Descriptor
deprecated
func (*DebugLevelRequest) Descriptor() ([]byte, []int)
Deprecated: Use DebugLevelRequest.ProtoReflect.Descriptor instead.
func (*DebugLevelRequest) GetLevelSpec ¶
func (x *DebugLevelRequest) GetLevelSpec() string
func (*DebugLevelRequest) GetShow ¶
func (x *DebugLevelRequest) GetShow() bool
func (*DebugLevelRequest) ProtoMessage ¶
func (*DebugLevelRequest) ProtoMessage()
func (*DebugLevelRequest) ProtoReflect ¶
func (x *DebugLevelRequest) ProtoReflect() protoreflect.Message
func (*DebugLevelRequest) Reset ¶
func (x *DebugLevelRequest) Reset()
func (*DebugLevelRequest) String ¶
func (x *DebugLevelRequest) String() string
type DebugLevelResponse ¶
type DebugLevelResponse struct { SubSystems string `protobuf:"bytes,1,opt,name=sub_systems,json=subSystems,proto3" json:"sub_systems,omitempty"` // contains filtered or unexported fields }
func (*DebugLevelResponse) Descriptor
deprecated
func (*DebugLevelResponse) Descriptor() ([]byte, []int)
Deprecated: Use DebugLevelResponse.ProtoReflect.Descriptor instead.
func (*DebugLevelResponse) GetSubSystems ¶
func (x *DebugLevelResponse) GetSubSystems() string
func (*DebugLevelResponse) ProtoMessage ¶
func (*DebugLevelResponse) ProtoMessage()
func (*DebugLevelResponse) ProtoReflect ¶
func (x *DebugLevelResponse) ProtoReflect() protoreflect.Message
func (*DebugLevelResponse) Reset ¶
func (x *DebugLevelResponse) Reset()
func (*DebugLevelResponse) String ¶
func (x *DebugLevelResponse) String() string
type DeleteAllPaymentsRequest ¶
type DeleteAllPaymentsRequest struct { // Only delete failed payments. FailedPaymentsOnly bool `protobuf:"varint,1,opt,name=failed_payments_only,json=failedPaymentsOnly,proto3" json:"failed_payments_only,omitempty"` // //Only delete failed HTLCs from payments, not the payment itself. FailedHtlcsOnly bool `protobuf:"varint,2,opt,name=failed_htlcs_only,json=failedHtlcsOnly,proto3" json:"failed_htlcs_only,omitempty"` // contains filtered or unexported fields }
func (*DeleteAllPaymentsRequest) Descriptor
deprecated
func (*DeleteAllPaymentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAllPaymentsRequest.ProtoReflect.Descriptor instead.
func (*DeleteAllPaymentsRequest) GetFailedHtlcsOnly ¶
func (x *DeleteAllPaymentsRequest) GetFailedHtlcsOnly() bool
func (*DeleteAllPaymentsRequest) GetFailedPaymentsOnly ¶
func (x *DeleteAllPaymentsRequest) GetFailedPaymentsOnly() bool
func (*DeleteAllPaymentsRequest) ProtoMessage ¶
func (*DeleteAllPaymentsRequest) ProtoMessage()
func (*DeleteAllPaymentsRequest) ProtoReflect ¶
func (x *DeleteAllPaymentsRequest) ProtoReflect() protoreflect.Message
func (*DeleteAllPaymentsRequest) Reset ¶
func (x *DeleteAllPaymentsRequest) Reset()
func (*DeleteAllPaymentsRequest) String ¶
func (x *DeleteAllPaymentsRequest) String() string
type DeleteAllPaymentsResponse ¶
type DeleteAllPaymentsResponse struct {
// contains filtered or unexported fields
}
func (*DeleteAllPaymentsResponse) Descriptor
deprecated
func (*DeleteAllPaymentsResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAllPaymentsResponse.ProtoReflect.Descriptor instead.
func (*DeleteAllPaymentsResponse) ProtoMessage ¶
func (*DeleteAllPaymentsResponse) ProtoMessage()
func (*DeleteAllPaymentsResponse) ProtoReflect ¶
func (x *DeleteAllPaymentsResponse) ProtoReflect() protoreflect.Message
func (*DeleteAllPaymentsResponse) Reset ¶
func (x *DeleteAllPaymentsResponse) Reset()
func (*DeleteAllPaymentsResponse) String ¶
func (x *DeleteAllPaymentsResponse) String() string
type DeleteMacaroonIDRequest ¶
type DeleteMacaroonIDRequest struct { // The root key ID to be removed. RootKeyId uint64 `protobuf:"varint,1,opt,name=root_key_id,json=rootKeyId,proto3" json:"root_key_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteMacaroonIDRequest) Descriptor
deprecated
func (*DeleteMacaroonIDRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteMacaroonIDRequest.ProtoReflect.Descriptor instead.
func (*DeleteMacaroonIDRequest) GetRootKeyId ¶
func (x *DeleteMacaroonIDRequest) GetRootKeyId() uint64
func (*DeleteMacaroonIDRequest) ProtoMessage ¶
func (*DeleteMacaroonIDRequest) ProtoMessage()
func (*DeleteMacaroonIDRequest) ProtoReflect ¶
func (x *DeleteMacaroonIDRequest) ProtoReflect() protoreflect.Message
func (*DeleteMacaroonIDRequest) Reset ¶
func (x *DeleteMacaroonIDRequest) Reset()
func (*DeleteMacaroonIDRequest) String ¶
func (x *DeleteMacaroonIDRequest) String() string
type DeleteMacaroonIDResponse ¶
type DeleteMacaroonIDResponse struct { // A boolean indicates that the deletion is successful. Deleted bool `protobuf:"varint,1,opt,name=deleted,proto3" json:"deleted,omitempty"` // contains filtered or unexported fields }
func (*DeleteMacaroonIDResponse) Descriptor
deprecated
func (*DeleteMacaroonIDResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteMacaroonIDResponse.ProtoReflect.Descriptor instead.
func (*DeleteMacaroonIDResponse) GetDeleted ¶
func (x *DeleteMacaroonIDResponse) GetDeleted() bool
func (*DeleteMacaroonIDResponse) ProtoMessage ¶
func (*DeleteMacaroonIDResponse) ProtoMessage()
func (*DeleteMacaroonIDResponse) ProtoReflect ¶
func (x *DeleteMacaroonIDResponse) ProtoReflect() protoreflect.Message
func (*DeleteMacaroonIDResponse) Reset ¶
func (x *DeleteMacaroonIDResponse) Reset()
func (*DeleteMacaroonIDResponse) String ¶
func (x *DeleteMacaroonIDResponse) String() string
type DeletePaymentRequest ¶
type DeletePaymentRequest struct { // Payment hash to delete. PaymentHash []byte `protobuf:"bytes,1,opt,name=payment_hash,json=paymentHash,proto3" json:"payment_hash,omitempty"` // //Only delete failed HTLCs from the payment, not the payment itself. FailedHtlcsOnly bool `protobuf:"varint,2,opt,name=failed_htlcs_only,json=failedHtlcsOnly,proto3" json:"failed_htlcs_only,omitempty"` // contains filtered or unexported fields }
func (*DeletePaymentRequest) Descriptor
deprecated
func (*DeletePaymentRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeletePaymentRequest.ProtoReflect.Descriptor instead.
func (*DeletePaymentRequest) GetFailedHtlcsOnly ¶
func (x *DeletePaymentRequest) GetFailedHtlcsOnly() bool
func (*DeletePaymentRequest) GetPaymentHash ¶
func (x *DeletePaymentRequest) GetPaymentHash() []byte
func (*DeletePaymentRequest) ProtoMessage ¶
func (*DeletePaymentRequest) ProtoMessage()
func (*DeletePaymentRequest) ProtoReflect ¶
func (x *DeletePaymentRequest) ProtoReflect() protoreflect.Message
func (*DeletePaymentRequest) Reset ¶
func (x *DeletePaymentRequest) Reset()
func (*DeletePaymentRequest) String ¶
func (x *DeletePaymentRequest) String() string
type DeletePaymentResponse ¶
type DeletePaymentResponse struct {
// contains filtered or unexported fields
}
func (*DeletePaymentResponse) Descriptor
deprecated
func (*DeletePaymentResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeletePaymentResponse.ProtoReflect.Descriptor instead.
func (*DeletePaymentResponse) ProtoMessage ¶
func (*DeletePaymentResponse) ProtoMessage()
func (*DeletePaymentResponse) ProtoReflect ¶
func (x *DeletePaymentResponse) ProtoReflect() protoreflect.Message
func (*DeletePaymentResponse) Reset ¶
func (x *DeletePaymentResponse) Reset()
func (*DeletePaymentResponse) String ¶
func (x *DeletePaymentResponse) String() string
type DisconnectPeerRequest ¶
type DisconnectPeerRequest struct { // The pubkey of the node to disconnect from PubKey string `protobuf:"bytes,1,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"` // contains filtered or unexported fields }
func (*DisconnectPeerRequest) Descriptor
deprecated
func (*DisconnectPeerRequest) Descriptor() ([]byte, []int)
Deprecated: Use DisconnectPeerRequest.ProtoReflect.Descriptor instead.
func (*DisconnectPeerRequest) GetPubKey ¶
func (x *DisconnectPeerRequest) GetPubKey() string
func (*DisconnectPeerRequest) ProtoMessage ¶
func (*DisconnectPeerRequest) ProtoMessage()
func (*DisconnectPeerRequest) ProtoReflect ¶
func (x *DisconnectPeerRequest) ProtoReflect() protoreflect.Message
func (*DisconnectPeerRequest) Reset ¶
func (x *DisconnectPeerRequest) Reset()
func (*DisconnectPeerRequest) String ¶
func (x *DisconnectPeerRequest) String() string
type DisconnectPeerResponse ¶
type DisconnectPeerResponse struct {
// contains filtered or unexported fields
}
func (*DisconnectPeerResponse) Descriptor
deprecated
func (*DisconnectPeerResponse) Descriptor() ([]byte, []int)
Deprecated: Use DisconnectPeerResponse.ProtoReflect.Descriptor instead.
func (*DisconnectPeerResponse) ProtoMessage ¶
func (*DisconnectPeerResponse) ProtoMessage()
func (*DisconnectPeerResponse) ProtoReflect ¶
func (x *DisconnectPeerResponse) ProtoReflect() protoreflect.Message
func (*DisconnectPeerResponse) Reset ¶
func (x *DisconnectPeerResponse) Reset()
func (*DisconnectPeerResponse) String ¶
func (x *DisconnectPeerResponse) String() string
type EdgeLocator ¶
type EdgeLocator struct { // The short channel id of this edge. ChannelId uint64 `protobuf:"varint,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` // //The direction of this edge. If direction_reverse is false, the direction //of this edge is from the channel endpoint with the lexicographically smaller //pub key to the endpoint with the larger pub key. If direction_reverse is //is true, the edge goes the other way. DirectionReverse bool `protobuf:"varint,2,opt,name=direction_reverse,json=directionReverse,proto3" json:"direction_reverse,omitempty"` // contains filtered or unexported fields }
func (*EdgeLocator) Descriptor
deprecated
func (*EdgeLocator) Descriptor() ([]byte, []int)
Deprecated: Use EdgeLocator.ProtoReflect.Descriptor instead.
func (*EdgeLocator) GetChannelId ¶
func (x *EdgeLocator) GetChannelId() uint64
func (*EdgeLocator) GetDirectionReverse ¶
func (x *EdgeLocator) GetDirectionReverse() bool
func (*EdgeLocator) ProtoMessage ¶
func (*EdgeLocator) ProtoMessage()
func (*EdgeLocator) ProtoReflect ¶
func (x *EdgeLocator) ProtoReflect() protoreflect.Message
func (*EdgeLocator) Reset ¶
func (x *EdgeLocator) Reset()
func (*EdgeLocator) String ¶
func (x *EdgeLocator) String() string
type EstimateFeeRequest ¶
type EstimateFeeRequest struct { // The map from addresses to amounts for the transaction. AddrToAmount map[string]int64 `` /* 166-byte string literal not displayed */ // The target number of blocks that this transaction should be confirmed // by. TargetConf int32 `protobuf:"varint,2,opt,name=target_conf,json=targetConf,proto3" json:"target_conf,omitempty"` // The minimum number of confirmations each one of your outputs used for // the transaction must satisfy. MinConfs int32 `protobuf:"varint,3,opt,name=min_confs,json=minConfs,proto3" json:"min_confs,omitempty"` // Whether unconfirmed outputs should be used as inputs for the transaction. SpendUnconfirmed bool `protobuf:"varint,4,opt,name=spend_unconfirmed,json=spendUnconfirmed,proto3" json:"spend_unconfirmed,omitempty"` // contains filtered or unexported fields }
func (*EstimateFeeRequest) Descriptor
deprecated
func (*EstimateFeeRequest) Descriptor() ([]byte, []int)
Deprecated: Use EstimateFeeRequest.ProtoReflect.Descriptor instead.
func (*EstimateFeeRequest) GetAddrToAmount ¶
func (x *EstimateFeeRequest) GetAddrToAmount() map[string]int64
func (*EstimateFeeRequest) GetMinConfs ¶
func (x *EstimateFeeRequest) GetMinConfs() int32
func (*EstimateFeeRequest) GetSpendUnconfirmed ¶
func (x *EstimateFeeRequest) GetSpendUnconfirmed() bool
func (*EstimateFeeRequest) GetTargetConf ¶
func (x *EstimateFeeRequest) GetTargetConf() int32
func (*EstimateFeeRequest) ProtoMessage ¶
func (*EstimateFeeRequest) ProtoMessage()
func (*EstimateFeeRequest) ProtoReflect ¶
func (x *EstimateFeeRequest) ProtoReflect() protoreflect.Message
func (*EstimateFeeRequest) Reset ¶
func (x *EstimateFeeRequest) Reset()
func (*EstimateFeeRequest) String ¶
func (x *EstimateFeeRequest) String() string
type EstimateFeeResponse ¶
type EstimateFeeResponse struct { // The total fee in satoshis. FeeSat int64 `protobuf:"varint,1,opt,name=fee_sat,json=feeSat,proto3" json:"fee_sat,omitempty"` // Deprecated, use sat_per_vbyte. // The fee rate in satoshi/vbyte. // // Deprecated: Do not use. FeerateSatPerByte int64 `protobuf:"varint,2,opt,name=feerate_sat_per_byte,json=feerateSatPerByte,proto3" json:"feerate_sat_per_byte,omitempty"` // The fee rate in satoshi/vbyte. SatPerVbyte uint64 `protobuf:"varint,3,opt,name=sat_per_vbyte,json=satPerVbyte,proto3" json:"sat_per_vbyte,omitempty"` // contains filtered or unexported fields }
func (*EstimateFeeResponse) Descriptor
deprecated
func (*EstimateFeeResponse) Descriptor() ([]byte, []int)
Deprecated: Use EstimateFeeResponse.ProtoReflect.Descriptor instead.
func (*EstimateFeeResponse) GetFeeSat ¶
func (x *EstimateFeeResponse) GetFeeSat() int64
func (*EstimateFeeResponse) GetFeerateSatPerByte
deprecated
func (x *EstimateFeeResponse) GetFeerateSatPerByte() int64
Deprecated: Do not use.
func (*EstimateFeeResponse) GetSatPerVbyte ¶
func (x *EstimateFeeResponse) GetSatPerVbyte() uint64
func (*EstimateFeeResponse) ProtoMessage ¶
func (*EstimateFeeResponse) ProtoMessage()
func (*EstimateFeeResponse) ProtoReflect ¶
func (x *EstimateFeeResponse) ProtoReflect() protoreflect.Message
func (*EstimateFeeResponse) Reset ¶
func (x *EstimateFeeResponse) Reset()
func (*EstimateFeeResponse) String ¶
func (x *EstimateFeeResponse) String() string
type ExportChannelBackupRequest ¶
type ExportChannelBackupRequest struct { // The target channel point to obtain a back up for. ChanPoint *ChannelPoint `protobuf:"bytes,1,opt,name=chan_point,json=chanPoint,proto3" json:"chan_point,omitempty"` // contains filtered or unexported fields }
func (*ExportChannelBackupRequest) Descriptor
deprecated
func (*ExportChannelBackupRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExportChannelBackupRequest.ProtoReflect.Descriptor instead.
func (*ExportChannelBackupRequest) GetChanPoint ¶
func (x *ExportChannelBackupRequest) GetChanPoint() *ChannelPoint
func (*ExportChannelBackupRequest) ProtoMessage ¶
func (*ExportChannelBackupRequest) ProtoMessage()
func (*ExportChannelBackupRequest) ProtoReflect ¶
func (x *ExportChannelBackupRequest) ProtoReflect() protoreflect.Message
func (*ExportChannelBackupRequest) Reset ¶
func (x *ExportChannelBackupRequest) Reset()
func (*ExportChannelBackupRequest) String ¶
func (x *ExportChannelBackupRequest) String() string
type FailedUpdate ¶
type FailedUpdate struct { // The outpoint in format txid:n Outpoint *OutPoint `protobuf:"bytes,1,opt,name=outpoint,proto3" json:"outpoint,omitempty"` // Reason for the policy update failure. Reason UpdateFailure `protobuf:"varint,2,opt,name=reason,proto3,enum=lnrpc.UpdateFailure" json:"reason,omitempty"` // A string representation of the policy update error. UpdateError string `protobuf:"bytes,3,opt,name=update_error,json=updateError,proto3" json:"update_error,omitempty"` // contains filtered or unexported fields }
func (*FailedUpdate) Descriptor
deprecated
func (*FailedUpdate) Descriptor() ([]byte, []int)
Deprecated: Use FailedUpdate.ProtoReflect.Descriptor instead.
func (*FailedUpdate) GetOutpoint ¶
func (x *FailedUpdate) GetOutpoint() *OutPoint
func (*FailedUpdate) GetReason ¶
func (x *FailedUpdate) GetReason() UpdateFailure
func (*FailedUpdate) GetUpdateError ¶
func (x *FailedUpdate) GetUpdateError() string
func (*FailedUpdate) ProtoMessage ¶
func (*FailedUpdate) ProtoMessage()
func (*FailedUpdate) ProtoReflect ¶
func (x *FailedUpdate) ProtoReflect() protoreflect.Message
func (*FailedUpdate) Reset ¶
func (x *FailedUpdate) Reset()
func (*FailedUpdate) String ¶
func (x *FailedUpdate) String() string
type Failure ¶
type Failure struct { // Failure code as defined in the Lightning spec Code Failure_FailureCode `protobuf:"varint,1,opt,name=code,proto3,enum=lnrpc.Failure_FailureCode" json:"code,omitempty"` // An optional channel update message. ChannelUpdate *ChannelUpdate `protobuf:"bytes,3,opt,name=channel_update,json=channelUpdate,proto3" json:"channel_update,omitempty"` // A failure type-dependent htlc value. HtlcMsat uint64 `protobuf:"varint,4,opt,name=htlc_msat,json=htlcMsat,proto3" json:"htlc_msat,omitempty"` // The sha256 sum of the onion payload. OnionSha_256 []byte `protobuf:"bytes,5,opt,name=onion_sha_256,json=onionSha256,proto3" json:"onion_sha_256,omitempty"` // A failure type-dependent cltv expiry value. CltvExpiry uint32 `protobuf:"varint,6,opt,name=cltv_expiry,json=cltvExpiry,proto3" json:"cltv_expiry,omitempty"` // A failure type-dependent flags value. Flags uint32 `protobuf:"varint,7,opt,name=flags,proto3" json:"flags,omitempty"` // //The position in the path of the intermediate or final node that generated //the failure message. Position zero is the sender node. FailureSourceIndex uint32 `protobuf:"varint,8,opt,name=failure_source_index,json=failureSourceIndex,proto3" json:"failure_source_index,omitempty"` // A failure type-dependent block height. Height uint32 `protobuf:"varint,9,opt,name=height,proto3" json:"height,omitempty"` // contains filtered or unexported fields }
func (*Failure) Descriptor
deprecated
func (*Failure) GetChannelUpdate ¶
func (x *Failure) GetChannelUpdate() *ChannelUpdate
func (*Failure) GetCltvExpiry ¶
func (*Failure) GetCode ¶
func (x *Failure) GetCode() Failure_FailureCode
func (*Failure) GetFailureSourceIndex ¶
func (*Failure) GetHtlcMsat ¶
func (*Failure) GetOnionSha_256 ¶
func (*Failure) ProtoMessage ¶
func (*Failure) ProtoMessage()
func (*Failure) ProtoReflect ¶
func (x *Failure) ProtoReflect() protoreflect.Message
type Failure_FailureCode ¶
type Failure_FailureCode int32
const ( // //The numbers assigned in this enumeration match the failure codes as //defined in BOLT #4. Because protobuf 3 requires enums to start with 0, //a RESERVED value is added. Failure_RESERVED Failure_FailureCode = 0 Failure_INCORRECT_OR_UNKNOWN_PAYMENT_DETAILS Failure_FailureCode = 1 Failure_INCORRECT_PAYMENT_AMOUNT Failure_FailureCode = 2 Failure_FINAL_INCORRECT_CLTV_EXPIRY Failure_FailureCode = 3 Failure_FINAL_INCORRECT_HTLC_AMOUNT Failure_FailureCode = 4 Failure_FINAL_EXPIRY_TOO_SOON Failure_FailureCode = 5 Failure_INVALID_REALM Failure_FailureCode = 6 Failure_EXPIRY_TOO_SOON Failure_FailureCode = 7 Failure_INVALID_ONION_VERSION Failure_FailureCode = 8 Failure_INVALID_ONION_HMAC Failure_FailureCode = 9 Failure_INVALID_ONION_KEY Failure_FailureCode = 10 Failure_AMOUNT_BELOW_MINIMUM Failure_FailureCode = 11 Failure_FEE_INSUFFICIENT Failure_FailureCode = 12 Failure_INCORRECT_CLTV_EXPIRY Failure_FailureCode = 13 Failure_CHANNEL_DISABLED Failure_FailureCode = 14 Failure_TEMPORARY_CHANNEL_FAILURE Failure_FailureCode = 15 Failure_REQUIRED_NODE_FEATURE_MISSING Failure_FailureCode = 16 Failure_REQUIRED_CHANNEL_FEATURE_MISSING Failure_FailureCode = 17 Failure_UNKNOWN_NEXT_PEER Failure_FailureCode = 18 Failure_TEMPORARY_NODE_FAILURE Failure_FailureCode = 19 Failure_PERMANENT_NODE_FAILURE Failure_FailureCode = 20 Failure_PERMANENT_CHANNEL_FAILURE Failure_FailureCode = 21 Failure_EXPIRY_TOO_FAR Failure_FailureCode = 22 Failure_MPP_TIMEOUT Failure_FailureCode = 23 Failure_INVALID_ONION_PAYLOAD Failure_FailureCode = 24 // //An internal error occurred. Failure_INTERNAL_FAILURE Failure_FailureCode = 997 // //The error source is known, but the failure itself couldn't be decoded. Failure_UNKNOWN_FAILURE Failure_FailureCode = 998 // //An unreadable failure result is returned if the received failure message //cannot be decrypted. In that case the error source is unknown. Failure_UNREADABLE_FAILURE Failure_FailureCode = 999 )
func (Failure_FailureCode) Descriptor ¶
func (Failure_FailureCode) Descriptor() protoreflect.EnumDescriptor
func (Failure_FailureCode) Enum ¶
func (x Failure_FailureCode) Enum() *Failure_FailureCode
func (Failure_FailureCode) EnumDescriptor
deprecated
func (Failure_FailureCode) EnumDescriptor() ([]byte, []int)
Deprecated: Use Failure_FailureCode.Descriptor instead.
func (Failure_FailureCode) Number ¶
func (x Failure_FailureCode) Number() protoreflect.EnumNumber
func (Failure_FailureCode) String ¶
func (x Failure_FailureCode) String() string
func (Failure_FailureCode) Type ¶
func (Failure_FailureCode) Type() protoreflect.EnumType
type Feature ¶
type Feature struct { Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` IsRequired bool `protobuf:"varint,3,opt,name=is_required,json=isRequired,proto3" json:"is_required,omitempty"` IsKnown bool `protobuf:"varint,4,opt,name=is_known,json=isKnown,proto3" json:"is_known,omitempty"` // contains filtered or unexported fields }
func (*Feature) Descriptor
deprecated
func (*Feature) GetIsKnown ¶
func (*Feature) GetIsRequired ¶
func (*Feature) ProtoMessage ¶
func (*Feature) ProtoMessage()
func (*Feature) ProtoReflect ¶
func (x *Feature) ProtoReflect() protoreflect.Message
type FeatureBit ¶
type FeatureBit int32
const ( FeatureBit_DATALOSS_PROTECT_REQ FeatureBit = 0 FeatureBit_DATALOSS_PROTECT_OPT FeatureBit = 1 FeatureBit_INITIAL_ROUING_SYNC FeatureBit = 3 FeatureBit_UPFRONT_SHUTDOWN_SCRIPT_REQ FeatureBit = 4 FeatureBit_UPFRONT_SHUTDOWN_SCRIPT_OPT FeatureBit = 5 FeatureBit_GOSSIP_QUERIES_REQ FeatureBit = 6 FeatureBit_GOSSIP_QUERIES_OPT FeatureBit = 7 FeatureBit_TLV_ONION_REQ FeatureBit = 8 FeatureBit_TLV_ONION_OPT FeatureBit = 9 FeatureBit_EXT_GOSSIP_QUERIES_REQ FeatureBit = 10 FeatureBit_EXT_GOSSIP_QUERIES_OPT FeatureBit = 11 FeatureBit_STATIC_REMOTE_KEY_REQ FeatureBit = 12 FeatureBit_STATIC_REMOTE_KEY_OPT FeatureBit = 13 FeatureBit_PAYMENT_ADDR_REQ FeatureBit = 14 FeatureBit_PAYMENT_ADDR_OPT FeatureBit = 15 FeatureBit_MPP_REQ FeatureBit = 16 FeatureBit_MPP_OPT FeatureBit = 17 FeatureBit_WUMBO_CHANNELS_REQ FeatureBit = 18 FeatureBit_WUMBO_CHANNELS_OPT FeatureBit = 19 FeatureBit_ANCHORS_REQ FeatureBit = 20 FeatureBit_ANCHORS_OPT FeatureBit = 21 FeatureBit_ANCHORS_ZERO_FEE_HTLC_REQ FeatureBit = 22 FeatureBit_ANCHORS_ZERO_FEE_HTLC_OPT FeatureBit = 23 FeatureBit_AMP_REQ FeatureBit = 30 FeatureBit_AMP_OPT FeatureBit = 31 )
func (FeatureBit) Descriptor ¶
func (FeatureBit) Descriptor() protoreflect.EnumDescriptor
func (FeatureBit) Enum ¶
func (x FeatureBit) Enum() *FeatureBit
func (FeatureBit) EnumDescriptor
deprecated
func (FeatureBit) EnumDescriptor() ([]byte, []int)
Deprecated: Use FeatureBit.Descriptor instead.
func (FeatureBit) Number ¶
func (x FeatureBit) Number() protoreflect.EnumNumber
func (FeatureBit) String ¶
func (x FeatureBit) String() string
func (FeatureBit) Type ¶
func (FeatureBit) Type() protoreflect.EnumType
type FeeLimit ¶
type FeeLimit struct { // Types that are assignable to Limit: // *FeeLimit_Fixed // *FeeLimit_FixedMsat // *FeeLimit_Percent Limit isFeeLimit_Limit `protobuf_oneof:"limit"` // contains filtered or unexported fields }
func (*FeeLimit) Descriptor
deprecated
func (*FeeLimit) GetFixedMsat ¶
func (*FeeLimit) GetPercent ¶
func (*FeeLimit) ProtoMessage ¶
func (*FeeLimit) ProtoMessage()
func (*FeeLimit) ProtoReflect ¶
func (x *FeeLimit) ProtoReflect() protoreflect.Message
type FeeLimit_Fixed ¶
type FeeLimit_Fixed struct { // //The fee limit expressed as a fixed amount of satoshis. // //The fields fixed and fixed_msat are mutually exclusive. Fixed int64 `protobuf:"varint,1,opt,name=fixed,proto3,oneof"` }
type FeeLimit_FixedMsat ¶
type FeeLimit_FixedMsat struct { // //The fee limit expressed as a fixed amount of millisatoshis. // //The fields fixed and fixed_msat are mutually exclusive. FixedMsat int64 `protobuf:"varint,3,opt,name=fixed_msat,json=fixedMsat,proto3,oneof"` }
type FeeLimit_Percent ¶
type FeeLimit_Percent struct { // The fee limit expressed as a percentage of the payment amount. Percent int64 `protobuf:"varint,2,opt,name=percent,proto3,oneof"` }
type FeeReportRequest ¶
type FeeReportRequest struct {
// contains filtered or unexported fields
}
func (*FeeReportRequest) Descriptor
deprecated
func (*FeeReportRequest) Descriptor() ([]byte, []int)
Deprecated: Use FeeReportRequest.ProtoReflect.Descriptor instead.
func (*FeeReportRequest) ProtoMessage ¶
func (*FeeReportRequest) ProtoMessage()
func (*FeeReportRequest) ProtoReflect ¶
func (x *FeeReportRequest) ProtoReflect() protoreflect.Message
func (*FeeReportRequest) Reset ¶
func (x *FeeReportRequest) Reset()
func (*FeeReportRequest) String ¶
func (x *FeeReportRequest) String() string
type FeeReportResponse ¶
type FeeReportResponse struct { // An array of channel fee reports which describes the current fee schedule // for each channel. ChannelFees []*ChannelFeeReport `protobuf:"bytes,1,rep,name=channel_fees,json=channelFees,proto3" json:"channel_fees,omitempty"` // The total amount of fee revenue (in satoshis) the switch has collected // over the past 24 hrs. DayFeeSum uint64 `protobuf:"varint,2,opt,name=day_fee_sum,json=dayFeeSum,proto3" json:"day_fee_sum,omitempty"` // The total amount of fee revenue (in satoshis) the switch has collected // over the past 1 week. WeekFeeSum uint64 `protobuf:"varint,3,opt,name=week_fee_sum,json=weekFeeSum,proto3" json:"week_fee_sum,omitempty"` // The total amount of fee revenue (in satoshis) the switch has collected // over the past 1 month. MonthFeeSum uint64 `protobuf:"varint,4,opt,name=month_fee_sum,json=monthFeeSum,proto3" json:"month_fee_sum,omitempty"` // contains filtered or unexported fields }
func (*FeeReportResponse) Descriptor
deprecated
func (*FeeReportResponse) Descriptor() ([]byte, []int)
Deprecated: Use FeeReportResponse.ProtoReflect.Descriptor instead.
func (*FeeReportResponse) GetChannelFees ¶
func (x *FeeReportResponse) GetChannelFees() []*ChannelFeeReport
func (*FeeReportResponse) GetDayFeeSum ¶
func (x *FeeReportResponse) GetDayFeeSum() uint64
func (*FeeReportResponse) GetMonthFeeSum ¶
func (x *FeeReportResponse) GetMonthFeeSum() uint64
func (*FeeReportResponse) GetWeekFeeSum ¶
func (x *FeeReportResponse) GetWeekFeeSum() uint64
func (*FeeReportResponse) ProtoMessage ¶
func (*FeeReportResponse) ProtoMessage()
func (*FeeReportResponse) ProtoReflect ¶
func (x *FeeReportResponse) ProtoReflect() protoreflect.Message
func (*FeeReportResponse) Reset ¶
func (x *FeeReportResponse) Reset()
func (*FeeReportResponse) String ¶
func (x *FeeReportResponse) String() string
type FloatMetric ¶
type FloatMetric struct { // Arbitrary float value. Value float64 `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"` // The value normalized to [0,1] or [-1,1]. NormalizedValue float64 `protobuf:"fixed64,2,opt,name=normalized_value,json=normalizedValue,proto3" json:"normalized_value,omitempty"` // contains filtered or unexported fields }
func (*FloatMetric) Descriptor
deprecated
func (*FloatMetric) Descriptor() ([]byte, []int)
Deprecated: Use FloatMetric.ProtoReflect.Descriptor instead.
func (*FloatMetric) GetNormalizedValue ¶
func (x *FloatMetric) GetNormalizedValue() float64
func (*FloatMetric) GetValue ¶
func (x *FloatMetric) GetValue() float64
func (*FloatMetric) ProtoMessage ¶
func (*FloatMetric) ProtoMessage()
func (*FloatMetric) ProtoReflect ¶
func (x *FloatMetric) ProtoReflect() protoreflect.Message
func (*FloatMetric) Reset ¶
func (x *FloatMetric) Reset()
func (*FloatMetric) String ¶
func (x *FloatMetric) String() string
type ForwardingEvent ¶
type ForwardingEvent struct { // Timestamp is the time (unix epoch offset) that this circuit was // completed. Deprecated by timestamp_ns. // // Deprecated: Do not use. Timestamp uint64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // The incoming channel ID that carried the HTLC that created the circuit. ChanIdIn uint64 `protobuf:"varint,2,opt,name=chan_id_in,json=chanIdIn,proto3" json:"chan_id_in,omitempty"` // The outgoing channel ID that carried the preimage that completed the // circuit. ChanIdOut uint64 `protobuf:"varint,4,opt,name=chan_id_out,json=chanIdOut,proto3" json:"chan_id_out,omitempty"` // The total amount (in satoshis) of the incoming HTLC that created half // the circuit. AmtIn uint64 `protobuf:"varint,5,opt,name=amt_in,json=amtIn,proto3" json:"amt_in,omitempty"` // The total amount (in satoshis) of the outgoing HTLC that created the // second half of the circuit. AmtOut uint64 `protobuf:"varint,6,opt,name=amt_out,json=amtOut,proto3" json:"amt_out,omitempty"` // The total fee (in satoshis) that this payment circuit carried. Fee uint64 `protobuf:"varint,7,opt,name=fee,proto3" json:"fee,omitempty"` // The total fee (in milli-satoshis) that this payment circuit carried. FeeMsat uint64 `protobuf:"varint,8,opt,name=fee_msat,json=feeMsat,proto3" json:"fee_msat,omitempty"` // The total amount (in milli-satoshis) of the incoming HTLC that created // half the circuit. AmtInMsat uint64 `protobuf:"varint,9,opt,name=amt_in_msat,json=amtInMsat,proto3" json:"amt_in_msat,omitempty"` // The total amount (in milli-satoshis) of the outgoing HTLC that created // the second half of the circuit. AmtOutMsat uint64 `protobuf:"varint,10,opt,name=amt_out_msat,json=amtOutMsat,proto3" json:"amt_out_msat,omitempty"` // The number of nanoseconds elapsed since January 1, 1970 UTC when this // circuit was completed. TimestampNs uint64 `protobuf:"varint,11,opt,name=timestamp_ns,json=timestampNs,proto3" json:"timestamp_ns,omitempty"` // contains filtered or unexported fields }
func (*ForwardingEvent) Descriptor
deprecated
func (*ForwardingEvent) Descriptor() ([]byte, []int)
Deprecated: Use ForwardingEvent.ProtoReflect.Descriptor instead.
func (*ForwardingEvent) GetAmtIn ¶
func (x *ForwardingEvent) GetAmtIn() uint64
func (*ForwardingEvent) GetAmtInMsat ¶
func (x *ForwardingEvent) GetAmtInMsat() uint64
func (*ForwardingEvent) GetAmtOut ¶
func (x *ForwardingEvent) GetAmtOut() uint64
func (*ForwardingEvent) GetAmtOutMsat ¶
func (x *ForwardingEvent) GetAmtOutMsat() uint64
func (*ForwardingEvent) GetChanIdIn ¶
func (x *ForwardingEvent) GetChanIdIn() uint64
func (*ForwardingEvent) GetChanIdOut ¶
func (x *ForwardingEvent) GetChanIdOut() uint64
func (*ForwardingEvent) GetFee ¶
func (x *ForwardingEvent) GetFee() uint64
func (*ForwardingEvent) GetFeeMsat ¶
func (x *ForwardingEvent) GetFeeMsat() uint64
func (*ForwardingEvent) GetTimestamp
deprecated
func (x *ForwardingEvent) GetTimestamp() uint64
Deprecated: Do not use.
func (*ForwardingEvent) GetTimestampNs ¶
func (x *ForwardingEvent) GetTimestampNs() uint64
func (*ForwardingEvent) ProtoMessage ¶
func (*ForwardingEvent) ProtoMessage()
func (*ForwardingEvent) ProtoReflect ¶
func (x *ForwardingEvent) ProtoReflect() protoreflect.Message
func (*ForwardingEvent) Reset ¶
func (x *ForwardingEvent) Reset()
func (*ForwardingEvent) String ¶
func (x *ForwardingEvent) String() string
type ForwardingHistoryRequest ¶
type ForwardingHistoryRequest struct { // Start time is the starting point of the forwarding history request. All // records beyond this point will be included, respecting the end time, and // the index offset. StartTime uint64 `protobuf:"varint,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // End time is the end point of the forwarding history request. The // response will carry at most 50k records between the start time and the // end time. The index offset can be used to implement pagination. EndTime uint64 `protobuf:"varint,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // Index offset is the offset in the time series to start at. As each // response can only contain 50k records, callers can use this to skip // around within a packed time series. IndexOffset uint32 `protobuf:"varint,3,opt,name=index_offset,json=indexOffset,proto3" json:"index_offset,omitempty"` // The max number of events to return in the response to this query. NumMaxEvents uint32 `protobuf:"varint,4,opt,name=num_max_events,json=numMaxEvents,proto3" json:"num_max_events,omitempty"` // contains filtered or unexported fields }
func (*ForwardingHistoryRequest) Descriptor
deprecated
func (*ForwardingHistoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use ForwardingHistoryRequest.ProtoReflect.Descriptor instead.
func (*ForwardingHistoryRequest) GetEndTime ¶
func (x *ForwardingHistoryRequest) GetEndTime() uint64
func (*ForwardingHistoryRequest) GetIndexOffset ¶
func (x *ForwardingHistoryRequest) GetIndexOffset() uint32
func (*ForwardingHistoryRequest) GetNumMaxEvents ¶
func (x *ForwardingHistoryRequest) GetNumMaxEvents() uint32
func (*ForwardingHistoryRequest) GetStartTime ¶
func (x *ForwardingHistoryRequest) GetStartTime() uint64
func (*ForwardingHistoryRequest) ProtoMessage ¶
func (*ForwardingHistoryRequest) ProtoMessage()
func (*ForwardingHistoryRequest) ProtoReflect ¶
func (x *ForwardingHistoryRequest) ProtoReflect() protoreflect.Message
func (*ForwardingHistoryRequest) Reset ¶
func (x *ForwardingHistoryRequest) Reset()
func (*ForwardingHistoryRequest) String ¶
func (x *ForwardingHistoryRequest) String() string
type ForwardingHistoryResponse ¶
type ForwardingHistoryResponse struct { // A list of forwarding events from the time slice of the time series // specified in the request. ForwardingEvents []*ForwardingEvent `protobuf:"bytes,1,rep,name=forwarding_events,json=forwardingEvents,proto3" json:"forwarding_events,omitempty"` // The index of the last time in the set of returned forwarding events. Can // be used to seek further, pagination style. LastOffsetIndex uint32 `protobuf:"varint,2,opt,name=last_offset_index,json=lastOffsetIndex,proto3" json:"last_offset_index,omitempty"` // contains filtered or unexported fields }
func (*ForwardingHistoryResponse) Descriptor
deprecated
func (*ForwardingHistoryResponse) Descriptor() ([]byte, []int)
Deprecated: Use ForwardingHistoryResponse.ProtoReflect.Descriptor instead.
func (*ForwardingHistoryResponse) GetForwardingEvents ¶
func (x *ForwardingHistoryResponse) GetForwardingEvents() []*ForwardingEvent
func (*ForwardingHistoryResponse) GetLastOffsetIndex ¶
func (x *ForwardingHistoryResponse) GetLastOffsetIndex() uint32
func (*ForwardingHistoryResponse) ProtoMessage ¶
func (*ForwardingHistoryResponse) ProtoMessage()
func (*ForwardingHistoryResponse) ProtoReflect ¶
func (x *ForwardingHistoryResponse) ProtoReflect() protoreflect.Message
func (*ForwardingHistoryResponse) Reset ¶
func (x *ForwardingHistoryResponse) Reset()
func (*ForwardingHistoryResponse) String ¶
func (x *ForwardingHistoryResponse) String() string
type FundingPsbtFinalize ¶
type FundingPsbtFinalize struct { // //The funded PSBT that contains all witness data to send the exact channel //capacity amount to the PK script returned in the open channel message in a //previous step. Cannot be set at the same time as final_raw_tx. SignedPsbt []byte `protobuf:"bytes,1,opt,name=signed_psbt,json=signedPsbt,proto3" json:"signed_psbt,omitempty"` // The pending channel ID of the channel to get the PSBT for. PendingChanId []byte `protobuf:"bytes,2,opt,name=pending_chan_id,json=pendingChanId,proto3" json:"pending_chan_id,omitempty"` // //As an alternative to the signed PSBT with all witness data, the final raw //wire format transaction can also be specified directly. Cannot be set at the //same time as signed_psbt. FinalRawTx []byte `protobuf:"bytes,3,opt,name=final_raw_tx,json=finalRawTx,proto3" json:"final_raw_tx,omitempty"` // contains filtered or unexported fields }
func (*FundingPsbtFinalize) Descriptor
deprecated
func (*FundingPsbtFinalize) Descriptor() ([]byte, []int)
Deprecated: Use FundingPsbtFinalize.ProtoReflect.Descriptor instead.
func (*FundingPsbtFinalize) GetFinalRawTx ¶
func (x *FundingPsbtFinalize) GetFinalRawTx() []byte
func (*FundingPsbtFinalize) GetPendingChanId ¶
func (x *FundingPsbtFinalize) GetPendingChanId() []byte
func (*FundingPsbtFinalize) GetSignedPsbt ¶
func (x *FundingPsbtFinalize) GetSignedPsbt() []byte
func (*FundingPsbtFinalize) ProtoMessage ¶
func (*FundingPsbtFinalize) ProtoMessage()
func (*FundingPsbtFinalize) ProtoReflect ¶
func (x *FundingPsbtFinalize) ProtoReflect() protoreflect.Message
func (*FundingPsbtFinalize) Reset ¶
func (x *FundingPsbtFinalize) Reset()
func (*FundingPsbtFinalize) String ¶
func (x *FundingPsbtFinalize) String() string
type FundingPsbtVerify ¶
type FundingPsbtVerify struct { // //The funded but not yet signed PSBT that sends the exact channel capacity //amount to the PK script returned in the open channel message in a previous //step. FundedPsbt []byte `protobuf:"bytes,1,opt,name=funded_psbt,json=fundedPsbt,proto3" json:"funded_psbt,omitempty"` // The pending channel ID of the channel to get the PSBT for. PendingChanId []byte `protobuf:"bytes,2,opt,name=pending_chan_id,json=pendingChanId,proto3" json:"pending_chan_id,omitempty"` // //Can only be used if the no_publish flag was set to true in the OpenChannel //call meaning that the caller is solely responsible for publishing the final //funding transaction. If skip_finalize is set to true then lnd will not wait //for a FundingPsbtFinalize state step and instead assumes that a transaction //with the same TXID as the passed in PSBT will eventually confirm. //IT IS ABSOLUTELY IMPERATIVE that the TXID of the transaction that is //eventually published does have the _same TXID_ as the verified PSBT. That //means no inputs or outputs can change, only signatures can be added. If the //TXID changes between this call and the publish step then the channel will //never be created and the funds will be in limbo. SkipFinalize bool `protobuf:"varint,3,opt,name=skip_finalize,json=skipFinalize,proto3" json:"skip_finalize,omitempty"` // contains filtered or unexported fields }
func (*FundingPsbtVerify) Descriptor
deprecated
func (*FundingPsbtVerify) Descriptor() ([]byte, []int)
Deprecated: Use FundingPsbtVerify.ProtoReflect.Descriptor instead.
func (*FundingPsbtVerify) GetFundedPsbt ¶
func (x *FundingPsbtVerify) GetFundedPsbt() []byte
func (*FundingPsbtVerify) GetPendingChanId ¶
func (x *FundingPsbtVerify) GetPendingChanId() []byte
func (*FundingPsbtVerify) GetSkipFinalize ¶
func (x *FundingPsbtVerify) GetSkipFinalize() bool
func (*FundingPsbtVerify) ProtoMessage ¶
func (*FundingPsbtVerify) ProtoMessage()
func (*FundingPsbtVerify) ProtoReflect ¶
func (x *FundingPsbtVerify) ProtoReflect() protoreflect.Message
func (*FundingPsbtVerify) Reset ¶
func (x *FundingPsbtVerify) Reset()
func (*FundingPsbtVerify) String ¶
func (x *FundingPsbtVerify) String() string
type FundingShim ¶
type FundingShim struct { // Types that are assignable to Shim: // *FundingShim_ChanPointShim // *FundingShim_PsbtShim Shim isFundingShim_Shim `protobuf_oneof:"shim"` // contains filtered or unexported fields }
func (*FundingShim) Descriptor
deprecated
func (*FundingShim) Descriptor() ([]byte, []int)
Deprecated: Use FundingShim.ProtoReflect.Descriptor instead.
func (*FundingShim) GetChanPointShim ¶
func (x *FundingShim) GetChanPointShim() *ChanPointShim
func (*FundingShim) GetPsbtShim ¶
func (x *FundingShim) GetPsbtShim() *PsbtShim
func (*FundingShim) GetShim ¶
func (m *FundingShim) GetShim() isFundingShim_Shim
func (*FundingShim) ProtoMessage ¶
func (*FundingShim) ProtoMessage()
func (*FundingShim) ProtoReflect ¶
func (x *FundingShim) ProtoReflect() protoreflect.Message
func (*FundingShim) Reset ¶
func (x *FundingShim) Reset()
func (*FundingShim) String ¶
func (x *FundingShim) String() string
type FundingShimCancel ¶
type FundingShimCancel struct { // The pending channel ID of the channel to cancel the funding shim for. PendingChanId []byte `protobuf:"bytes,1,opt,name=pending_chan_id,json=pendingChanId,proto3" json:"pending_chan_id,omitempty"` // contains filtered or unexported fields }
func (*FundingShimCancel) Descriptor
deprecated
func (*FundingShimCancel) Descriptor() ([]byte, []int)
Deprecated: Use FundingShimCancel.ProtoReflect.Descriptor instead.
func (*FundingShimCancel) GetPendingChanId ¶
func (x *FundingShimCancel) GetPendingChanId() []byte
func (*FundingShimCancel) ProtoMessage ¶
func (*FundingShimCancel) ProtoMessage()
func (*FundingShimCancel) ProtoReflect ¶
func (x *FundingShimCancel) ProtoReflect() protoreflect.Message
func (*FundingShimCancel) Reset ¶
func (x *FundingShimCancel) Reset()
func (*FundingShimCancel) String ¶
func (x *FundingShimCancel) String() string
type FundingShim_ChanPointShim ¶
type FundingShim_ChanPointShim struct { // //A channel shim where the channel point was fully constructed outside //of lnd's wallet and the transaction might already be published. ChanPointShim *ChanPointShim `protobuf:"bytes,1,opt,name=chan_point_shim,json=chanPointShim,proto3,oneof"` }
type FundingShim_PsbtShim ¶
type FundingShim_PsbtShim struct { // //A channel shim that uses a PSBT to fund and sign the channel funding //transaction. PsbtShim *PsbtShim `protobuf:"bytes,2,opt,name=psbt_shim,json=psbtShim,proto3,oneof"` }
type FundingStateStepResp ¶
type FundingStateStepResp struct {
// contains filtered or unexported fields
}
func (*FundingStateStepResp) Descriptor
deprecated
func (*FundingStateStepResp) Descriptor() ([]byte, []int)
Deprecated: Use FundingStateStepResp.ProtoReflect.Descriptor instead.
func (*FundingStateStepResp) ProtoMessage ¶
func (*FundingStateStepResp) ProtoMessage()
func (*FundingStateStepResp) ProtoReflect ¶
func (x *FundingStateStepResp) ProtoReflect() protoreflect.Message
func (*FundingStateStepResp) Reset ¶
func (x *FundingStateStepResp) Reset()
func (*FundingStateStepResp) String ¶
func (x *FundingStateStepResp) String() string
type FundingTransitionMsg ¶
type FundingTransitionMsg struct { // Types that are assignable to Trigger: // *FundingTransitionMsg_ShimRegister // *FundingTransitionMsg_ShimCancel // *FundingTransitionMsg_PsbtVerify // *FundingTransitionMsg_PsbtFinalize Trigger isFundingTransitionMsg_Trigger `protobuf_oneof:"trigger"` // contains filtered or unexported fields }
func (*FundingTransitionMsg) Descriptor
deprecated
func (*FundingTransitionMsg) Descriptor() ([]byte, []int)
Deprecated: Use FundingTransitionMsg.ProtoReflect.Descriptor instead.
func (*FundingTransitionMsg) GetPsbtFinalize ¶
func (x *FundingTransitionMsg) GetPsbtFinalize() *FundingPsbtFinalize
func (*FundingTransitionMsg) GetPsbtVerify ¶
func (x *FundingTransitionMsg) GetPsbtVerify() *FundingPsbtVerify
func (*FundingTransitionMsg) GetShimCancel ¶
func (x *FundingTransitionMsg) GetShimCancel() *FundingShimCancel
func (*FundingTransitionMsg) GetShimRegister ¶
func (x *FundingTransitionMsg) GetShimRegister() *FundingShim
func (*FundingTransitionMsg) GetTrigger ¶
func (m *FundingTransitionMsg) GetTrigger() isFundingTransitionMsg_Trigger
func (*FundingTransitionMsg) ProtoMessage ¶
func (*FundingTransitionMsg) ProtoMessage()
func (*FundingTransitionMsg) ProtoReflect ¶
func (x *FundingTransitionMsg) ProtoReflect() protoreflect.Message
func (*FundingTransitionMsg) Reset ¶
func (x *FundingTransitionMsg) Reset()
func (*FundingTransitionMsg) String ¶
func (x *FundingTransitionMsg) String() string
type FundingTransitionMsg_PsbtFinalize ¶
type FundingTransitionMsg_PsbtFinalize struct { // //Used to continue a funding flow that was initiated to be executed //through a PSBT. This step finalizes the funded and signed PSBT, finishes //negotiation with the peer and finally publishes the resulting funding //transaction. PsbtFinalize *FundingPsbtFinalize `protobuf:"bytes,4,opt,name=psbt_finalize,json=psbtFinalize,proto3,oneof"` }
type FundingTransitionMsg_PsbtVerify ¶
type FundingTransitionMsg_PsbtVerify struct { // //Used to continue a funding flow that was initiated to be executed //through a PSBT. This step verifies that the PSBT contains the correct //outputs to fund the channel. PsbtVerify *FundingPsbtVerify `protobuf:"bytes,3,opt,name=psbt_verify,json=psbtVerify,proto3,oneof"` }
type FundingTransitionMsg_ShimCancel ¶
type FundingTransitionMsg_ShimCancel struct { // Used to cancel an existing registered funding shim. ShimCancel *FundingShimCancel `protobuf:"bytes,2,opt,name=shim_cancel,json=shimCancel,proto3,oneof"` }
type FundingTransitionMsg_ShimRegister ¶
type FundingTransitionMsg_ShimRegister struct { // //The funding shim to register. This should be used before any //channel funding has began by the remote party, as it is intended as a //preparatory step for the full channel funding. ShimRegister *FundingShim `protobuf:"bytes,1,opt,name=shim_register,json=shimRegister,proto3,oneof"` }
type GenSeedRequest ¶
type GenSeedRequest struct { // //aezeed_passphrase is an optional user provided passphrase that will be used //to encrypt the generated aezeed cipher seed. When using REST, this field //must be encoded as base64. AezeedPassphrase []byte `protobuf:"bytes,1,opt,name=aezeed_passphrase,json=aezeedPassphrase,proto3" json:"aezeed_passphrase,omitempty"` // //seed_entropy is an optional 16-bytes generated via CSPRNG. If not //specified, then a fresh set of randomness will be used to create the seed. //When using REST, this field must be encoded as base64. SeedEntropy []byte `protobuf:"bytes,2,opt,name=seed_entropy,json=seedEntropy,proto3" json:"seed_entropy,omitempty"` // contains filtered or unexported fields }
func (*GenSeedRequest) Descriptor
deprecated
func (*GenSeedRequest) Descriptor() ([]byte, []int)
Deprecated: Use GenSeedRequest.ProtoReflect.Descriptor instead.
func (*GenSeedRequest) GetAezeedPassphrase ¶
func (x *GenSeedRequest) GetAezeedPassphrase() []byte
func (*GenSeedRequest) GetSeedEntropy ¶
func (x *GenSeedRequest) GetSeedEntropy() []byte
func (*GenSeedRequest) ProtoMessage ¶
func (*GenSeedRequest) ProtoMessage()
func (*GenSeedRequest) ProtoReflect ¶
func (x *GenSeedRequest) ProtoReflect() protoreflect.Message
func (*GenSeedRequest) Reset ¶
func (x *GenSeedRequest) Reset()
func (*GenSeedRequest) String ¶
func (x *GenSeedRequest) String() string
type GenSeedResponse ¶
type GenSeedResponse struct { // //cipher_seed_mnemonic is a 24-word mnemonic that encodes a prior aezeed //cipher seed obtained by the user. This field is optional, as if not //provided, then the daemon will generate a new cipher seed for the user. //Otherwise, then the daemon will attempt to recover the wallet state linked //to this cipher seed. CipherSeedMnemonic []string `protobuf:"bytes,1,rep,name=cipher_seed_mnemonic,json=cipherSeedMnemonic,proto3" json:"cipher_seed_mnemonic,omitempty"` // //enciphered_seed are the raw aezeed cipher seed bytes. This is the raw //cipher text before run through our mnemonic encoding scheme. EncipheredSeed []byte `protobuf:"bytes,2,opt,name=enciphered_seed,json=encipheredSeed,proto3" json:"enciphered_seed,omitempty"` // contains filtered or unexported fields }
func (*GenSeedResponse) Descriptor
deprecated
func (*GenSeedResponse) Descriptor() ([]byte, []int)
Deprecated: Use GenSeedResponse.ProtoReflect.Descriptor instead.
func (*GenSeedResponse) GetCipherSeedMnemonic ¶
func (x *GenSeedResponse) GetCipherSeedMnemonic() []string
func (*GenSeedResponse) GetEncipheredSeed ¶
func (x *GenSeedResponse) GetEncipheredSeed() []byte
func (*GenSeedResponse) ProtoMessage ¶
func (*GenSeedResponse) ProtoMessage()
func (*GenSeedResponse) ProtoReflect ¶
func (x *GenSeedResponse) ProtoReflect() protoreflect.Message
func (*GenSeedResponse) Reset ¶
func (x *GenSeedResponse) Reset()
func (*GenSeedResponse) String ¶
func (x *GenSeedResponse) String() string
type GetInfoRequest ¶
type GetInfoRequest struct {
// contains filtered or unexported fields
}
func (*GetInfoRequest) Descriptor
deprecated
func (*GetInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetInfoRequest.ProtoReflect.Descriptor instead.
func (*GetInfoRequest) ProtoMessage ¶
func (*GetInfoRequest) ProtoMessage()
func (*GetInfoRequest) ProtoReflect ¶
func (x *GetInfoRequest) ProtoReflect() protoreflect.Message
func (*GetInfoRequest) Reset ¶
func (x *GetInfoRequest) Reset()
func (*GetInfoRequest) String ¶
func (x *GetInfoRequest) String() string
type GetInfoResponse ¶
type GetInfoResponse struct { // The version of the LND software that the node is running. Version string `protobuf:"bytes,14,opt,name=version,proto3" json:"version,omitempty"` // The SHA1 commit hash that the daemon is compiled with. CommitHash string `protobuf:"bytes,20,opt,name=commit_hash,json=commitHash,proto3" json:"commit_hash,omitempty"` // The identity pubkey of the current node. IdentityPubkey string `protobuf:"bytes,1,opt,name=identity_pubkey,json=identityPubkey,proto3" json:"identity_pubkey,omitempty"` // If applicable, the alias of the current node, e.g. "bob" Alias string `protobuf:"bytes,2,opt,name=alias,proto3" json:"alias,omitempty"` // The color of the current node in hex code format Color string `protobuf:"bytes,17,opt,name=color,proto3" json:"color,omitempty"` // Number of pending channels NumPendingChannels uint32 `protobuf:"varint,3,opt,name=num_pending_channels,json=numPendingChannels,proto3" json:"num_pending_channels,omitempty"` // Number of active channels NumActiveChannels uint32 `protobuf:"varint,4,opt,name=num_active_channels,json=numActiveChannels,proto3" json:"num_active_channels,omitempty"` // Number of inactive channels NumInactiveChannels uint32 `protobuf:"varint,15,opt,name=num_inactive_channels,json=numInactiveChannels,proto3" json:"num_inactive_channels,omitempty"` // Number of peers NumPeers uint32 `protobuf:"varint,5,opt,name=num_peers,json=numPeers,proto3" json:"num_peers,omitempty"` // The node's current view of the height of the best block BlockHeight uint32 `protobuf:"varint,6,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` // The node's current view of the hash of the best block BlockHash string `protobuf:"bytes,8,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` // Timestamp of the block best known to the wallet BestHeaderTimestamp int64 `protobuf:"varint,13,opt,name=best_header_timestamp,json=bestHeaderTimestamp,proto3" json:"best_header_timestamp,omitempty"` // Whether the wallet's view is synced to the main chain SyncedToChain bool `protobuf:"varint,9,opt,name=synced_to_chain,json=syncedToChain,proto3" json:"synced_to_chain,omitempty"` // Whether we consider ourselves synced with the public channel graph. SyncedToGraph bool `protobuf:"varint,18,opt,name=synced_to_graph,json=syncedToGraph,proto3" json:"synced_to_graph,omitempty"` // //Whether the current node is connected to testnet. This field is //deprecated and the network field should be used instead // // Deprecated: Do not use. Testnet bool `protobuf:"varint,10,opt,name=testnet,proto3" json:"testnet,omitempty"` // A list of active chains the node is connected to Chains []*Chain `protobuf:"bytes,16,rep,name=chains,proto3" json:"chains,omitempty"` // The URIs of the current node. Uris []string `protobuf:"bytes,12,rep,name=uris,proto3" json:"uris,omitempty"` // //Features that our node has advertised in our init message, node //announcements and invoices. Features map[uint32]*Feature `` /* 159-byte string literal not displayed */ // contains filtered or unexported fields }
func (*GetInfoResponse) Descriptor
deprecated
func (*GetInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetInfoResponse.ProtoReflect.Descriptor instead.
func (*GetInfoResponse) GetAlias ¶
func (x *GetInfoResponse) GetAlias() string
func (*GetInfoResponse) GetBestHeaderTimestamp ¶
func (x *GetInfoResponse) GetBestHeaderTimestamp() int64
func (*GetInfoResponse) GetBlockHash ¶
func (x *GetInfoResponse) GetBlockHash() string
func (*GetInfoResponse) GetBlockHeight ¶
func (x *GetInfoResponse) GetBlockHeight() uint32
func (*GetInfoResponse) GetChains ¶
func (x *GetInfoResponse) GetChains() []*Chain
func (*GetInfoResponse) GetColor ¶
func (x *GetInfoResponse) GetColor() string
func (*GetInfoResponse) GetCommitHash ¶
func (x *GetInfoResponse) GetCommitHash() string
func (*GetInfoResponse) GetFeatures ¶
func (x *GetInfoResponse) GetFeatures() map[uint32]*Feature
func (*GetInfoResponse) GetIdentityPubkey ¶
func (x *GetInfoResponse) GetIdentityPubkey() string
func (*GetInfoResponse) GetNumActiveChannels ¶
func (x *GetInfoResponse) GetNumActiveChannels() uint32
func (*GetInfoResponse) GetNumInactiveChannels ¶
func (x *GetInfoResponse) GetNumInactiveChannels() uint32
func (*GetInfoResponse) GetNumPeers ¶
func (x *GetInfoResponse) GetNumPeers() uint32
func (*GetInfoResponse) GetNumPendingChannels ¶
func (x *GetInfoResponse) GetNumPendingChannels() uint32
func (*GetInfoResponse) GetSyncedToChain ¶
func (x *GetInfoResponse) GetSyncedToChain() bool
func (*GetInfoResponse) GetSyncedToGraph ¶
func (x *GetInfoResponse) GetSyncedToGraph() bool
func (*GetInfoResponse) GetTestnet
deprecated
func (x *GetInfoResponse) GetTestnet() bool
Deprecated: Do not use.
func (*GetInfoResponse) GetUris ¶
func (x *GetInfoResponse) GetUris() []string
func (*GetInfoResponse) GetVersion ¶
func (x *GetInfoResponse) GetVersion() string
func (*GetInfoResponse) ProtoMessage ¶
func (*GetInfoResponse) ProtoMessage()
func (*GetInfoResponse) ProtoReflect ¶
func (x *GetInfoResponse) ProtoReflect() protoreflect.Message
func (*GetInfoResponse) Reset ¶
func (x *GetInfoResponse) Reset()
func (*GetInfoResponse) String ¶
func (x *GetInfoResponse) String() string
type GetRecoveryInfoRequest ¶
type GetRecoveryInfoRequest struct {
// contains filtered or unexported fields
}
func (*GetRecoveryInfoRequest) Descriptor
deprecated
func (*GetRecoveryInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRecoveryInfoRequest.ProtoReflect.Descriptor instead.
func (*GetRecoveryInfoRequest) ProtoMessage ¶
func (*GetRecoveryInfoRequest) ProtoMessage()
func (*GetRecoveryInfoRequest) ProtoReflect ¶
func (x *GetRecoveryInfoRequest) ProtoReflect() protoreflect.Message
func (*GetRecoveryInfoRequest) Reset ¶
func (x *GetRecoveryInfoRequest) Reset()
func (*GetRecoveryInfoRequest) String ¶
func (x *GetRecoveryInfoRequest) String() string
type GetRecoveryInfoResponse ¶
type GetRecoveryInfoResponse struct { // Whether the wallet is in recovery mode RecoveryMode bool `protobuf:"varint,1,opt,name=recovery_mode,json=recoveryMode,proto3" json:"recovery_mode,omitempty"` // Whether the wallet recovery progress is finished RecoveryFinished bool `protobuf:"varint,2,opt,name=recovery_finished,json=recoveryFinished,proto3" json:"recovery_finished,omitempty"` // The recovery progress, ranging from 0 to 1. Progress float64 `protobuf:"fixed64,3,opt,name=progress,proto3" json:"progress,omitempty"` // contains filtered or unexported fields }
func (*GetRecoveryInfoResponse) Descriptor
deprecated
func (*GetRecoveryInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetRecoveryInfoResponse.ProtoReflect.Descriptor instead.
func (*GetRecoveryInfoResponse) GetProgress ¶
func (x *GetRecoveryInfoResponse) GetProgress() float64
func (*GetRecoveryInfoResponse) GetRecoveryFinished ¶
func (x *GetRecoveryInfoResponse) GetRecoveryFinished() bool
func (*GetRecoveryInfoResponse) GetRecoveryMode ¶
func (x *GetRecoveryInfoResponse) GetRecoveryMode() bool
func (*GetRecoveryInfoResponse) ProtoMessage ¶
func (*GetRecoveryInfoResponse) ProtoMessage()
func (*GetRecoveryInfoResponse) ProtoReflect ¶
func (x *GetRecoveryInfoResponse) ProtoReflect() protoreflect.Message
func (*GetRecoveryInfoResponse) Reset ¶
func (x *GetRecoveryInfoResponse) Reset()
func (*GetRecoveryInfoResponse) String ¶
func (x *GetRecoveryInfoResponse) String() string
type GetStateRequest ¶
type GetStateRequest struct {
// contains filtered or unexported fields
}
func (*GetStateRequest) Descriptor
deprecated
func (*GetStateRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetStateRequest.ProtoReflect.Descriptor instead.
func (*GetStateRequest) ProtoMessage ¶
func (*GetStateRequest) ProtoMessage()
func (*GetStateRequest) ProtoReflect ¶
func (x *GetStateRequest) ProtoReflect() protoreflect.Message
func (*GetStateRequest) Reset ¶
func (x *GetStateRequest) Reset()
func (*GetStateRequest) String ¶
func (x *GetStateRequest) String() string
type GetStateResponse ¶
type GetStateResponse struct { State WalletState `protobuf:"varint,1,opt,name=state,proto3,enum=lnrpc.WalletState" json:"state,omitempty"` // contains filtered or unexported fields }
func (*GetStateResponse) Descriptor
deprecated
func (*GetStateResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetStateResponse.ProtoReflect.Descriptor instead.
func (*GetStateResponse) GetState ¶
func (x *GetStateResponse) GetState() WalletState
func (*GetStateResponse) ProtoMessage ¶
func (*GetStateResponse) ProtoMessage()
func (*GetStateResponse) ProtoReflect ¶
func (x *GetStateResponse) ProtoReflect() protoreflect.Message
func (*GetStateResponse) Reset ¶
func (x *GetStateResponse) Reset()
func (*GetStateResponse) String ¶
func (x *GetStateResponse) String() string
type GetTransactionsRequest ¶
type GetTransactionsRequest struct { // //The height from which to list transactions, inclusive. If this value is //greater than end_height, transactions will be read in reverse. StartHeight int32 `protobuf:"varint,1,opt,name=start_height,json=startHeight,proto3" json:"start_height,omitempty"` // //The height until which to list transactions, inclusive. To include //unconfirmed transactions, this value should be set to -1, which will //return transactions from start_height until the current chain tip and //unconfirmed transactions. If no end_height is provided, the call will //default to this option. EndHeight int32 `protobuf:"varint,2,opt,name=end_height,json=endHeight,proto3" json:"end_height,omitempty"` // An optional filter to only include transactions relevant to an account. Account string `protobuf:"bytes,3,opt,name=account,proto3" json:"account,omitempty"` // contains filtered or unexported fields }
func (*GetTransactionsRequest) Descriptor
deprecated
func (*GetTransactionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTransactionsRequest.ProtoReflect.Descriptor instead.
func (*GetTransactionsRequest) GetAccount ¶
func (x *GetTransactionsRequest) GetAccount() string
func (*GetTransactionsRequest) GetEndHeight ¶
func (x *GetTransactionsRequest) GetEndHeight() int32
func (*GetTransactionsRequest) GetStartHeight ¶
func (x *GetTransactionsRequest) GetStartHeight() int32
func (*GetTransactionsRequest) ProtoMessage ¶
func (*GetTransactionsRequest) ProtoMessage()
func (*GetTransactionsRequest) ProtoReflect ¶
func (x *GetTransactionsRequest) ProtoReflect() protoreflect.Message
func (*GetTransactionsRequest) Reset ¶
func (x *GetTransactionsRequest) Reset()
func (*GetTransactionsRequest) String ¶
func (x *GetTransactionsRequest) String() string
type GraphTopologySubscription ¶
type GraphTopologySubscription struct {
// contains filtered or unexported fields
}
func (*GraphTopologySubscription) Descriptor
deprecated
func (*GraphTopologySubscription) Descriptor() ([]byte, []int)
Deprecated: Use GraphTopologySubscription.ProtoReflect.Descriptor instead.
func (*GraphTopologySubscription) ProtoMessage ¶
func (*GraphTopologySubscription) ProtoMessage()
func (*GraphTopologySubscription) ProtoReflect ¶
func (x *GraphTopologySubscription) ProtoReflect() protoreflect.Message
func (*GraphTopologySubscription) Reset ¶
func (x *GraphTopologySubscription) Reset()
func (*GraphTopologySubscription) String ¶
func (x *GraphTopologySubscription) String() string
type GraphTopologyUpdate ¶
type GraphTopologyUpdate struct { NodeUpdates []*NodeUpdate `protobuf:"bytes,1,rep,name=node_updates,json=nodeUpdates,proto3" json:"node_updates,omitempty"` ChannelUpdates []*ChannelEdgeUpdate `protobuf:"bytes,2,rep,name=channel_updates,json=channelUpdates,proto3" json:"channel_updates,omitempty"` ClosedChans []*ClosedChannelUpdate `protobuf:"bytes,3,rep,name=closed_chans,json=closedChans,proto3" json:"closed_chans,omitempty"` // contains filtered or unexported fields }
func (*GraphTopologyUpdate) Descriptor
deprecated
func (*GraphTopologyUpdate) Descriptor() ([]byte, []int)
Deprecated: Use GraphTopologyUpdate.ProtoReflect.Descriptor instead.
func (*GraphTopologyUpdate) GetChannelUpdates ¶
func (x *GraphTopologyUpdate) GetChannelUpdates() []*ChannelEdgeUpdate
func (*GraphTopologyUpdate) GetClosedChans ¶
func (x *GraphTopologyUpdate) GetClosedChans() []*ClosedChannelUpdate
func (*GraphTopologyUpdate) GetNodeUpdates ¶
func (x *GraphTopologyUpdate) GetNodeUpdates() []*NodeUpdate
func (*GraphTopologyUpdate) ProtoMessage ¶
func (*GraphTopologyUpdate) ProtoMessage()
func (*GraphTopologyUpdate) ProtoReflect ¶
func (x *GraphTopologyUpdate) ProtoReflect() protoreflect.Message
func (*GraphTopologyUpdate) Reset ¶
func (x *GraphTopologyUpdate) Reset()
func (*GraphTopologyUpdate) String ¶
func (x *GraphTopologyUpdate) String() string
type GrpcHandler ¶
type GrpcHandler interface { // RegisterWithRootServer will be called by the root gRPC server to // direct a sub RPC server to register itself with the main gRPC root // server. Until this is called, each sub-server won't be able to have // requests routed towards it. RegisterWithRootServer(*grpc.Server) error // RegisterWithRestServer will be called by the root REST mux to direct // a sub RPC server to register itself with the main REST mux server. // Until this is called, each sub-server won't be able to have requests // routed towards it. RegisterWithRestServer(context.Context, *runtime.ServeMux, string, []grpc.DialOption) error // CreateSubServer populates the subserver's dependencies using the // passed SubServerConfigDispatcher. This method should fully // initialize the sub-server instance, making it ready for action. It // returns the macaroon permissions that the sub-server wishes to pass // on to the root server for all methods routed towards it. CreateSubServer(subCfgs SubServerConfigDispatcher) (SubServer, MacaroonPerms, error) }
GrpcHandler is the interface that should be registered with the root gRPC server, and is the interface that implements the subserver's defined RPC. Before the actual sub server has been created, this will be an empty shell allowing us to start the gRPC server before we have all the dependencies needed to create the subserver itself.
type HTLC ¶
type HTLC struct { Incoming bool `protobuf:"varint,1,opt,name=incoming,proto3" json:"incoming,omitempty"` Amount int64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"` HashLock []byte `protobuf:"bytes,3,opt,name=hash_lock,json=hashLock,proto3" json:"hash_lock,omitempty"` ExpirationHeight uint32 `protobuf:"varint,4,opt,name=expiration_height,json=expirationHeight,proto3" json:"expiration_height,omitempty"` // Index identifying the htlc on the channel. HtlcIndex uint64 `protobuf:"varint,5,opt,name=htlc_index,json=htlcIndex,proto3" json:"htlc_index,omitempty"` // If this HTLC is involved in a forwarding operation, this field indicates // the forwarding channel. For an outgoing htlc, it is the incoming channel. // For an incoming htlc, it is the outgoing channel. When the htlc // originates from this node or this node is the final destination, // forwarding_channel will be zero. The forwarding channel will also be zero // for htlcs that need to be forwarded but don't have a forwarding decision // persisted yet. ForwardingChannel uint64 `protobuf:"varint,6,opt,name=forwarding_channel,json=forwardingChannel,proto3" json:"forwarding_channel,omitempty"` // Index identifying the htlc on the forwarding channel. ForwardingHtlcIndex uint64 `protobuf:"varint,7,opt,name=forwarding_htlc_index,json=forwardingHtlcIndex,proto3" json:"forwarding_htlc_index,omitempty"` // contains filtered or unexported fields }
func (*HTLC) Descriptor
deprecated
func (*HTLC) GetExpirationHeight ¶
func (*HTLC) GetForwardingChannel ¶
func (*HTLC) GetForwardingHtlcIndex ¶
func (*HTLC) GetHashLock ¶
func (*HTLC) GetHtlcIndex ¶
func (*HTLC) GetIncoming ¶
func (*HTLC) ProtoMessage ¶
func (*HTLC) ProtoMessage()
func (*HTLC) ProtoReflect ¶
func (x *HTLC) ProtoReflect() protoreflect.Message
type HTLCAttempt ¶
type HTLCAttempt struct { // The unique ID that is used for this attempt. AttemptId uint64 `protobuf:"varint,7,opt,name=attempt_id,json=attemptId,proto3" json:"attempt_id,omitempty"` // The status of the HTLC. Status HTLCAttempt_HTLCStatus `protobuf:"varint,1,opt,name=status,proto3,enum=lnrpc.HTLCAttempt_HTLCStatus" json:"status,omitempty"` // The route taken by this HTLC. Route *Route `protobuf:"bytes,2,opt,name=route,proto3" json:"route,omitempty"` // The time in UNIX nanoseconds at which this HTLC was sent. AttemptTimeNs int64 `protobuf:"varint,3,opt,name=attempt_time_ns,json=attemptTimeNs,proto3" json:"attempt_time_ns,omitempty"` // //The time in UNIX nanoseconds at which this HTLC was settled or failed. //This value will not be set if the HTLC is still IN_FLIGHT. ResolveTimeNs int64 `protobuf:"varint,4,opt,name=resolve_time_ns,json=resolveTimeNs,proto3" json:"resolve_time_ns,omitempty"` // Detailed htlc failure info. Failure *Failure `protobuf:"bytes,5,opt,name=failure,proto3" json:"failure,omitempty"` // The preimage that was used to settle the HTLC. Preimage []byte `protobuf:"bytes,6,opt,name=preimage,proto3" json:"preimage,omitempty"` // contains filtered or unexported fields }
func (*HTLCAttempt) Descriptor
deprecated
func (*HTLCAttempt) Descriptor() ([]byte, []int)
Deprecated: Use HTLCAttempt.ProtoReflect.Descriptor instead.
func (*HTLCAttempt) GetAttemptId ¶
func (x *HTLCAttempt) GetAttemptId() uint64
func (*HTLCAttempt) GetAttemptTimeNs ¶
func (x *HTLCAttempt) GetAttemptTimeNs() int64
func (*HTLCAttempt) GetFailure ¶
func (x *HTLCAttempt) GetFailure() *Failure
func (*HTLCAttempt) GetPreimage ¶
func (x *HTLCAttempt) GetPreimage() []byte
func (*HTLCAttempt) GetResolveTimeNs ¶
func (x *HTLCAttempt) GetResolveTimeNs() int64
func (*HTLCAttempt) GetRoute ¶
func (x *HTLCAttempt) GetRoute() *Route
func (*HTLCAttempt) GetStatus ¶
func (x *HTLCAttempt) GetStatus() HTLCAttempt_HTLCStatus
func (*HTLCAttempt) ProtoMessage ¶
func (*HTLCAttempt) ProtoMessage()
func (*HTLCAttempt) ProtoReflect ¶
func (x *HTLCAttempt) ProtoReflect() protoreflect.Message
func (*HTLCAttempt) Reset ¶
func (x *HTLCAttempt) Reset()
func (*HTLCAttempt) String ¶
func (x *HTLCAttempt) String() string
type HTLCAttempt_HTLCStatus ¶
type HTLCAttempt_HTLCStatus int32
const ( HTLCAttempt_IN_FLIGHT HTLCAttempt_HTLCStatus = 0 HTLCAttempt_SUCCEEDED HTLCAttempt_HTLCStatus = 1 HTLCAttempt_FAILED HTLCAttempt_HTLCStatus = 2 )
func (HTLCAttempt_HTLCStatus) Descriptor ¶
func (HTLCAttempt_HTLCStatus) Descriptor() protoreflect.EnumDescriptor
func (HTLCAttempt_HTLCStatus) Enum ¶
func (x HTLCAttempt_HTLCStatus) Enum() *HTLCAttempt_HTLCStatus
func (HTLCAttempt_HTLCStatus) EnumDescriptor
deprecated
func (HTLCAttempt_HTLCStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use HTLCAttempt_HTLCStatus.Descriptor instead.
func (HTLCAttempt_HTLCStatus) Number ¶
func (x HTLCAttempt_HTLCStatus) Number() protoreflect.EnumNumber
func (HTLCAttempt_HTLCStatus) String ¶
func (x HTLCAttempt_HTLCStatus) String() string
func (HTLCAttempt_HTLCStatus) Type ¶
func (HTLCAttempt_HTLCStatus) Type() protoreflect.EnumType
type Hop ¶
type Hop struct { // //The unique channel ID for the channel. The first 3 bytes are the block //height, the next 3 the index within the block, and the last 2 bytes are the //output index for the channel. ChanId uint64 `protobuf:"varint,1,opt,name=chan_id,json=chanId,proto3" json:"chan_id,omitempty"` // Deprecated: Do not use. ChanCapacity int64 `protobuf:"varint,2,opt,name=chan_capacity,json=chanCapacity,proto3" json:"chan_capacity,omitempty"` // Deprecated: Do not use. AmtToForward int64 `protobuf:"varint,3,opt,name=amt_to_forward,json=amtToForward,proto3" json:"amt_to_forward,omitempty"` // Deprecated: Do not use. Fee int64 `protobuf:"varint,4,opt,name=fee,proto3" json:"fee,omitempty"` Expiry uint32 `protobuf:"varint,5,opt,name=expiry,proto3" json:"expiry,omitempty"` AmtToForwardMsat int64 `protobuf:"varint,6,opt,name=amt_to_forward_msat,json=amtToForwardMsat,proto3" json:"amt_to_forward_msat,omitempty"` FeeMsat int64 `protobuf:"varint,7,opt,name=fee_msat,json=feeMsat,proto3" json:"fee_msat,omitempty"` // //An optional public key of the hop. If the public key is given, the payment //can be executed without relying on a copy of the channel graph. PubKey string `protobuf:"bytes,8,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"` // //If set to true, then this hop will be encoded using the new variable length //TLV format. Note that if any custom tlv_records below are specified, then //this field MUST be set to true for them to be encoded properly. TlvPayload bool `protobuf:"varint,9,opt,name=tlv_payload,json=tlvPayload,proto3" json:"tlv_payload,omitempty"` // //An optional TLV record that signals the use of an MPP payment. If present, //the receiver will enforce that the same mpp_record is included in the final //hop payload of all non-zero payments in the HTLC set. If empty, a regular //single-shot payment is or was attempted. MppRecord *MPPRecord `protobuf:"bytes,10,opt,name=mpp_record,json=mppRecord,proto3" json:"mpp_record,omitempty"` // //An optional TLV record that signals the use of an AMP payment. If present, //the receiver will treat all received payments including the same //(payment_addr, set_id) pair as being part of one logical payment. The //payment will be settled by XORing the root_share's together and deriving the //child hashes and preimages according to BOLT XX. Must be used in conjunction //with mpp_record. AmpRecord *AMPRecord `protobuf:"bytes,12,opt,name=amp_record,json=ampRecord,proto3" json:"amp_record,omitempty"` // //An optional set of key-value TLV records. This is useful within the context //of the SendToRoute call as it allows callers to specify arbitrary K-V pairs //to drop off at each hop within the onion. CustomRecords map[uint64][]byte `` /* 190-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Hop) Descriptor
deprecated
func (*Hop) GetAmpRecord ¶
func (*Hop) GetAmtToForward
deprecated
func (*Hop) GetAmtToForwardMsat ¶
func (*Hop) GetChanCapacity
deprecated
func (*Hop) GetCustomRecords ¶
func (*Hop) GetFeeMsat ¶
func (*Hop) GetMppRecord ¶
func (*Hop) GetTlvPayload ¶
func (*Hop) ProtoMessage ¶
func (*Hop) ProtoMessage()
func (*Hop) ProtoReflect ¶
func (x *Hop) ProtoReflect() protoreflect.Message
type HopHint ¶
type HopHint struct { // The public key of the node at the start of the channel. NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` // The unique identifier of the channel. ChanId uint64 `protobuf:"varint,2,opt,name=chan_id,json=chanId,proto3" json:"chan_id,omitempty"` // The base fee of the channel denominated in millisatoshis. FeeBaseMsat uint32 `protobuf:"varint,3,opt,name=fee_base_msat,json=feeBaseMsat,proto3" json:"fee_base_msat,omitempty"` // //The fee rate of the channel for sending one satoshi across it denominated in //millionths of a satoshi. FeeProportionalMillionths uint32 `` /* 139-byte string literal not displayed */ // The time-lock delta of the channel. CltvExpiryDelta uint32 `protobuf:"varint,5,opt,name=cltv_expiry_delta,json=cltvExpiryDelta,proto3" json:"cltv_expiry_delta,omitempty"` // contains filtered or unexported fields }
func (*HopHint) Descriptor
deprecated
func (*HopHint) GetCltvExpiryDelta ¶
func (*HopHint) GetFeeBaseMsat ¶
func (*HopHint) GetFeeProportionalMillionths ¶
func (*HopHint) ProtoMessage ¶
func (*HopHint) ProtoMessage()
func (*HopHint) ProtoReflect ¶
func (x *HopHint) ProtoReflect() protoreflect.Message
type InitWalletRequest ¶
type InitWalletRequest struct { // //wallet_password is the passphrase that should be used to encrypt the //wallet. This MUST be at least 8 chars in length. After creation, this //password is required to unlock the daemon. When using REST, this field //must be encoded as base64. WalletPassword []byte `protobuf:"bytes,1,opt,name=wallet_password,json=walletPassword,proto3" json:"wallet_password,omitempty"` // //cipher_seed_mnemonic is a 24-word mnemonic that encodes a prior aezeed //cipher seed obtained by the user. This may have been generated by the //GenSeed method, or be an existing seed. CipherSeedMnemonic []string `protobuf:"bytes,2,rep,name=cipher_seed_mnemonic,json=cipherSeedMnemonic,proto3" json:"cipher_seed_mnemonic,omitempty"` // //aezeed_passphrase is an optional user provided passphrase that will be used //to encrypt the generated aezeed cipher seed. When using REST, this field //must be encoded as base64. AezeedPassphrase []byte `protobuf:"bytes,3,opt,name=aezeed_passphrase,json=aezeedPassphrase,proto3" json:"aezeed_passphrase,omitempty"` // //recovery_window is an optional argument specifying the address lookahead //when restoring a wallet seed. The recovery window applies to each //individual branch of the BIP44 derivation paths. Supplying a recovery //window of zero indicates that no addresses should be recovered, such after //the first initialization of the wallet. RecoveryWindow int32 `protobuf:"varint,4,opt,name=recovery_window,json=recoveryWindow,proto3" json:"recovery_window,omitempty"` // //channel_backups is an optional argument that allows clients to recover the //settled funds within a set of channels. This should be populated if the //user was unable to close out all channels and sweep funds before partial or //total data loss occurred. If specified, then after on-chain recovery of //funds, lnd begin to carry out the data loss recovery protocol in order to //recover the funds in each channel from a remote force closed transaction. ChannelBackups *ChanBackupSnapshot `protobuf:"bytes,5,opt,name=channel_backups,json=channelBackups,proto3" json:"channel_backups,omitempty"` // //stateless_init is an optional argument instructing the daemon NOT to create //any *.macaroon files in its filesystem. If this parameter is set, then the //admin macaroon returned in the response MUST be stored by the caller of the //RPC as otherwise all access to the daemon will be lost! StatelessInit bool `protobuf:"varint,6,opt,name=stateless_init,json=statelessInit,proto3" json:"stateless_init,omitempty"` // //extended_master_key is an alternative to specifying cipher_seed_mnemonic and //aezeed_passphrase. Instead of deriving the master root key from the entropy //of an aezeed cipher seed, the given extended master root key is used //directly as the wallet's master key. This allows users to import/use a //master key from another wallet. When doing so, lnd still uses its default //SegWit only (BIP49/84) derivation paths and funds from custom/non-default //derivation paths will not automatically appear in the on-chain wallet. Using //an 'xprv' instead of an aezeed also has the disadvantage that the wallet's //birthday is not known as that is an information that's only encoded in the //aezeed, not the xprv. Therefore a birthday needs to be specified in //extended_master_key_birthday_timestamp or a "safe" default value will be //used. ExtendedMasterKey string `protobuf:"bytes,7,opt,name=extended_master_key,json=extendedMasterKey,proto3" json:"extended_master_key,omitempty"` // //extended_master_key_birthday_timestamp is the optional unix timestamp in //seconds to use as the wallet's birthday when using an extended master key //to restore the wallet. lnd will only start scanning for funds in blocks that //are after the birthday which can speed up the process significantly. If the //birthday is not known, this should be left at its default value of 0 in //which case lnd will start scanning from the first SegWit block (481824 on //mainnet). ExtendedMasterKeyBirthdayTimestamp uint64 `` /* 170-byte string literal not displayed */ // //watch_only is the third option of initializing a wallet: by importing //account xpubs only and therefore creating a watch-only wallet that does not //contain any private keys. That means the wallet won't be able to sign for //any of the keys and _needs_ to be run with a remote signer that has the //corresponding private keys and can serve signing RPC requests. WatchOnly *WatchOnly `protobuf:"bytes,9,opt,name=watch_only,json=watchOnly,proto3" json:"watch_only,omitempty"` // contains filtered or unexported fields }
func (*InitWalletRequest) Descriptor
deprecated
func (*InitWalletRequest) Descriptor() ([]byte, []int)
Deprecated: Use InitWalletRequest.ProtoReflect.Descriptor instead.
func (*InitWalletRequest) GetAezeedPassphrase ¶
func (x *InitWalletRequest) GetAezeedPassphrase() []byte
func (*InitWalletRequest) GetChannelBackups ¶
func (x *InitWalletRequest) GetChannelBackups() *ChanBackupSnapshot
func (*InitWalletRequest) GetCipherSeedMnemonic ¶
func (x *InitWalletRequest) GetCipherSeedMnemonic() []string
func (*InitWalletRequest) GetExtendedMasterKey ¶
func (x *InitWalletRequest) GetExtendedMasterKey() string
func (*InitWalletRequest) GetExtendedMasterKeyBirthdayTimestamp ¶
func (x *InitWalletRequest) GetExtendedMasterKeyBirthdayTimestamp() uint64
func (*InitWalletRequest) GetRecoveryWindow ¶
func (x *InitWalletRequest) GetRecoveryWindow() int32
func (*InitWalletRequest) GetStatelessInit ¶
func (x *InitWalletRequest) GetStatelessInit() bool
func (*InitWalletRequest) GetWalletPassword ¶
func (x *InitWalletRequest) GetWalletPassword() []byte
func (*InitWalletRequest) GetWatchOnly ¶
func (x *InitWalletRequest) GetWatchOnly() *WatchOnly
func (*InitWalletRequest) ProtoMessage ¶
func (*InitWalletRequest) ProtoMessage()
func (*InitWalletRequest) ProtoReflect ¶
func (x *InitWalletRequest) ProtoReflect() protoreflect.Message
func (*InitWalletRequest) Reset ¶
func (x *InitWalletRequest) Reset()
func (*InitWalletRequest) String ¶
func (x *InitWalletRequest) String() string
type InitWalletResponse ¶
type InitWalletResponse struct { // //The binary serialized admin macaroon that can be used to access the daemon //after creating the wallet. If the stateless_init parameter was set to true, //this is the ONLY copy of the macaroon and MUST be stored safely by the //caller. Otherwise a copy of this macaroon is also persisted on disk by the //daemon, together with other macaroon files. AdminMacaroon []byte `protobuf:"bytes,1,opt,name=admin_macaroon,json=adminMacaroon,proto3" json:"admin_macaroon,omitempty"` // contains filtered or unexported fields }
func (*InitWalletResponse) Descriptor
deprecated
func (*InitWalletResponse) Descriptor() ([]byte, []int)
Deprecated: Use InitWalletResponse.ProtoReflect.Descriptor instead.
func (*InitWalletResponse) GetAdminMacaroon ¶
func (x *InitWalletResponse) GetAdminMacaroon() []byte
func (*InitWalletResponse) ProtoMessage ¶
func (*InitWalletResponse) ProtoMessage()
func (*InitWalletResponse) ProtoReflect ¶
func (x *InitWalletResponse) ProtoReflect() protoreflect.Message
func (*InitWalletResponse) Reset ¶
func (x *InitWalletResponse) Reset()
func (*InitWalletResponse) String ¶
func (x *InitWalletResponse) String() string
type Initiator ¶
type Initiator int32
func (Initiator) Descriptor ¶
func (Initiator) Descriptor() protoreflect.EnumDescriptor
func (Initiator) EnumDescriptor
deprecated
func (Initiator) Number ¶
func (x Initiator) Number() protoreflect.EnumNumber
func (Initiator) Type ¶
func (Initiator) Type() protoreflect.EnumType
type InterceptFeedback ¶
type InterceptFeedback struct { // //The error to return to the user. If this is non-empty, the incoming gRPC //stream/request is aborted and the error is returned to the gRPC client. If //this value is empty, it means the middleware accepts the stream/request/ //response and the processing of it can continue. Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` // //A boolean indicating that the gRPC response should be replaced/overwritten. //As its name suggests, this can only be used as a feedback to an intercepted //response RPC message and is ignored for feedback on any other message. This //boolean is needed because in protobuf an empty message is serialized as a //0-length or nil byte slice and we wouldn't be able to distinguish between //an empty replacement message and the "don't replace anything" case. ReplaceResponse bool `protobuf:"varint,2,opt,name=replace_response,json=replaceResponse,proto3" json:"replace_response,omitempty"` // //If the replace_response field is set to true, this field must contain the //binary serialized gRPC response message in the protobuf format. ReplacementSerialized []byte `protobuf:"bytes,3,opt,name=replacement_serialized,json=replacementSerialized,proto3" json:"replacement_serialized,omitempty"` // contains filtered or unexported fields }
func (*InterceptFeedback) Descriptor
deprecated
func (*InterceptFeedback) Descriptor() ([]byte, []int)
Deprecated: Use InterceptFeedback.ProtoReflect.Descriptor instead.
func (*InterceptFeedback) GetError ¶
func (x *InterceptFeedback) GetError() string
func (*InterceptFeedback) GetReplaceResponse ¶
func (x *InterceptFeedback) GetReplaceResponse() bool
func (*InterceptFeedback) GetReplacementSerialized ¶
func (x *InterceptFeedback) GetReplacementSerialized() []byte
func (*InterceptFeedback) ProtoMessage ¶
func (*InterceptFeedback) ProtoMessage()
func (*InterceptFeedback) ProtoReflect ¶
func (x *InterceptFeedback) ProtoReflect() protoreflect.Message
func (*InterceptFeedback) Reset ¶
func (x *InterceptFeedback) Reset()
func (*InterceptFeedback) String ¶
func (x *InterceptFeedback) String() string
type Invoice ¶
type Invoice struct { // //An optional memo to attach along with the invoice. Used for record keeping //purposes for the invoice's creator, and will also be set in the description //field of the encoded payment request if the description_hash field is not //being used. Memo string `protobuf:"bytes,1,opt,name=memo,proto3" json:"memo,omitempty"` // //The hex-encoded preimage (32 byte) which will allow settling an incoming //HTLC payable to this preimage. When using REST, this field must be encoded //as base64. RPreimage []byte `protobuf:"bytes,3,opt,name=r_preimage,json=rPreimage,proto3" json:"r_preimage,omitempty"` // //The hash of the preimage. When using REST, this field must be encoded as //base64. RHash []byte `protobuf:"bytes,4,opt,name=r_hash,json=rHash,proto3" json:"r_hash,omitempty"` // //The value of this invoice in satoshis // //The fields value and value_msat are mutually exclusive. Value int64 `protobuf:"varint,5,opt,name=value,proto3" json:"value,omitempty"` // //The value of this invoice in millisatoshis // //The fields value and value_msat are mutually exclusive. ValueMsat int64 `protobuf:"varint,23,opt,name=value_msat,json=valueMsat,proto3" json:"value_msat,omitempty"` // Whether this invoice has been fulfilled // // Deprecated: Do not use. Settled bool `protobuf:"varint,6,opt,name=settled,proto3" json:"settled,omitempty"` // When this invoice was created CreationDate int64 `protobuf:"varint,7,opt,name=creation_date,json=creationDate,proto3" json:"creation_date,omitempty"` // When this invoice was settled SettleDate int64 `protobuf:"varint,8,opt,name=settle_date,json=settleDate,proto3" json:"settle_date,omitempty"` // //A bare-bones invoice for a payment within the Lightning Network. With the //details of the invoice, the sender has all the data necessary to send a //payment to the recipient. PaymentRequest string `protobuf:"bytes,9,opt,name=payment_request,json=paymentRequest,proto3" json:"payment_request,omitempty"` // //Hash (SHA-256) of a description of the payment. Used if the description of //payment (memo) is too long to naturally fit within the description field //of an encoded payment request. When using REST, this field must be encoded //as base64. DescriptionHash []byte `protobuf:"bytes,10,opt,name=description_hash,json=descriptionHash,proto3" json:"description_hash,omitempty"` // Payment request expiry time in seconds. Default is 3600 (1 hour). Expiry int64 `protobuf:"varint,11,opt,name=expiry,proto3" json:"expiry,omitempty"` // Fallback on-chain address. FallbackAddr string `protobuf:"bytes,12,opt,name=fallback_addr,json=fallbackAddr,proto3" json:"fallback_addr,omitempty"` // Delta to use for the time-lock of the CLTV extended to the final hop. CltvExpiry uint64 `protobuf:"varint,13,opt,name=cltv_expiry,json=cltvExpiry,proto3" json:"cltv_expiry,omitempty"` // //Route hints that can each be individually used to assist in reaching the //invoice's destination. RouteHints []*RouteHint `protobuf:"bytes,14,rep,name=route_hints,json=routeHints,proto3" json:"route_hints,omitempty"` // Whether this invoice should include routing hints for private channels. Private bool `protobuf:"varint,15,opt,name=private,proto3" json:"private,omitempty"` // //The "add" index of this invoice. Each newly created invoice will increment //this index making it monotonically increasing. Callers to the //SubscribeInvoices call can use this to instantly get notified of all added //invoices with an add_index greater than this one. AddIndex uint64 `protobuf:"varint,16,opt,name=add_index,json=addIndex,proto3" json:"add_index,omitempty"` // //The "settle" index of this invoice. Each newly settled invoice will //increment this index making it monotonically increasing. Callers to the //SubscribeInvoices call can use this to instantly get notified of all //settled invoices with an settle_index greater than this one. SettleIndex uint64 `protobuf:"varint,17,opt,name=settle_index,json=settleIndex,proto3" json:"settle_index,omitempty"` // Deprecated, use amt_paid_sat or amt_paid_msat. // // Deprecated: Do not use. AmtPaid int64 `protobuf:"varint,18,opt,name=amt_paid,json=amtPaid,proto3" json:"amt_paid,omitempty"` // //The amount that was accepted for this invoice, in satoshis. This will ONLY //be set if this invoice has been settled. We provide this field as if the //invoice was created with a zero value, then we need to record what amount //was ultimately accepted. Additionally, it's possible that the sender paid //MORE that was specified in the original invoice. So we'll record that here //as well. AmtPaidSat int64 `protobuf:"varint,19,opt,name=amt_paid_sat,json=amtPaidSat,proto3" json:"amt_paid_sat,omitempty"` // //The amount that was accepted for this invoice, in millisatoshis. This will //ONLY be set if this invoice has been settled. We provide this field as if //the invoice was created with a zero value, then we need to record what //amount was ultimately accepted. Additionally, it's possible that the sender //paid MORE that was specified in the original invoice. So we'll record that //here as well. AmtPaidMsat int64 `protobuf:"varint,20,opt,name=amt_paid_msat,json=amtPaidMsat,proto3" json:"amt_paid_msat,omitempty"` // //The state the invoice is in. State Invoice_InvoiceState `protobuf:"varint,21,opt,name=state,proto3,enum=lnrpc.Invoice_InvoiceState" json:"state,omitempty"` // List of HTLCs paying to this invoice [EXPERIMENTAL]. Htlcs []*InvoiceHTLC `protobuf:"bytes,22,rep,name=htlcs,proto3" json:"htlcs,omitempty"` // List of features advertised on the invoice. Features map[uint32]*Feature `` /* 159-byte string literal not displayed */ // //Indicates if this invoice was a spontaneous payment that arrived via keysend //[EXPERIMENTAL]. IsKeysend bool `protobuf:"varint,25,opt,name=is_keysend,json=isKeysend,proto3" json:"is_keysend,omitempty"` // //The payment address of this invoice. This value will be used in MPP //payments, and also for newer invoices that always require the MPP payload //for added end-to-end security. PaymentAddr []byte `protobuf:"bytes,26,opt,name=payment_addr,json=paymentAddr,proto3" json:"payment_addr,omitempty"` // //Signals whether or not this is an AMP invoice. IsAmp bool `protobuf:"varint,27,opt,name=is_amp,json=isAmp,proto3" json:"is_amp,omitempty"` // //[EXPERIMENTAL]: // //Maps a 32-byte hex-encoded set ID to the sub-invoice AMP state for the //given set ID. This field is always populated for AMP invoices, and can be //used along side LookupInvoice to obtain the HTLC information related to a //given sub-invoice. AmpInvoiceState map[string]*AMPInvoiceState `` /* 197-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Invoice) Descriptor
deprecated
func (*Invoice) GetAddIndex ¶
func (*Invoice) GetAmpInvoiceState ¶
func (x *Invoice) GetAmpInvoiceState() map[string]*AMPInvoiceState
func (*Invoice) GetAmtPaid
deprecated
func (*Invoice) GetAmtPaidMsat ¶
func (*Invoice) GetAmtPaidSat ¶
func (*Invoice) GetCltvExpiry ¶
func (*Invoice) GetCreationDate ¶
func (*Invoice) GetDescriptionHash ¶
func (*Invoice) GetFallbackAddr ¶
func (*Invoice) GetFeatures ¶
func (*Invoice) GetHtlcs ¶
func (x *Invoice) GetHtlcs() []*InvoiceHTLC
func (*Invoice) GetIsKeysend ¶
func (*Invoice) GetPaymentAddr ¶
func (*Invoice) GetPaymentRequest ¶
func (*Invoice) GetPrivate ¶
func (*Invoice) GetRPreimage ¶
func (*Invoice) GetRouteHints ¶
func (*Invoice) GetSettleDate ¶
func (*Invoice) GetSettleIndex ¶
func (*Invoice) GetSettled
deprecated
func (*Invoice) GetState ¶
func (x *Invoice) GetState() Invoice_InvoiceState
func (*Invoice) GetValueMsat ¶
func (*Invoice) ProtoMessage ¶
func (*Invoice) ProtoMessage()
func (*Invoice) ProtoReflect ¶
func (x *Invoice) ProtoReflect() protoreflect.Message
type InvoiceHTLC ¶
type InvoiceHTLC struct { // Short channel id over which the htlc was received. ChanId uint64 `protobuf:"varint,1,opt,name=chan_id,json=chanId,proto3" json:"chan_id,omitempty"` // Index identifying the htlc on the channel. HtlcIndex uint64 `protobuf:"varint,2,opt,name=htlc_index,json=htlcIndex,proto3" json:"htlc_index,omitempty"` // The amount of the htlc in msat. AmtMsat uint64 `protobuf:"varint,3,opt,name=amt_msat,json=amtMsat,proto3" json:"amt_msat,omitempty"` // Block height at which this htlc was accepted. AcceptHeight int32 `protobuf:"varint,4,opt,name=accept_height,json=acceptHeight,proto3" json:"accept_height,omitempty"` // Time at which this htlc was accepted. AcceptTime int64 `protobuf:"varint,5,opt,name=accept_time,json=acceptTime,proto3" json:"accept_time,omitempty"` // Time at which this htlc was settled or canceled. ResolveTime int64 `protobuf:"varint,6,opt,name=resolve_time,json=resolveTime,proto3" json:"resolve_time,omitempty"` // Block height at which this htlc expires. ExpiryHeight int32 `protobuf:"varint,7,opt,name=expiry_height,json=expiryHeight,proto3" json:"expiry_height,omitempty"` // Current state the htlc is in. State InvoiceHTLCState `protobuf:"varint,8,opt,name=state,proto3,enum=lnrpc.InvoiceHTLCState" json:"state,omitempty"` // Custom tlv records. CustomRecords map[uint64][]byte `` /* 189-byte string literal not displayed */ // The total amount of the mpp payment in msat. MppTotalAmtMsat uint64 `protobuf:"varint,10,opt,name=mpp_total_amt_msat,json=mppTotalAmtMsat,proto3" json:"mpp_total_amt_msat,omitempty"` // Details relevant to AMP HTLCs, only populated if this is an AMP HTLC. Amp *AMP `protobuf:"bytes,11,opt,name=amp,proto3" json:"amp,omitempty"` // contains filtered or unexported fields }
Details of an HTLC that paid to an invoice
func (*InvoiceHTLC) Descriptor
deprecated
func (*InvoiceHTLC) Descriptor() ([]byte, []int)
Deprecated: Use InvoiceHTLC.ProtoReflect.Descriptor instead.
func (*InvoiceHTLC) GetAcceptHeight ¶
func (x *InvoiceHTLC) GetAcceptHeight() int32
func (*InvoiceHTLC) GetAcceptTime ¶
func (x *InvoiceHTLC) GetAcceptTime() int64
func (*InvoiceHTLC) GetAmp ¶
func (x *InvoiceHTLC) GetAmp() *AMP
func (*InvoiceHTLC) GetAmtMsat ¶
func (x *InvoiceHTLC) GetAmtMsat() uint64
func (*InvoiceHTLC) GetChanId ¶
func (x *InvoiceHTLC) GetChanId() uint64
func (*InvoiceHTLC) GetCustomRecords ¶
func (x *InvoiceHTLC) GetCustomRecords() map[uint64][]byte
func (*InvoiceHTLC) GetExpiryHeight ¶
func (x *InvoiceHTLC) GetExpiryHeight() int32
func (*InvoiceHTLC) GetHtlcIndex ¶
func (x *InvoiceHTLC) GetHtlcIndex() uint64
func (*InvoiceHTLC) GetMppTotalAmtMsat ¶
func (x *InvoiceHTLC) GetMppTotalAmtMsat() uint64
func (*InvoiceHTLC) GetResolveTime ¶
func (x *InvoiceHTLC) GetResolveTime() int64
func (*InvoiceHTLC) GetState ¶
func (x *InvoiceHTLC) GetState() InvoiceHTLCState
func (*InvoiceHTLC) ProtoMessage ¶
func (*InvoiceHTLC) ProtoMessage()
func (*InvoiceHTLC) ProtoReflect ¶
func (x *InvoiceHTLC) ProtoReflect() protoreflect.Message
func (*InvoiceHTLC) Reset ¶
func (x *InvoiceHTLC) Reset()
func (*InvoiceHTLC) String ¶
func (x *InvoiceHTLC) String() string
type InvoiceHTLCState ¶
type InvoiceHTLCState int32
const ( InvoiceHTLCState_ACCEPTED InvoiceHTLCState = 0 InvoiceHTLCState_SETTLED InvoiceHTLCState = 1 InvoiceHTLCState_CANCELED InvoiceHTLCState = 2 )
func (InvoiceHTLCState) Descriptor ¶
func (InvoiceHTLCState) Descriptor() protoreflect.EnumDescriptor
func (InvoiceHTLCState) Enum ¶
func (x InvoiceHTLCState) Enum() *InvoiceHTLCState
func (InvoiceHTLCState) EnumDescriptor
deprecated
func (InvoiceHTLCState) EnumDescriptor() ([]byte, []int)
Deprecated: Use InvoiceHTLCState.Descriptor instead.
func (InvoiceHTLCState) Number ¶
func (x InvoiceHTLCState) Number() protoreflect.EnumNumber
func (InvoiceHTLCState) String ¶
func (x InvoiceHTLCState) String() string
func (InvoiceHTLCState) Type ¶
func (InvoiceHTLCState) Type() protoreflect.EnumType
type InvoiceSubscription ¶
type InvoiceSubscription struct { // //If specified (non-zero), then we'll first start by sending out //notifications for all added indexes with an add_index greater than this //value. This allows callers to catch up on any events they missed while they //weren't connected to the streaming RPC. AddIndex uint64 `protobuf:"varint,1,opt,name=add_index,json=addIndex,proto3" json:"add_index,omitempty"` // //If specified (non-zero), then we'll first start by sending out //notifications for all settled indexes with an settle_index greater than //this value. This allows callers to catch up on any events they missed while //they weren't connected to the streaming RPC. SettleIndex uint64 `protobuf:"varint,2,opt,name=settle_index,json=settleIndex,proto3" json:"settle_index,omitempty"` // contains filtered or unexported fields }
func (*InvoiceSubscription) Descriptor
deprecated
func (*InvoiceSubscription) Descriptor() ([]byte, []int)
Deprecated: Use InvoiceSubscription.ProtoReflect.Descriptor instead.
func (*InvoiceSubscription) GetAddIndex ¶
func (x *InvoiceSubscription) GetAddIndex() uint64
func (*InvoiceSubscription) GetSettleIndex ¶
func (x *InvoiceSubscription) GetSettleIndex() uint64
func (*InvoiceSubscription) ProtoMessage ¶
func (*InvoiceSubscription) ProtoMessage()
func (*InvoiceSubscription) ProtoReflect ¶
func (x *InvoiceSubscription) ProtoReflect() protoreflect.Message
func (*InvoiceSubscription) Reset ¶
func (x *InvoiceSubscription) Reset()
func (*InvoiceSubscription) String ¶
func (x *InvoiceSubscription) String() string
type Invoice_InvoiceState ¶
type Invoice_InvoiceState int32
const ( Invoice_OPEN Invoice_InvoiceState = 0 Invoice_SETTLED Invoice_InvoiceState = 1 Invoice_CANCELED Invoice_InvoiceState = 2 Invoice_ACCEPTED Invoice_InvoiceState = 3 )
func (Invoice_InvoiceState) Descriptor ¶
func (Invoice_InvoiceState) Descriptor() protoreflect.EnumDescriptor
func (Invoice_InvoiceState) Enum ¶
func (x Invoice_InvoiceState) Enum() *Invoice_InvoiceState
func (Invoice_InvoiceState) EnumDescriptor
deprecated
func (Invoice_InvoiceState) EnumDescriptor() ([]byte, []int)
Deprecated: Use Invoice_InvoiceState.Descriptor instead.
func (Invoice_InvoiceState) Number ¶
func (x Invoice_InvoiceState) Number() protoreflect.EnumNumber
func (Invoice_InvoiceState) String ¶
func (x Invoice_InvoiceState) String() string
func (Invoice_InvoiceState) Type ¶
func (Invoice_InvoiceState) Type() protoreflect.EnumType
type KeyDescriptor ¶
type KeyDescriptor struct { // //The raw bytes of the key being identified. RawKeyBytes []byte `protobuf:"bytes,1,opt,name=raw_key_bytes,json=rawKeyBytes,proto3" json:"raw_key_bytes,omitempty"` // //The key locator that identifies which key to use for signing. KeyLoc *KeyLocator `protobuf:"bytes,2,opt,name=key_loc,json=keyLoc,proto3" json:"key_loc,omitempty"` // contains filtered or unexported fields }
func (*KeyDescriptor) Descriptor
deprecated
func (*KeyDescriptor) Descriptor() ([]byte, []int)
Deprecated: Use KeyDescriptor.ProtoReflect.Descriptor instead.
func (*KeyDescriptor) GetKeyLoc ¶
func (x *KeyDescriptor) GetKeyLoc() *KeyLocator
func (*KeyDescriptor) GetRawKeyBytes ¶
func (x *KeyDescriptor) GetRawKeyBytes() []byte
func (*KeyDescriptor) ProtoMessage ¶
func (*KeyDescriptor) ProtoMessage()
func (*KeyDescriptor) ProtoReflect ¶
func (x *KeyDescriptor) ProtoReflect() protoreflect.Message
func (*KeyDescriptor) Reset ¶
func (x *KeyDescriptor) Reset()
func (*KeyDescriptor) String ¶
func (x *KeyDescriptor) String() string
type KeyLocator ¶
type KeyLocator struct { // The family of key being identified. KeyFamily int32 `protobuf:"varint,1,opt,name=key_family,json=keyFamily,proto3" json:"key_family,omitempty"` // The precise index of the key being identified. KeyIndex int32 `protobuf:"varint,2,opt,name=key_index,json=keyIndex,proto3" json:"key_index,omitempty"` // contains filtered or unexported fields }
func (*KeyLocator) Descriptor
deprecated
func (*KeyLocator) Descriptor() ([]byte, []int)
Deprecated: Use KeyLocator.ProtoReflect.Descriptor instead.
func (*KeyLocator) GetKeyFamily ¶
func (x *KeyLocator) GetKeyFamily() int32
func (*KeyLocator) GetKeyIndex ¶
func (x *KeyLocator) GetKeyIndex() int32
func (*KeyLocator) ProtoMessage ¶
func (*KeyLocator) ProtoMessage()
func (*KeyLocator) ProtoReflect ¶
func (x *KeyLocator) ProtoReflect() protoreflect.Message
func (*KeyLocator) Reset ¶
func (x *KeyLocator) Reset()
func (*KeyLocator) String ¶
func (x *KeyLocator) String() string
type LightningAddress ¶
type LightningAddress struct { // The identity pubkey of the Lightning node Pubkey string `protobuf:"bytes,1,opt,name=pubkey,proto3" json:"pubkey,omitempty"` // The network location of the lightning node, e.g. `69.69.69.69:1337` or // `localhost:10011` Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"` // contains filtered or unexported fields }
func (*LightningAddress) Descriptor
deprecated
func (*LightningAddress) Descriptor() ([]byte, []int)
Deprecated: Use LightningAddress.ProtoReflect.Descriptor instead.
func (*LightningAddress) GetHost ¶
func (x *LightningAddress) GetHost() string
func (*LightningAddress) GetPubkey ¶
func (x *LightningAddress) GetPubkey() string
func (*LightningAddress) ProtoMessage ¶
func (*LightningAddress) ProtoMessage()
func (*LightningAddress) ProtoReflect ¶
func (x *LightningAddress) ProtoReflect() protoreflect.Message
func (*LightningAddress) Reset ¶
func (x *LightningAddress) Reset()
func (*LightningAddress) String ¶
func (x *LightningAddress) String() string
type LightningClient ¶
type LightningClient interface { // lncli: `walletbalance` //WalletBalance returns total unspent outputs(confirmed and unconfirmed), all //confirmed unspent outputs and all unconfirmed unspent outputs under control //of the wallet. WalletBalance(ctx context.Context, in *WalletBalanceRequest, opts ...grpc.CallOption) (*WalletBalanceResponse, error) // lncli: `channelbalance` //ChannelBalance returns a report on the total funds across all open channels, //categorized in local/remote, pending local/remote and unsettled local/remote //balances. ChannelBalance(ctx context.Context, in *ChannelBalanceRequest, opts ...grpc.CallOption) (*ChannelBalanceResponse, error) // lncli: `listchaintxns` //GetTransactions returns a list describing all the known transactions //relevant to the wallet. GetTransactions(ctx context.Context, in *GetTransactionsRequest, opts ...grpc.CallOption) (*TransactionDetails, error) // lncli: `estimatefee` //EstimateFee asks the chain backend to estimate the fee rate and total fees //for a transaction that pays to multiple specified outputs. // //When using REST, the `AddrToAmount` map type can be set by appending //`&AddrToAmount[<address>]=<amount_to_send>` to the URL. Unfortunately this //map type doesn't appear in the REST API documentation because of a bug in //the grpc-gateway library. EstimateFee(ctx context.Context, in *EstimateFeeRequest, opts ...grpc.CallOption) (*EstimateFeeResponse, error) // lncli: `sendcoins` //SendCoins executes a request to send coins to a particular address. Unlike //SendMany, this RPC call only allows creating a single output at a time. If //neither target_conf, or sat_per_vbyte are set, then the internal wallet will //consult its fee model to determine a fee for the default confirmation //target. SendCoins(ctx context.Context, in *SendCoinsRequest, opts ...grpc.CallOption) (*SendCoinsResponse, error) // lncli: `listunspent` //Deprecated, use walletrpc.ListUnspent instead. // //ListUnspent returns a list of all utxos spendable by the wallet with a //number of confirmations between the specified minimum and maximum. ListUnspent(ctx context.Context, in *ListUnspentRequest, opts ...grpc.CallOption) (*ListUnspentResponse, error) // //SubscribeTransactions creates a uni-directional stream from the server to //the client in which any newly discovered transactions relevant to the //wallet are sent over. SubscribeTransactions(ctx context.Context, in *GetTransactionsRequest, opts ...grpc.CallOption) (Lightning_SubscribeTransactionsClient, error) // lncli: `sendmany` //SendMany handles a request for a transaction that creates multiple specified //outputs in parallel. If neither target_conf, or sat_per_vbyte are set, then //the internal wallet will consult its fee model to determine a fee for the //default confirmation target. SendMany(ctx context.Context, in *SendManyRequest, opts ...grpc.CallOption) (*SendManyResponse, error) // lncli: `newaddress` //NewAddress creates a new address under control of the local wallet. NewAddress(ctx context.Context, in *NewAddressRequest, opts ...grpc.CallOption) (*NewAddressResponse, error) // lncli: `signmessage` //SignMessage signs a message with this node's private key. The returned //signature string is `zbase32` encoded and pubkey recoverable, meaning that //only the message digest and signature are needed for verification. SignMessage(ctx context.Context, in *SignMessageRequest, opts ...grpc.CallOption) (*SignMessageResponse, error) // lncli: `verifymessage` //VerifyMessage verifies a signature over a msg. The signature must be //zbase32 encoded and signed by an active node in the resident node's //channel database. In addition to returning the validity of the signature, //VerifyMessage also returns the recovered pubkey from the signature. VerifyMessage(ctx context.Context, in *VerifyMessageRequest, opts ...grpc.CallOption) (*VerifyMessageResponse, error) // lncli: `connect` //ConnectPeer attempts to establish a connection to a remote peer. This is at //the networking level, and is used for communication between nodes. This is //distinct from establishing a channel with a peer. ConnectPeer(ctx context.Context, in *ConnectPeerRequest, opts ...grpc.CallOption) (*ConnectPeerResponse, error) // lncli: `disconnect` //DisconnectPeer attempts to disconnect one peer from another identified by a //given pubKey. In the case that we currently have a pending or active channel //with the target peer, then this action will be not be allowed. DisconnectPeer(ctx context.Context, in *DisconnectPeerRequest, opts ...grpc.CallOption) (*DisconnectPeerResponse, error) // lncli: `listpeers` //ListPeers returns a verbose listing of all currently active peers. ListPeers(ctx context.Context, in *ListPeersRequest, opts ...grpc.CallOption) (*ListPeersResponse, error) // //SubscribePeerEvents creates a uni-directional stream from the server to //the client in which any events relevant to the state of peers are sent //over. Events include peers going online and offline. SubscribePeerEvents(ctx context.Context, in *PeerEventSubscription, opts ...grpc.CallOption) (Lightning_SubscribePeerEventsClient, error) // lncli: `getinfo` //GetInfo returns general information concerning the lightning node including //it's identity pubkey, alias, the chains it is connected to, and information //concerning the number of open+pending channels. GetInfo(ctx context.Context, in *GetInfoRequest, opts ...grpc.CallOption) (*GetInfoResponse, error) //* lncli: `getrecoveryinfo` //GetRecoveryInfo returns information concerning the recovery mode including //whether it's in a recovery mode, whether the recovery is finished, and the //progress made so far. GetRecoveryInfo(ctx context.Context, in *GetRecoveryInfoRequest, opts ...grpc.CallOption) (*GetRecoveryInfoResponse, error) // lncli: `pendingchannels` //PendingChannels returns a list of all the channels that are currently //considered "pending". A channel is pending if it has finished the funding //workflow and is waiting for confirmations for the funding txn, or is in the //process of closure, either initiated cooperatively or non-cooperatively. PendingChannels(ctx context.Context, in *PendingChannelsRequest, opts ...grpc.CallOption) (*PendingChannelsResponse, error) // lncli: `listchannels` //ListChannels returns a description of all the open channels that this node //is a participant in. ListChannels(ctx context.Context, in *ListChannelsRequest, opts ...grpc.CallOption) (*ListChannelsResponse, error) // //SubscribeChannelEvents creates a uni-directional stream from the server to //the client in which any updates relevant to the state of the channels are //sent over. Events include new active channels, inactive channels, and closed //channels. SubscribeChannelEvents(ctx context.Context, in *ChannelEventSubscription, opts ...grpc.CallOption) (Lightning_SubscribeChannelEventsClient, error) // lncli: `closedchannels` //ClosedChannels returns a description of all the closed channels that //this node was a participant in. ClosedChannels(ctx context.Context, in *ClosedChannelsRequest, opts ...grpc.CallOption) (*ClosedChannelsResponse, error) // //OpenChannelSync is a synchronous version of the OpenChannel RPC call. This //call is meant to be consumed by clients to the REST proxy. As with all //other sync calls, all byte slices are intended to be populated as hex //encoded strings. OpenChannelSync(ctx context.Context, in *OpenChannelRequest, opts ...grpc.CallOption) (*ChannelPoint, error) // lncli: `openchannel` //OpenChannel attempts to open a singly funded channel specified in the //request to a remote peer. Users are able to specify a target number of //blocks that the funding transaction should be confirmed in, or a manual fee //rate to us for the funding transaction. If neither are specified, then a //lax block confirmation target is used. Each OpenStatusUpdate will return //the pending channel ID of the in-progress channel. Depending on the //arguments specified in the OpenChannelRequest, this pending channel ID can //then be used to manually progress the channel funding flow. OpenChannel(ctx context.Context, in *OpenChannelRequest, opts ...grpc.CallOption) (Lightning_OpenChannelClient, error) // lncli: `batchopenchannel` //BatchOpenChannel attempts to open multiple single-funded channels in a //single transaction in an atomic way. This means either all channel open //requests succeed at once or all attempts are aborted if any of them fail. //This is the safer variant of using PSBTs to manually fund a batch of //channels through the OpenChannel RPC. BatchOpenChannel(ctx context.Context, in *BatchOpenChannelRequest, opts ...grpc.CallOption) (*BatchOpenChannelResponse, error) // //FundingStateStep is an advanced funding related call that allows the caller //to either execute some preparatory steps for a funding workflow, or //manually progress a funding workflow. The primary way a funding flow is //identified is via its pending channel ID. As an example, this method can be //used to specify that we're expecting a funding flow for a particular //pending channel ID, for which we need to use specific parameters. //Alternatively, this can be used to interactively drive PSBT signing for //funding for partially complete funding transactions. FundingStateStep(ctx context.Context, in *FundingTransitionMsg, opts ...grpc.CallOption) (*FundingStateStepResp, error) // //ChannelAcceptor dispatches a bi-directional streaming RPC in which //OpenChannel requests are sent to the client and the client responds with //a boolean that tells LND whether or not to accept the channel. This allows //node operators to specify their own criteria for accepting inbound channels //through a single persistent connection. ChannelAcceptor(ctx context.Context, opts ...grpc.CallOption) (Lightning_ChannelAcceptorClient, error) // lncli: `closechannel` //CloseChannel attempts to close an active channel identified by its channel //outpoint (ChannelPoint). The actions of this method can additionally be //augmented to attempt a force close after a timeout period in the case of an //inactive peer. If a non-force close (cooperative closure) is requested, //then the user can specify either a target number of blocks until the //closure transaction is confirmed, or a manual fee rate. If neither are //specified, then a default lax, block confirmation target is used. CloseChannel(ctx context.Context, in *CloseChannelRequest, opts ...grpc.CallOption) (Lightning_CloseChannelClient, error) // lncli: `abandonchannel` //AbandonChannel removes all channel state from the database except for a //close summary. This method can be used to get rid of permanently unusable //channels due to bugs fixed in newer versions of lnd. This method can also be //used to remove externally funded channels where the funding transaction was //never broadcast. Only available for non-externally funded channels in dev //build. AbandonChannel(ctx context.Context, in *AbandonChannelRequest, opts ...grpc.CallOption) (*AbandonChannelResponse, error) // Deprecated: Do not use. // lncli: `sendpayment` //Deprecated, use routerrpc.SendPaymentV2. SendPayment dispatches a //bi-directional streaming RPC for sending payments through the Lightning //Network. A single RPC invocation creates a persistent bi-directional //stream allowing clients to rapidly send payments through the Lightning //Network with a single persistent connection. SendPayment(ctx context.Context, opts ...grpc.CallOption) (Lightning_SendPaymentClient, error) // //SendPaymentSync is the synchronous non-streaming version of SendPayment. //This RPC is intended to be consumed by clients of the REST proxy. //Additionally, this RPC expects the destination's public key and the payment //hash (if any) to be encoded as hex strings. SendPaymentSync(ctx context.Context, in *SendRequest, opts ...grpc.CallOption) (*SendResponse, error) // Deprecated: Do not use. // lncli: `sendtoroute` //Deprecated, use routerrpc.SendToRouteV2. SendToRoute is a bi-directional //streaming RPC for sending payment through the Lightning Network. This //method differs from SendPayment in that it allows users to specify a full //route manually. This can be used for things like rebalancing, and atomic //swaps. SendToRoute(ctx context.Context, opts ...grpc.CallOption) (Lightning_SendToRouteClient, error) // //SendToRouteSync is a synchronous version of SendToRoute. It Will block //until the payment either fails or succeeds. SendToRouteSync(ctx context.Context, in *SendToRouteRequest, opts ...grpc.CallOption) (*SendResponse, error) // lncli: `addinvoice` //AddInvoice attempts to add a new invoice to the invoice database. Any //duplicated invoices are rejected, therefore all invoices *must* have a //unique payment preimage. AddInvoice(ctx context.Context, in *Invoice, opts ...grpc.CallOption) (*AddInvoiceResponse, error) // lncli: `listinvoices` //ListInvoices returns a list of all the invoices currently stored within the //database. Any active debug invoices are ignored. It has full support for //paginated responses, allowing users to query for specific invoices through //their add_index. This can be done by using either the first_index_offset or //last_index_offset fields included in the response as the index_offset of the //next request. By default, the first 100 invoices created will be returned. //Backwards pagination is also supported through the Reversed flag. ListInvoices(ctx context.Context, in *ListInvoiceRequest, opts ...grpc.CallOption) (*ListInvoiceResponse, error) // lncli: `lookupinvoice` //LookupInvoice attempts to look up an invoice according to its payment hash. //The passed payment hash *must* be exactly 32 bytes, if not, an error is //returned. LookupInvoice(ctx context.Context, in *PaymentHash, opts ...grpc.CallOption) (*Invoice, error) // //SubscribeInvoices returns a uni-directional stream (server -> client) for //notifying the client of newly added/settled invoices. The caller can //optionally specify the add_index and/or the settle_index. If the add_index //is specified, then we'll first start by sending add invoice events for all //invoices with an add_index greater than the specified value. If the //settle_index is specified, the next, we'll send out all settle events for //invoices with a settle_index greater than the specified value. One or both //of these fields can be set. If no fields are set, then we'll only send out //the latest add/settle events. SubscribeInvoices(ctx context.Context, in *InvoiceSubscription, opts ...grpc.CallOption) (Lightning_SubscribeInvoicesClient, error) // lncli: `decodepayreq` //DecodePayReq takes an encoded payment request string and attempts to decode //it, returning a full description of the conditions encoded within the //payment request. DecodePayReq(ctx context.Context, in *PayReqString, opts ...grpc.CallOption) (*PayReq, error) // lncli: `listpayments` //ListPayments returns a list of all outgoing payments. ListPayments(ctx context.Context, in *ListPaymentsRequest, opts ...grpc.CallOption) (*ListPaymentsResponse, error) // //DeletePayment deletes an outgoing payment from DB. Note that it will not //attempt to delete an In-Flight payment, since that would be unsafe. DeletePayment(ctx context.Context, in *DeletePaymentRequest, opts ...grpc.CallOption) (*DeletePaymentResponse, error) // //DeleteAllPayments deletes all outgoing payments from DB. Note that it will //not attempt to delete In-Flight payments, since that would be unsafe. DeleteAllPayments(ctx context.Context, in *DeleteAllPaymentsRequest, opts ...grpc.CallOption) (*DeleteAllPaymentsResponse, error) // lncli: `describegraph` //DescribeGraph returns a description of the latest graph state from the //point of view of the node. The graph information is partitioned into two //components: all the nodes/vertexes, and all the edges that connect the //vertexes themselves. As this is a directed graph, the edges also contain //the node directional specific routing policy which includes: the time lock //delta, fee information, etc. DescribeGraph(ctx context.Context, in *ChannelGraphRequest, opts ...grpc.CallOption) (*ChannelGraph, error) // lncli: `getnodemetrics` //GetNodeMetrics returns node metrics calculated from the graph. Currently //the only supported metric is betweenness centrality of individual nodes. GetNodeMetrics(ctx context.Context, in *NodeMetricsRequest, opts ...grpc.CallOption) (*NodeMetricsResponse, error) // lncli: `getchaninfo` //GetChanInfo returns the latest authenticated network announcement for the //given channel identified by its channel ID: an 8-byte integer which //uniquely identifies the location of transaction's funding output within the //blockchain. GetChanInfo(ctx context.Context, in *ChanInfoRequest, opts ...grpc.CallOption) (*ChannelEdge, error) // lncli: `getnodeinfo` //GetNodeInfo returns the latest advertised, aggregated, and authenticated //channel information for the specified node identified by its public key. GetNodeInfo(ctx context.Context, in *NodeInfoRequest, opts ...grpc.CallOption) (*NodeInfo, error) // lncli: `queryroutes` //QueryRoutes attempts to query the daemon's Channel Router for a possible //route to a target destination capable of carrying a specific amount of //satoshis. The returned route contains the full details required to craft and //send an HTLC, also including the necessary information that should be //present within the Sphinx packet encapsulated within the HTLC. // //When using REST, the `dest_custom_records` map type can be set by appending //`&dest_custom_records[<record_number>]=<record_data_base64_url_encoded>` //to the URL. Unfortunately this map type doesn't appear in the REST API //documentation because of a bug in the grpc-gateway library. QueryRoutes(ctx context.Context, in *QueryRoutesRequest, opts ...grpc.CallOption) (*QueryRoutesResponse, error) // lncli: `getnetworkinfo` //GetNetworkInfo returns some basic stats about the known channel graph from //the point of view of the node. GetNetworkInfo(ctx context.Context, in *NetworkInfoRequest, opts ...grpc.CallOption) (*NetworkInfo, error) // lncli: `stop` //StopDaemon will send a shutdown request to the interrupt handler, triggering //a graceful shutdown of the daemon. StopDaemon(ctx context.Context, in *StopRequest, opts ...grpc.CallOption) (*StopResponse, error) // //SubscribeChannelGraph launches a streaming RPC that allows the caller to //receive notifications upon any changes to the channel graph topology from //the point of view of the responding node. Events notified include: new //nodes coming online, nodes updating their authenticated attributes, new //channels being advertised, updates in the routing policy for a directional //channel edge, and when channels are closed on-chain. SubscribeChannelGraph(ctx context.Context, in *GraphTopologySubscription, opts ...grpc.CallOption) (Lightning_SubscribeChannelGraphClient, error) // lncli: `debuglevel` //DebugLevel allows a caller to programmatically set the logging verbosity of //lnd. The logging can be targeted according to a coarse daemon-wide logging //level, or in a granular fashion to specify the logging for a target //sub-system. DebugLevel(ctx context.Context, in *DebugLevelRequest, opts ...grpc.CallOption) (*DebugLevelResponse, error) // lncli: `feereport` //FeeReport allows the caller to obtain a report detailing the current fee //schedule enforced by the node globally for each channel. FeeReport(ctx context.Context, in *FeeReportRequest, opts ...grpc.CallOption) (*FeeReportResponse, error) // lncli: `updatechanpolicy` //UpdateChannelPolicy allows the caller to update the fee schedule and //channel policies for all channels globally, or a particular channel. UpdateChannelPolicy(ctx context.Context, in *PolicyUpdateRequest, opts ...grpc.CallOption) (*PolicyUpdateResponse, error) // lncli: `fwdinghistory` //ForwardingHistory allows the caller to query the htlcswitch for a record of //all HTLCs forwarded within the target time range, and integer offset //within that time range, for a maximum number of events. If no maximum number //of events is specified, up to 100 events will be returned. If no time-range //is specified, then events will be returned in the order that they occured. // //A list of forwarding events are returned. The size of each forwarding event //is 40 bytes, and the max message size able to be returned in gRPC is 4 MiB. //As a result each message can only contain 50k entries. Each response has //the index offset of the last entry. The index offset can be provided to the //request to allow the caller to skip a series of records. ForwardingHistory(ctx context.Context, in *ForwardingHistoryRequest, opts ...grpc.CallOption) (*ForwardingHistoryResponse, error) // lncli: `exportchanbackup` //ExportChannelBackup attempts to return an encrypted static channel backup //for the target channel identified by it channel point. The backup is //encrypted with a key generated from the aezeed seed of the user. The //returned backup can either be restored using the RestoreChannelBackup //method once lnd is running, or via the InitWallet and UnlockWallet methods //from the WalletUnlocker service. ExportChannelBackup(ctx context.Context, in *ExportChannelBackupRequest, opts ...grpc.CallOption) (*ChannelBackup, error) // //ExportAllChannelBackups returns static channel backups for all existing //channels known to lnd. A set of regular singular static channel backups for //each channel are returned. Additionally, a multi-channel backup is returned //as well, which contains a single encrypted blob containing the backups of //each channel. ExportAllChannelBackups(ctx context.Context, in *ChanBackupExportRequest, opts ...grpc.CallOption) (*ChanBackupSnapshot, error) // //VerifyChanBackup allows a caller to verify the integrity of a channel backup //snapshot. This method will accept either a packed Single or a packed Multi. //Specifying both will result in an error. VerifyChanBackup(ctx context.Context, in *ChanBackupSnapshot, opts ...grpc.CallOption) (*VerifyChanBackupResponse, error) // lncli: `restorechanbackup` //RestoreChannelBackups accepts a set of singular channel backups, or a //single encrypted multi-chan backup and attempts to recover any funds //remaining within the channel. If we are able to unpack the backup, then the //new channel will be shown under listchannels, as well as pending channels. RestoreChannelBackups(ctx context.Context, in *RestoreChanBackupRequest, opts ...grpc.CallOption) (*RestoreBackupResponse, error) // //SubscribeChannelBackups allows a client to sub-subscribe to the most up to //date information concerning the state of all channel backups. Each time a //new channel is added, we return the new set of channels, along with a //multi-chan backup containing the backup info for all channels. Each time a //channel is closed, we send a new update, which contains new new chan back //ups, but the updated set of encrypted multi-chan backups with the closed //channel(s) removed. SubscribeChannelBackups(ctx context.Context, in *ChannelBackupSubscription, opts ...grpc.CallOption) (Lightning_SubscribeChannelBackupsClient, error) // lncli: `bakemacaroon` //BakeMacaroon allows the creation of a new macaroon with custom read and //write permissions. No first-party caveats are added since this can be done //offline. BakeMacaroon(ctx context.Context, in *BakeMacaroonRequest, opts ...grpc.CallOption) (*BakeMacaroonResponse, error) // lncli: `listmacaroonids` //ListMacaroonIDs returns all root key IDs that are in use. ListMacaroonIDs(ctx context.Context, in *ListMacaroonIDsRequest, opts ...grpc.CallOption) (*ListMacaroonIDsResponse, error) // lncli: `deletemacaroonid` //DeleteMacaroonID deletes the specified macaroon ID and invalidates all //macaroons derived from that ID. DeleteMacaroonID(ctx context.Context, in *DeleteMacaroonIDRequest, opts ...grpc.CallOption) (*DeleteMacaroonIDResponse, error) // lncli: `listpermissions` //ListPermissions lists all RPC method URIs and their required macaroon //permissions to access them. ListPermissions(ctx context.Context, in *ListPermissionsRequest, opts ...grpc.CallOption) (*ListPermissionsResponse, error) // //CheckMacaroonPermissions checks whether a request follows the constraints //imposed on the macaroon and that the macaroon is authorized to follow the //provided permissions. CheckMacaroonPermissions(ctx context.Context, in *CheckMacPermRequest, opts ...grpc.CallOption) (*CheckMacPermResponse, error) // //RegisterRPCMiddleware adds a new gRPC middleware to the interceptor chain. A //gRPC middleware is software component external to lnd that aims to add //additional business logic to lnd by observing/intercepting/validating //incoming gRPC client requests and (if needed) replacing/overwriting outgoing //messages before they're sent to the client. When registering the middleware //must identify itself and indicate what custom macaroon caveats it wants to //be responsible for. Only requests that contain a macaroon with that specific //custom caveat are then sent to the middleware for inspection. The other //option is to register for the read-only mode in which all requests/responses //are forwarded for interception to the middleware but the middleware is not //allowed to modify any responses. As a security measure, _no_ middleware can //modify responses for requests made with _unencumbered_ macaroons! RegisterRPCMiddleware(ctx context.Context, opts ...grpc.CallOption) (Lightning_RegisterRPCMiddlewareClient, error) // lncli: `sendcustom` //SendCustomMessage sends a custom peer message. SendCustomMessage(ctx context.Context, in *SendCustomMessageRequest, opts ...grpc.CallOption) (*SendCustomMessageResponse, error) // lncli: `subscribecustom` //SubscribeCustomMessages subscribes to a stream of incoming custom peer //messages. SubscribeCustomMessages(ctx context.Context, in *SubscribeCustomMessagesRequest, opts ...grpc.CallOption) (Lightning_SubscribeCustomMessagesClient, error) }
LightningClient is the client API for Lightning service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewLightningClient ¶
func NewLightningClient(cc grpc.ClientConnInterface) LightningClient
type LightningNode ¶
type LightningNode struct { LastUpdate uint32 `protobuf:"varint,1,opt,name=last_update,json=lastUpdate,proto3" json:"last_update,omitempty"` PubKey string `protobuf:"bytes,2,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"` Alias string `protobuf:"bytes,3,opt,name=alias,proto3" json:"alias,omitempty"` Addresses []*NodeAddress `protobuf:"bytes,4,rep,name=addresses,proto3" json:"addresses,omitempty"` Color string `protobuf:"bytes,5,opt,name=color,proto3" json:"color,omitempty"` Features map[uint32]*Feature `` /* 158-byte string literal not displayed */ // contains filtered or unexported fields }
An individual vertex/node within the channel graph. A node is connected to other nodes by one or more channel edges emanating from it. As the graph is directed, a node will also have an incoming edge attached to it for each outgoing edge.
func (*LightningNode) Descriptor
deprecated
func (*LightningNode) Descriptor() ([]byte, []int)
Deprecated: Use LightningNode.ProtoReflect.Descriptor instead.
func (*LightningNode) GetAddresses ¶
func (x *LightningNode) GetAddresses() []*NodeAddress
func (*LightningNode) GetAlias ¶
func (x *LightningNode) GetAlias() string
func (*LightningNode) GetColor ¶
func (x *LightningNode) GetColor() string
func (*LightningNode) GetFeatures ¶
func (x *LightningNode) GetFeatures() map[uint32]*Feature
func (*LightningNode) GetLastUpdate ¶
func (x *LightningNode) GetLastUpdate() uint32
func (*LightningNode) GetPubKey ¶
func (x *LightningNode) GetPubKey() string
func (*LightningNode) ProtoMessage ¶
func (*LightningNode) ProtoMessage()
func (*LightningNode) ProtoReflect ¶
func (x *LightningNode) ProtoReflect() protoreflect.Message
func (*LightningNode) Reset ¶
func (x *LightningNode) Reset()
func (*LightningNode) String ¶
func (x *LightningNode) String() string
type LightningServer ¶
type LightningServer interface { // lncli: `walletbalance` //WalletBalance returns total unspent outputs(confirmed and unconfirmed), all //confirmed unspent outputs and all unconfirmed unspent outputs under control //of the wallet. WalletBalance(context.Context, *WalletBalanceRequest) (*WalletBalanceResponse, error) // lncli: `channelbalance` //ChannelBalance returns a report on the total funds across all open channels, //categorized in local/remote, pending local/remote and unsettled local/remote //balances. ChannelBalance(context.Context, *ChannelBalanceRequest) (*ChannelBalanceResponse, error) // lncli: `listchaintxns` //GetTransactions returns a list describing all the known transactions //relevant to the wallet. GetTransactions(context.Context, *GetTransactionsRequest) (*TransactionDetails, error) // lncli: `estimatefee` //EstimateFee asks the chain backend to estimate the fee rate and total fees //for a transaction that pays to multiple specified outputs. // //When using REST, the `AddrToAmount` map type can be set by appending //`&AddrToAmount[<address>]=<amount_to_send>` to the URL. Unfortunately this //map type doesn't appear in the REST API documentation because of a bug in //the grpc-gateway library. EstimateFee(context.Context, *EstimateFeeRequest) (*EstimateFeeResponse, error) // lncli: `sendcoins` //SendCoins executes a request to send coins to a particular address. Unlike //SendMany, this RPC call only allows creating a single output at a time. If //neither target_conf, or sat_per_vbyte are set, then the internal wallet will //consult its fee model to determine a fee for the default confirmation //target. SendCoins(context.Context, *SendCoinsRequest) (*SendCoinsResponse, error) // lncli: `listunspent` //Deprecated, use walletrpc.ListUnspent instead. // //ListUnspent returns a list of all utxos spendable by the wallet with a //number of confirmations between the specified minimum and maximum. ListUnspent(context.Context, *ListUnspentRequest) (*ListUnspentResponse, error) // //SubscribeTransactions creates a uni-directional stream from the server to //the client in which any newly discovered transactions relevant to the //wallet are sent over. SubscribeTransactions(*GetTransactionsRequest, Lightning_SubscribeTransactionsServer) error // lncli: `sendmany` //SendMany handles a request for a transaction that creates multiple specified //outputs in parallel. If neither target_conf, or sat_per_vbyte are set, then //the internal wallet will consult its fee model to determine a fee for the //default confirmation target. SendMany(context.Context, *SendManyRequest) (*SendManyResponse, error) // lncli: `newaddress` //NewAddress creates a new address under control of the local wallet. NewAddress(context.Context, *NewAddressRequest) (*NewAddressResponse, error) // lncli: `signmessage` //SignMessage signs a message with this node's private key. The returned //signature string is `zbase32` encoded and pubkey recoverable, meaning that //only the message digest and signature are needed for verification. SignMessage(context.Context, *SignMessageRequest) (*SignMessageResponse, error) // lncli: `verifymessage` //VerifyMessage verifies a signature over a msg. The signature must be //zbase32 encoded and signed by an active node in the resident node's //channel database. In addition to returning the validity of the signature, //VerifyMessage also returns the recovered pubkey from the signature. VerifyMessage(context.Context, *VerifyMessageRequest) (*VerifyMessageResponse, error) // lncli: `connect` //ConnectPeer attempts to establish a connection to a remote peer. This is at //the networking level, and is used for communication between nodes. This is //distinct from establishing a channel with a peer. ConnectPeer(context.Context, *ConnectPeerRequest) (*ConnectPeerResponse, error) // lncli: `disconnect` //DisconnectPeer attempts to disconnect one peer from another identified by a //given pubKey. In the case that we currently have a pending or active channel //with the target peer, then this action will be not be allowed. DisconnectPeer(context.Context, *DisconnectPeerRequest) (*DisconnectPeerResponse, error) // lncli: `listpeers` //ListPeers returns a verbose listing of all currently active peers. ListPeers(context.Context, *ListPeersRequest) (*ListPeersResponse, error) // //SubscribePeerEvents creates a uni-directional stream from the server to //the client in which any events relevant to the state of peers are sent //over. Events include peers going online and offline. SubscribePeerEvents(*PeerEventSubscription, Lightning_SubscribePeerEventsServer) error // lncli: `getinfo` //GetInfo returns general information concerning the lightning node including //it's identity pubkey, alias, the chains it is connected to, and information //concerning the number of open+pending channels. GetInfo(context.Context, *GetInfoRequest) (*GetInfoResponse, error) //* lncli: `getrecoveryinfo` //GetRecoveryInfo returns information concerning the recovery mode including //whether it's in a recovery mode, whether the recovery is finished, and the //progress made so far. GetRecoveryInfo(context.Context, *GetRecoveryInfoRequest) (*GetRecoveryInfoResponse, error) // lncli: `pendingchannels` //PendingChannels returns a list of all the channels that are currently //considered "pending". A channel is pending if it has finished the funding //workflow and is waiting for confirmations for the funding txn, or is in the //process of closure, either initiated cooperatively or non-cooperatively. PendingChannels(context.Context, *PendingChannelsRequest) (*PendingChannelsResponse, error) // lncli: `listchannels` //ListChannels returns a description of all the open channels that this node //is a participant in. ListChannels(context.Context, *ListChannelsRequest) (*ListChannelsResponse, error) // //SubscribeChannelEvents creates a uni-directional stream from the server to //the client in which any updates relevant to the state of the channels are //sent over. Events include new active channels, inactive channels, and closed //channels. SubscribeChannelEvents(*ChannelEventSubscription, Lightning_SubscribeChannelEventsServer) error // lncli: `closedchannels` //ClosedChannels returns a description of all the closed channels that //this node was a participant in. ClosedChannels(context.Context, *ClosedChannelsRequest) (*ClosedChannelsResponse, error) // //OpenChannelSync is a synchronous version of the OpenChannel RPC call. This //call is meant to be consumed by clients to the REST proxy. As with all //other sync calls, all byte slices are intended to be populated as hex //encoded strings. OpenChannelSync(context.Context, *OpenChannelRequest) (*ChannelPoint, error) // lncli: `openchannel` //OpenChannel attempts to open a singly funded channel specified in the //request to a remote peer. Users are able to specify a target number of //blocks that the funding transaction should be confirmed in, or a manual fee //rate to us for the funding transaction. If neither are specified, then a //lax block confirmation target is used. Each OpenStatusUpdate will return //the pending channel ID of the in-progress channel. Depending on the //arguments specified in the OpenChannelRequest, this pending channel ID can //then be used to manually progress the channel funding flow. OpenChannel(*OpenChannelRequest, Lightning_OpenChannelServer) error // lncli: `batchopenchannel` //BatchOpenChannel attempts to open multiple single-funded channels in a //single transaction in an atomic way. This means either all channel open //requests succeed at once or all attempts are aborted if any of them fail. //This is the safer variant of using PSBTs to manually fund a batch of //channels through the OpenChannel RPC. BatchOpenChannel(context.Context, *BatchOpenChannelRequest) (*BatchOpenChannelResponse, error) // //FundingStateStep is an advanced funding related call that allows the caller //to either execute some preparatory steps for a funding workflow, or //manually progress a funding workflow. The primary way a funding flow is //identified is via its pending channel ID. As an example, this method can be //used to specify that we're expecting a funding flow for a particular //pending channel ID, for which we need to use specific parameters. //Alternatively, this can be used to interactively drive PSBT signing for //funding for partially complete funding transactions. FundingStateStep(context.Context, *FundingTransitionMsg) (*FundingStateStepResp, error) // //ChannelAcceptor dispatches a bi-directional streaming RPC in which //OpenChannel requests are sent to the client and the client responds with //a boolean that tells LND whether or not to accept the channel. This allows //node operators to specify their own criteria for accepting inbound channels //through a single persistent connection. ChannelAcceptor(Lightning_ChannelAcceptorServer) error // lncli: `closechannel` //CloseChannel attempts to close an active channel identified by its channel //outpoint (ChannelPoint). The actions of this method can additionally be //augmented to attempt a force close after a timeout period in the case of an //inactive peer. If a non-force close (cooperative closure) is requested, //then the user can specify either a target number of blocks until the //closure transaction is confirmed, or a manual fee rate. If neither are //specified, then a default lax, block confirmation target is used. CloseChannel(*CloseChannelRequest, Lightning_CloseChannelServer) error // lncli: `abandonchannel` //AbandonChannel removes all channel state from the database except for a //close summary. This method can be used to get rid of permanently unusable //channels due to bugs fixed in newer versions of lnd. This method can also be //used to remove externally funded channels where the funding transaction was //never broadcast. Only available for non-externally funded channels in dev //build. AbandonChannel(context.Context, *AbandonChannelRequest) (*AbandonChannelResponse, error) // Deprecated: Do not use. // lncli: `sendpayment` //Deprecated, use routerrpc.SendPaymentV2. SendPayment dispatches a //bi-directional streaming RPC for sending payments through the Lightning //Network. A single RPC invocation creates a persistent bi-directional //stream allowing clients to rapidly send payments through the Lightning //Network with a single persistent connection. SendPayment(Lightning_SendPaymentServer) error // //SendPaymentSync is the synchronous non-streaming version of SendPayment. //This RPC is intended to be consumed by clients of the REST proxy. //Additionally, this RPC expects the destination's public key and the payment //hash (if any) to be encoded as hex strings. SendPaymentSync(context.Context, *SendRequest) (*SendResponse, error) // Deprecated: Do not use. // lncli: `sendtoroute` //Deprecated, use routerrpc.SendToRouteV2. SendToRoute is a bi-directional //streaming RPC for sending payment through the Lightning Network. This //method differs from SendPayment in that it allows users to specify a full //route manually. This can be used for things like rebalancing, and atomic //swaps. SendToRoute(Lightning_SendToRouteServer) error // //SendToRouteSync is a synchronous version of SendToRoute. It Will block //until the payment either fails or succeeds. SendToRouteSync(context.Context, *SendToRouteRequest) (*SendResponse, error) // lncli: `addinvoice` //AddInvoice attempts to add a new invoice to the invoice database. Any //duplicated invoices are rejected, therefore all invoices *must* have a //unique payment preimage. AddInvoice(context.Context, *Invoice) (*AddInvoiceResponse, error) // lncli: `listinvoices` //ListInvoices returns a list of all the invoices currently stored within the //database. Any active debug invoices are ignored. It has full support for //paginated responses, allowing users to query for specific invoices through //their add_index. This can be done by using either the first_index_offset or //last_index_offset fields included in the response as the index_offset of the //next request. By default, the first 100 invoices created will be returned. //Backwards pagination is also supported through the Reversed flag. ListInvoices(context.Context, *ListInvoiceRequest) (*ListInvoiceResponse, error) // lncli: `lookupinvoice` //LookupInvoice attempts to look up an invoice according to its payment hash. //The passed payment hash *must* be exactly 32 bytes, if not, an error is //returned. LookupInvoice(context.Context, *PaymentHash) (*Invoice, error) // //SubscribeInvoices returns a uni-directional stream (server -> client) for //notifying the client of newly added/settled invoices. The caller can //optionally specify the add_index and/or the settle_index. If the add_index //is specified, then we'll first start by sending add invoice events for all //invoices with an add_index greater than the specified value. If the //settle_index is specified, the next, we'll send out all settle events for //invoices with a settle_index greater than the specified value. One or both //of these fields can be set. If no fields are set, then we'll only send out //the latest add/settle events. SubscribeInvoices(*InvoiceSubscription, Lightning_SubscribeInvoicesServer) error // lncli: `decodepayreq` //DecodePayReq takes an encoded payment request string and attempts to decode //it, returning a full description of the conditions encoded within the //payment request. DecodePayReq(context.Context, *PayReqString) (*PayReq, error) // lncli: `listpayments` //ListPayments returns a list of all outgoing payments. ListPayments(context.Context, *ListPaymentsRequest) (*ListPaymentsResponse, error) // //DeletePayment deletes an outgoing payment from DB. Note that it will not //attempt to delete an In-Flight payment, since that would be unsafe. DeletePayment(context.Context, *DeletePaymentRequest) (*DeletePaymentResponse, error) // //DeleteAllPayments deletes all outgoing payments from DB. Note that it will //not attempt to delete In-Flight payments, since that would be unsafe. DeleteAllPayments(context.Context, *DeleteAllPaymentsRequest) (*DeleteAllPaymentsResponse, error) // lncli: `describegraph` //DescribeGraph returns a description of the latest graph state from the //point of view of the node. The graph information is partitioned into two //components: all the nodes/vertexes, and all the edges that connect the //vertexes themselves. As this is a directed graph, the edges also contain //the node directional specific routing policy which includes: the time lock //delta, fee information, etc. DescribeGraph(context.Context, *ChannelGraphRequest) (*ChannelGraph, error) // lncli: `getnodemetrics` //GetNodeMetrics returns node metrics calculated from the graph. Currently //the only supported metric is betweenness centrality of individual nodes. GetNodeMetrics(context.Context, *NodeMetricsRequest) (*NodeMetricsResponse, error) // lncli: `getchaninfo` //GetChanInfo returns the latest authenticated network announcement for the //given channel identified by its channel ID: an 8-byte integer which //uniquely identifies the location of transaction's funding output within the //blockchain. GetChanInfo(context.Context, *ChanInfoRequest) (*ChannelEdge, error) // lncli: `getnodeinfo` //GetNodeInfo returns the latest advertised, aggregated, and authenticated //channel information for the specified node identified by its public key. GetNodeInfo(context.Context, *NodeInfoRequest) (*NodeInfo, error) // lncli: `queryroutes` //QueryRoutes attempts to query the daemon's Channel Router for a possible //route to a target destination capable of carrying a specific amount of //satoshis. The returned route contains the full details required to craft and //send an HTLC, also including the necessary information that should be //present within the Sphinx packet encapsulated within the HTLC. // //When using REST, the `dest_custom_records` map type can be set by appending //`&dest_custom_records[<record_number>]=<record_data_base64_url_encoded>` //to the URL. Unfortunately this map type doesn't appear in the REST API //documentation because of a bug in the grpc-gateway library. QueryRoutes(context.Context, *QueryRoutesRequest) (*QueryRoutesResponse, error) // lncli: `getnetworkinfo` //GetNetworkInfo returns some basic stats about the known channel graph from //the point of view of the node. GetNetworkInfo(context.Context, *NetworkInfoRequest) (*NetworkInfo, error) // lncli: `stop` //StopDaemon will send a shutdown request to the interrupt handler, triggering //a graceful shutdown of the daemon. StopDaemon(context.Context, *StopRequest) (*StopResponse, error) // //SubscribeChannelGraph launches a streaming RPC that allows the caller to //receive notifications upon any changes to the channel graph topology from //the point of view of the responding node. Events notified include: new //nodes coming online, nodes updating their authenticated attributes, new //channels being advertised, updates in the routing policy for a directional //channel edge, and when channels are closed on-chain. SubscribeChannelGraph(*GraphTopologySubscription, Lightning_SubscribeChannelGraphServer) error // lncli: `debuglevel` //DebugLevel allows a caller to programmatically set the logging verbosity of //lnd. The logging can be targeted according to a coarse daemon-wide logging //level, or in a granular fashion to specify the logging for a target //sub-system. DebugLevel(context.Context, *DebugLevelRequest) (*DebugLevelResponse, error) // lncli: `feereport` //FeeReport allows the caller to obtain a report detailing the current fee //schedule enforced by the node globally for each channel. FeeReport(context.Context, *FeeReportRequest) (*FeeReportResponse, error) // lncli: `updatechanpolicy` //UpdateChannelPolicy allows the caller to update the fee schedule and //channel policies for all channels globally, or a particular channel. UpdateChannelPolicy(context.Context, *PolicyUpdateRequest) (*PolicyUpdateResponse, error) // lncli: `fwdinghistory` //ForwardingHistory allows the caller to query the htlcswitch for a record of //all HTLCs forwarded within the target time range, and integer offset //within that time range, for a maximum number of events. If no maximum number //of events is specified, up to 100 events will be returned. If no time-range //is specified, then events will be returned in the order that they occured. // //A list of forwarding events are returned. The size of each forwarding event //is 40 bytes, and the max message size able to be returned in gRPC is 4 MiB. //As a result each message can only contain 50k entries. Each response has //the index offset of the last entry. The index offset can be provided to the //request to allow the caller to skip a series of records. ForwardingHistory(context.Context, *ForwardingHistoryRequest) (*ForwardingHistoryResponse, error) // lncli: `exportchanbackup` //ExportChannelBackup attempts to return an encrypted static channel backup //for the target channel identified by it channel point. The backup is //encrypted with a key generated from the aezeed seed of the user. The //returned backup can either be restored using the RestoreChannelBackup //method once lnd is running, or via the InitWallet and UnlockWallet methods //from the WalletUnlocker service. ExportChannelBackup(context.Context, *ExportChannelBackupRequest) (*ChannelBackup, error) // //ExportAllChannelBackups returns static channel backups for all existing //channels known to lnd. A set of regular singular static channel backups for //each channel are returned. Additionally, a multi-channel backup is returned //as well, which contains a single encrypted blob containing the backups of //each channel. ExportAllChannelBackups(context.Context, *ChanBackupExportRequest) (*ChanBackupSnapshot, error) // //VerifyChanBackup allows a caller to verify the integrity of a channel backup //snapshot. This method will accept either a packed Single or a packed Multi. //Specifying both will result in an error. VerifyChanBackup(context.Context, *ChanBackupSnapshot) (*VerifyChanBackupResponse, error) // lncli: `restorechanbackup` //RestoreChannelBackups accepts a set of singular channel backups, or a //single encrypted multi-chan backup and attempts to recover any funds //remaining within the channel. If we are able to unpack the backup, then the //new channel will be shown under listchannels, as well as pending channels. RestoreChannelBackups(context.Context, *RestoreChanBackupRequest) (*RestoreBackupResponse, error) // //SubscribeChannelBackups allows a client to sub-subscribe to the most up to //date information concerning the state of all channel backups. Each time a //new channel is added, we return the new set of channels, along with a //multi-chan backup containing the backup info for all channels. Each time a //channel is closed, we send a new update, which contains new new chan back //ups, but the updated set of encrypted multi-chan backups with the closed //channel(s) removed. SubscribeChannelBackups(*ChannelBackupSubscription, Lightning_SubscribeChannelBackupsServer) error // lncli: `bakemacaroon` //BakeMacaroon allows the creation of a new macaroon with custom read and //write permissions. No first-party caveats are added since this can be done //offline. BakeMacaroon(context.Context, *BakeMacaroonRequest) (*BakeMacaroonResponse, error) // lncli: `listmacaroonids` //ListMacaroonIDs returns all root key IDs that are in use. ListMacaroonIDs(context.Context, *ListMacaroonIDsRequest) (*ListMacaroonIDsResponse, error) // lncli: `deletemacaroonid` //DeleteMacaroonID deletes the specified macaroon ID and invalidates all //macaroons derived from that ID. DeleteMacaroonID(context.Context, *DeleteMacaroonIDRequest) (*DeleteMacaroonIDResponse, error) // lncli: `listpermissions` //ListPermissions lists all RPC method URIs and their required macaroon //permissions to access them. ListPermissions(context.Context, *ListPermissionsRequest) (*ListPermissionsResponse, error) // //CheckMacaroonPermissions checks whether a request follows the constraints //imposed on the macaroon and that the macaroon is authorized to follow the //provided permissions. CheckMacaroonPermissions(context.Context, *CheckMacPermRequest) (*CheckMacPermResponse, error) // //RegisterRPCMiddleware adds a new gRPC middleware to the interceptor chain. A //gRPC middleware is software component external to lnd that aims to add //additional business logic to lnd by observing/intercepting/validating //incoming gRPC client requests and (if needed) replacing/overwriting outgoing //messages before they're sent to the client. When registering the middleware //must identify itself and indicate what custom macaroon caveats it wants to //be responsible for. Only requests that contain a macaroon with that specific //custom caveat are then sent to the middleware for inspection. The other //option is to register for the read-only mode in which all requests/responses //are forwarded for interception to the middleware but the middleware is not //allowed to modify any responses. As a security measure, _no_ middleware can //modify responses for requests made with _unencumbered_ macaroons! RegisterRPCMiddleware(Lightning_RegisterRPCMiddlewareServer) error // lncli: `sendcustom` //SendCustomMessage sends a custom peer message. SendCustomMessage(context.Context, *SendCustomMessageRequest) (*SendCustomMessageResponse, error) // lncli: `subscribecustom` //SubscribeCustomMessages subscribes to a stream of incoming custom peer //messages. SubscribeCustomMessages(*SubscribeCustomMessagesRequest, Lightning_SubscribeCustomMessagesServer) error // contains filtered or unexported methods }
LightningServer is the server API for Lightning service. All implementations must embed UnimplementedLightningServer for forward compatibility
type Lightning_ChannelAcceptorClient ¶
type Lightning_ChannelAcceptorClient interface { Send(*ChannelAcceptResponse) error Recv() (*ChannelAcceptRequest, error) grpc.ClientStream }
type Lightning_ChannelAcceptorServer ¶
type Lightning_ChannelAcceptorServer interface { Send(*ChannelAcceptRequest) error Recv() (*ChannelAcceptResponse, error) grpc.ServerStream }
type Lightning_CloseChannelClient ¶
type Lightning_CloseChannelClient interface { Recv() (*CloseStatusUpdate, error) grpc.ClientStream }
type Lightning_CloseChannelServer ¶
type Lightning_CloseChannelServer interface { Send(*CloseStatusUpdate) error grpc.ServerStream }
type Lightning_OpenChannelClient ¶
type Lightning_OpenChannelClient interface { Recv() (*OpenStatusUpdate, error) grpc.ClientStream }
type Lightning_OpenChannelServer ¶
type Lightning_OpenChannelServer interface { Send(*OpenStatusUpdate) error grpc.ServerStream }
type Lightning_RegisterRPCMiddlewareClient ¶
type Lightning_RegisterRPCMiddlewareClient interface { Send(*RPCMiddlewareResponse) error Recv() (*RPCMiddlewareRequest, error) grpc.ClientStream }
type Lightning_RegisterRPCMiddlewareServer ¶
type Lightning_RegisterRPCMiddlewareServer interface { Send(*RPCMiddlewareRequest) error Recv() (*RPCMiddlewareResponse, error) grpc.ServerStream }
type Lightning_SendPaymentClient ¶
type Lightning_SendPaymentClient interface { Send(*SendRequest) error Recv() (*SendResponse, error) grpc.ClientStream }
type Lightning_SendPaymentServer ¶
type Lightning_SendPaymentServer interface { Send(*SendResponse) error Recv() (*SendRequest, error) grpc.ServerStream }
type Lightning_SendToRouteClient ¶
type Lightning_SendToRouteClient interface { Send(*SendToRouteRequest) error Recv() (*SendResponse, error) grpc.ClientStream }
type Lightning_SendToRouteServer ¶
type Lightning_SendToRouteServer interface { Send(*SendResponse) error Recv() (*SendToRouteRequest, error) grpc.ServerStream }
type Lightning_SubscribeChannelBackupsClient ¶
type Lightning_SubscribeChannelBackupsClient interface { Recv() (*ChanBackupSnapshot, error) grpc.ClientStream }
type Lightning_SubscribeChannelBackupsServer ¶
type Lightning_SubscribeChannelBackupsServer interface { Send(*ChanBackupSnapshot) error grpc.ServerStream }
type Lightning_SubscribeChannelEventsClient ¶
type Lightning_SubscribeChannelEventsClient interface { Recv() (*ChannelEventUpdate, error) grpc.ClientStream }
type Lightning_SubscribeChannelEventsServer ¶
type Lightning_SubscribeChannelEventsServer interface { Send(*ChannelEventUpdate) error grpc.ServerStream }
type Lightning_SubscribeChannelGraphClient ¶
type Lightning_SubscribeChannelGraphClient interface { Recv() (*GraphTopologyUpdate, error) grpc.ClientStream }
type Lightning_SubscribeChannelGraphServer ¶
type Lightning_SubscribeChannelGraphServer interface { Send(*GraphTopologyUpdate) error grpc.ServerStream }
type Lightning_SubscribeCustomMessagesClient ¶
type Lightning_SubscribeCustomMessagesClient interface { Recv() (*CustomMessage, error) grpc.ClientStream }
type Lightning_SubscribeCustomMessagesServer ¶
type Lightning_SubscribeCustomMessagesServer interface { Send(*CustomMessage) error grpc.ServerStream }
type Lightning_SubscribeInvoicesClient ¶
type Lightning_SubscribeInvoicesClient interface { Recv() (*Invoice, error) grpc.ClientStream }
type Lightning_SubscribeInvoicesServer ¶
type Lightning_SubscribeInvoicesServer interface { Send(*Invoice) error grpc.ServerStream }
type Lightning_SubscribePeerEventsClient ¶
type Lightning_SubscribePeerEventsClient interface { Recv() (*PeerEvent, error) grpc.ClientStream }
type Lightning_SubscribePeerEventsServer ¶
type Lightning_SubscribePeerEventsServer interface { Send(*PeerEvent) error grpc.ServerStream }
type Lightning_SubscribeTransactionsClient ¶
type Lightning_SubscribeTransactionsClient interface { Recv() (*Transaction, error) grpc.ClientStream }
type Lightning_SubscribeTransactionsServer ¶
type Lightning_SubscribeTransactionsServer interface { Send(*Transaction) error grpc.ServerStream }
type ListChannelsRequest ¶
type ListChannelsRequest struct { ActiveOnly bool `protobuf:"varint,1,opt,name=active_only,json=activeOnly,proto3" json:"active_only,omitempty"` InactiveOnly bool `protobuf:"varint,2,opt,name=inactive_only,json=inactiveOnly,proto3" json:"inactive_only,omitempty"` PublicOnly bool `protobuf:"varint,3,opt,name=public_only,json=publicOnly,proto3" json:"public_only,omitempty"` PrivateOnly bool `protobuf:"varint,4,opt,name=private_only,json=privateOnly,proto3" json:"private_only,omitempty"` // //Filters the response for channels with a target peer's pubkey. If peer is //empty, all channels will be returned. Peer []byte `protobuf:"bytes,5,opt,name=peer,proto3" json:"peer,omitempty"` // contains filtered or unexported fields }
func (*ListChannelsRequest) Descriptor
deprecated
func (*ListChannelsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListChannelsRequest.ProtoReflect.Descriptor instead.
func (*ListChannelsRequest) GetActiveOnly ¶
func (x *ListChannelsRequest) GetActiveOnly() bool
func (*ListChannelsRequest) GetInactiveOnly ¶
func (x *ListChannelsRequest) GetInactiveOnly() bool
func (*ListChannelsRequest) GetPeer ¶
func (x *ListChannelsRequest) GetPeer() []byte
func (*ListChannelsRequest) GetPrivateOnly ¶
func (x *ListChannelsRequest) GetPrivateOnly() bool
func (*ListChannelsRequest) GetPublicOnly ¶
func (x *ListChannelsRequest) GetPublicOnly() bool
func (*ListChannelsRequest) ProtoMessage ¶
func (*ListChannelsRequest) ProtoMessage()
func (*ListChannelsRequest) ProtoReflect ¶
func (x *ListChannelsRequest) ProtoReflect() protoreflect.Message
func (*ListChannelsRequest) Reset ¶
func (x *ListChannelsRequest) Reset()
func (*ListChannelsRequest) String ¶
func (x *ListChannelsRequest) String() string
type ListChannelsResponse ¶
type ListChannelsResponse struct { // The list of active channels Channels []*Channel `protobuf:"bytes,11,rep,name=channels,proto3" json:"channels,omitempty"` // contains filtered or unexported fields }
func (*ListChannelsResponse) Descriptor
deprecated
func (*ListChannelsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListChannelsResponse.ProtoReflect.Descriptor instead.
func (*ListChannelsResponse) GetChannels ¶
func (x *ListChannelsResponse) GetChannels() []*Channel
func (*ListChannelsResponse) ProtoMessage ¶
func (*ListChannelsResponse) ProtoMessage()
func (*ListChannelsResponse) ProtoReflect ¶
func (x *ListChannelsResponse) ProtoReflect() protoreflect.Message
func (*ListChannelsResponse) Reset ¶
func (x *ListChannelsResponse) Reset()
func (*ListChannelsResponse) String ¶
func (x *ListChannelsResponse) String() string
type ListInvoiceRequest ¶
type ListInvoiceRequest struct { // //If set, only invoices that are not settled and not canceled will be returned //in the response. PendingOnly bool `protobuf:"varint,1,opt,name=pending_only,json=pendingOnly,proto3" json:"pending_only,omitempty"` // //The index of an invoice that will be used as either the start or end of a //query to determine which invoices should be returned in the response. IndexOffset uint64 `protobuf:"varint,4,opt,name=index_offset,json=indexOffset,proto3" json:"index_offset,omitempty"` // The max number of invoices to return in the response to this query. NumMaxInvoices uint64 `protobuf:"varint,5,opt,name=num_max_invoices,json=numMaxInvoices,proto3" json:"num_max_invoices,omitempty"` // //If set, the invoices returned will result from seeking backwards from the //specified index offset. This can be used to paginate backwards. Reversed bool `protobuf:"varint,6,opt,name=reversed,proto3" json:"reversed,omitempty"` // contains filtered or unexported fields }
func (*ListInvoiceRequest) Descriptor
deprecated
func (*ListInvoiceRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListInvoiceRequest.ProtoReflect.Descriptor instead.
func (*ListInvoiceRequest) GetIndexOffset ¶
func (x *ListInvoiceRequest) GetIndexOffset() uint64
func (*ListInvoiceRequest) GetNumMaxInvoices ¶
func (x *ListInvoiceRequest) GetNumMaxInvoices() uint64
func (*ListInvoiceRequest) GetPendingOnly ¶
func (x *ListInvoiceRequest) GetPendingOnly() bool
func (*ListInvoiceRequest) GetReversed ¶
func (x *ListInvoiceRequest) GetReversed() bool
func (*ListInvoiceRequest) ProtoMessage ¶
func (*ListInvoiceRequest) ProtoMessage()
func (*ListInvoiceRequest) ProtoReflect ¶
func (x *ListInvoiceRequest) ProtoReflect() protoreflect.Message
func (*ListInvoiceRequest) Reset ¶
func (x *ListInvoiceRequest) Reset()
func (*ListInvoiceRequest) String ¶
func (x *ListInvoiceRequest) String() string
type ListInvoiceResponse ¶
type ListInvoiceResponse struct { // //A list of invoices from the time slice of the time series specified in the //request. Invoices []*Invoice `protobuf:"bytes,1,rep,name=invoices,proto3" json:"invoices,omitempty"` // //The index of the last item in the set of returned invoices. This can be used //to seek further, pagination style. LastIndexOffset uint64 `protobuf:"varint,2,opt,name=last_index_offset,json=lastIndexOffset,proto3" json:"last_index_offset,omitempty"` // //The index of the last item in the set of returned invoices. This can be used //to seek backwards, pagination style. FirstIndexOffset uint64 `protobuf:"varint,3,opt,name=first_index_offset,json=firstIndexOffset,proto3" json:"first_index_offset,omitempty"` // contains filtered or unexported fields }
func (*ListInvoiceResponse) Descriptor
deprecated
func (*ListInvoiceResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListInvoiceResponse.ProtoReflect.Descriptor instead.
func (*ListInvoiceResponse) GetFirstIndexOffset ¶
func (x *ListInvoiceResponse) GetFirstIndexOffset() uint64
func (*ListInvoiceResponse) GetInvoices ¶
func (x *ListInvoiceResponse) GetInvoices() []*Invoice
func (*ListInvoiceResponse) GetLastIndexOffset ¶
func (x *ListInvoiceResponse) GetLastIndexOffset() uint64
func (*ListInvoiceResponse) ProtoMessage ¶
func (*ListInvoiceResponse) ProtoMessage()
func (*ListInvoiceResponse) ProtoReflect ¶
func (x *ListInvoiceResponse) ProtoReflect() protoreflect.Message
func (*ListInvoiceResponse) Reset ¶
func (x *ListInvoiceResponse) Reset()
func (*ListInvoiceResponse) String ¶
func (x *ListInvoiceResponse) String() string
type ListMacaroonIDsRequest ¶
type ListMacaroonIDsRequest struct {
// contains filtered or unexported fields
}
func (*ListMacaroonIDsRequest) Descriptor
deprecated
func (*ListMacaroonIDsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListMacaroonIDsRequest.ProtoReflect.Descriptor instead.
func (*ListMacaroonIDsRequest) ProtoMessage ¶
func (*ListMacaroonIDsRequest) ProtoMessage()
func (*ListMacaroonIDsRequest) ProtoReflect ¶
func (x *ListMacaroonIDsRequest) ProtoReflect() protoreflect.Message
func (*ListMacaroonIDsRequest) Reset ¶
func (x *ListMacaroonIDsRequest) Reset()
func (*ListMacaroonIDsRequest) String ¶
func (x *ListMacaroonIDsRequest) String() string
type ListMacaroonIDsResponse ¶
type ListMacaroonIDsResponse struct { // The list of root key IDs that are in use. RootKeyIds []uint64 `protobuf:"varint,1,rep,packed,name=root_key_ids,json=rootKeyIds,proto3" json:"root_key_ids,omitempty"` // contains filtered or unexported fields }
func (*ListMacaroonIDsResponse) Descriptor
deprecated
func (*ListMacaroonIDsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListMacaroonIDsResponse.ProtoReflect.Descriptor instead.
func (*ListMacaroonIDsResponse) GetRootKeyIds ¶
func (x *ListMacaroonIDsResponse) GetRootKeyIds() []uint64
func (*ListMacaroonIDsResponse) ProtoMessage ¶
func (*ListMacaroonIDsResponse) ProtoMessage()
func (*ListMacaroonIDsResponse) ProtoReflect ¶
func (x *ListMacaroonIDsResponse) ProtoReflect() protoreflect.Message
func (*ListMacaroonIDsResponse) Reset ¶
func (x *ListMacaroonIDsResponse) Reset()
func (*ListMacaroonIDsResponse) String ¶
func (x *ListMacaroonIDsResponse) String() string
type ListPaymentsRequest ¶
type ListPaymentsRequest struct { // //If true, then return payments that have not yet fully completed. This means //that pending payments, as well as failed payments will show up if this //field is set to true. This flag doesn't change the meaning of the indices, //which are tied to individual payments. IncludeIncomplete bool `protobuf:"varint,1,opt,name=include_incomplete,json=includeIncomplete,proto3" json:"include_incomplete,omitempty"` // //The index of a payment that will be used as either the start or end of a //query to determine which payments should be returned in the response. The //index_offset is exclusive. In the case of a zero index_offset, the query //will start with the oldest payment when paginating forwards, or will end //with the most recent payment when paginating backwards. IndexOffset uint64 `protobuf:"varint,2,opt,name=index_offset,json=indexOffset,proto3" json:"index_offset,omitempty"` // The maximal number of payments returned in the response to this query. MaxPayments uint64 `protobuf:"varint,3,opt,name=max_payments,json=maxPayments,proto3" json:"max_payments,omitempty"` // //If set, the payments returned will result from seeking backwards from the //specified index offset. This can be used to paginate backwards. The order //of the returned payments is always oldest first (ascending index order). Reversed bool `protobuf:"varint,4,opt,name=reversed,proto3" json:"reversed,omitempty"` // contains filtered or unexported fields }
func (*ListPaymentsRequest) Descriptor
deprecated
func (*ListPaymentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPaymentsRequest.ProtoReflect.Descriptor instead.
func (*ListPaymentsRequest) GetIncludeIncomplete ¶
func (x *ListPaymentsRequest) GetIncludeIncomplete() bool
func (*ListPaymentsRequest) GetIndexOffset ¶
func (x *ListPaymentsRequest) GetIndexOffset() uint64
func (*ListPaymentsRequest) GetMaxPayments ¶
func (x *ListPaymentsRequest) GetMaxPayments() uint64
func (*ListPaymentsRequest) GetReversed ¶
func (x *ListPaymentsRequest) GetReversed() bool
func (*ListPaymentsRequest) ProtoMessage ¶
func (*ListPaymentsRequest) ProtoMessage()
func (*ListPaymentsRequest) ProtoReflect ¶
func (x *ListPaymentsRequest) ProtoReflect() protoreflect.Message
func (*ListPaymentsRequest) Reset ¶
func (x *ListPaymentsRequest) Reset()
func (*ListPaymentsRequest) String ¶
func (x *ListPaymentsRequest) String() string
type ListPaymentsResponse ¶
type ListPaymentsResponse struct { // The list of payments Payments []*Payment `protobuf:"bytes,1,rep,name=payments,proto3" json:"payments,omitempty"` // //The index of the first item in the set of returned payments. This can be //used as the index_offset to continue seeking backwards in the next request. FirstIndexOffset uint64 `protobuf:"varint,2,opt,name=first_index_offset,json=firstIndexOffset,proto3" json:"first_index_offset,omitempty"` // //The index of the last item in the set of returned payments. This can be used //as the index_offset to continue seeking forwards in the next request. LastIndexOffset uint64 `protobuf:"varint,3,opt,name=last_index_offset,json=lastIndexOffset,proto3" json:"last_index_offset,omitempty"` // contains filtered or unexported fields }
func (*ListPaymentsResponse) Descriptor
deprecated
func (*ListPaymentsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListPaymentsResponse.ProtoReflect.Descriptor instead.
func (*ListPaymentsResponse) GetFirstIndexOffset ¶
func (x *ListPaymentsResponse) GetFirstIndexOffset() uint64
func (*ListPaymentsResponse) GetLastIndexOffset ¶
func (x *ListPaymentsResponse) GetLastIndexOffset() uint64
func (*ListPaymentsResponse) GetPayments ¶
func (x *ListPaymentsResponse) GetPayments() []*Payment
func (*ListPaymentsResponse) ProtoMessage ¶
func (*ListPaymentsResponse) ProtoMessage()
func (*ListPaymentsResponse) ProtoReflect ¶
func (x *ListPaymentsResponse) ProtoReflect() protoreflect.Message
func (*ListPaymentsResponse) Reset ¶
func (x *ListPaymentsResponse) Reset()
func (*ListPaymentsResponse) String ¶
func (x *ListPaymentsResponse) String() string
type ListPeersRequest ¶
type ListPeersRequest struct { // //If true, only the last error that our peer sent us will be returned with //the peer's information, rather than the full set of historic errors we have //stored. LatestError bool `protobuf:"varint,1,opt,name=latest_error,json=latestError,proto3" json:"latest_error,omitempty"` // contains filtered or unexported fields }
func (*ListPeersRequest) Descriptor
deprecated
func (*ListPeersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPeersRequest.ProtoReflect.Descriptor instead.
func (*ListPeersRequest) GetLatestError ¶
func (x *ListPeersRequest) GetLatestError() bool
func (*ListPeersRequest) ProtoMessage ¶
func (*ListPeersRequest) ProtoMessage()
func (*ListPeersRequest) ProtoReflect ¶
func (x *ListPeersRequest) ProtoReflect() protoreflect.Message
func (*ListPeersRequest) Reset ¶
func (x *ListPeersRequest) Reset()
func (*ListPeersRequest) String ¶
func (x *ListPeersRequest) String() string
type ListPeersResponse ¶
type ListPeersResponse struct { // The list of currently connected peers Peers []*Peer `protobuf:"bytes,1,rep,name=peers,proto3" json:"peers,omitempty"` // contains filtered or unexported fields }
func (*ListPeersResponse) Descriptor
deprecated
func (*ListPeersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListPeersResponse.ProtoReflect.Descriptor instead.
func (*ListPeersResponse) GetPeers ¶
func (x *ListPeersResponse) GetPeers() []*Peer
func (*ListPeersResponse) ProtoMessage ¶
func (*ListPeersResponse) ProtoMessage()
func (*ListPeersResponse) ProtoReflect ¶
func (x *ListPeersResponse) ProtoReflect() protoreflect.Message
func (*ListPeersResponse) Reset ¶
func (x *ListPeersResponse) Reset()
func (*ListPeersResponse) String ¶
func (x *ListPeersResponse) String() string
type ListPermissionsRequest ¶
type ListPermissionsRequest struct {
// contains filtered or unexported fields
}
func (*ListPermissionsRequest) Descriptor
deprecated
func (*ListPermissionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPermissionsRequest.ProtoReflect.Descriptor instead.
func (*ListPermissionsRequest) ProtoMessage ¶
func (*ListPermissionsRequest) ProtoMessage()
func (*ListPermissionsRequest) ProtoReflect ¶
func (x *ListPermissionsRequest) ProtoReflect() protoreflect.Message
func (*ListPermissionsRequest) Reset ¶
func (x *ListPermissionsRequest) Reset()
func (*ListPermissionsRequest) String ¶
func (x *ListPermissionsRequest) String() string
type ListPermissionsResponse ¶
type ListPermissionsResponse struct { // //A map between all RPC method URIs and their required macaroon permissions to //access them. MethodPermissions map[string]*MacaroonPermissionList `` /* 200-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ListPermissionsResponse) Descriptor
deprecated
func (*ListPermissionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListPermissionsResponse.ProtoReflect.Descriptor instead.
func (*ListPermissionsResponse) GetMethodPermissions ¶
func (x *ListPermissionsResponse) GetMethodPermissions() map[string]*MacaroonPermissionList
func (*ListPermissionsResponse) ProtoMessage ¶
func (*ListPermissionsResponse) ProtoMessage()
func (*ListPermissionsResponse) ProtoReflect ¶
func (x *ListPermissionsResponse) ProtoReflect() protoreflect.Message
func (*ListPermissionsResponse) Reset ¶
func (x *ListPermissionsResponse) Reset()
func (*ListPermissionsResponse) String ¶
func (x *ListPermissionsResponse) String() string
type ListUnspentRequest ¶
type ListUnspentRequest struct { // The minimum number of confirmations to be included. MinConfs int32 `protobuf:"varint,1,opt,name=min_confs,json=minConfs,proto3" json:"min_confs,omitempty"` // The maximum number of confirmations to be included. MaxConfs int32 `protobuf:"varint,2,opt,name=max_confs,json=maxConfs,proto3" json:"max_confs,omitempty"` // An optional filter to only include outputs belonging to an account. Account string `protobuf:"bytes,3,opt,name=account,proto3" json:"account,omitempty"` // contains filtered or unexported fields }
func (*ListUnspentRequest) Descriptor
deprecated
func (*ListUnspentRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListUnspentRequest.ProtoReflect.Descriptor instead.
func (*ListUnspentRequest) GetAccount ¶
func (x *ListUnspentRequest) GetAccount() string
func (*ListUnspentRequest) GetMaxConfs ¶
func (x *ListUnspentRequest) GetMaxConfs() int32
func (*ListUnspentRequest) GetMinConfs ¶
func (x *ListUnspentRequest) GetMinConfs() int32
func (*ListUnspentRequest) ProtoMessage ¶
func (*ListUnspentRequest) ProtoMessage()
func (*ListUnspentRequest) ProtoReflect ¶
func (x *ListUnspentRequest) ProtoReflect() protoreflect.Message
func (*ListUnspentRequest) Reset ¶
func (x *ListUnspentRequest) Reset()
func (*ListUnspentRequest) String ¶
func (x *ListUnspentRequest) String() string
type ListUnspentResponse ¶
type ListUnspentResponse struct { // A list of utxos Utxos []*Utxo `protobuf:"bytes,1,rep,name=utxos,proto3" json:"utxos,omitempty"` // contains filtered or unexported fields }
func (*ListUnspentResponse) Descriptor
deprecated
func (*ListUnspentResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListUnspentResponse.ProtoReflect.Descriptor instead.
func (*ListUnspentResponse) GetUtxos ¶
func (x *ListUnspentResponse) GetUtxos() []*Utxo
func (*ListUnspentResponse) ProtoMessage ¶
func (*ListUnspentResponse) ProtoMessage()
func (*ListUnspentResponse) ProtoReflect ¶
func (x *ListUnspentResponse) ProtoReflect() protoreflect.Message
func (*ListUnspentResponse) Reset ¶
func (x *ListUnspentResponse) Reset()
func (*ListUnspentResponse) String ¶
func (x *ListUnspentResponse) String() string
type MPPRecord ¶
type MPPRecord struct { // //A unique, random identifier used to authenticate the sender as the intended //payer of a multi-path payment. The payment_addr must be the same for all //subpayments, and match the payment_addr provided in the receiver's invoice. //The same payment_addr must be used on all subpayments. PaymentAddr []byte `protobuf:"bytes,11,opt,name=payment_addr,json=paymentAddr,proto3" json:"payment_addr,omitempty"` // //The total amount in milli-satoshis being sent as part of a larger multi-path //payment. The caller is responsible for ensuring subpayments to the same node //and payment_hash sum exactly to total_amt_msat. The same //total_amt_msat must be used on all subpayments. TotalAmtMsat int64 `protobuf:"varint,10,opt,name=total_amt_msat,json=totalAmtMsat,proto3" json:"total_amt_msat,omitempty"` // contains filtered or unexported fields }
func (*MPPRecord) Descriptor
deprecated
func (*MPPRecord) GetPaymentAddr ¶
func (*MPPRecord) GetTotalAmtMsat ¶
func (*MPPRecord) ProtoMessage ¶
func (*MPPRecord) ProtoMessage()
func (*MPPRecord) ProtoReflect ¶
func (x *MPPRecord) ProtoReflect() protoreflect.Message
type MacaroonId ¶
type MacaroonId struct { Nonce []byte `protobuf:"bytes,1,opt,name=nonce,proto3" json:"nonce,omitempty"` StorageId []byte `protobuf:"bytes,2,opt,name=storageId,proto3" json:"storageId,omitempty"` Ops []*Op `protobuf:"bytes,3,rep,name=ops,proto3" json:"ops,omitempty"` // contains filtered or unexported fields }
func (*MacaroonId) Descriptor
deprecated
func (*MacaroonId) Descriptor() ([]byte, []int)
Deprecated: Use MacaroonId.ProtoReflect.Descriptor instead.
func (*MacaroonId) GetNonce ¶
func (x *MacaroonId) GetNonce() []byte
func (*MacaroonId) GetOps ¶
func (x *MacaroonId) GetOps() []*Op
func (*MacaroonId) GetStorageId ¶
func (x *MacaroonId) GetStorageId() []byte
func (*MacaroonId) ProtoMessage ¶
func (*MacaroonId) ProtoMessage()
func (*MacaroonId) ProtoReflect ¶
func (x *MacaroonId) ProtoReflect() protoreflect.Message
func (*MacaroonId) Reset ¶
func (x *MacaroonId) Reset()
func (*MacaroonId) String ¶
func (x *MacaroonId) String() string
type MacaroonPermission ¶
type MacaroonPermission struct { // The entity a permission grants access to. Entity string `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"` // The action that is granted. Action string `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"` // contains filtered or unexported fields }
func (*MacaroonPermission) Descriptor
deprecated
func (*MacaroonPermission) Descriptor() ([]byte, []int)
Deprecated: Use MacaroonPermission.ProtoReflect.Descriptor instead.
func (*MacaroonPermission) GetAction ¶
func (x *MacaroonPermission) GetAction() string
func (*MacaroonPermission) GetEntity ¶
func (x *MacaroonPermission) GetEntity() string
func (*MacaroonPermission) ProtoMessage ¶
func (*MacaroonPermission) ProtoMessage()
func (*MacaroonPermission) ProtoReflect ¶
func (x *MacaroonPermission) ProtoReflect() protoreflect.Message
func (*MacaroonPermission) Reset ¶
func (x *MacaroonPermission) Reset()
func (*MacaroonPermission) String ¶
func (x *MacaroonPermission) String() string
type MacaroonPermissionList ¶
type MacaroonPermissionList struct { // A list of macaroon permissions. Permissions []*MacaroonPermission `protobuf:"bytes,1,rep,name=permissions,proto3" json:"permissions,omitempty"` // contains filtered or unexported fields }
func (*MacaroonPermissionList) Descriptor
deprecated
func (*MacaroonPermissionList) Descriptor() ([]byte, []int)
Deprecated: Use MacaroonPermissionList.ProtoReflect.Descriptor instead.
func (*MacaroonPermissionList) GetPermissions ¶
func (x *MacaroonPermissionList) GetPermissions() []*MacaroonPermission
func (*MacaroonPermissionList) ProtoMessage ¶
func (*MacaroonPermissionList) ProtoMessage()
func (*MacaroonPermissionList) ProtoReflect ¶
func (x *MacaroonPermissionList) ProtoReflect() protoreflect.Message
func (*MacaroonPermissionList) Reset ¶
func (x *MacaroonPermissionList) Reset()
func (*MacaroonPermissionList) String ¶
func (x *MacaroonPermissionList) String() string
type MacaroonPerms ¶
MacaroonPerms is a map from the FullMethod of an invoked gRPC command. It maps the set of operations that the macaroon presented with the command MUST satisfy. With this map, all sub-servers are able to communicate to the primary macaroon service what type of macaroon must be passed with each method present on the service of the sub-server.
type MiddlewareRegistration ¶
type MiddlewareRegistration struct { // //The name of the middleware to register. The name should be as informative //as possible and is logged on registration. MiddlewareName string `protobuf:"bytes,1,opt,name=middleware_name,json=middlewareName,proto3" json:"middleware_name,omitempty"` // //The name of the custom macaroon caveat that this middleware is responsible //for. Only requests/responses that contain a macaroon with the registered //custom caveat are forwarded for interception to the middleware. The //exception being the read-only mode: All requests/responses are forwarded to //a middleware that requests read-only access but such a middleware won't be //allowed to _alter_ responses. As a security measure, _no_ middleware can //change responses to requests made with _unencumbered_ macaroons! //NOTE: Cannot be used at the same time as read_only_mode. CustomMacaroonCaveatName string `` /* 137-byte string literal not displayed */ // //Instead of defining a custom macaroon caveat name a middleware can register //itself for read-only access only. In that mode all requests/responses are //forwarded to the middleware but the middleware isn't allowed to alter any of //the responses. //NOTE: Cannot be used at the same time as custom_macaroon_caveat_name. ReadOnlyMode bool `protobuf:"varint,3,opt,name=read_only_mode,json=readOnlyMode,proto3" json:"read_only_mode,omitempty"` // contains filtered or unexported fields }
func (*MiddlewareRegistration) Descriptor
deprecated
func (*MiddlewareRegistration) Descriptor() ([]byte, []int)
Deprecated: Use MiddlewareRegistration.ProtoReflect.Descriptor instead.
func (*MiddlewareRegistration) GetCustomMacaroonCaveatName ¶
func (x *MiddlewareRegistration) GetCustomMacaroonCaveatName() string
func (*MiddlewareRegistration) GetMiddlewareName ¶
func (x *MiddlewareRegistration) GetMiddlewareName() string
func (*MiddlewareRegistration) GetReadOnlyMode ¶
func (x *MiddlewareRegistration) GetReadOnlyMode() bool
func (*MiddlewareRegistration) ProtoMessage ¶
func (*MiddlewareRegistration) ProtoMessage()
func (*MiddlewareRegistration) ProtoReflect ¶
func (x *MiddlewareRegistration) ProtoReflect() protoreflect.Message
func (*MiddlewareRegistration) Reset ¶
func (x *MiddlewareRegistration) Reset()
func (*MiddlewareRegistration) String ¶
func (x *MiddlewareRegistration) String() string
type MultiChanBackup ¶
type MultiChanBackup struct { // //Is the set of all channels that are included in this multi-channel backup. ChanPoints []*ChannelPoint `protobuf:"bytes,1,rep,name=chan_points,json=chanPoints,proto3" json:"chan_points,omitempty"` // //A single encrypted blob containing all the static channel backups of the //channel listed above. This can be stored as a single file or blob, and //safely be replaced with any prior/future versions. When using REST, this //field must be encoded as base64. MultiChanBackup []byte `protobuf:"bytes,2,opt,name=multi_chan_backup,json=multiChanBackup,proto3" json:"multi_chan_backup,omitempty"` // contains filtered or unexported fields }
func (*MultiChanBackup) Descriptor
deprecated
func (*MultiChanBackup) Descriptor() ([]byte, []int)
Deprecated: Use MultiChanBackup.ProtoReflect.Descriptor instead.
func (*MultiChanBackup) GetChanPoints ¶
func (x *MultiChanBackup) GetChanPoints() []*ChannelPoint
func (*MultiChanBackup) GetMultiChanBackup ¶
func (x *MultiChanBackup) GetMultiChanBackup() []byte
func (*MultiChanBackup) ProtoMessage ¶
func (*MultiChanBackup) ProtoMessage()
func (*MultiChanBackup) ProtoReflect ¶
func (x *MultiChanBackup) ProtoReflect() protoreflect.Message
func (*MultiChanBackup) Reset ¶
func (x *MultiChanBackup) Reset()
func (*MultiChanBackup) String ¶
func (x *MultiChanBackup) String() string
type NetworkInfo ¶
type NetworkInfo struct { GraphDiameter uint32 `protobuf:"varint,1,opt,name=graph_diameter,json=graphDiameter,proto3" json:"graph_diameter,omitempty"` AvgOutDegree float64 `protobuf:"fixed64,2,opt,name=avg_out_degree,json=avgOutDegree,proto3" json:"avg_out_degree,omitempty"` MaxOutDegree uint32 `protobuf:"varint,3,opt,name=max_out_degree,json=maxOutDegree,proto3" json:"max_out_degree,omitempty"` NumNodes uint32 `protobuf:"varint,4,opt,name=num_nodes,json=numNodes,proto3" json:"num_nodes,omitempty"` NumChannels uint32 `protobuf:"varint,5,opt,name=num_channels,json=numChannels,proto3" json:"num_channels,omitempty"` TotalNetworkCapacity int64 `protobuf:"varint,6,opt,name=total_network_capacity,json=totalNetworkCapacity,proto3" json:"total_network_capacity,omitempty"` AvgChannelSize float64 `protobuf:"fixed64,7,opt,name=avg_channel_size,json=avgChannelSize,proto3" json:"avg_channel_size,omitempty"` MinChannelSize int64 `protobuf:"varint,8,opt,name=min_channel_size,json=minChannelSize,proto3" json:"min_channel_size,omitempty"` MaxChannelSize int64 `protobuf:"varint,9,opt,name=max_channel_size,json=maxChannelSize,proto3" json:"max_channel_size,omitempty"` MedianChannelSizeSat int64 `` /* 127-byte string literal not displayed */ // The number of edges marked as zombies. NumZombieChans uint64 `protobuf:"varint,11,opt,name=num_zombie_chans,json=numZombieChans,proto3" json:"num_zombie_chans,omitempty"` // contains filtered or unexported fields }
func (*NetworkInfo) Descriptor
deprecated
func (*NetworkInfo) Descriptor() ([]byte, []int)
Deprecated: Use NetworkInfo.ProtoReflect.Descriptor instead.
func (*NetworkInfo) GetAvgChannelSize ¶
func (x *NetworkInfo) GetAvgChannelSize() float64
func (*NetworkInfo) GetAvgOutDegree ¶
func (x *NetworkInfo) GetAvgOutDegree() float64
func (*NetworkInfo) GetGraphDiameter ¶
func (x *NetworkInfo) GetGraphDiameter() uint32
func (*NetworkInfo) GetMaxChannelSize ¶
func (x *NetworkInfo) GetMaxChannelSize() int64
func (*NetworkInfo) GetMaxOutDegree ¶
func (x *NetworkInfo) GetMaxOutDegree() uint32
func (*NetworkInfo) GetMedianChannelSizeSat ¶
func (x *NetworkInfo) GetMedianChannelSizeSat() int64
func (*NetworkInfo) GetMinChannelSize ¶
func (x *NetworkInfo) GetMinChannelSize() int64
func (*NetworkInfo) GetNumChannels ¶
func (x *NetworkInfo) GetNumChannels() uint32
func (*NetworkInfo) GetNumNodes ¶
func (x *NetworkInfo) GetNumNodes() uint32
func (*NetworkInfo) GetNumZombieChans ¶
func (x *NetworkInfo) GetNumZombieChans() uint64
func (*NetworkInfo) GetTotalNetworkCapacity ¶
func (x *NetworkInfo) GetTotalNetworkCapacity() int64
func (*NetworkInfo) ProtoMessage ¶
func (*NetworkInfo) ProtoMessage()
func (*NetworkInfo) ProtoReflect ¶
func (x *NetworkInfo) ProtoReflect() protoreflect.Message
func (*NetworkInfo) Reset ¶
func (x *NetworkInfo) Reset()
func (*NetworkInfo) String ¶
func (x *NetworkInfo) String() string
type NetworkInfoRequest ¶
type NetworkInfoRequest struct {
// contains filtered or unexported fields
}
func (*NetworkInfoRequest) Descriptor
deprecated
func (*NetworkInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use NetworkInfoRequest.ProtoReflect.Descriptor instead.
func (*NetworkInfoRequest) ProtoMessage ¶
func (*NetworkInfoRequest) ProtoMessage()
func (*NetworkInfoRequest) ProtoReflect ¶
func (x *NetworkInfoRequest) ProtoReflect() protoreflect.Message
func (*NetworkInfoRequest) Reset ¶
func (x *NetworkInfoRequest) Reset()
func (*NetworkInfoRequest) String ¶
func (x *NetworkInfoRequest) String() string
type NewAddressRequest ¶
type NewAddressRequest struct { // The type of address to generate. Type AddressType `protobuf:"varint,1,opt,name=type,proto3,enum=lnrpc.AddressType" json:"type,omitempty"` // //The name of the account to generate a new address for. If empty, the //default wallet account is used. Account string `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"` // contains filtered or unexported fields }
func (*NewAddressRequest) Descriptor
deprecated
func (*NewAddressRequest) Descriptor() ([]byte, []int)
Deprecated: Use NewAddressRequest.ProtoReflect.Descriptor instead.
func (*NewAddressRequest) GetAccount ¶
func (x *NewAddressRequest) GetAccount() string
func (*NewAddressRequest) GetType ¶
func (x *NewAddressRequest) GetType() AddressType
func (*NewAddressRequest) ProtoMessage ¶
func (*NewAddressRequest) ProtoMessage()
func (*NewAddressRequest) ProtoReflect ¶
func (x *NewAddressRequest) ProtoReflect() protoreflect.Message
func (*NewAddressRequest) Reset ¶
func (x *NewAddressRequest) Reset()
func (*NewAddressRequest) String ¶
func (x *NewAddressRequest) String() string
type NewAddressResponse ¶
type NewAddressResponse struct { // The newly generated wallet address Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*NewAddressResponse) Descriptor
deprecated
func (*NewAddressResponse) Descriptor() ([]byte, []int)
Deprecated: Use NewAddressResponse.ProtoReflect.Descriptor instead.
func (*NewAddressResponse) GetAddress ¶
func (x *NewAddressResponse) GetAddress() string
func (*NewAddressResponse) ProtoMessage ¶
func (*NewAddressResponse) ProtoMessage()
func (*NewAddressResponse) ProtoReflect ¶
func (x *NewAddressResponse) ProtoReflect() protoreflect.Message
func (*NewAddressResponse) Reset ¶
func (x *NewAddressResponse) Reset()
func (*NewAddressResponse) String ¶
func (x *NewAddressResponse) String() string
type NodeAddress ¶
type NodeAddress struct { Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"` Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"` // contains filtered or unexported fields }
func (*NodeAddress) Descriptor
deprecated
func (*NodeAddress) Descriptor() ([]byte, []int)
Deprecated: Use NodeAddress.ProtoReflect.Descriptor instead.
func (*NodeAddress) GetAddr ¶
func (x *NodeAddress) GetAddr() string
func (*NodeAddress) GetNetwork ¶
func (x *NodeAddress) GetNetwork() string
func (*NodeAddress) ProtoMessage ¶
func (*NodeAddress) ProtoMessage()
func (*NodeAddress) ProtoReflect ¶
func (x *NodeAddress) ProtoReflect() protoreflect.Message
func (*NodeAddress) Reset ¶
func (x *NodeAddress) Reset()
func (*NodeAddress) String ¶
func (x *NodeAddress) String() string
type NodeInfo ¶
type NodeInfo struct { // //An individual vertex/node within the channel graph. A node is //connected to other nodes by one or more channel edges emanating from it. As //the graph is directed, a node will also have an incoming edge attached to //it for each outgoing edge. Node *LightningNode `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"` // The total number of channels for the node. NumChannels uint32 `protobuf:"varint,2,opt,name=num_channels,json=numChannels,proto3" json:"num_channels,omitempty"` // The sum of all channels capacity for the node, denominated in satoshis. TotalCapacity int64 `protobuf:"varint,3,opt,name=total_capacity,json=totalCapacity,proto3" json:"total_capacity,omitempty"` // A list of all public channels for the node. Channels []*ChannelEdge `protobuf:"bytes,4,rep,name=channels,proto3" json:"channels,omitempty"` // contains filtered or unexported fields }
func (*NodeInfo) Descriptor
deprecated
func (*NodeInfo) GetChannels ¶
func (x *NodeInfo) GetChannels() []*ChannelEdge
func (*NodeInfo) GetNode ¶
func (x *NodeInfo) GetNode() *LightningNode
func (*NodeInfo) GetNumChannels ¶
func (*NodeInfo) GetTotalCapacity ¶
func (*NodeInfo) ProtoMessage ¶
func (*NodeInfo) ProtoMessage()
func (*NodeInfo) ProtoReflect ¶
func (x *NodeInfo) ProtoReflect() protoreflect.Message
type NodeInfoRequest ¶
type NodeInfoRequest struct { // The 33-byte hex-encoded compressed public of the target node PubKey string `protobuf:"bytes,1,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"` // If true, will include all known channels associated with the node. IncludeChannels bool `protobuf:"varint,2,opt,name=include_channels,json=includeChannels,proto3" json:"include_channels,omitempty"` // contains filtered or unexported fields }
func (*NodeInfoRequest) Descriptor
deprecated
func (*NodeInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use NodeInfoRequest.ProtoReflect.Descriptor instead.
func (*NodeInfoRequest) GetIncludeChannels ¶
func (x *NodeInfoRequest) GetIncludeChannels() bool
func (*NodeInfoRequest) GetPubKey ¶
func (x *NodeInfoRequest) GetPubKey() string
func (*NodeInfoRequest) ProtoMessage ¶
func (*NodeInfoRequest) ProtoMessage()
func (*NodeInfoRequest) ProtoReflect ¶
func (x *NodeInfoRequest) ProtoReflect() protoreflect.Message
func (*NodeInfoRequest) Reset ¶
func (x *NodeInfoRequest) Reset()
func (*NodeInfoRequest) String ¶
func (x *NodeInfoRequest) String() string
type NodeMetricType ¶
type NodeMetricType int32
const ( NodeMetricType_UNKNOWN NodeMetricType = 0 NodeMetricType_BETWEENNESS_CENTRALITY NodeMetricType = 1 )
func (NodeMetricType) Descriptor ¶
func (NodeMetricType) Descriptor() protoreflect.EnumDescriptor
func (NodeMetricType) Enum ¶
func (x NodeMetricType) Enum() *NodeMetricType
func (NodeMetricType) EnumDescriptor
deprecated
func (NodeMetricType) EnumDescriptor() ([]byte, []int)
Deprecated: Use NodeMetricType.Descriptor instead.
func (NodeMetricType) Number ¶
func (x NodeMetricType) Number() protoreflect.EnumNumber
func (NodeMetricType) String ¶
func (x NodeMetricType) String() string
func (NodeMetricType) Type ¶
func (NodeMetricType) Type() protoreflect.EnumType
type NodeMetricsRequest ¶
type NodeMetricsRequest struct { // The requested node metrics. Types []NodeMetricType `protobuf:"varint,1,rep,packed,name=types,proto3,enum=lnrpc.NodeMetricType" json:"types,omitempty"` // contains filtered or unexported fields }
func (*NodeMetricsRequest) Descriptor
deprecated
func (*NodeMetricsRequest) Descriptor() ([]byte, []int)
Deprecated: Use NodeMetricsRequest.ProtoReflect.Descriptor instead.
func (*NodeMetricsRequest) GetTypes ¶
func (x *NodeMetricsRequest) GetTypes() []NodeMetricType
func (*NodeMetricsRequest) ProtoMessage ¶
func (*NodeMetricsRequest) ProtoMessage()
func (*NodeMetricsRequest) ProtoReflect ¶
func (x *NodeMetricsRequest) ProtoReflect() protoreflect.Message
func (*NodeMetricsRequest) Reset ¶
func (x *NodeMetricsRequest) Reset()
func (*NodeMetricsRequest) String ¶
func (x *NodeMetricsRequest) String() string
type NodeMetricsResponse ¶
type NodeMetricsResponse struct { // //Betweenness centrality is the sum of the ratio of shortest paths that pass //through the node for each pair of nodes in the graph (not counting paths //starting or ending at this node). //Map of node pubkey to betweenness centrality of the node. Normalized //values are in the [0,1] closed interval. BetweennessCentrality map[string]*FloatMetric `` /* 212-byte string literal not displayed */ // contains filtered or unexported fields }
func (*NodeMetricsResponse) Descriptor
deprecated
func (*NodeMetricsResponse) Descriptor() ([]byte, []int)
Deprecated: Use NodeMetricsResponse.ProtoReflect.Descriptor instead.
func (*NodeMetricsResponse) GetBetweennessCentrality ¶
func (x *NodeMetricsResponse) GetBetweennessCentrality() map[string]*FloatMetric
func (*NodeMetricsResponse) ProtoMessage ¶
func (*NodeMetricsResponse) ProtoMessage()
func (*NodeMetricsResponse) ProtoReflect ¶
func (x *NodeMetricsResponse) ProtoReflect() protoreflect.Message
func (*NodeMetricsResponse) Reset ¶
func (x *NodeMetricsResponse) Reset()
func (*NodeMetricsResponse) String ¶
func (x *NodeMetricsResponse) String() string
type NodePair ¶
type NodePair struct { // //The sending node of the pair. When using REST, this field must be encoded as //base64. From []byte `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` // //The receiving node of the pair. When using REST, this field must be encoded //as base64. To []byte `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"` // contains filtered or unexported fields }
func (*NodePair) Descriptor
deprecated
func (*NodePair) ProtoMessage ¶
func (*NodePair) ProtoMessage()
func (*NodePair) ProtoReflect ¶
func (x *NodePair) ProtoReflect() protoreflect.Message
type NodeUpdate ¶
type NodeUpdate struct { // //Deprecated, use node_addresses. // // Deprecated: Do not use. Addresses []string `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"` IdentityKey string `protobuf:"bytes,2,opt,name=identity_key,json=identityKey,proto3" json:"identity_key,omitempty"` // //Deprecated, use features. // // Deprecated: Do not use. GlobalFeatures []byte `protobuf:"bytes,3,opt,name=global_features,json=globalFeatures,proto3" json:"global_features,omitempty"` Alias string `protobuf:"bytes,4,opt,name=alias,proto3" json:"alias,omitempty"` Color string `protobuf:"bytes,5,opt,name=color,proto3" json:"color,omitempty"` NodeAddresses []*NodeAddress `protobuf:"bytes,7,rep,name=node_addresses,json=nodeAddresses,proto3" json:"node_addresses,omitempty"` // //Features that the node has advertised in the init message, node //announcements and invoices. Features map[uint32]*Feature `` /* 158-byte string literal not displayed */ // contains filtered or unexported fields }
func (*NodeUpdate) Descriptor
deprecated
func (*NodeUpdate) Descriptor() ([]byte, []int)
Deprecated: Use NodeUpdate.ProtoReflect.Descriptor instead.
func (*NodeUpdate) GetAddresses
deprecated
func (x *NodeUpdate) GetAddresses() []string
Deprecated: Do not use.
func (*NodeUpdate) GetAlias ¶
func (x *NodeUpdate) GetAlias() string
func (*NodeUpdate) GetColor ¶
func (x *NodeUpdate) GetColor() string
func (*NodeUpdate) GetFeatures ¶
func (x *NodeUpdate) GetFeatures() map[uint32]*Feature
func (*NodeUpdate) GetGlobalFeatures
deprecated
func (x *NodeUpdate) GetGlobalFeatures() []byte
Deprecated: Do not use.
func (*NodeUpdate) GetIdentityKey ¶
func (x *NodeUpdate) GetIdentityKey() string
func (*NodeUpdate) GetNodeAddresses ¶
func (x *NodeUpdate) GetNodeAddresses() []*NodeAddress
func (*NodeUpdate) ProtoMessage ¶
func (*NodeUpdate) ProtoMessage()
func (*NodeUpdate) ProtoReflect ¶
func (x *NodeUpdate) ProtoReflect() protoreflect.Message
func (*NodeUpdate) Reset ¶
func (x *NodeUpdate) Reset()
func (*NodeUpdate) String ¶
func (x *NodeUpdate) String() string
type Op ¶
type Op struct { Entity string `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"` Actions []string `protobuf:"bytes,2,rep,name=actions,proto3" json:"actions,omitempty"` // contains filtered or unexported fields }
func (*Op) Descriptor
deprecated
func (*Op) GetActions ¶
func (*Op) ProtoMessage ¶
func (*Op) ProtoMessage()
func (*Op) ProtoReflect ¶
func (x *Op) ProtoReflect() protoreflect.Message
type OpenChannelRequest ¶
type OpenChannelRequest struct { // A manual fee rate set in sat/vbyte that should be used when crafting the // funding transaction. SatPerVbyte uint64 `protobuf:"varint,1,opt,name=sat_per_vbyte,json=satPerVbyte,proto3" json:"sat_per_vbyte,omitempty"` // //The pubkey of the node to open a channel with. When using REST, this field //must be encoded as base64. NodePubkey []byte `protobuf:"bytes,2,opt,name=node_pubkey,json=nodePubkey,proto3" json:"node_pubkey,omitempty"` // //The hex encoded pubkey of the node to open a channel with. Deprecated now //that the REST gateway supports base64 encoding of bytes fields. // // Deprecated: Do not use. NodePubkeyString string `protobuf:"bytes,3,opt,name=node_pubkey_string,json=nodePubkeyString,proto3" json:"node_pubkey_string,omitempty"` // The number of satoshis the wallet should commit to the channel LocalFundingAmount int64 `protobuf:"varint,4,opt,name=local_funding_amount,json=localFundingAmount,proto3" json:"local_funding_amount,omitempty"` // The number of satoshis to push to the remote side as part of the initial // commitment state PushSat int64 `protobuf:"varint,5,opt,name=push_sat,json=pushSat,proto3" json:"push_sat,omitempty"` // The target number of blocks that the funding transaction should be // confirmed by. TargetConf int32 `protobuf:"varint,6,opt,name=target_conf,json=targetConf,proto3" json:"target_conf,omitempty"` // Deprecated, use sat_per_vbyte. // A manual fee rate set in sat/vbyte that should be used when crafting the // funding transaction. // // Deprecated: Do not use. SatPerByte int64 `protobuf:"varint,7,opt,name=sat_per_byte,json=satPerByte,proto3" json:"sat_per_byte,omitempty"` // Whether this channel should be private, not announced to the greater // network. Private bool `protobuf:"varint,8,opt,name=private,proto3" json:"private,omitempty"` // The minimum value in millisatoshi we will require for incoming HTLCs on // the channel. MinHtlcMsat int64 `protobuf:"varint,9,opt,name=min_htlc_msat,json=minHtlcMsat,proto3" json:"min_htlc_msat,omitempty"` // The delay we require on the remote's commitment transaction. If this is // not set, it will be scaled automatically with the channel size. RemoteCsvDelay uint32 `protobuf:"varint,10,opt,name=remote_csv_delay,json=remoteCsvDelay,proto3" json:"remote_csv_delay,omitempty"` // The minimum number of confirmations each one of your outputs used for // the funding transaction must satisfy. MinConfs int32 `protobuf:"varint,11,opt,name=min_confs,json=minConfs,proto3" json:"min_confs,omitempty"` // Whether unconfirmed outputs should be used as inputs for the funding // transaction. SpendUnconfirmed bool `protobuf:"varint,12,opt,name=spend_unconfirmed,json=spendUnconfirmed,proto3" json:"spend_unconfirmed,omitempty"` // //Close address is an optional address which specifies the address to which //funds should be paid out to upon cooperative close. This field may only be //set if the peer supports the option upfront feature bit (call listpeers //to check). The remote peer will only accept cooperative closes to this //address if it is set. // //Note: If this value is set on channel creation, you will *not* be able to //cooperatively close out to a different address. CloseAddress string `protobuf:"bytes,13,opt,name=close_address,json=closeAddress,proto3" json:"close_address,omitempty"` // //Funding shims are an optional argument that allow the caller to intercept //certain funding functionality. For example, a shim can be provided to use a //particular key for the commitment key (ideally cold) rather than use one //that is generated by the wallet as normal, or signal that signing will be //carried out in an interactive manner (PSBT based). FundingShim *FundingShim `protobuf:"bytes,14,opt,name=funding_shim,json=fundingShim,proto3" json:"funding_shim,omitempty"` // //The maximum amount of coins in millisatoshi that can be pending within //the channel. It only applies to the remote party. RemoteMaxValueInFlightMsat uint64 `` /* 149-byte string literal not displayed */ // //The maximum number of concurrent HTLCs we will allow the remote party to add //to the commitment transaction. RemoteMaxHtlcs uint32 `protobuf:"varint,16,opt,name=remote_max_htlcs,json=remoteMaxHtlcs,proto3" json:"remote_max_htlcs,omitempty"` // //Max local csv is the maximum csv delay we will allow for our own commitment //transaction. MaxLocalCsv uint32 `protobuf:"varint,17,opt,name=max_local_csv,json=maxLocalCsv,proto3" json:"max_local_csv,omitempty"` // //The explicit commitment type to use. Note this field will only be used if //the remote peer supports explicit channel negotiation. CommitmentType CommitmentType `` /* 131-byte string literal not displayed */ // contains filtered or unexported fields }
func (*OpenChannelRequest) Descriptor
deprecated
func (*OpenChannelRequest) Descriptor() ([]byte, []int)
Deprecated: Use OpenChannelRequest.ProtoReflect.Descriptor instead.
func (*OpenChannelRequest) GetCloseAddress ¶
func (x *OpenChannelRequest) GetCloseAddress() string
func (*OpenChannelRequest) GetCommitmentType ¶
func (x *OpenChannelRequest) GetCommitmentType() CommitmentType
func (*OpenChannelRequest) GetFundingShim ¶
func (x *OpenChannelRequest) GetFundingShim() *FundingShim
func (*OpenChannelRequest) GetLocalFundingAmount ¶
func (x *OpenChannelRequest) GetLocalFundingAmount() int64
func (*OpenChannelRequest) GetMaxLocalCsv ¶
func (x *OpenChannelRequest) GetMaxLocalCsv() uint32
func (*OpenChannelRequest) GetMinConfs ¶
func (x *OpenChannelRequest) GetMinConfs() int32
func (*OpenChannelRequest) GetMinHtlcMsat ¶
func (x *OpenChannelRequest) GetMinHtlcMsat() int64
func (*OpenChannelRequest) GetNodePubkey ¶
func (x *OpenChannelRequest) GetNodePubkey() []byte
func (*OpenChannelRequest) GetNodePubkeyString
deprecated
func (x *OpenChannelRequest) GetNodePubkeyString() string
Deprecated: Do not use.
func (*OpenChannelRequest) GetPrivate ¶
func (x *OpenChannelRequest) GetPrivate() bool
func (*OpenChannelRequest) GetPushSat ¶
func (x *OpenChannelRequest) GetPushSat() int64
func (*OpenChannelRequest) GetRemoteCsvDelay ¶
func (x *OpenChannelRequest) GetRemoteCsvDelay() uint32
func (*OpenChannelRequest) GetRemoteMaxHtlcs ¶
func (x *OpenChannelRequest) GetRemoteMaxHtlcs() uint32
func (*OpenChannelRequest) GetRemoteMaxValueInFlightMsat ¶
func (x *OpenChannelRequest) GetRemoteMaxValueInFlightMsat() uint64
func (*OpenChannelRequest) GetSatPerByte
deprecated
func (x *OpenChannelRequest) GetSatPerByte() int64
Deprecated: Do not use.
func (*OpenChannelRequest) GetSatPerVbyte ¶
func (x *OpenChannelRequest) GetSatPerVbyte() uint64
func (*OpenChannelRequest) GetSpendUnconfirmed ¶
func (x *OpenChannelRequest) GetSpendUnconfirmed() bool
func (*OpenChannelRequest) GetTargetConf ¶
func (x *OpenChannelRequest) GetTargetConf() int32
func (*OpenChannelRequest) ProtoMessage ¶
func (*OpenChannelRequest) ProtoMessage()
func (*OpenChannelRequest) ProtoReflect ¶
func (x *OpenChannelRequest) ProtoReflect() protoreflect.Message
func (*OpenChannelRequest) Reset ¶
func (x *OpenChannelRequest) Reset()
func (*OpenChannelRequest) String ¶
func (x *OpenChannelRequest) String() string
type OpenStatusUpdate ¶
type OpenStatusUpdate struct { // Types that are assignable to Update: // *OpenStatusUpdate_ChanPending // *OpenStatusUpdate_ChanOpen // *OpenStatusUpdate_PsbtFund Update isOpenStatusUpdate_Update `protobuf_oneof:"update"` // //The pending channel ID of the created channel. This value may be used to //further the funding flow manually via the FundingStateStep method. PendingChanId []byte `protobuf:"bytes,4,opt,name=pending_chan_id,json=pendingChanId,proto3" json:"pending_chan_id,omitempty"` // contains filtered or unexported fields }
func (*OpenStatusUpdate) Descriptor
deprecated
func (*OpenStatusUpdate) Descriptor() ([]byte, []int)
Deprecated: Use OpenStatusUpdate.ProtoReflect.Descriptor instead.
func (*OpenStatusUpdate) GetChanOpen ¶
func (x *OpenStatusUpdate) GetChanOpen() *ChannelOpenUpdate
func (*OpenStatusUpdate) GetChanPending ¶
func (x *OpenStatusUpdate) GetChanPending() *PendingUpdate
func (*OpenStatusUpdate) GetPendingChanId ¶
func (x *OpenStatusUpdate) GetPendingChanId() []byte
func (*OpenStatusUpdate) GetPsbtFund ¶
func (x *OpenStatusUpdate) GetPsbtFund() *ReadyForPsbtFunding
func (*OpenStatusUpdate) GetUpdate ¶
func (m *OpenStatusUpdate) GetUpdate() isOpenStatusUpdate_Update
func (*OpenStatusUpdate) ProtoMessage ¶
func (*OpenStatusUpdate) ProtoMessage()
func (*OpenStatusUpdate) ProtoReflect ¶
func (x *OpenStatusUpdate) ProtoReflect() protoreflect.Message
func (*OpenStatusUpdate) Reset ¶
func (x *OpenStatusUpdate) Reset()
func (*OpenStatusUpdate) String ¶
func (x *OpenStatusUpdate) String() string
type OpenStatusUpdate_ChanOpen ¶
type OpenStatusUpdate_ChanOpen struct { // //Signals that the channel's funding transaction has now reached the //required number of confirmations on chain and can be used. ChanOpen *ChannelOpenUpdate `protobuf:"bytes,3,opt,name=chan_open,json=chanOpen,proto3,oneof"` }
type OpenStatusUpdate_ChanPending ¶
type OpenStatusUpdate_ChanPending struct { // //Signals that the channel is now fully negotiated and the funding //transaction published. ChanPending *PendingUpdate `protobuf:"bytes,1,opt,name=chan_pending,json=chanPending,proto3,oneof"` }
type OpenStatusUpdate_PsbtFund ¶
type OpenStatusUpdate_PsbtFund struct { // //Signals that the funding process has been suspended and the construction //of a PSBT that funds the channel PK script is now required. PsbtFund *ReadyForPsbtFunding `protobuf:"bytes,5,opt,name=psbt_fund,json=psbtFund,proto3,oneof"` }
type OutPoint ¶
type OutPoint struct { // Raw bytes representing the transaction id. TxidBytes []byte `protobuf:"bytes,1,opt,name=txid_bytes,json=txidBytes,proto3" json:"txid_bytes,omitempty"` // Reversed, hex-encoded string representing the transaction id. TxidStr string `protobuf:"bytes,2,opt,name=txid_str,json=txidStr,proto3" json:"txid_str,omitempty"` // The index of the output on the transaction. OutputIndex uint32 `protobuf:"varint,3,opt,name=output_index,json=outputIndex,proto3" json:"output_index,omitempty"` // contains filtered or unexported fields }
func (*OutPoint) Descriptor
deprecated
func (*OutPoint) GetOutputIndex ¶
func (*OutPoint) GetTxidBytes ¶
func (*OutPoint) GetTxidStr ¶
func (*OutPoint) ProtoMessage ¶
func (*OutPoint) ProtoMessage()
func (*OutPoint) ProtoReflect ¶
func (x *OutPoint) ProtoReflect() protoreflect.Message
type PayReq ¶
type PayReq struct { Destination string `protobuf:"bytes,1,opt,name=destination,proto3" json:"destination,omitempty"` PaymentHash string `protobuf:"bytes,2,opt,name=payment_hash,json=paymentHash,proto3" json:"payment_hash,omitempty"` NumSatoshis int64 `protobuf:"varint,3,opt,name=num_satoshis,json=numSatoshis,proto3" json:"num_satoshis,omitempty"` Timestamp int64 `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Expiry int64 `protobuf:"varint,5,opt,name=expiry,proto3" json:"expiry,omitempty"` Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` DescriptionHash string `protobuf:"bytes,7,opt,name=description_hash,json=descriptionHash,proto3" json:"description_hash,omitempty"` FallbackAddr string `protobuf:"bytes,8,opt,name=fallback_addr,json=fallbackAddr,proto3" json:"fallback_addr,omitempty"` CltvExpiry int64 `protobuf:"varint,9,opt,name=cltv_expiry,json=cltvExpiry,proto3" json:"cltv_expiry,omitempty"` RouteHints []*RouteHint `protobuf:"bytes,10,rep,name=route_hints,json=routeHints,proto3" json:"route_hints,omitempty"` PaymentAddr []byte `protobuf:"bytes,11,opt,name=payment_addr,json=paymentAddr,proto3" json:"payment_addr,omitempty"` NumMsat int64 `protobuf:"varint,12,opt,name=num_msat,json=numMsat,proto3" json:"num_msat,omitempty"` Features map[uint32]*Feature `` /* 159-byte string literal not displayed */ // contains filtered or unexported fields }
func (*PayReq) Descriptor
deprecated
func (*PayReq) GetCltvExpiry ¶
func (*PayReq) GetDescription ¶
func (*PayReq) GetDescriptionHash ¶
func (*PayReq) GetDestination ¶
func (*PayReq) GetFallbackAddr ¶
func (*PayReq) GetFeatures ¶
func (*PayReq) GetNumMsat ¶
func (*PayReq) GetNumSatoshis ¶
func (*PayReq) GetPaymentAddr ¶
func (*PayReq) GetPaymentHash ¶
func (*PayReq) GetRouteHints ¶
func (*PayReq) GetTimestamp ¶
func (*PayReq) ProtoMessage ¶
func (*PayReq) ProtoMessage()
func (*PayReq) ProtoReflect ¶
func (x *PayReq) ProtoReflect() protoreflect.Message
type PayReqString ¶
type PayReqString struct { // The payment request string to be decoded PayReq string `protobuf:"bytes,1,opt,name=pay_req,json=payReq,proto3" json:"pay_req,omitempty"` // contains filtered or unexported fields }
func (*PayReqString) Descriptor
deprecated
func (*PayReqString) Descriptor() ([]byte, []int)
Deprecated: Use PayReqString.ProtoReflect.Descriptor instead.
func (*PayReqString) GetPayReq ¶
func (x *PayReqString) GetPayReq() string
func (*PayReqString) ProtoMessage ¶
func (*PayReqString) ProtoMessage()
func (*PayReqString) ProtoReflect ¶
func (x *PayReqString) ProtoReflect() protoreflect.Message
func (*PayReqString) Reset ¶
func (x *PayReqString) Reset()
func (*PayReqString) String ¶
func (x *PayReqString) String() string
type Payment ¶
type Payment struct { // The payment hash PaymentHash string `protobuf:"bytes,1,opt,name=payment_hash,json=paymentHash,proto3" json:"payment_hash,omitempty"` // Deprecated, use value_sat or value_msat. // // Deprecated: Do not use. Value int64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"` // Deprecated, use creation_time_ns // // Deprecated: Do not use. CreationDate int64 `protobuf:"varint,3,opt,name=creation_date,json=creationDate,proto3" json:"creation_date,omitempty"` // Deprecated, use fee_sat or fee_msat. // // Deprecated: Do not use. Fee int64 `protobuf:"varint,5,opt,name=fee,proto3" json:"fee,omitempty"` // The payment preimage PaymentPreimage string `protobuf:"bytes,6,opt,name=payment_preimage,json=paymentPreimage,proto3" json:"payment_preimage,omitempty"` // The value of the payment in satoshis ValueSat int64 `protobuf:"varint,7,opt,name=value_sat,json=valueSat,proto3" json:"value_sat,omitempty"` // The value of the payment in milli-satoshis ValueMsat int64 `protobuf:"varint,8,opt,name=value_msat,json=valueMsat,proto3" json:"value_msat,omitempty"` // The optional payment request being fulfilled. PaymentRequest string `protobuf:"bytes,9,opt,name=payment_request,json=paymentRequest,proto3" json:"payment_request,omitempty"` // The status of the payment. Status Payment_PaymentStatus `protobuf:"varint,10,opt,name=status,proto3,enum=lnrpc.Payment_PaymentStatus" json:"status,omitempty"` // The fee paid for this payment in satoshis FeeSat int64 `protobuf:"varint,11,opt,name=fee_sat,json=feeSat,proto3" json:"fee_sat,omitempty"` // The fee paid for this payment in milli-satoshis FeeMsat int64 `protobuf:"varint,12,opt,name=fee_msat,json=feeMsat,proto3" json:"fee_msat,omitempty"` // The time in UNIX nanoseconds at which the payment was created. CreationTimeNs int64 `protobuf:"varint,13,opt,name=creation_time_ns,json=creationTimeNs,proto3" json:"creation_time_ns,omitempty"` // The HTLCs made in attempt to settle the payment. Htlcs []*HTLCAttempt `protobuf:"bytes,14,rep,name=htlcs,proto3" json:"htlcs,omitempty"` // //The creation index of this payment. Each payment can be uniquely identified //by this index, which may not strictly increment by 1 for payments made in //older versions of lnd. PaymentIndex uint64 `protobuf:"varint,15,opt,name=payment_index,json=paymentIndex,proto3" json:"payment_index,omitempty"` FailureReason PaymentFailureReason `` /* 134-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Payment) Descriptor
deprecated
func (*Payment) GetCreationDate
deprecated
func (*Payment) GetCreationTimeNs ¶
func (*Payment) GetFailureReason ¶
func (x *Payment) GetFailureReason() PaymentFailureReason
func (*Payment) GetFeeMsat ¶
func (*Payment) GetHtlcs ¶
func (x *Payment) GetHtlcs() []*HTLCAttempt
func (*Payment) GetPaymentHash ¶
func (*Payment) GetPaymentIndex ¶
func (*Payment) GetPaymentPreimage ¶
func (*Payment) GetPaymentRequest ¶
func (*Payment) GetStatus ¶
func (x *Payment) GetStatus() Payment_PaymentStatus
func (*Payment) GetValueMsat ¶
func (*Payment) GetValueSat ¶
func (*Payment) ProtoMessage ¶
func (*Payment) ProtoMessage()
func (*Payment) ProtoReflect ¶
func (x *Payment) ProtoReflect() protoreflect.Message
type PaymentFailureReason ¶
type PaymentFailureReason int32
const ( // //Payment isn't failed (yet). PaymentFailureReason_FAILURE_REASON_NONE PaymentFailureReason = 0 // //There are more routes to try, but the payment timeout was exceeded. PaymentFailureReason_FAILURE_REASON_TIMEOUT PaymentFailureReason = 1 // //All possible routes were tried and failed permanently. Or were no //routes to the destination at all. PaymentFailureReason_FAILURE_REASON_NO_ROUTE PaymentFailureReason = 2 // //A non-recoverable error has occured. PaymentFailureReason_FAILURE_REASON_ERROR PaymentFailureReason = 3 // //Payment details incorrect (unknown hash, invalid amt or //invalid final cltv delta) PaymentFailureReason_FAILURE_REASON_INCORRECT_PAYMENT_DETAILS PaymentFailureReason = 4 // //Insufficient local balance. PaymentFailureReason_FAILURE_REASON_INSUFFICIENT_BALANCE PaymentFailureReason = 5 )
func (PaymentFailureReason) Descriptor ¶
func (PaymentFailureReason) Descriptor() protoreflect.EnumDescriptor
func (PaymentFailureReason) Enum ¶
func (x PaymentFailureReason) Enum() *PaymentFailureReason
func (PaymentFailureReason) EnumDescriptor
deprecated
func (PaymentFailureReason) EnumDescriptor() ([]byte, []int)
Deprecated: Use PaymentFailureReason.Descriptor instead.
func (PaymentFailureReason) Number ¶
func (x PaymentFailureReason) Number() protoreflect.EnumNumber
func (PaymentFailureReason) String ¶
func (x PaymentFailureReason) String() string
func (PaymentFailureReason) Type ¶
func (PaymentFailureReason) Type() protoreflect.EnumType
type PaymentHash ¶
type PaymentHash struct { // //The hex-encoded payment hash of the invoice to be looked up. The passed //payment hash must be exactly 32 bytes, otherwise an error is returned. //Deprecated now that the REST gateway supports base64 encoding of bytes //fields. // // Deprecated: Do not use. RHashStr string `protobuf:"bytes,1,opt,name=r_hash_str,json=rHashStr,proto3" json:"r_hash_str,omitempty"` // //The payment hash of the invoice to be looked up. When using REST, this field //must be encoded as base64. RHash []byte `protobuf:"bytes,2,opt,name=r_hash,json=rHash,proto3" json:"r_hash,omitempty"` // contains filtered or unexported fields }
func (*PaymentHash) Descriptor
deprecated
func (*PaymentHash) Descriptor() ([]byte, []int)
Deprecated: Use PaymentHash.ProtoReflect.Descriptor instead.
func (*PaymentHash) GetRHash ¶
func (x *PaymentHash) GetRHash() []byte
func (*PaymentHash) GetRHashStr
deprecated
func (x *PaymentHash) GetRHashStr() string
Deprecated: Do not use.
func (*PaymentHash) ProtoMessage ¶
func (*PaymentHash) ProtoMessage()
func (*PaymentHash) ProtoReflect ¶
func (x *PaymentHash) ProtoReflect() protoreflect.Message
func (*PaymentHash) Reset ¶
func (x *PaymentHash) Reset()
func (*PaymentHash) String ¶
func (x *PaymentHash) String() string
type Payment_PaymentStatus ¶
type Payment_PaymentStatus int32
const ( Payment_UNKNOWN Payment_PaymentStatus = 0 Payment_IN_FLIGHT Payment_PaymentStatus = 1 Payment_SUCCEEDED Payment_PaymentStatus = 2 Payment_FAILED Payment_PaymentStatus = 3 )
func (Payment_PaymentStatus) Descriptor ¶
func (Payment_PaymentStatus) Descriptor() protoreflect.EnumDescriptor
func (Payment_PaymentStatus) Enum ¶
func (x Payment_PaymentStatus) Enum() *Payment_PaymentStatus
func (Payment_PaymentStatus) EnumDescriptor
deprecated
func (Payment_PaymentStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use Payment_PaymentStatus.Descriptor instead.
func (Payment_PaymentStatus) Number ¶
func (x Payment_PaymentStatus) Number() protoreflect.EnumNumber
func (Payment_PaymentStatus) String ¶
func (x Payment_PaymentStatus) String() string
func (Payment_PaymentStatus) Type ¶
func (Payment_PaymentStatus) Type() protoreflect.EnumType
type Peer ¶
type Peer struct { // The identity pubkey of the peer PubKey string `protobuf:"bytes,1,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"` // Network address of the peer; eg `127.0.0.1:10011` Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` // Bytes of data transmitted to this peer BytesSent uint64 `protobuf:"varint,4,opt,name=bytes_sent,json=bytesSent,proto3" json:"bytes_sent,omitempty"` // Bytes of data transmitted from this peer BytesRecv uint64 `protobuf:"varint,5,opt,name=bytes_recv,json=bytesRecv,proto3" json:"bytes_recv,omitempty"` // Satoshis sent to this peer SatSent int64 `protobuf:"varint,6,opt,name=sat_sent,json=satSent,proto3" json:"sat_sent,omitempty"` // Satoshis received from this peer SatRecv int64 `protobuf:"varint,7,opt,name=sat_recv,json=satRecv,proto3" json:"sat_recv,omitempty"` // A channel is inbound if the counterparty initiated the channel Inbound bool `protobuf:"varint,8,opt,name=inbound,proto3" json:"inbound,omitempty"` // Ping time to this peer PingTime int64 `protobuf:"varint,9,opt,name=ping_time,json=pingTime,proto3" json:"ping_time,omitempty"` // The type of sync we are currently performing with this peer. SyncType Peer_SyncType `protobuf:"varint,10,opt,name=sync_type,json=syncType,proto3,enum=lnrpc.Peer_SyncType" json:"sync_type,omitempty"` // Features advertised by the remote peer in their init message. Features map[uint32]*Feature `` /* 159-byte string literal not displayed */ // //The latest errors received from our peer with timestamps, limited to the 10 //most recent errors. These errors are tracked across peer connections, but //are not persisted across lnd restarts. Note that these errors are only //stored for peers that we have channels open with, to prevent peers from //spamming us with errors at no cost. Errors []*TimestampedError `protobuf:"bytes,12,rep,name=errors,proto3" json:"errors,omitempty"` // //The number of times we have recorded this peer going offline or coming //online, recorded across restarts. Note that this value is decreased over //time if the peer has not recently flapped, so that we can forgive peers //with historically high flap counts. FlapCount int32 `protobuf:"varint,13,opt,name=flap_count,json=flapCount,proto3" json:"flap_count,omitempty"` // //The timestamp of the last flap we observed for this peer. If this value is //zero, we have not observed any flaps for this peer. LastFlapNs int64 `protobuf:"varint,14,opt,name=last_flap_ns,json=lastFlapNs,proto3" json:"last_flap_ns,omitempty"` // //The last ping payload the peer has sent to us. LastPingPayload []byte `protobuf:"bytes,15,opt,name=last_ping_payload,json=lastPingPayload,proto3" json:"last_ping_payload,omitempty"` // contains filtered or unexported fields }
func (*Peer) Descriptor
deprecated
func (*Peer) GetAddress ¶
func (*Peer) GetBytesRecv ¶
func (*Peer) GetBytesSent ¶
func (*Peer) GetErrors ¶
func (x *Peer) GetErrors() []*TimestampedError
func (*Peer) GetFeatures ¶
func (*Peer) GetFlapCount ¶
func (*Peer) GetInbound ¶
func (*Peer) GetLastFlapNs ¶
func (*Peer) GetLastPingPayload ¶
func (*Peer) GetPingTime ¶
func (*Peer) GetSatRecv ¶
func (*Peer) GetSatSent ¶
func (*Peer) GetSyncType ¶
func (x *Peer) GetSyncType() Peer_SyncType
func (*Peer) ProtoMessage ¶
func (*Peer) ProtoMessage()
func (*Peer) ProtoReflect ¶
func (x *Peer) ProtoReflect() protoreflect.Message
type PeerEvent ¶
type PeerEvent struct { // The identity pubkey of the peer. PubKey string `protobuf:"bytes,1,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"` Type PeerEvent_EventType `protobuf:"varint,2,opt,name=type,proto3,enum=lnrpc.PeerEvent_EventType" json:"type,omitempty"` // contains filtered or unexported fields }
func (*PeerEvent) Descriptor
deprecated
func (*PeerEvent) GetType ¶
func (x *PeerEvent) GetType() PeerEvent_EventType
func (*PeerEvent) ProtoMessage ¶
func (*PeerEvent) ProtoMessage()
func (*PeerEvent) ProtoReflect ¶
func (x *PeerEvent) ProtoReflect() protoreflect.Message
type PeerEventSubscription ¶
type PeerEventSubscription struct {
// contains filtered or unexported fields
}
func (*PeerEventSubscription) Descriptor
deprecated
func (*PeerEventSubscription) Descriptor() ([]byte, []int)
Deprecated: Use PeerEventSubscription.ProtoReflect.Descriptor instead.
func (*PeerEventSubscription) ProtoMessage ¶
func (*PeerEventSubscription) ProtoMessage()
func (*PeerEventSubscription) ProtoReflect ¶
func (x *PeerEventSubscription) ProtoReflect() protoreflect.Message
func (*PeerEventSubscription) Reset ¶
func (x *PeerEventSubscription) Reset()
func (*PeerEventSubscription) String ¶
func (x *PeerEventSubscription) String() string
type PeerEvent_EventType ¶
type PeerEvent_EventType int32
const ( PeerEvent_PEER_ONLINE PeerEvent_EventType = 0 PeerEvent_PEER_OFFLINE PeerEvent_EventType = 1 )
func (PeerEvent_EventType) Descriptor ¶
func (PeerEvent_EventType) Descriptor() protoreflect.EnumDescriptor
func (PeerEvent_EventType) Enum ¶
func (x PeerEvent_EventType) Enum() *PeerEvent_EventType
func (PeerEvent_EventType) EnumDescriptor
deprecated
func (PeerEvent_EventType) EnumDescriptor() ([]byte, []int)
Deprecated: Use PeerEvent_EventType.Descriptor instead.
func (PeerEvent_EventType) Number ¶
func (x PeerEvent_EventType) Number() protoreflect.EnumNumber
func (PeerEvent_EventType) String ¶
func (x PeerEvent_EventType) String() string
func (PeerEvent_EventType) Type ¶
func (PeerEvent_EventType) Type() protoreflect.EnumType
type Peer_SyncType ¶
type Peer_SyncType int32
const ( // //Denotes that we cannot determine the peer's current sync type. Peer_UNKNOWN_SYNC Peer_SyncType = 0 // //Denotes that we are actively receiving new graph updates from the peer. Peer_ACTIVE_SYNC Peer_SyncType = 1 // //Denotes that we are not receiving new graph updates from the peer. Peer_PASSIVE_SYNC Peer_SyncType = 2 // //Denotes that this peer is pinned into an active sync. Peer_PINNED_SYNC Peer_SyncType = 3 )
func (Peer_SyncType) Descriptor ¶
func (Peer_SyncType) Descriptor() protoreflect.EnumDescriptor
func (Peer_SyncType) Enum ¶
func (x Peer_SyncType) Enum() *Peer_SyncType
func (Peer_SyncType) EnumDescriptor
deprecated
func (Peer_SyncType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Peer_SyncType.Descriptor instead.
func (Peer_SyncType) Number ¶
func (x Peer_SyncType) Number() protoreflect.EnumNumber
func (Peer_SyncType) String ¶
func (x Peer_SyncType) String() string
func (Peer_SyncType) Type ¶
func (Peer_SyncType) Type() protoreflect.EnumType
type PendingChannelsRequest ¶
type PendingChannelsRequest struct {
// contains filtered or unexported fields
}
func (*PendingChannelsRequest) Descriptor
deprecated
func (*PendingChannelsRequest) Descriptor() ([]byte, []int)
Deprecated: Use PendingChannelsRequest.ProtoReflect.Descriptor instead.
func (*PendingChannelsRequest) ProtoMessage ¶
func (*PendingChannelsRequest) ProtoMessage()
func (*PendingChannelsRequest) ProtoReflect ¶
func (x *PendingChannelsRequest) ProtoReflect() protoreflect.Message
func (*PendingChannelsRequest) Reset ¶
func (x *PendingChannelsRequest) Reset()
func (*PendingChannelsRequest) String ¶
func (x *PendingChannelsRequest) String() string
type PendingChannelsResponse ¶
type PendingChannelsResponse struct { // The balance in satoshis encumbered in pending channels TotalLimboBalance int64 `protobuf:"varint,1,opt,name=total_limbo_balance,json=totalLimboBalance,proto3" json:"total_limbo_balance,omitempty"` // Channels pending opening PendingOpenChannels []*PendingChannelsResponse_PendingOpenChannel `protobuf:"bytes,2,rep,name=pending_open_channels,json=pendingOpenChannels,proto3" json:"pending_open_channels,omitempty"` // //Deprecated: Channels pending closing previously contained cooperatively //closed channels with a single confirmation. These channels are now //considered closed from the time we see them on chain. // // Deprecated: Do not use. PendingClosingChannels []*PendingChannelsResponse_ClosedChannel `` /* 129-byte string literal not displayed */ // Channels pending force closing PendingForceClosingChannels []*PendingChannelsResponse_ForceClosedChannel `` /* 146-byte string literal not displayed */ // Channels waiting for closing tx to confirm WaitingCloseChannels []*PendingChannelsResponse_WaitingCloseChannel `protobuf:"bytes,5,rep,name=waiting_close_channels,json=waitingCloseChannels,proto3" json:"waiting_close_channels,omitempty"` // contains filtered or unexported fields }
func (*PendingChannelsResponse) Descriptor
deprecated
func (*PendingChannelsResponse) Descriptor() ([]byte, []int)
Deprecated: Use PendingChannelsResponse.ProtoReflect.Descriptor instead.
func (*PendingChannelsResponse) GetPendingClosingChannels
deprecated
func (x *PendingChannelsResponse) GetPendingClosingChannels() []*PendingChannelsResponse_ClosedChannel
Deprecated: Do not use.
func (*PendingChannelsResponse) GetPendingForceClosingChannels ¶
func (x *PendingChannelsResponse) GetPendingForceClosingChannels() []*PendingChannelsResponse_ForceClosedChannel
func (*PendingChannelsResponse) GetPendingOpenChannels ¶
func (x *PendingChannelsResponse) GetPendingOpenChannels() []*PendingChannelsResponse_PendingOpenChannel
func (*PendingChannelsResponse) GetTotalLimboBalance ¶
func (x *PendingChannelsResponse) GetTotalLimboBalance() int64
func (*PendingChannelsResponse) GetWaitingCloseChannels ¶
func (x *PendingChannelsResponse) GetWaitingCloseChannels() []*PendingChannelsResponse_WaitingCloseChannel
func (*PendingChannelsResponse) ProtoMessage ¶
func (*PendingChannelsResponse) ProtoMessage()
func (*PendingChannelsResponse) ProtoReflect ¶
func (x *PendingChannelsResponse) ProtoReflect() protoreflect.Message
func (*PendingChannelsResponse) Reset ¶
func (x *PendingChannelsResponse) Reset()
func (*PendingChannelsResponse) String ¶
func (x *PendingChannelsResponse) String() string
type PendingChannelsResponse_ClosedChannel ¶
type PendingChannelsResponse_ClosedChannel struct { // The pending channel to be closed Channel *PendingChannelsResponse_PendingChannel `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"` // The transaction id of the closing transaction ClosingTxid string `protobuf:"bytes,2,opt,name=closing_txid,json=closingTxid,proto3" json:"closing_txid,omitempty"` // contains filtered or unexported fields }
func (*PendingChannelsResponse_ClosedChannel) Descriptor
deprecated
func (*PendingChannelsResponse_ClosedChannel) Descriptor() ([]byte, []int)
Deprecated: Use PendingChannelsResponse_ClosedChannel.ProtoReflect.Descriptor instead.
func (*PendingChannelsResponse_ClosedChannel) GetChannel ¶
func (x *PendingChannelsResponse_ClosedChannel) GetChannel() *PendingChannelsResponse_PendingChannel
func (*PendingChannelsResponse_ClosedChannel) GetClosingTxid ¶
func (x *PendingChannelsResponse_ClosedChannel) GetClosingTxid() string
func (*PendingChannelsResponse_ClosedChannel) ProtoMessage ¶
func (*PendingChannelsResponse_ClosedChannel) ProtoMessage()
func (*PendingChannelsResponse_ClosedChannel) ProtoReflect ¶
func (x *PendingChannelsResponse_ClosedChannel) ProtoReflect() protoreflect.Message
func (*PendingChannelsResponse_ClosedChannel) Reset ¶
func (x *PendingChannelsResponse_ClosedChannel) Reset()
func (*PendingChannelsResponse_ClosedChannel) String ¶
func (x *PendingChannelsResponse_ClosedChannel) String() string
type PendingChannelsResponse_Commitments ¶
type PendingChannelsResponse_Commitments struct { // Hash of the local version of the commitment tx. LocalTxid string `protobuf:"bytes,1,opt,name=local_txid,json=localTxid,proto3" json:"local_txid,omitempty"` // Hash of the remote version of the commitment tx. RemoteTxid string `protobuf:"bytes,2,opt,name=remote_txid,json=remoteTxid,proto3" json:"remote_txid,omitempty"` // Hash of the remote pending version of the commitment tx. RemotePendingTxid string `protobuf:"bytes,3,opt,name=remote_pending_txid,json=remotePendingTxid,proto3" json:"remote_pending_txid,omitempty"` // //The amount in satoshis calculated to be paid in fees for the local //commitment. LocalCommitFeeSat uint64 `protobuf:"varint,4,opt,name=local_commit_fee_sat,json=localCommitFeeSat,proto3" json:"local_commit_fee_sat,omitempty"` // //The amount in satoshis calculated to be paid in fees for the remote //commitment. RemoteCommitFeeSat uint64 `protobuf:"varint,5,opt,name=remote_commit_fee_sat,json=remoteCommitFeeSat,proto3" json:"remote_commit_fee_sat,omitempty"` // //The amount in satoshis calculated to be paid in fees for the remote //pending commitment. RemotePendingCommitFeeSat uint64 `` /* 143-byte string literal not displayed */ // contains filtered or unexported fields }
func (*PendingChannelsResponse_Commitments) Descriptor
deprecated
func (*PendingChannelsResponse_Commitments) Descriptor() ([]byte, []int)
Deprecated: Use PendingChannelsResponse_Commitments.ProtoReflect.Descriptor instead.
func (*PendingChannelsResponse_Commitments) GetLocalCommitFeeSat ¶
func (x *PendingChannelsResponse_Commitments) GetLocalCommitFeeSat() uint64
func (*PendingChannelsResponse_Commitments) GetLocalTxid ¶
func (x *PendingChannelsResponse_Commitments) GetLocalTxid() string
func (*PendingChannelsResponse_Commitments) GetRemoteCommitFeeSat ¶
func (x *PendingChannelsResponse_Commitments) GetRemoteCommitFeeSat() uint64
func (*PendingChannelsResponse_Commitments) GetRemotePendingCommitFeeSat ¶
func (x *PendingChannelsResponse_Commitments) GetRemotePendingCommitFeeSat() uint64
func (*PendingChannelsResponse_Commitments) GetRemotePendingTxid ¶
func (x *PendingChannelsResponse_Commitments) GetRemotePendingTxid() string
func (*PendingChannelsResponse_Commitments) GetRemoteTxid ¶
func (x *PendingChannelsResponse_Commitments) GetRemoteTxid() string
func (*PendingChannelsResponse_Commitments) ProtoMessage ¶
func (*PendingChannelsResponse_Commitments) ProtoMessage()
func (*PendingChannelsResponse_Commitments) ProtoReflect ¶
func (x *PendingChannelsResponse_Commitments) ProtoReflect() protoreflect.Message
func (*PendingChannelsResponse_Commitments) Reset ¶
func (x *PendingChannelsResponse_Commitments) Reset()
func (*PendingChannelsResponse_Commitments) String ¶
func (x *PendingChannelsResponse_Commitments) String() string
type PendingChannelsResponse_ForceClosedChannel ¶
type PendingChannelsResponse_ForceClosedChannel struct { // The pending channel to be force closed Channel *PendingChannelsResponse_PendingChannel `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"` // The transaction id of the closing transaction ClosingTxid string `protobuf:"bytes,2,opt,name=closing_txid,json=closingTxid,proto3" json:"closing_txid,omitempty"` // The balance in satoshis encumbered in this pending channel LimboBalance int64 `protobuf:"varint,3,opt,name=limbo_balance,json=limboBalance,proto3" json:"limbo_balance,omitempty"` // The height at which funds can be swept into the wallet MaturityHeight uint32 `protobuf:"varint,4,opt,name=maturity_height,json=maturityHeight,proto3" json:"maturity_height,omitempty"` // //Remaining # of blocks until the commitment output can be swept. //Negative values indicate how many blocks have passed since becoming //mature. BlocksTilMaturity int32 `protobuf:"varint,5,opt,name=blocks_til_maturity,json=blocksTilMaturity,proto3" json:"blocks_til_maturity,omitempty"` // The total value of funds successfully recovered from this channel RecoveredBalance int64 `protobuf:"varint,6,opt,name=recovered_balance,json=recoveredBalance,proto3" json:"recovered_balance,omitempty"` PendingHtlcs []*PendingHTLC `protobuf:"bytes,8,rep,name=pending_htlcs,json=pendingHtlcs,proto3" json:"pending_htlcs,omitempty"` Anchor PendingChannelsResponse_ForceClosedChannel_AnchorState `` /* 132-byte string literal not displayed */ // contains filtered or unexported fields }
func (*PendingChannelsResponse_ForceClosedChannel) Descriptor
deprecated
func (*PendingChannelsResponse_ForceClosedChannel) Descriptor() ([]byte, []int)
Deprecated: Use PendingChannelsResponse_ForceClosedChannel.ProtoReflect.Descriptor instead.
func (*PendingChannelsResponse_ForceClosedChannel) GetBlocksTilMaturity ¶
func (x *PendingChannelsResponse_ForceClosedChannel) GetBlocksTilMaturity() int32
func (*PendingChannelsResponse_ForceClosedChannel) GetChannel ¶
func (x *PendingChannelsResponse_ForceClosedChannel) GetChannel() *PendingChannelsResponse_PendingChannel
func (*PendingChannelsResponse_ForceClosedChannel) GetClosingTxid ¶
func (x *PendingChannelsResponse_ForceClosedChannel) GetClosingTxid() string
func (*PendingChannelsResponse_ForceClosedChannel) GetLimboBalance ¶
func (x *PendingChannelsResponse_ForceClosedChannel) GetLimboBalance() int64
func (*PendingChannelsResponse_ForceClosedChannel) GetMaturityHeight ¶
func (x *PendingChannelsResponse_ForceClosedChannel) GetMaturityHeight() uint32
func (*PendingChannelsResponse_ForceClosedChannel) GetPendingHtlcs ¶
func (x *PendingChannelsResponse_ForceClosedChannel) GetPendingHtlcs() []*PendingHTLC
func (*PendingChannelsResponse_ForceClosedChannel) GetRecoveredBalance ¶
func (x *PendingChannelsResponse_ForceClosedChannel) GetRecoveredBalance() int64
func (*PendingChannelsResponse_ForceClosedChannel) ProtoMessage ¶
func (*PendingChannelsResponse_ForceClosedChannel) ProtoMessage()
func (*PendingChannelsResponse_ForceClosedChannel) ProtoReflect ¶
func (x *PendingChannelsResponse_ForceClosedChannel) ProtoReflect() protoreflect.Message
func (*PendingChannelsResponse_ForceClosedChannel) Reset ¶
func (x *PendingChannelsResponse_ForceClosedChannel) Reset()
func (*PendingChannelsResponse_ForceClosedChannel) String ¶
func (x *PendingChannelsResponse_ForceClosedChannel) String() string
type PendingChannelsResponse_ForceClosedChannel_AnchorState ¶
type PendingChannelsResponse_ForceClosedChannel_AnchorState int32
const ( PendingChannelsResponse_ForceClosedChannel_LIMBO PendingChannelsResponse_ForceClosedChannel_AnchorState = 0 PendingChannelsResponse_ForceClosedChannel_RECOVERED PendingChannelsResponse_ForceClosedChannel_AnchorState = 1 PendingChannelsResponse_ForceClosedChannel_LOST PendingChannelsResponse_ForceClosedChannel_AnchorState = 2 )
func (PendingChannelsResponse_ForceClosedChannel_AnchorState) Descriptor ¶
func (PendingChannelsResponse_ForceClosedChannel_AnchorState) Descriptor() protoreflect.EnumDescriptor
func (PendingChannelsResponse_ForceClosedChannel_AnchorState) EnumDescriptor
deprecated
func (PendingChannelsResponse_ForceClosedChannel_AnchorState) EnumDescriptor() ([]byte, []int)
Deprecated: Use PendingChannelsResponse_ForceClosedChannel_AnchorState.Descriptor instead.
func (PendingChannelsResponse_ForceClosedChannel_AnchorState) Number ¶
func (x PendingChannelsResponse_ForceClosedChannel_AnchorState) Number() protoreflect.EnumNumber
func (PendingChannelsResponse_ForceClosedChannel_AnchorState) String ¶
func (x PendingChannelsResponse_ForceClosedChannel_AnchorState) String() string
type PendingChannelsResponse_PendingChannel ¶
type PendingChannelsResponse_PendingChannel struct { RemoteNodePub string `protobuf:"bytes,1,opt,name=remote_node_pub,json=remoteNodePub,proto3" json:"remote_node_pub,omitempty"` ChannelPoint string `protobuf:"bytes,2,opt,name=channel_point,json=channelPoint,proto3" json:"channel_point,omitempty"` Capacity int64 `protobuf:"varint,3,opt,name=capacity,proto3" json:"capacity,omitempty"` LocalBalance int64 `protobuf:"varint,4,opt,name=local_balance,json=localBalance,proto3" json:"local_balance,omitempty"` RemoteBalance int64 `protobuf:"varint,5,opt,name=remote_balance,json=remoteBalance,proto3" json:"remote_balance,omitempty"` // The minimum satoshis this node is required to reserve in its // balance. LocalChanReserveSat int64 `protobuf:"varint,6,opt,name=local_chan_reserve_sat,json=localChanReserveSat,proto3" json:"local_chan_reserve_sat,omitempty"` // //The minimum satoshis the other node is required to reserve in its //balance. RemoteChanReserveSat int64 `` /* 126-byte string literal not displayed */ // The party that initiated opening the channel. Initiator Initiator `protobuf:"varint,8,opt,name=initiator,proto3,enum=lnrpc.Initiator" json:"initiator,omitempty"` // The commitment type used by this channel. CommitmentType CommitmentType `` /* 130-byte string literal not displayed */ // Total number of forwarding packages created in this channel. NumForwardingPackages int64 `` /* 128-byte string literal not displayed */ // A set of flags showing the current state of the channel. ChanStatusFlags string `protobuf:"bytes,11,opt,name=chan_status_flags,json=chanStatusFlags,proto3" json:"chan_status_flags,omitempty"` // contains filtered or unexported fields }
func (*PendingChannelsResponse_PendingChannel) Descriptor
deprecated
func (*PendingChannelsResponse_PendingChannel) Descriptor() ([]byte, []int)
Deprecated: Use PendingChannelsResponse_PendingChannel.ProtoReflect.Descriptor instead.
func (*PendingChannelsResponse_PendingChannel) GetCapacity ¶
func (x *PendingChannelsResponse_PendingChannel) GetCapacity() int64
func (*PendingChannelsResponse_PendingChannel) GetChanStatusFlags ¶
func (x *PendingChannelsResponse_PendingChannel) GetChanStatusFlags() string
func (*PendingChannelsResponse_PendingChannel) GetChannelPoint ¶
func (x *PendingChannelsResponse_PendingChannel) GetChannelPoint() string
func (*PendingChannelsResponse_PendingChannel) GetCommitmentType ¶
func (x *PendingChannelsResponse_PendingChannel) GetCommitmentType() CommitmentType
func (*PendingChannelsResponse_PendingChannel) GetInitiator ¶
func (x *PendingChannelsResponse_PendingChannel) GetInitiator() Initiator
func (*PendingChannelsResponse_PendingChannel) GetLocalBalance ¶
func (x *PendingChannelsResponse_PendingChannel) GetLocalBalance() int64
func (*PendingChannelsResponse_PendingChannel) GetLocalChanReserveSat ¶
func (x *PendingChannelsResponse_PendingChannel) GetLocalChanReserveSat() int64
func (*PendingChannelsResponse_PendingChannel) GetNumForwardingPackages ¶
func (x *PendingChannelsResponse_PendingChannel) GetNumForwardingPackages() int64
func (*PendingChannelsResponse_PendingChannel) GetRemoteBalance ¶
func (x *PendingChannelsResponse_PendingChannel) GetRemoteBalance() int64
func (*PendingChannelsResponse_PendingChannel) GetRemoteChanReserveSat ¶
func (x *PendingChannelsResponse_PendingChannel) GetRemoteChanReserveSat() int64
func (*PendingChannelsResponse_PendingChannel) GetRemoteNodePub ¶
func (x *PendingChannelsResponse_PendingChannel) GetRemoteNodePub() string
func (*PendingChannelsResponse_PendingChannel) ProtoMessage ¶
func (*PendingChannelsResponse_PendingChannel) ProtoMessage()
func (*PendingChannelsResponse_PendingChannel) ProtoReflect ¶
func (x *PendingChannelsResponse_PendingChannel) ProtoReflect() protoreflect.Message
func (*PendingChannelsResponse_PendingChannel) Reset ¶
func (x *PendingChannelsResponse_PendingChannel) Reset()
func (*PendingChannelsResponse_PendingChannel) String ¶
func (x *PendingChannelsResponse_PendingChannel) String() string
type PendingChannelsResponse_PendingOpenChannel ¶
type PendingChannelsResponse_PendingOpenChannel struct { // The pending channel Channel *PendingChannelsResponse_PendingChannel `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"` // The height at which this channel will be confirmed ConfirmationHeight uint32 `protobuf:"varint,2,opt,name=confirmation_height,json=confirmationHeight,proto3" json:"confirmation_height,omitempty"` // //The amount calculated to be paid in fees for the current set of //commitment transactions. The fee amount is persisted with the channel //in order to allow the fee amount to be removed and recalculated with //each channel state update, including updates that happen after a system //restart. CommitFee int64 `protobuf:"varint,4,opt,name=commit_fee,json=commitFee,proto3" json:"commit_fee,omitempty"` // The weight of the commitment transaction CommitWeight int64 `protobuf:"varint,5,opt,name=commit_weight,json=commitWeight,proto3" json:"commit_weight,omitempty"` // //The required number of satoshis per kilo-weight that the requester will //pay at all times, for both the funding transaction and commitment //transaction. This value can later be updated once the channel is open. FeePerKw int64 `protobuf:"varint,6,opt,name=fee_per_kw,json=feePerKw,proto3" json:"fee_per_kw,omitempty"` // contains filtered or unexported fields }
func (*PendingChannelsResponse_PendingOpenChannel) Descriptor
deprecated
func (*PendingChannelsResponse_PendingOpenChannel) Descriptor() ([]byte, []int)
Deprecated: Use PendingChannelsResponse_PendingOpenChannel.ProtoReflect.Descriptor instead.
func (*PendingChannelsResponse_PendingOpenChannel) GetChannel ¶
func (x *PendingChannelsResponse_PendingOpenChannel) GetChannel() *PendingChannelsResponse_PendingChannel
func (*PendingChannelsResponse_PendingOpenChannel) GetCommitFee ¶
func (x *PendingChannelsResponse_PendingOpenChannel) GetCommitFee() int64
func (*PendingChannelsResponse_PendingOpenChannel) GetCommitWeight ¶
func (x *PendingChannelsResponse_PendingOpenChannel) GetCommitWeight() int64
func (*PendingChannelsResponse_PendingOpenChannel) GetConfirmationHeight ¶
func (x *PendingChannelsResponse_PendingOpenChannel) GetConfirmationHeight() uint32
func (*PendingChannelsResponse_PendingOpenChannel) GetFeePerKw ¶
func (x *PendingChannelsResponse_PendingOpenChannel) GetFeePerKw() int64
func (*PendingChannelsResponse_PendingOpenChannel) ProtoMessage ¶
func (*PendingChannelsResponse_PendingOpenChannel) ProtoMessage()
func (*PendingChannelsResponse_PendingOpenChannel) ProtoReflect ¶
func (x *PendingChannelsResponse_PendingOpenChannel) ProtoReflect() protoreflect.Message
func (*PendingChannelsResponse_PendingOpenChannel) Reset ¶
func (x *PendingChannelsResponse_PendingOpenChannel) Reset()
func (*PendingChannelsResponse_PendingOpenChannel) String ¶
func (x *PendingChannelsResponse_PendingOpenChannel) String() string
type PendingChannelsResponse_WaitingCloseChannel ¶
type PendingChannelsResponse_WaitingCloseChannel struct { // The pending channel waiting for closing tx to confirm Channel *PendingChannelsResponse_PendingChannel `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"` // The balance in satoshis encumbered in this channel LimboBalance int64 `protobuf:"varint,2,opt,name=limbo_balance,json=limboBalance,proto3" json:"limbo_balance,omitempty"` // //A list of valid commitment transactions. Any of these can confirm at //this point. Commitments *PendingChannelsResponse_Commitments `protobuf:"bytes,3,opt,name=commitments,proto3" json:"commitments,omitempty"` // The transaction id of the closing transaction ClosingTxid string `protobuf:"bytes,4,opt,name=closing_txid,json=closingTxid,proto3" json:"closing_txid,omitempty"` // contains filtered or unexported fields }
func (*PendingChannelsResponse_WaitingCloseChannel) Descriptor
deprecated
func (*PendingChannelsResponse_WaitingCloseChannel) Descriptor() ([]byte, []int)
Deprecated: Use PendingChannelsResponse_WaitingCloseChannel.ProtoReflect.Descriptor instead.
func (*PendingChannelsResponse_WaitingCloseChannel) GetChannel ¶
func (x *PendingChannelsResponse_WaitingCloseChannel) GetChannel() *PendingChannelsResponse_PendingChannel
func (*PendingChannelsResponse_WaitingCloseChannel) GetClosingTxid ¶
func (x *PendingChannelsResponse_WaitingCloseChannel) GetClosingTxid() string
func (*PendingChannelsResponse_WaitingCloseChannel) GetCommitments ¶
func (x *PendingChannelsResponse_WaitingCloseChannel) GetCommitments() *PendingChannelsResponse_Commitments
func (*PendingChannelsResponse_WaitingCloseChannel) GetLimboBalance ¶
func (x *PendingChannelsResponse_WaitingCloseChannel) GetLimboBalance() int64
func (*PendingChannelsResponse_WaitingCloseChannel) ProtoMessage ¶
func (*PendingChannelsResponse_WaitingCloseChannel) ProtoMessage()
func (*PendingChannelsResponse_WaitingCloseChannel) ProtoReflect ¶
func (x *PendingChannelsResponse_WaitingCloseChannel) ProtoReflect() protoreflect.Message
func (*PendingChannelsResponse_WaitingCloseChannel) Reset ¶
func (x *PendingChannelsResponse_WaitingCloseChannel) Reset()
func (*PendingChannelsResponse_WaitingCloseChannel) String ¶
func (x *PendingChannelsResponse_WaitingCloseChannel) String() string
type PendingHTLC ¶
type PendingHTLC struct { // The direction within the channel that the htlc was sent Incoming bool `protobuf:"varint,1,opt,name=incoming,proto3" json:"incoming,omitempty"` // The total value of the htlc Amount int64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"` // The final output to be swept back to the user's wallet Outpoint string `protobuf:"bytes,3,opt,name=outpoint,proto3" json:"outpoint,omitempty"` // The next block height at which we can spend the current stage MaturityHeight uint32 `protobuf:"varint,4,opt,name=maturity_height,json=maturityHeight,proto3" json:"maturity_height,omitempty"` // //The number of blocks remaining until the current stage can be swept. //Negative values indicate how many blocks have passed since becoming //mature. BlocksTilMaturity int32 `protobuf:"varint,5,opt,name=blocks_til_maturity,json=blocksTilMaturity,proto3" json:"blocks_til_maturity,omitempty"` // Indicates whether the htlc is in its first or second stage of recovery Stage uint32 `protobuf:"varint,6,opt,name=stage,proto3" json:"stage,omitempty"` // contains filtered or unexported fields }
func (*PendingHTLC) Descriptor
deprecated
func (*PendingHTLC) Descriptor() ([]byte, []int)
Deprecated: Use PendingHTLC.ProtoReflect.Descriptor instead.
func (*PendingHTLC) GetAmount ¶
func (x *PendingHTLC) GetAmount() int64
func (*PendingHTLC) GetBlocksTilMaturity ¶
func (x *PendingHTLC) GetBlocksTilMaturity() int32
func (*PendingHTLC) GetIncoming ¶
func (x *PendingHTLC) GetIncoming() bool
func (*PendingHTLC) GetMaturityHeight ¶
func (x *PendingHTLC) GetMaturityHeight() uint32
func (*PendingHTLC) GetOutpoint ¶
func (x *PendingHTLC) GetOutpoint() string
func (*PendingHTLC) GetStage ¶
func (x *PendingHTLC) GetStage() uint32
func (*PendingHTLC) ProtoMessage ¶
func (*PendingHTLC) ProtoMessage()
func (*PendingHTLC) ProtoReflect ¶
func (x *PendingHTLC) ProtoReflect() protoreflect.Message
func (*PendingHTLC) Reset ¶
func (x *PendingHTLC) Reset()
func (*PendingHTLC) String ¶
func (x *PendingHTLC) String() string
type PendingUpdate ¶
type PendingUpdate struct { Txid []byte `protobuf:"bytes,1,opt,name=txid,proto3" json:"txid,omitempty"` OutputIndex uint32 `protobuf:"varint,2,opt,name=output_index,json=outputIndex,proto3" json:"output_index,omitempty"` // contains filtered or unexported fields }
func (*PendingUpdate) Descriptor
deprecated
func (*PendingUpdate) Descriptor() ([]byte, []int)
Deprecated: Use PendingUpdate.ProtoReflect.Descriptor instead.
func (*PendingUpdate) GetOutputIndex ¶
func (x *PendingUpdate) GetOutputIndex() uint32
func (*PendingUpdate) GetTxid ¶
func (x *PendingUpdate) GetTxid() []byte
func (*PendingUpdate) ProtoMessage ¶
func (*PendingUpdate) ProtoMessage()
func (*PendingUpdate) ProtoReflect ¶
func (x *PendingUpdate) ProtoReflect() protoreflect.Message
func (*PendingUpdate) Reset ¶
func (x *PendingUpdate) Reset()
func (*PendingUpdate) String ¶
func (x *PendingUpdate) String() string
type PolicyUpdateRequest ¶
type PolicyUpdateRequest struct { // Types that are assignable to Scope: // *PolicyUpdateRequest_Global // *PolicyUpdateRequest_ChanPoint Scope isPolicyUpdateRequest_Scope `protobuf_oneof:"scope"` // The base fee charged regardless of the number of milli-satoshis sent. BaseFeeMsat int64 `protobuf:"varint,3,opt,name=base_fee_msat,json=baseFeeMsat,proto3" json:"base_fee_msat,omitempty"` // The effective fee rate in milli-satoshis. The precision of this value // goes up to 6 decimal places, so 1e-6. FeeRate float64 `protobuf:"fixed64,4,opt,name=fee_rate,json=feeRate,proto3" json:"fee_rate,omitempty"` // The effective fee rate in micro-satoshis (parts per million). FeeRatePpm uint32 `protobuf:"varint,9,opt,name=fee_rate_ppm,json=feeRatePpm,proto3" json:"fee_rate_ppm,omitempty"` // The required timelock delta for HTLCs forwarded over the channel. TimeLockDelta uint32 `protobuf:"varint,5,opt,name=time_lock_delta,json=timeLockDelta,proto3" json:"time_lock_delta,omitempty"` // If set, the maximum HTLC size in milli-satoshis. If unset, the maximum // HTLC will be unchanged. MaxHtlcMsat uint64 `protobuf:"varint,6,opt,name=max_htlc_msat,json=maxHtlcMsat,proto3" json:"max_htlc_msat,omitempty"` // The minimum HTLC size in milli-satoshis. Only applied if // min_htlc_msat_specified is true. MinHtlcMsat uint64 `protobuf:"varint,7,opt,name=min_htlc_msat,json=minHtlcMsat,proto3" json:"min_htlc_msat,omitempty"` // If true, min_htlc_msat is applied. MinHtlcMsatSpecified bool `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
func (*PolicyUpdateRequest) Descriptor
deprecated
func (*PolicyUpdateRequest) Descriptor() ([]byte, []int)
Deprecated: Use PolicyUpdateRequest.ProtoReflect.Descriptor instead.
func (*PolicyUpdateRequest) GetBaseFeeMsat ¶
func (x *PolicyUpdateRequest) GetBaseFeeMsat() int64
func (*PolicyUpdateRequest) GetChanPoint ¶
func (x *PolicyUpdateRequest) GetChanPoint() *ChannelPoint
func (*PolicyUpdateRequest) GetFeeRate ¶
func (x *PolicyUpdateRequest) GetFeeRate() float64
func (*PolicyUpdateRequest) GetFeeRatePpm ¶
func (x *PolicyUpdateRequest) GetFeeRatePpm() uint32
func (*PolicyUpdateRequest) GetGlobal ¶
func (x *PolicyUpdateRequest) GetGlobal() bool
func (*PolicyUpdateRequest) GetMaxHtlcMsat ¶
func (x *PolicyUpdateRequest) GetMaxHtlcMsat() uint64
func (*PolicyUpdateRequest) GetMinHtlcMsat ¶
func (x *PolicyUpdateRequest) GetMinHtlcMsat() uint64
func (*PolicyUpdateRequest) GetMinHtlcMsatSpecified ¶
func (x *PolicyUpdateRequest) GetMinHtlcMsatSpecified() bool
func (*PolicyUpdateRequest) GetScope ¶
func (m *PolicyUpdateRequest) GetScope() isPolicyUpdateRequest_Scope
func (*PolicyUpdateRequest) GetTimeLockDelta ¶
func (x *PolicyUpdateRequest) GetTimeLockDelta() uint32
func (*PolicyUpdateRequest) ProtoMessage ¶
func (*PolicyUpdateRequest) ProtoMessage()
func (*PolicyUpdateRequest) ProtoReflect ¶
func (x *PolicyUpdateRequest) ProtoReflect() protoreflect.Message
func (*PolicyUpdateRequest) Reset ¶
func (x *PolicyUpdateRequest) Reset()
func (*PolicyUpdateRequest) String ¶
func (x *PolicyUpdateRequest) String() string
type PolicyUpdateRequest_ChanPoint ¶
type PolicyUpdateRequest_ChanPoint struct { // If set, this update will target a specific channel. ChanPoint *ChannelPoint `protobuf:"bytes,2,opt,name=chan_point,json=chanPoint,proto3,oneof"` }
type PolicyUpdateRequest_Global ¶
type PolicyUpdateRequest_Global struct { // If set, then this update applies to all currently active channels. Global bool `protobuf:"varint,1,opt,name=global,proto3,oneof"` }
type PolicyUpdateResponse ¶
type PolicyUpdateResponse struct { // List of failed policy updates. FailedUpdates []*FailedUpdate `protobuf:"bytes,1,rep,name=failed_updates,json=failedUpdates,proto3" json:"failed_updates,omitempty"` // contains filtered or unexported fields }
func (*PolicyUpdateResponse) Descriptor
deprecated
func (*PolicyUpdateResponse) Descriptor() ([]byte, []int)
Deprecated: Use PolicyUpdateResponse.ProtoReflect.Descriptor instead.
func (*PolicyUpdateResponse) GetFailedUpdates ¶
func (x *PolicyUpdateResponse) GetFailedUpdates() []*FailedUpdate
func (*PolicyUpdateResponse) ProtoMessage ¶
func (*PolicyUpdateResponse) ProtoMessage()
func (*PolicyUpdateResponse) ProtoReflect ¶
func (x *PolicyUpdateResponse) ProtoReflect() protoreflect.Message
func (*PolicyUpdateResponse) Reset ¶
func (x *PolicyUpdateResponse) Reset()
func (*PolicyUpdateResponse) String ¶
func (x *PolicyUpdateResponse) String() string
type PsbtShim ¶
type PsbtShim struct { // //A unique identifier of 32 random bytes that will be used as the pending //channel ID to identify the PSBT state machine when interacting with it and //on the wire protocol to initiate the funding request. PendingChanId []byte `protobuf:"bytes,1,opt,name=pending_chan_id,json=pendingChanId,proto3" json:"pending_chan_id,omitempty"` // //An optional base PSBT the new channel output will be added to. If this is //non-empty, it must be a binary serialized PSBT. BasePsbt []byte `protobuf:"bytes,2,opt,name=base_psbt,json=basePsbt,proto3" json:"base_psbt,omitempty"` // //If a channel should be part of a batch (multiple channel openings in one //transaction), it can be dangerous if the whole batch transaction is //published too early before all channel opening negotiations are completed. //This flag prevents this particular channel from broadcasting the transaction //after the negotiation with the remote peer. In a batch of channel openings //this flag should be set to true for every channel but the very last. NoPublish bool `protobuf:"varint,3,opt,name=no_publish,json=noPublish,proto3" json:"no_publish,omitempty"` // contains filtered or unexported fields }
func (*PsbtShim) Descriptor
deprecated
func (*PsbtShim) GetBasePsbt ¶
func (*PsbtShim) GetNoPublish ¶
func (*PsbtShim) GetPendingChanId ¶
func (*PsbtShim) ProtoMessage ¶
func (*PsbtShim) ProtoMessage()
func (*PsbtShim) ProtoReflect ¶
func (x *PsbtShim) ProtoReflect() protoreflect.Message
type QueryRoutesRequest ¶
type QueryRoutesRequest struct { // The 33-byte hex-encoded public key for the payment destination PubKey string `protobuf:"bytes,1,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"` // //The amount to send expressed in satoshis. // //The fields amt and amt_msat are mutually exclusive. Amt int64 `protobuf:"varint,2,opt,name=amt,proto3" json:"amt,omitempty"` // //The amount to send expressed in millisatoshis. // //The fields amt and amt_msat are mutually exclusive. AmtMsat int64 `protobuf:"varint,12,opt,name=amt_msat,json=amtMsat,proto3" json:"amt_msat,omitempty"` // //An optional CLTV delta from the current height that should be used for the //timelock of the final hop. Note that unlike SendPayment, QueryRoutes does //not add any additional block padding on top of final_ctlv_delta. This //padding of a few blocks needs to be added manually or otherwise failures may //happen when a block comes in while the payment is in flight. FinalCltvDelta int32 `protobuf:"varint,4,opt,name=final_cltv_delta,json=finalCltvDelta,proto3" json:"final_cltv_delta,omitempty"` // //The maximum number of satoshis that will be paid as a fee of the payment. //This value can be represented either as a percentage of the amount being //sent, or as a fixed amount of the maximum fee the user is willing the pay to //send the payment. If not specified, lnd will use a default value of 100% //fees for small amounts (<=1k sat) or 5% fees for larger amounts. FeeLimit *FeeLimit `protobuf:"bytes,5,opt,name=fee_limit,json=feeLimit,proto3" json:"fee_limit,omitempty"` // //A list of nodes to ignore during path finding. When using REST, these fields //must be encoded as base64. IgnoredNodes [][]byte `protobuf:"bytes,6,rep,name=ignored_nodes,json=ignoredNodes,proto3" json:"ignored_nodes,omitempty"` // //Deprecated. A list of edges to ignore during path finding. // // Deprecated: Do not use. IgnoredEdges []*EdgeLocator `protobuf:"bytes,7,rep,name=ignored_edges,json=ignoredEdges,proto3" json:"ignored_edges,omitempty"` // //The source node where the request route should originated from. If empty, //self is assumed. SourcePubKey string `protobuf:"bytes,8,opt,name=source_pub_key,json=sourcePubKey,proto3" json:"source_pub_key,omitempty"` // //If set to true, edge probabilities from mission control will be used to get //the optimal route. UseMissionControl bool `protobuf:"varint,9,opt,name=use_mission_control,json=useMissionControl,proto3" json:"use_mission_control,omitempty"` // //A list of directed node pairs that will be ignored during path finding. IgnoredPairs []*NodePair `protobuf:"bytes,10,rep,name=ignored_pairs,json=ignoredPairs,proto3" json:"ignored_pairs,omitempty"` // //An optional maximum total time lock for the route. If the source is empty or //ourselves, this should not exceed lnd's `--max-cltv-expiry` setting. If //zero, then the value of `--max-cltv-expiry` is used as the limit. CltvLimit uint32 `protobuf:"varint,11,opt,name=cltv_limit,json=cltvLimit,proto3" json:"cltv_limit,omitempty"` // //An optional field that can be used to pass an arbitrary set of TLV records //to a peer which understands the new records. This can be used to pass //application specific data during the payment attempt. If the destination //does not support the specified records, an error will be returned. //Record types are required to be in the custom range >= 65536. When using //REST, the values must be encoded as base64. DestCustomRecords map[uint64][]byte `` /* 204-byte string literal not displayed */ // //The channel id of the channel that must be taken to the first hop. If zero, //any channel may be used. OutgoingChanId uint64 `protobuf:"varint,14,opt,name=outgoing_chan_id,json=outgoingChanId,proto3" json:"outgoing_chan_id,omitempty"` // //The pubkey of the last hop of the route. If empty, any hop may be used. LastHopPubkey []byte `protobuf:"bytes,15,opt,name=last_hop_pubkey,json=lastHopPubkey,proto3" json:"last_hop_pubkey,omitempty"` // //Optional route hints to reach the destination through private channels. RouteHints []*RouteHint `protobuf:"bytes,16,rep,name=route_hints,json=routeHints,proto3" json:"route_hints,omitempty"` // //Features assumed to be supported by the final node. All transitive feature //dependencies must also be set properly. For a given feature bit pair, either //optional or remote may be set, but not both. If this field is nil or empty, //the router will try to load destination features from the graph as a //fallback. DestFeatures []FeatureBit `` /* 128-byte string literal not displayed */ // contains filtered or unexported fields }
func (*QueryRoutesRequest) Descriptor
deprecated
func (*QueryRoutesRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryRoutesRequest.ProtoReflect.Descriptor instead.
func (*QueryRoutesRequest) GetAmt ¶
func (x *QueryRoutesRequest) GetAmt() int64
func (*QueryRoutesRequest) GetAmtMsat ¶
func (x *QueryRoutesRequest) GetAmtMsat() int64
func (*QueryRoutesRequest) GetCltvLimit ¶
func (x *QueryRoutesRequest) GetCltvLimit() uint32
func (*QueryRoutesRequest) GetDestCustomRecords ¶
func (x *QueryRoutesRequest) GetDestCustomRecords() map[uint64][]byte
func (*QueryRoutesRequest) GetDestFeatures ¶
func (x *QueryRoutesRequest) GetDestFeatures() []FeatureBit
func (*QueryRoutesRequest) GetFeeLimit ¶
func (x *QueryRoutesRequest) GetFeeLimit() *FeeLimit
func (*QueryRoutesRequest) GetFinalCltvDelta ¶
func (x *QueryRoutesRequest) GetFinalCltvDelta() int32
func (*QueryRoutesRequest) GetIgnoredEdges
deprecated
func (x *QueryRoutesRequest) GetIgnoredEdges() []*EdgeLocator
Deprecated: Do not use.
func (*QueryRoutesRequest) GetIgnoredNodes ¶
func (x *QueryRoutesRequest) GetIgnoredNodes() [][]byte
func (*QueryRoutesRequest) GetIgnoredPairs ¶
func (x *QueryRoutesRequest) GetIgnoredPairs() []*NodePair
func (*QueryRoutesRequest) GetLastHopPubkey ¶
func (x *QueryRoutesRequest) GetLastHopPubkey() []byte
func (*QueryRoutesRequest) GetOutgoingChanId ¶
func (x *QueryRoutesRequest) GetOutgoingChanId() uint64
func (*QueryRoutesRequest) GetPubKey ¶
func (x *QueryRoutesRequest) GetPubKey() string
func (*QueryRoutesRequest) GetRouteHints ¶
func (x *QueryRoutesRequest) GetRouteHints() []*RouteHint
func (*QueryRoutesRequest) GetSourcePubKey ¶
func (x *QueryRoutesRequest) GetSourcePubKey() string
func (*QueryRoutesRequest) GetUseMissionControl ¶
func (x *QueryRoutesRequest) GetUseMissionControl() bool
func (*QueryRoutesRequest) ProtoMessage ¶
func (*QueryRoutesRequest) ProtoMessage()
func (*QueryRoutesRequest) ProtoReflect ¶
func (x *QueryRoutesRequest) ProtoReflect() protoreflect.Message
func (*QueryRoutesRequest) Reset ¶
func (x *QueryRoutesRequest) Reset()
func (*QueryRoutesRequest) String ¶
func (x *QueryRoutesRequest) String() string
type QueryRoutesResponse ¶
type QueryRoutesResponse struct { // //The route that results from the path finding operation. This is still a //repeated field to retain backwards compatibility. Routes []*Route `protobuf:"bytes,1,rep,name=routes,proto3" json:"routes,omitempty"` // //The success probability of the returned route based on the current mission //control state. [EXPERIMENTAL] SuccessProb float64 `protobuf:"fixed64,2,opt,name=success_prob,json=successProb,proto3" json:"success_prob,omitempty"` // contains filtered or unexported fields }
func (*QueryRoutesResponse) Descriptor
deprecated
func (*QueryRoutesResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryRoutesResponse.ProtoReflect.Descriptor instead.
func (*QueryRoutesResponse) GetRoutes ¶
func (x *QueryRoutesResponse) GetRoutes() []*Route
func (*QueryRoutesResponse) GetSuccessProb ¶
func (x *QueryRoutesResponse) GetSuccessProb() float64
func (*QueryRoutesResponse) ProtoMessage ¶
func (*QueryRoutesResponse) ProtoMessage()
func (*QueryRoutesResponse) ProtoReflect ¶
func (x *QueryRoutesResponse) ProtoReflect() protoreflect.Message
func (*QueryRoutesResponse) Reset ¶
func (x *QueryRoutesResponse) Reset()
func (*QueryRoutesResponse) String ¶
func (x *QueryRoutesResponse) String() string
type RPCMessage ¶
type RPCMessage struct { // //The full URI (in the format /<rpcpackage>.<ServiceName>/MethodName, for //example /lnrpc.Lightning/GetInfo) of the RPC method the message was sent //to/from. MethodFullUri string `protobuf:"bytes,1,opt,name=method_full_uri,json=methodFullUri,proto3" json:"method_full_uri,omitempty"` // //Indicates whether the message was sent over a streaming RPC method or not. StreamRpc bool `protobuf:"varint,2,opt,name=stream_rpc,json=streamRpc,proto3" json:"stream_rpc,omitempty"` // //The full canonical gRPC name of the message type (in the format //<rpcpackage>.TypeName, for example lnrpc.GetInfoRequest). TypeName string `protobuf:"bytes,3,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"` // //The full content of the gRPC message, serialized in the binary protobuf //format. Serialized []byte `protobuf:"bytes,4,opt,name=serialized,proto3" json:"serialized,omitempty"` // contains filtered or unexported fields }
func (*RPCMessage) Descriptor
deprecated
func (*RPCMessage) Descriptor() ([]byte, []int)
Deprecated: Use RPCMessage.ProtoReflect.Descriptor instead.
func (*RPCMessage) GetMethodFullUri ¶
func (x *RPCMessage) GetMethodFullUri() string
func (*RPCMessage) GetSerialized ¶
func (x *RPCMessage) GetSerialized() []byte
func (*RPCMessage) GetStreamRpc ¶
func (x *RPCMessage) GetStreamRpc() bool
func (*RPCMessage) GetTypeName ¶
func (x *RPCMessage) GetTypeName() string
func (*RPCMessage) ProtoMessage ¶
func (*RPCMessage) ProtoMessage()
func (*RPCMessage) ProtoReflect ¶
func (x *RPCMessage) ProtoReflect() protoreflect.Message
func (*RPCMessage) Reset ¶
func (x *RPCMessage) Reset()
func (*RPCMessage) String ¶
func (x *RPCMessage) String() string
type RPCMiddlewareRequest ¶
type RPCMiddlewareRequest struct { // //The unique ID of the intercepted original gRPC request. Useful for mapping //request to response when implementing full duplex message interception. For //streaming requests, this will be the same ID for all incoming and outgoing //middleware intercept messages of the _same_ stream. RequestId uint64 `protobuf:"varint,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // //The raw bytes of the complete macaroon as sent by the gRPC client in the //original request. This might be empty for a request that doesn't require //macaroons such as the wallet unlocker RPCs. RawMacaroon []byte `protobuf:"bytes,2,opt,name=raw_macaroon,json=rawMacaroon,proto3" json:"raw_macaroon,omitempty"` // //The parsed condition of the macaroon's custom caveat for convenient access. //This field only contains the value of the custom caveat that the handling //middleware has registered itself for. The condition _must_ be validated for //messages of intercept_type stream_auth and request! CustomCaveatCondition string `` /* 126-byte string literal not displayed */ // //There are three types of messages that will be sent to the middleware for //inspection and approval: Stream authentication, request and response //interception. The first two can only be accepted (=forward to main RPC //server) or denied (=return error to client). Intercepted responses can also //be replaced/overwritten. // // Types that are assignable to InterceptType: // *RPCMiddlewareRequest_StreamAuth // *RPCMiddlewareRequest_Request // *RPCMiddlewareRequest_Response InterceptType isRPCMiddlewareRequest_InterceptType `protobuf_oneof:"intercept_type"` // //The unique message ID of this middleware intercept message. There can be //multiple middleware intercept messages per single gRPC request (one for the //incoming request and one for the outgoing response) or gRPC stream (one for //each incoming message and one for each outgoing response). This message ID //must be referenced when responding (accepting/rejecting/modifying) to an //intercept message. MsgId uint64 `protobuf:"varint,7,opt,name=msg_id,json=msgId,proto3" json:"msg_id,omitempty"` // contains filtered or unexported fields }
func (*RPCMiddlewareRequest) Descriptor
deprecated
func (*RPCMiddlewareRequest) Descriptor() ([]byte, []int)
Deprecated: Use RPCMiddlewareRequest.ProtoReflect.Descriptor instead.
func (*RPCMiddlewareRequest) GetCustomCaveatCondition ¶
func (x *RPCMiddlewareRequest) GetCustomCaveatCondition() string
func (*RPCMiddlewareRequest) GetInterceptType ¶
func (m *RPCMiddlewareRequest) GetInterceptType() isRPCMiddlewareRequest_InterceptType
func (*RPCMiddlewareRequest) GetMsgId ¶
func (x *RPCMiddlewareRequest) GetMsgId() uint64
func (*RPCMiddlewareRequest) GetRawMacaroon ¶
func (x *RPCMiddlewareRequest) GetRawMacaroon() []byte
func (*RPCMiddlewareRequest) GetRequest ¶
func (x *RPCMiddlewareRequest) GetRequest() *RPCMessage
func (*RPCMiddlewareRequest) GetRequestId ¶
func (x *RPCMiddlewareRequest) GetRequestId() uint64
func (*RPCMiddlewareRequest) GetResponse ¶
func (x *RPCMiddlewareRequest) GetResponse() *RPCMessage
func (*RPCMiddlewareRequest) GetStreamAuth ¶
func (x *RPCMiddlewareRequest) GetStreamAuth() *StreamAuth
func (*RPCMiddlewareRequest) ProtoMessage ¶
func (*RPCMiddlewareRequest) ProtoMessage()
func (*RPCMiddlewareRequest) ProtoReflect ¶
func (x *RPCMiddlewareRequest) ProtoReflect() protoreflect.Message
func (*RPCMiddlewareRequest) Reset ¶
func (x *RPCMiddlewareRequest) Reset()
func (*RPCMiddlewareRequest) String ¶
func (x *RPCMiddlewareRequest) String() string
type RPCMiddlewareRequest_Request ¶
type RPCMiddlewareRequest_Request struct { // //Intercept incoming gRPC client request message: all incoming messages, //both on streaming and unary RPCs, are forwarded to the middleware for //inspection. For unary RPC messages the middleware is also expected to //validate the custom macaroon caveat of the request. Request *RPCMessage `protobuf:"bytes,5,opt,name=request,proto3,oneof"` }
type RPCMiddlewareRequest_Response ¶
type RPCMiddlewareRequest_Response struct { // //Intercept outgoing gRPC response message: all outgoing messages, both on //streaming and unary RPCs, are forwarded to the middleware for inspection //and amendment. The response in this message is the original response as //it was generated by the main RPC server. It can either be accepted //(=forwarded to the client), replaced/overwritten with a new message of //the same type, or replaced by an error message. Response *RPCMessage `protobuf:"bytes,6,opt,name=response,proto3,oneof"` }
type RPCMiddlewareRequest_StreamAuth ¶
type RPCMiddlewareRequest_StreamAuth struct { // //Intercept stream authentication: each new streaming RPC call that is //initiated against lnd and contains the middleware's custom macaroon //caveat can be approved or denied based upon the macaroon in the stream //header. This message will only be sent for streaming RPCs, unary RPCs //must handle the macaroon authentication in the request interception to //avoid an additional message round trip between lnd and the middleware. StreamAuth *StreamAuth `protobuf:"bytes,4,opt,name=stream_auth,json=streamAuth,proto3,oneof"` }
type RPCMiddlewareResponse ¶
type RPCMiddlewareResponse struct { // //The request message ID this response refers to. Must always be set when //giving feedback to an intercept but is ignored for the initial registration //message. RefMsgId uint64 `protobuf:"varint,1,opt,name=ref_msg_id,json=refMsgId,proto3" json:"ref_msg_id,omitempty"` // //The middleware can only send two types of messages to lnd: The initial //registration message that identifies the middleware and after that only //feedback messages to requests sent to the middleware. // // Types that are assignable to MiddlewareMessage: // *RPCMiddlewareResponse_Register // *RPCMiddlewareResponse_Feedback MiddlewareMessage isRPCMiddlewareResponse_MiddlewareMessage `protobuf_oneof:"middleware_message"` // contains filtered or unexported fields }
func (*RPCMiddlewareResponse) Descriptor
deprecated
func (*RPCMiddlewareResponse) Descriptor() ([]byte, []int)
Deprecated: Use RPCMiddlewareResponse.ProtoReflect.Descriptor instead.
func (*RPCMiddlewareResponse) GetFeedback ¶
func (x *RPCMiddlewareResponse) GetFeedback() *InterceptFeedback
func (*RPCMiddlewareResponse) GetMiddlewareMessage ¶
func (m *RPCMiddlewareResponse) GetMiddlewareMessage() isRPCMiddlewareResponse_MiddlewareMessage
func (*RPCMiddlewareResponse) GetRefMsgId ¶
func (x *RPCMiddlewareResponse) GetRefMsgId() uint64
func (*RPCMiddlewareResponse) GetRegister ¶
func (x *RPCMiddlewareResponse) GetRegister() *MiddlewareRegistration
func (*RPCMiddlewareResponse) ProtoMessage ¶
func (*RPCMiddlewareResponse) ProtoMessage()
func (*RPCMiddlewareResponse) ProtoReflect ¶
func (x *RPCMiddlewareResponse) ProtoReflect() protoreflect.Message
func (*RPCMiddlewareResponse) Reset ¶
func (x *RPCMiddlewareResponse) Reset()
func (*RPCMiddlewareResponse) String ¶
func (x *RPCMiddlewareResponse) String() string
type RPCMiddlewareResponse_Feedback ¶
type RPCMiddlewareResponse_Feedback struct { // //The middleware received an interception request and gives feedback to //it. The request_id indicates what message the feedback refers to. Feedback *InterceptFeedback `protobuf:"bytes,3,opt,name=feedback,proto3,oneof"` }
type RPCMiddlewareResponse_Register ¶
type RPCMiddlewareResponse_Register struct { // //The registration message identifies the middleware that's being //registered in lnd. The registration message must be sent immediately //after initiating the RegisterRpcMiddleware stream, otherwise lnd will //time out the attempt and terminate the request. NOTE: The middleware //will only receive interception messages for requests that contain a //macaroon with the custom caveat that the middleware declares it is //responsible for handling in the registration message! As a security //measure, _no_ middleware can intercept requests made with _unencumbered_ //macaroons! Register *MiddlewareRegistration `protobuf:"bytes,2,opt,name=register,proto3,oneof"` }
type ReadyForPsbtFunding ¶
type ReadyForPsbtFunding struct { // //The P2WSH address of the channel funding multisig address that the below //specified amount in satoshis needs to be sent to. FundingAddress string `protobuf:"bytes,1,opt,name=funding_address,json=fundingAddress,proto3" json:"funding_address,omitempty"` // //The exact amount in satoshis that needs to be sent to the above address to //fund the pending channel. FundingAmount int64 `protobuf:"varint,2,opt,name=funding_amount,json=fundingAmount,proto3" json:"funding_amount,omitempty"` // //A raw PSBT that contains the pending channel output. If a base PSBT was //provided in the PsbtShim, this is the base PSBT with one additional output. //If no base PSBT was specified, this is an otherwise empty PSBT with exactly //one output. Psbt []byte `protobuf:"bytes,3,opt,name=psbt,proto3" json:"psbt,omitempty"` // contains filtered or unexported fields }
func (*ReadyForPsbtFunding) Descriptor
deprecated
func (*ReadyForPsbtFunding) Descriptor() ([]byte, []int)
Deprecated: Use ReadyForPsbtFunding.ProtoReflect.Descriptor instead.
func (*ReadyForPsbtFunding) GetFundingAddress ¶
func (x *ReadyForPsbtFunding) GetFundingAddress() string
func (*ReadyForPsbtFunding) GetFundingAmount ¶
func (x *ReadyForPsbtFunding) GetFundingAmount() int64
func (*ReadyForPsbtFunding) GetPsbt ¶
func (x *ReadyForPsbtFunding) GetPsbt() []byte
func (*ReadyForPsbtFunding) ProtoMessage ¶
func (*ReadyForPsbtFunding) ProtoMessage()
func (*ReadyForPsbtFunding) ProtoReflect ¶
func (x *ReadyForPsbtFunding) ProtoReflect() protoreflect.Message
func (*ReadyForPsbtFunding) Reset ¶
func (x *ReadyForPsbtFunding) Reset()
func (*ReadyForPsbtFunding) String ¶
func (x *ReadyForPsbtFunding) String() string
type Resolution ¶
type Resolution struct { // The type of output we are resolving. ResolutionType ResolutionType `` /* 130-byte string literal not displayed */ // The outcome of our on chain action that resolved the outpoint. Outcome ResolutionOutcome `protobuf:"varint,2,opt,name=outcome,proto3,enum=lnrpc.ResolutionOutcome" json:"outcome,omitempty"` // The outpoint that was spent by the resolution. Outpoint *OutPoint `protobuf:"bytes,3,opt,name=outpoint,proto3" json:"outpoint,omitempty"` // The amount that was claimed by the resolution. AmountSat uint64 `protobuf:"varint,4,opt,name=amount_sat,json=amountSat,proto3" json:"amount_sat,omitempty"` // The hex-encoded transaction ID of the sweep transaction that spent the // output. SweepTxid string `protobuf:"bytes,5,opt,name=sweep_txid,json=sweepTxid,proto3" json:"sweep_txid,omitempty"` // contains filtered or unexported fields }
func (*Resolution) Descriptor
deprecated
func (*Resolution) Descriptor() ([]byte, []int)
Deprecated: Use Resolution.ProtoReflect.Descriptor instead.
func (*Resolution) GetAmountSat ¶
func (x *Resolution) GetAmountSat() uint64
func (*Resolution) GetOutcome ¶
func (x *Resolution) GetOutcome() ResolutionOutcome
func (*Resolution) GetOutpoint ¶
func (x *Resolution) GetOutpoint() *OutPoint
func (*Resolution) GetResolutionType ¶
func (x *Resolution) GetResolutionType() ResolutionType
func (*Resolution) GetSweepTxid ¶
func (x *Resolution) GetSweepTxid() string
func (*Resolution) ProtoMessage ¶
func (*Resolution) ProtoMessage()
func (*Resolution) ProtoReflect ¶
func (x *Resolution) ProtoReflect() protoreflect.Message
func (*Resolution) Reset ¶
func (x *Resolution) Reset()
func (*Resolution) String ¶
func (x *Resolution) String() string
type ResolutionOutcome ¶
type ResolutionOutcome int32
const ( // Outcome unknown. ResolutionOutcome_OUTCOME_UNKNOWN ResolutionOutcome = 0 // An output was claimed on chain. ResolutionOutcome_CLAIMED ResolutionOutcome = 1 // An output was left unclaimed on chain. ResolutionOutcome_UNCLAIMED ResolutionOutcome = 2 // //ResolverOutcomeAbandoned indicates that an output that we did not //claim on chain, for example an anchor that we did not sweep and a //third party claimed on chain, or a htlc that we could not decode //so left unclaimed. ResolutionOutcome_ABANDONED ResolutionOutcome = 3 // //If we force closed our channel, our htlcs need to be claimed in two //stages. This outcome represents the broadcast of a timeout or success //transaction for this two stage htlc claim. ResolutionOutcome_FIRST_STAGE ResolutionOutcome = 4 // A htlc was timed out on chain. ResolutionOutcome_TIMEOUT ResolutionOutcome = 5 )
func (ResolutionOutcome) Descriptor ¶
func (ResolutionOutcome) Descriptor() protoreflect.EnumDescriptor
func (ResolutionOutcome) Enum ¶
func (x ResolutionOutcome) Enum() *ResolutionOutcome
func (ResolutionOutcome) EnumDescriptor
deprecated
func (ResolutionOutcome) EnumDescriptor() ([]byte, []int)
Deprecated: Use ResolutionOutcome.Descriptor instead.
func (ResolutionOutcome) Number ¶
func (x ResolutionOutcome) Number() protoreflect.EnumNumber
func (ResolutionOutcome) String ¶
func (x ResolutionOutcome) String() string
func (ResolutionOutcome) Type ¶
func (ResolutionOutcome) Type() protoreflect.EnumType
type ResolutionType ¶
type ResolutionType int32
const ( ResolutionType_TYPE_UNKNOWN ResolutionType = 0 // We resolved an anchor output. ResolutionType_ANCHOR ResolutionType = 1 // //We are resolving an incoming htlc on chain. This if this htlc is //claimed, we swept the incoming htlc with the preimage. If it is timed //out, our peer swept the timeout path. ResolutionType_INCOMING_HTLC ResolutionType = 2 // //We are resolving an outgoing htlc on chain. If this htlc is claimed, //the remote party swept the htlc with the preimage. If it is timed out, //we swept it with the timeout path. ResolutionType_OUTGOING_HTLC ResolutionType = 3 // We force closed and need to sweep our time locked commitment output. ResolutionType_COMMIT ResolutionType = 4 )
func (ResolutionType) Descriptor ¶
func (ResolutionType) Descriptor() protoreflect.EnumDescriptor
func (ResolutionType) Enum ¶
func (x ResolutionType) Enum() *ResolutionType
func (ResolutionType) EnumDescriptor
deprecated
func (ResolutionType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ResolutionType.Descriptor instead.
func (ResolutionType) Number ¶
func (x ResolutionType) Number() protoreflect.EnumNumber
func (ResolutionType) String ¶
func (x ResolutionType) String() string
func (ResolutionType) Type ¶
func (ResolutionType) Type() protoreflect.EnumType
type RestoreBackupResponse ¶
type RestoreBackupResponse struct {
// contains filtered or unexported fields
}
func (*RestoreBackupResponse) Descriptor
deprecated
func (*RestoreBackupResponse) Descriptor() ([]byte, []int)
Deprecated: Use RestoreBackupResponse.ProtoReflect.Descriptor instead.
func (*RestoreBackupResponse) ProtoMessage ¶
func (*RestoreBackupResponse) ProtoMessage()
func (*RestoreBackupResponse) ProtoReflect ¶
func (x *RestoreBackupResponse) ProtoReflect() protoreflect.Message
func (*RestoreBackupResponse) Reset ¶
func (x *RestoreBackupResponse) Reset()
func (*RestoreBackupResponse) String ¶
func (x *RestoreBackupResponse) String() string
type RestoreChanBackupRequest ¶
type RestoreChanBackupRequest struct { // Types that are assignable to Backup: // *RestoreChanBackupRequest_ChanBackups // *RestoreChanBackupRequest_MultiChanBackup Backup isRestoreChanBackupRequest_Backup `protobuf_oneof:"backup"` // contains filtered or unexported fields }
func (*RestoreChanBackupRequest) Descriptor
deprecated
func (*RestoreChanBackupRequest) Descriptor() ([]byte, []int)
Deprecated: Use RestoreChanBackupRequest.ProtoReflect.Descriptor instead.
func (*RestoreChanBackupRequest) GetBackup ¶
func (m *RestoreChanBackupRequest) GetBackup() isRestoreChanBackupRequest_Backup
func (*RestoreChanBackupRequest) GetChanBackups ¶
func (x *RestoreChanBackupRequest) GetChanBackups() *ChannelBackups
func (*RestoreChanBackupRequest) GetMultiChanBackup ¶
func (x *RestoreChanBackupRequest) GetMultiChanBackup() []byte
func (*RestoreChanBackupRequest) ProtoMessage ¶
func (*RestoreChanBackupRequest) ProtoMessage()
func (*RestoreChanBackupRequest) ProtoReflect ¶
func (x *RestoreChanBackupRequest) ProtoReflect() protoreflect.Message
func (*RestoreChanBackupRequest) Reset ¶
func (x *RestoreChanBackupRequest) Reset()
func (*RestoreChanBackupRequest) String ¶
func (x *RestoreChanBackupRequest) String() string
type RestoreChanBackupRequest_ChanBackups ¶
type RestoreChanBackupRequest_ChanBackups struct { // //The channels to restore as a list of channel/backup pairs. ChanBackups *ChannelBackups `protobuf:"bytes,1,opt,name=chan_backups,json=chanBackups,proto3,oneof"` }
type RestoreChanBackupRequest_MultiChanBackup ¶
type RestoreChanBackupRequest_MultiChanBackup struct { // //The channels to restore in the packed multi backup format. When using //REST, this field must be encoded as base64. MultiChanBackup []byte `protobuf:"bytes,2,opt,name=multi_chan_backup,json=multiChanBackup,proto3,oneof"` }
type Route ¶
type Route struct { // //The cumulative (final) time lock across the entire route. This is the CLTV //value that should be extended to the first hop in the route. All other hops //will decrement the time-lock as advertised, leaving enough time for all //hops to wait for or present the payment preimage to complete the payment. TotalTimeLock uint32 `protobuf:"varint,1,opt,name=total_time_lock,json=totalTimeLock,proto3" json:"total_time_lock,omitempty"` // //The sum of the fees paid at each hop within the final route. In the case //of a one-hop payment, this value will be zero as we don't need to pay a fee //to ourselves. // // Deprecated: Do not use. TotalFees int64 `protobuf:"varint,2,opt,name=total_fees,json=totalFees,proto3" json:"total_fees,omitempty"` // //The total amount of funds required to complete a payment over this route. //This value includes the cumulative fees at each hop. As a result, the HTLC //extended to the first-hop in the route will need to have at least this many //satoshis, otherwise the route will fail at an intermediate node due to an //insufficient amount of fees. // // Deprecated: Do not use. TotalAmt int64 `protobuf:"varint,3,opt,name=total_amt,json=totalAmt,proto3" json:"total_amt,omitempty"` // //Contains details concerning the specific forwarding details at each hop. Hops []*Hop `protobuf:"bytes,4,rep,name=hops,proto3" json:"hops,omitempty"` // //The total fees in millisatoshis. TotalFeesMsat int64 `protobuf:"varint,5,opt,name=total_fees_msat,json=totalFeesMsat,proto3" json:"total_fees_msat,omitempty"` // //The total amount in millisatoshis. TotalAmtMsat int64 `protobuf:"varint,6,opt,name=total_amt_msat,json=totalAmtMsat,proto3" json:"total_amt_msat,omitempty"` // contains filtered or unexported fields }
A path through the channel graph which runs over one or more channels in succession. This struct carries all the information required to craft the Sphinx onion packet, and send the payment along the first hop in the path. A route is only selected as valid if all the channels have sufficient capacity to carry the initial payment amount after fees are accounted for.
func (*Route) Descriptor
deprecated
func (*Route) GetTotalAmt
deprecated
func (*Route) GetTotalAmtMsat ¶
func (*Route) GetTotalFees
deprecated
func (*Route) GetTotalFeesMsat ¶
func (*Route) GetTotalTimeLock ¶
func (*Route) ProtoMessage ¶
func (*Route) ProtoMessage()
func (*Route) ProtoReflect ¶
func (x *Route) ProtoReflect() protoreflect.Message
type RouteHint ¶
type RouteHint struct { // //A list of hop hints that when chained together can assist in reaching a //specific destination. HopHints []*HopHint `protobuf:"bytes,1,rep,name=hop_hints,json=hopHints,proto3" json:"hop_hints,omitempty"` // contains filtered or unexported fields }
func (*RouteHint) Descriptor
deprecated
func (*RouteHint) GetHopHints ¶
func (*RouteHint) ProtoMessage ¶
func (*RouteHint) ProtoMessage()
func (*RouteHint) ProtoReflect ¶
func (x *RouteHint) ProtoReflect() protoreflect.Message
type RoutingPolicy ¶
type RoutingPolicy struct { TimeLockDelta uint32 `protobuf:"varint,1,opt,name=time_lock_delta,json=timeLockDelta,proto3" json:"time_lock_delta,omitempty"` MinHtlc int64 `protobuf:"varint,2,opt,name=min_htlc,json=minHtlc,proto3" json:"min_htlc,omitempty"` FeeBaseMsat int64 `protobuf:"varint,3,opt,name=fee_base_msat,json=feeBaseMsat,proto3" json:"fee_base_msat,omitempty"` FeeRateMilliMsat int64 `protobuf:"varint,4,opt,name=fee_rate_milli_msat,json=feeRateMilliMsat,proto3" json:"fee_rate_milli_msat,omitempty"` Disabled bool `protobuf:"varint,5,opt,name=disabled,proto3" json:"disabled,omitempty"` MaxHtlcMsat uint64 `protobuf:"varint,6,opt,name=max_htlc_msat,json=maxHtlcMsat,proto3" json:"max_htlc_msat,omitempty"` LastUpdate uint32 `protobuf:"varint,7,opt,name=last_update,json=lastUpdate,proto3" json:"last_update,omitempty"` // contains filtered or unexported fields }
func (*RoutingPolicy) Descriptor
deprecated
func (*RoutingPolicy) Descriptor() ([]byte, []int)
Deprecated: Use RoutingPolicy.ProtoReflect.Descriptor instead.
func (*RoutingPolicy) GetDisabled ¶
func (x *RoutingPolicy) GetDisabled() bool
func (*RoutingPolicy) GetFeeBaseMsat ¶
func (x *RoutingPolicy) GetFeeBaseMsat() int64
func (*RoutingPolicy) GetFeeRateMilliMsat ¶
func (x *RoutingPolicy) GetFeeRateMilliMsat() int64
func (*RoutingPolicy) GetLastUpdate ¶
func (x *RoutingPolicy) GetLastUpdate() uint32
func (*RoutingPolicy) GetMaxHtlcMsat ¶
func (x *RoutingPolicy) GetMaxHtlcMsat() uint64
func (*RoutingPolicy) GetMinHtlc ¶
func (x *RoutingPolicy) GetMinHtlc() int64
func (*RoutingPolicy) GetTimeLockDelta ¶
func (x *RoutingPolicy) GetTimeLockDelta() uint32
func (*RoutingPolicy) ProtoMessage ¶
func (*RoutingPolicy) ProtoMessage()
func (*RoutingPolicy) ProtoReflect ¶
func (x *RoutingPolicy) ProtoReflect() protoreflect.Message
func (*RoutingPolicy) Reset ¶
func (x *RoutingPolicy) Reset()
func (*RoutingPolicy) String ¶
func (x *RoutingPolicy) String() string
type SendCoinsRequest ¶
type SendCoinsRequest struct { // The address to send coins to Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"` // The amount in satoshis to send Amount int64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"` // The target number of blocks that this transaction should be confirmed // by. TargetConf int32 `protobuf:"varint,3,opt,name=target_conf,json=targetConf,proto3" json:"target_conf,omitempty"` // A manual fee rate set in sat/vbyte that should be used when crafting the // transaction. SatPerVbyte uint64 `protobuf:"varint,4,opt,name=sat_per_vbyte,json=satPerVbyte,proto3" json:"sat_per_vbyte,omitempty"` // Deprecated, use sat_per_vbyte. // A manual fee rate set in sat/vbyte that should be used when crafting the // transaction. // // Deprecated: Do not use. SatPerByte int64 `protobuf:"varint,5,opt,name=sat_per_byte,json=satPerByte,proto3" json:"sat_per_byte,omitempty"` // //If set, then the amount field will be ignored, and lnd will attempt to //send all the coins under control of the internal wallet to the specified //address. SendAll bool `protobuf:"varint,6,opt,name=send_all,json=sendAll,proto3" json:"send_all,omitempty"` // An optional label for the transaction, limited to 500 characters. Label string `protobuf:"bytes,7,opt,name=label,proto3" json:"label,omitempty"` // The minimum number of confirmations each one of your outputs used for // the transaction must satisfy. MinConfs int32 `protobuf:"varint,8,opt,name=min_confs,json=minConfs,proto3" json:"min_confs,omitempty"` // Whether unconfirmed outputs should be used as inputs for the transaction. SpendUnconfirmed bool `protobuf:"varint,9,opt,name=spend_unconfirmed,json=spendUnconfirmed,proto3" json:"spend_unconfirmed,omitempty"` // contains filtered or unexported fields }
func (*SendCoinsRequest) Descriptor
deprecated
func (*SendCoinsRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendCoinsRequest.ProtoReflect.Descriptor instead.
func (*SendCoinsRequest) GetAddr ¶
func (x *SendCoinsRequest) GetAddr() string
func (*SendCoinsRequest) GetAmount ¶
func (x *SendCoinsRequest) GetAmount() int64
func (*SendCoinsRequest) GetLabel ¶
func (x *SendCoinsRequest) GetLabel() string
func (*SendCoinsRequest) GetMinConfs ¶
func (x *SendCoinsRequest) GetMinConfs() int32
func (*SendCoinsRequest) GetSatPerByte
deprecated
func (x *SendCoinsRequest) GetSatPerByte() int64
Deprecated: Do not use.
func (*SendCoinsRequest) GetSatPerVbyte ¶
func (x *SendCoinsRequest) GetSatPerVbyte() uint64
func (*SendCoinsRequest) GetSendAll ¶
func (x *SendCoinsRequest) GetSendAll() bool
func (*SendCoinsRequest) GetSpendUnconfirmed ¶
func (x *SendCoinsRequest) GetSpendUnconfirmed() bool
func (*SendCoinsRequest) GetTargetConf ¶
func (x *SendCoinsRequest) GetTargetConf() int32
func (*SendCoinsRequest) ProtoMessage ¶
func (*SendCoinsRequest) ProtoMessage()
func (*SendCoinsRequest) ProtoReflect ¶
func (x *SendCoinsRequest) ProtoReflect() protoreflect.Message
func (*SendCoinsRequest) Reset ¶
func (x *SendCoinsRequest) Reset()
func (*SendCoinsRequest) String ¶
func (x *SendCoinsRequest) String() string
type SendCoinsResponse ¶
type SendCoinsResponse struct { // The transaction ID of the transaction Txid string `protobuf:"bytes,1,opt,name=txid,proto3" json:"txid,omitempty"` // contains filtered or unexported fields }
func (*SendCoinsResponse) Descriptor
deprecated
func (*SendCoinsResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendCoinsResponse.ProtoReflect.Descriptor instead.
func (*SendCoinsResponse) GetTxid ¶
func (x *SendCoinsResponse) GetTxid() string
func (*SendCoinsResponse) ProtoMessage ¶
func (*SendCoinsResponse) ProtoMessage()
func (*SendCoinsResponse) ProtoReflect ¶
func (x *SendCoinsResponse) ProtoReflect() protoreflect.Message
func (*SendCoinsResponse) Reset ¶
func (x *SendCoinsResponse) Reset()
func (*SendCoinsResponse) String ¶
func (x *SendCoinsResponse) String() string
type SendCustomMessageRequest ¶
type SendCustomMessageRequest struct { // Peer to send the message to Peer []byte `protobuf:"bytes,1,opt,name=peer,proto3" json:"peer,omitempty"` // Message type. This value needs to be in the custom range (>= 32768). Type uint32 `protobuf:"varint,2,opt,name=type,proto3" json:"type,omitempty"` // Raw message data. Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*SendCustomMessageRequest) Descriptor
deprecated
func (*SendCustomMessageRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendCustomMessageRequest.ProtoReflect.Descriptor instead.
func (*SendCustomMessageRequest) GetData ¶
func (x *SendCustomMessageRequest) GetData() []byte
func (*SendCustomMessageRequest) GetPeer ¶
func (x *SendCustomMessageRequest) GetPeer() []byte
func (*SendCustomMessageRequest) GetType ¶
func (x *SendCustomMessageRequest) GetType() uint32
func (*SendCustomMessageRequest) ProtoMessage ¶
func (*SendCustomMessageRequest) ProtoMessage()
func (*SendCustomMessageRequest) ProtoReflect ¶
func (x *SendCustomMessageRequest) ProtoReflect() protoreflect.Message
func (*SendCustomMessageRequest) Reset ¶
func (x *SendCustomMessageRequest) Reset()
func (*SendCustomMessageRequest) String ¶
func (x *SendCustomMessageRequest) String() string
type SendCustomMessageResponse ¶
type SendCustomMessageResponse struct {
// contains filtered or unexported fields
}
func (*SendCustomMessageResponse) Descriptor
deprecated
func (*SendCustomMessageResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendCustomMessageResponse.ProtoReflect.Descriptor instead.
func (*SendCustomMessageResponse) ProtoMessage ¶
func (*SendCustomMessageResponse) ProtoMessage()
func (*SendCustomMessageResponse) ProtoReflect ¶
func (x *SendCustomMessageResponse) ProtoReflect() protoreflect.Message
func (*SendCustomMessageResponse) Reset ¶
func (x *SendCustomMessageResponse) Reset()
func (*SendCustomMessageResponse) String ¶
func (x *SendCustomMessageResponse) String() string
type SendManyRequest ¶
type SendManyRequest struct { // The map from addresses to amounts AddrToAmount map[string]int64 `` /* 166-byte string literal not displayed */ // The target number of blocks that this transaction should be confirmed // by. TargetConf int32 `protobuf:"varint,3,opt,name=target_conf,json=targetConf,proto3" json:"target_conf,omitempty"` // A manual fee rate set in sat/vbyte that should be used when crafting the // transaction. SatPerVbyte uint64 `protobuf:"varint,4,opt,name=sat_per_vbyte,json=satPerVbyte,proto3" json:"sat_per_vbyte,omitempty"` // Deprecated, use sat_per_vbyte. // A manual fee rate set in sat/vbyte that should be used when crafting the // transaction. // // Deprecated: Do not use. SatPerByte int64 `protobuf:"varint,5,opt,name=sat_per_byte,json=satPerByte,proto3" json:"sat_per_byte,omitempty"` // An optional label for the transaction, limited to 500 characters. Label string `protobuf:"bytes,6,opt,name=label,proto3" json:"label,omitempty"` // The minimum number of confirmations each one of your outputs used for // the transaction must satisfy. MinConfs int32 `protobuf:"varint,7,opt,name=min_confs,json=minConfs,proto3" json:"min_confs,omitempty"` // Whether unconfirmed outputs should be used as inputs for the transaction. SpendUnconfirmed bool `protobuf:"varint,8,opt,name=spend_unconfirmed,json=spendUnconfirmed,proto3" json:"spend_unconfirmed,omitempty"` // contains filtered or unexported fields }
func (*SendManyRequest) Descriptor
deprecated
func (*SendManyRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendManyRequest.ProtoReflect.Descriptor instead.
func (*SendManyRequest) GetAddrToAmount ¶
func (x *SendManyRequest) GetAddrToAmount() map[string]int64
func (*SendManyRequest) GetLabel ¶
func (x *SendManyRequest) GetLabel() string
func (*SendManyRequest) GetMinConfs ¶
func (x *SendManyRequest) GetMinConfs() int32
func (*SendManyRequest) GetSatPerByte
deprecated
func (x *SendManyRequest) GetSatPerByte() int64
Deprecated: Do not use.
func (*SendManyRequest) GetSatPerVbyte ¶
func (x *SendManyRequest) GetSatPerVbyte() uint64
func (*SendManyRequest) GetSpendUnconfirmed ¶
func (x *SendManyRequest) GetSpendUnconfirmed() bool
func (*SendManyRequest) GetTargetConf ¶
func (x *SendManyRequest) GetTargetConf() int32
func (*SendManyRequest) ProtoMessage ¶
func (*SendManyRequest) ProtoMessage()
func (*SendManyRequest) ProtoReflect ¶
func (x *SendManyRequest) ProtoReflect() protoreflect.Message
func (*SendManyRequest) Reset ¶
func (x *SendManyRequest) Reset()
func (*SendManyRequest) String ¶
func (x *SendManyRequest) String() string
type SendManyResponse ¶
type SendManyResponse struct { // The id of the transaction Txid string `protobuf:"bytes,1,opt,name=txid,proto3" json:"txid,omitempty"` // contains filtered or unexported fields }
func (*SendManyResponse) Descriptor
deprecated
func (*SendManyResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendManyResponse.ProtoReflect.Descriptor instead.
func (*SendManyResponse) GetTxid ¶
func (x *SendManyResponse) GetTxid() string
func (*SendManyResponse) ProtoMessage ¶
func (*SendManyResponse) ProtoMessage()
func (*SendManyResponse) ProtoReflect ¶
func (x *SendManyResponse) ProtoReflect() protoreflect.Message
func (*SendManyResponse) Reset ¶
func (x *SendManyResponse) Reset()
func (*SendManyResponse) String ¶
func (x *SendManyResponse) String() string
type SendRequest ¶
type SendRequest struct { // //The identity pubkey of the payment recipient. When using REST, this field //must be encoded as base64. Dest []byte `protobuf:"bytes,1,opt,name=dest,proto3" json:"dest,omitempty"` // //The hex-encoded identity pubkey of the payment recipient. Deprecated now //that the REST gateway supports base64 encoding of bytes fields. // // Deprecated: Do not use. DestString string `protobuf:"bytes,2,opt,name=dest_string,json=destString,proto3" json:"dest_string,omitempty"` // //The amount to send expressed in satoshis. // //The fields amt and amt_msat are mutually exclusive. Amt int64 `protobuf:"varint,3,opt,name=amt,proto3" json:"amt,omitempty"` // //The amount to send expressed in millisatoshis. // //The fields amt and amt_msat are mutually exclusive. AmtMsat int64 `protobuf:"varint,12,opt,name=amt_msat,json=amtMsat,proto3" json:"amt_msat,omitempty"` // //The hash to use within the payment's HTLC. When using REST, this field //must be encoded as base64. PaymentHash []byte `protobuf:"bytes,4,opt,name=payment_hash,json=paymentHash,proto3" json:"payment_hash,omitempty"` // //The hex-encoded hash to use within the payment's HTLC. Deprecated now //that the REST gateway supports base64 encoding of bytes fields. // // Deprecated: Do not use. PaymentHashString string `protobuf:"bytes,5,opt,name=payment_hash_string,json=paymentHashString,proto3" json:"payment_hash_string,omitempty"` // //A bare-bones invoice for a payment within the Lightning Network. With the //details of the invoice, the sender has all the data necessary to send a //payment to the recipient. PaymentRequest string `protobuf:"bytes,6,opt,name=payment_request,json=paymentRequest,proto3" json:"payment_request,omitempty"` // //The CLTV delta from the current height that should be used to set the //timelock for the final hop. FinalCltvDelta int32 `protobuf:"varint,7,opt,name=final_cltv_delta,json=finalCltvDelta,proto3" json:"final_cltv_delta,omitempty"` // //The maximum number of satoshis that will be paid as a fee of the payment. //This value can be represented either as a percentage of the amount being //sent, or as a fixed amount of the maximum fee the user is willing the pay to //send the payment. If not specified, lnd will use a default value of 100% //fees for small amounts (<=1k sat) or 5% fees for larger amounts. FeeLimit *FeeLimit `protobuf:"bytes,8,opt,name=fee_limit,json=feeLimit,proto3" json:"fee_limit,omitempty"` // //The channel id of the channel that must be taken to the first hop. If zero, //any channel may be used. OutgoingChanId uint64 `protobuf:"varint,9,opt,name=outgoing_chan_id,json=outgoingChanId,proto3" json:"outgoing_chan_id,omitempty"` // //The pubkey of the last hop of the route. If empty, any hop may be used. LastHopPubkey []byte `protobuf:"bytes,13,opt,name=last_hop_pubkey,json=lastHopPubkey,proto3" json:"last_hop_pubkey,omitempty"` // //An optional maximum total time lock for the route. This should not exceed //lnd's `--max-cltv-expiry` setting. If zero, then the value of //`--max-cltv-expiry` is enforced. CltvLimit uint32 `protobuf:"varint,10,opt,name=cltv_limit,json=cltvLimit,proto3" json:"cltv_limit,omitempty"` // //An optional field that can be used to pass an arbitrary set of TLV records //to a peer which understands the new records. This can be used to pass //application specific data during the payment attempt. Record types are //required to be in the custom range >= 65536. When using REST, the values //must be encoded as base64. DestCustomRecords map[uint64][]byte `` /* 204-byte string literal not displayed */ // If set, circular payments to self are permitted. AllowSelfPayment bool `protobuf:"varint,14,opt,name=allow_self_payment,json=allowSelfPayment,proto3" json:"allow_self_payment,omitempty"` // //Features assumed to be supported by the final node. All transitive feature //dependencies must also be set properly. For a given feature bit pair, either //optional or remote may be set, but not both. If this field is nil or empty, //the router will try to load destination features from the graph as a //fallback. DestFeatures []FeatureBit `` /* 128-byte string literal not displayed */ // //The payment address of the generated invoice. PaymentAddr []byte `protobuf:"bytes,16,opt,name=payment_addr,json=paymentAddr,proto3" json:"payment_addr,omitempty"` // contains filtered or unexported fields }
func (*SendRequest) Descriptor
deprecated
func (*SendRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendRequest.ProtoReflect.Descriptor instead.
func (*SendRequest) GetAllowSelfPayment ¶
func (x *SendRequest) GetAllowSelfPayment() bool
func (*SendRequest) GetAmt ¶
func (x *SendRequest) GetAmt() int64
func (*SendRequest) GetAmtMsat ¶
func (x *SendRequest) GetAmtMsat() int64
func (*SendRequest) GetCltvLimit ¶
func (x *SendRequest) GetCltvLimit() uint32
func (*SendRequest) GetDest ¶
func (x *SendRequest) GetDest() []byte
func (*SendRequest) GetDestCustomRecords ¶
func (x *SendRequest) GetDestCustomRecords() map[uint64][]byte
func (*SendRequest) GetDestFeatures ¶
func (x *SendRequest) GetDestFeatures() []FeatureBit
func (*SendRequest) GetDestString
deprecated
func (x *SendRequest) GetDestString() string
Deprecated: Do not use.
func (*SendRequest) GetFeeLimit ¶
func (x *SendRequest) GetFeeLimit() *FeeLimit
func (*SendRequest) GetFinalCltvDelta ¶
func (x *SendRequest) GetFinalCltvDelta() int32
func (*SendRequest) GetLastHopPubkey ¶
func (x *SendRequest) GetLastHopPubkey() []byte
func (*SendRequest) GetOutgoingChanId ¶
func (x *SendRequest) GetOutgoingChanId() uint64
func (*SendRequest) GetPaymentAddr ¶
func (x *SendRequest) GetPaymentAddr() []byte
func (*SendRequest) GetPaymentHash ¶
func (x *SendRequest) GetPaymentHash() []byte
func (*SendRequest) GetPaymentHashString
deprecated
func (x *SendRequest) GetPaymentHashString() string
Deprecated: Do not use.
func (*SendRequest) GetPaymentRequest ¶
func (x *SendRequest) GetPaymentRequest() string
func (*SendRequest) ProtoMessage ¶
func (*SendRequest) ProtoMessage()
func (*SendRequest) ProtoReflect ¶
func (x *SendRequest) ProtoReflect() protoreflect.Message
func (*SendRequest) Reset ¶
func (x *SendRequest) Reset()
func (*SendRequest) String ¶
func (x *SendRequest) String() string
type SendResponse ¶
type SendResponse struct { PaymentError string `protobuf:"bytes,1,opt,name=payment_error,json=paymentError,proto3" json:"payment_error,omitempty"` PaymentPreimage []byte `protobuf:"bytes,2,opt,name=payment_preimage,json=paymentPreimage,proto3" json:"payment_preimage,omitempty"` PaymentRoute *Route `protobuf:"bytes,3,opt,name=payment_route,json=paymentRoute,proto3" json:"payment_route,omitempty"` PaymentHash []byte `protobuf:"bytes,4,opt,name=payment_hash,json=paymentHash,proto3" json:"payment_hash,omitempty"` // contains filtered or unexported fields }
func (*SendResponse) Descriptor
deprecated
func (*SendResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendResponse.ProtoReflect.Descriptor instead.
func (*SendResponse) GetPaymentError ¶
func (x *SendResponse) GetPaymentError() string
func (*SendResponse) GetPaymentHash ¶
func (x *SendResponse) GetPaymentHash() []byte
func (*SendResponse) GetPaymentPreimage ¶
func (x *SendResponse) GetPaymentPreimage() []byte
func (*SendResponse) GetPaymentRoute ¶
func (x *SendResponse) GetPaymentRoute() *Route
func (*SendResponse) ProtoMessage ¶
func (*SendResponse) ProtoMessage()
func (*SendResponse) ProtoReflect ¶
func (x *SendResponse) ProtoReflect() protoreflect.Message
func (*SendResponse) Reset ¶
func (x *SendResponse) Reset()
func (*SendResponse) String ¶
func (x *SendResponse) String() string
type SendToRouteRequest ¶
type SendToRouteRequest struct { // //The payment hash to use for the HTLC. When using REST, this field must be //encoded as base64. PaymentHash []byte `protobuf:"bytes,1,opt,name=payment_hash,json=paymentHash,proto3" json:"payment_hash,omitempty"` // //An optional hex-encoded payment hash to be used for the HTLC. Deprecated now //that the REST gateway supports base64 encoding of bytes fields. // // Deprecated: Do not use. PaymentHashString string `protobuf:"bytes,2,opt,name=payment_hash_string,json=paymentHashString,proto3" json:"payment_hash_string,omitempty"` // Route that should be used to attempt to complete the payment. Route *Route `protobuf:"bytes,4,opt,name=route,proto3" json:"route,omitempty"` // contains filtered or unexported fields }
func (*SendToRouteRequest) Descriptor
deprecated
func (*SendToRouteRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendToRouteRequest.ProtoReflect.Descriptor instead.
func (*SendToRouteRequest) GetPaymentHash ¶
func (x *SendToRouteRequest) GetPaymentHash() []byte
func (*SendToRouteRequest) GetPaymentHashString
deprecated
func (x *SendToRouteRequest) GetPaymentHashString() string
Deprecated: Do not use.
func (*SendToRouteRequest) GetRoute ¶
func (x *SendToRouteRequest) GetRoute() *Route
func (*SendToRouteRequest) ProtoMessage ¶
func (*SendToRouteRequest) ProtoMessage()
func (*SendToRouteRequest) ProtoReflect ¶
func (x *SendToRouteRequest) ProtoReflect() protoreflect.Message
func (*SendToRouteRequest) Reset ¶
func (x *SendToRouteRequest) Reset()
func (*SendToRouteRequest) String ¶
func (x *SendToRouteRequest) String() string
type SetID ¶
type SetID struct { SetId []byte `protobuf:"bytes,1,opt,name=set_id,json=setId,proto3" json:"set_id,omitempty"` // contains filtered or unexported fields }
func (*SetID) Descriptor
deprecated
func (*SetID) ProtoMessage ¶
func (*SetID) ProtoMessage()
func (*SetID) ProtoReflect ¶
func (x *SetID) ProtoReflect() protoreflect.Message
type SignMessageRequest ¶
type SignMessageRequest struct { // //The message to be signed. When using REST, this field must be encoded as //base64. Msg []byte `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"` // //Instead of the default double-SHA256 hashing of the message before signing, //only use one round of hashing instead. SingleHash bool `protobuf:"varint,2,opt,name=single_hash,json=singleHash,proto3" json:"single_hash,omitempty"` // contains filtered or unexported fields }
func (*SignMessageRequest) Descriptor
deprecated
func (*SignMessageRequest) Descriptor() ([]byte, []int)
Deprecated: Use SignMessageRequest.ProtoReflect.Descriptor instead.
func (*SignMessageRequest) GetMsg ¶
func (x *SignMessageRequest) GetMsg() []byte
func (*SignMessageRequest) GetSingleHash ¶
func (x *SignMessageRequest) GetSingleHash() bool
func (*SignMessageRequest) ProtoMessage ¶
func (*SignMessageRequest) ProtoMessage()
func (*SignMessageRequest) ProtoReflect ¶
func (x *SignMessageRequest) ProtoReflect() protoreflect.Message
func (*SignMessageRequest) Reset ¶
func (x *SignMessageRequest) Reset()
func (*SignMessageRequest) String ¶
func (x *SignMessageRequest) String() string
type SignMessageResponse ¶
type SignMessageResponse struct { // The signature for the given message Signature string `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*SignMessageResponse) Descriptor
deprecated
func (*SignMessageResponse) Descriptor() ([]byte, []int)
Deprecated: Use SignMessageResponse.ProtoReflect.Descriptor instead.
func (*SignMessageResponse) GetSignature ¶
func (x *SignMessageResponse) GetSignature() string
func (*SignMessageResponse) ProtoMessage ¶
func (*SignMessageResponse) ProtoMessage()
func (*SignMessageResponse) ProtoReflect ¶
func (x *SignMessageResponse) ProtoReflect() protoreflect.Message
func (*SignMessageResponse) Reset ¶
func (x *SignMessageResponse) Reset()
func (*SignMessageResponse) String ¶
func (x *SignMessageResponse) String() string
type StateClient ¶
type StateClient interface { // SubscribeState subscribes to the state of the wallet. The current wallet // state will always be delivered immediately. SubscribeState(ctx context.Context, in *SubscribeStateRequest, opts ...grpc.CallOption) (State_SubscribeStateClient, error) // GetState returns the current wallet state without streaming further // changes. GetState(ctx context.Context, in *GetStateRequest, opts ...grpc.CallOption) (*GetStateResponse, error) }
StateClient is the client API for State service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewStateClient ¶
func NewStateClient(cc grpc.ClientConnInterface) StateClient
type StateServer ¶
type StateServer interface { // SubscribeState subscribes to the state of the wallet. The current wallet // state will always be delivered immediately. SubscribeState(*SubscribeStateRequest, State_SubscribeStateServer) error // GetState returns the current wallet state without streaming further // changes. GetState(context.Context, *GetStateRequest) (*GetStateResponse, error) // contains filtered or unexported methods }
StateServer is the server API for State service. All implementations must embed UnimplementedStateServer for forward compatibility
type State_SubscribeStateClient ¶
type State_SubscribeStateClient interface { Recv() (*SubscribeStateResponse, error) grpc.ClientStream }
type State_SubscribeStateServer ¶
type State_SubscribeStateServer interface { Send(*SubscribeStateResponse) error grpc.ServerStream }
type StopRequest ¶
type StopRequest struct {
// contains filtered or unexported fields
}
func (*StopRequest) Descriptor
deprecated
func (*StopRequest) Descriptor() ([]byte, []int)
Deprecated: Use StopRequest.ProtoReflect.Descriptor instead.
func (*StopRequest) ProtoMessage ¶
func (*StopRequest) ProtoMessage()
func (*StopRequest) ProtoReflect ¶
func (x *StopRequest) ProtoReflect() protoreflect.Message
func (*StopRequest) Reset ¶
func (x *StopRequest) Reset()
func (*StopRequest) String ¶
func (x *StopRequest) String() string
type StopResponse ¶
type StopResponse struct {
// contains filtered or unexported fields
}
func (*StopResponse) Descriptor
deprecated
func (*StopResponse) Descriptor() ([]byte, []int)
Deprecated: Use StopResponse.ProtoReflect.Descriptor instead.
func (*StopResponse) ProtoMessage ¶
func (*StopResponse) ProtoMessage()
func (*StopResponse) ProtoReflect ¶
func (x *StopResponse) ProtoReflect() protoreflect.Message
func (*StopResponse) Reset ¶
func (x *StopResponse) Reset()
func (*StopResponse) String ¶
func (x *StopResponse) String() string
type StreamAuth ¶
type StreamAuth struct { // //The full URI (in the format /<rpcpackage>.<ServiceName>/MethodName, for //example /lnrpc.Lightning/GetInfo) of the streaming RPC method that was just //established. MethodFullUri string `protobuf:"bytes,1,opt,name=method_full_uri,json=methodFullUri,proto3" json:"method_full_uri,omitempty"` // contains filtered or unexported fields }
func (*StreamAuth) Descriptor
deprecated
func (*StreamAuth) Descriptor() ([]byte, []int)
Deprecated: Use StreamAuth.ProtoReflect.Descriptor instead.
func (*StreamAuth) GetMethodFullUri ¶
func (x *StreamAuth) GetMethodFullUri() string
func (*StreamAuth) ProtoMessage ¶
func (*StreamAuth) ProtoMessage()
func (*StreamAuth) ProtoReflect ¶
func (x *StreamAuth) ProtoReflect() protoreflect.Message
func (*StreamAuth) Reset ¶
func (x *StreamAuth) Reset()
func (*StreamAuth) String ¶
func (x *StreamAuth) String() string
type SubServer ¶
type SubServer interface { // Start starts the sub-server and all goroutines it needs to operate. Start() error // Stop signals that the sub-server should wrap up any lingering // requests, and being a graceful shutdown. Stop() error // Name returns a unique string representation of the sub-server. This // can be used to identify the sub-server and also de-duplicate them. Name() string }
SubServer is a child server of the main lnrpc gRPC server. Sub-servers allow lnd to expose discrete services that can be used with or independent of the main RPC server. The main rpcserver will create, start, stop, and manage each sub-server in a generalized manner.
type SubServerConfigDispatcher ¶
type SubServerConfigDispatcher interface { // FetchConfig attempts to locate an existing configuration file mapped // to the target sub-server. If we're unable to find a config file // matching the subServerName name, then false will be returned for the // second parameter. FetchConfig(subServerName string) (interface{}, bool) }
SubServerConfigDispatcher is an interface that all sub-servers will use to dynamically locate their configuration files. This abstraction will allow the primary RPC sever to initialize all sub-servers in a generic manner without knowing of each individual sub server.
type SubServerDriver ¶
type SubServerDriver struct { // SubServerName is the full name of a sub-sever. // // NOTE: This MUST be unique. SubServerName string // NewGrpcHandler creates a a new sub-server gRPC interface that can be // registered with the root gRPC server. It is not expected that the // SubServer is ready for operation before its CreateSubServer and // Start methods have been called. NewGrpcHandler func() GrpcHandler }
SubServerDriver is a template struct that allows the root server to create a sub-server gRPC handler with minimal knowledge.
func RegisteredSubServers ¶
func RegisteredSubServers() []*SubServerDriver
RegisteredSubServers returns all registered sub-servers.
NOTE: This function is safe for concurrent access.
type SubscribeCustomMessagesRequest ¶
type SubscribeCustomMessagesRequest struct {
// contains filtered or unexported fields
}
func (*SubscribeCustomMessagesRequest) Descriptor
deprecated
func (*SubscribeCustomMessagesRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeCustomMessagesRequest.ProtoReflect.Descriptor instead.
func (*SubscribeCustomMessagesRequest) ProtoMessage ¶
func (*SubscribeCustomMessagesRequest) ProtoMessage()
func (*SubscribeCustomMessagesRequest) ProtoReflect ¶
func (x *SubscribeCustomMessagesRequest) ProtoReflect() protoreflect.Message
func (*SubscribeCustomMessagesRequest) Reset ¶
func (x *SubscribeCustomMessagesRequest) Reset()
func (*SubscribeCustomMessagesRequest) String ¶
func (x *SubscribeCustomMessagesRequest) String() string
type SubscribeStateRequest ¶
type SubscribeStateRequest struct {
// contains filtered or unexported fields
}
func (*SubscribeStateRequest) Descriptor
deprecated
func (*SubscribeStateRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeStateRequest.ProtoReflect.Descriptor instead.
func (*SubscribeStateRequest) ProtoMessage ¶
func (*SubscribeStateRequest) ProtoMessage()
func (*SubscribeStateRequest) ProtoReflect ¶
func (x *SubscribeStateRequest) ProtoReflect() protoreflect.Message
func (*SubscribeStateRequest) Reset ¶
func (x *SubscribeStateRequest) Reset()
func (*SubscribeStateRequest) String ¶
func (x *SubscribeStateRequest) String() string
type SubscribeStateResponse ¶
type SubscribeStateResponse struct { State WalletState `protobuf:"varint,1,opt,name=state,proto3,enum=lnrpc.WalletState" json:"state,omitempty"` // contains filtered or unexported fields }
func (*SubscribeStateResponse) Descriptor
deprecated
func (*SubscribeStateResponse) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeStateResponse.ProtoReflect.Descriptor instead.
func (*SubscribeStateResponse) GetState ¶
func (x *SubscribeStateResponse) GetState() WalletState
func (*SubscribeStateResponse) ProtoMessage ¶
func (*SubscribeStateResponse) ProtoMessage()
func (*SubscribeStateResponse) ProtoReflect ¶
func (x *SubscribeStateResponse) ProtoReflect() protoreflect.Message
func (*SubscribeStateResponse) Reset ¶
func (x *SubscribeStateResponse) Reset()
func (*SubscribeStateResponse) String ¶
func (x *SubscribeStateResponse) String() string
type TimestampedError ¶
type TimestampedError struct { // The unix timestamp in seconds when the error occurred. Timestamp uint64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // The string representation of the error sent by our peer. Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*TimestampedError) Descriptor
deprecated
func (*TimestampedError) Descriptor() ([]byte, []int)
Deprecated: Use TimestampedError.ProtoReflect.Descriptor instead.
func (*TimestampedError) GetError ¶
func (x *TimestampedError) GetError() string
func (*TimestampedError) GetTimestamp ¶
func (x *TimestampedError) GetTimestamp() uint64
func (*TimestampedError) ProtoMessage ¶
func (*TimestampedError) ProtoMessage()
func (*TimestampedError) ProtoReflect ¶
func (x *TimestampedError) ProtoReflect() protoreflect.Message
func (*TimestampedError) Reset ¶
func (x *TimestampedError) Reset()
func (*TimestampedError) String ¶
func (x *TimestampedError) String() string
type Transaction ¶
type Transaction struct { // The transaction hash TxHash string `protobuf:"bytes,1,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` // The transaction amount, denominated in satoshis Amount int64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"` // The number of confirmations NumConfirmations int32 `protobuf:"varint,3,opt,name=num_confirmations,json=numConfirmations,proto3" json:"num_confirmations,omitempty"` // The hash of the block this transaction was included in BlockHash string `protobuf:"bytes,4,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` // The height of the block this transaction was included in BlockHeight int32 `protobuf:"varint,5,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` // Timestamp of this transaction TimeStamp int64 `protobuf:"varint,6,opt,name=time_stamp,json=timeStamp,proto3" json:"time_stamp,omitempty"` // Fees paid for this transaction TotalFees int64 `protobuf:"varint,7,opt,name=total_fees,json=totalFees,proto3" json:"total_fees,omitempty"` // Addresses that received funds for this transaction DestAddresses []string `protobuf:"bytes,8,rep,name=dest_addresses,json=destAddresses,proto3" json:"dest_addresses,omitempty"` // The raw transaction hex. RawTxHex string `protobuf:"bytes,9,opt,name=raw_tx_hex,json=rawTxHex,proto3" json:"raw_tx_hex,omitempty"` // A label that was optionally set on transaction broadcast. Label string `protobuf:"bytes,10,opt,name=label,proto3" json:"label,omitempty"` // contains filtered or unexported fields }
func RPCTransaction ¶
func RPCTransaction(tx *lnwallet.TransactionDetail) *Transaction
RPCTransaction returns a rpc transaction.
func (*Transaction) Descriptor
deprecated
func (*Transaction) Descriptor() ([]byte, []int)
Deprecated: Use Transaction.ProtoReflect.Descriptor instead.
func (*Transaction) GetAmount ¶
func (x *Transaction) GetAmount() int64
func (*Transaction) GetBlockHash ¶
func (x *Transaction) GetBlockHash() string
func (*Transaction) GetBlockHeight ¶
func (x *Transaction) GetBlockHeight() int32
func (*Transaction) GetDestAddresses ¶
func (x *Transaction) GetDestAddresses() []string
func (*Transaction) GetLabel ¶
func (x *Transaction) GetLabel() string
func (*Transaction) GetNumConfirmations ¶
func (x *Transaction) GetNumConfirmations() int32
func (*Transaction) GetRawTxHex ¶
func (x *Transaction) GetRawTxHex() string
func (*Transaction) GetTimeStamp ¶
func (x *Transaction) GetTimeStamp() int64
func (*Transaction) GetTotalFees ¶
func (x *Transaction) GetTotalFees() int64
func (*Transaction) GetTxHash ¶
func (x *Transaction) GetTxHash() string
func (*Transaction) ProtoMessage ¶
func (*Transaction) ProtoMessage()
func (*Transaction) ProtoReflect ¶
func (x *Transaction) ProtoReflect() protoreflect.Message
func (*Transaction) Reset ¶
func (x *Transaction) Reset()
func (*Transaction) String ¶
func (x *Transaction) String() string
type TransactionDetails ¶
type TransactionDetails struct { // The list of transactions relevant to the wallet. Transactions []*Transaction `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty"` // contains filtered or unexported fields }
func RPCTransactionDetails ¶
func RPCTransactionDetails(txns []*lnwallet.TransactionDetail) *TransactionDetails
RPCTransactionDetails returns a set of rpc transaction details.
func (*TransactionDetails) Descriptor
deprecated
func (*TransactionDetails) Descriptor() ([]byte, []int)
Deprecated: Use TransactionDetails.ProtoReflect.Descriptor instead.
func (*TransactionDetails) GetTransactions ¶
func (x *TransactionDetails) GetTransactions() []*Transaction
func (*TransactionDetails) ProtoMessage ¶
func (*TransactionDetails) ProtoMessage()
func (*TransactionDetails) ProtoReflect ¶
func (x *TransactionDetails) ProtoReflect() protoreflect.Message
func (*TransactionDetails) Reset ¶
func (x *TransactionDetails) Reset()
func (*TransactionDetails) String ¶
func (x *TransactionDetails) String() string
type UnimplementedLightningServer ¶
type UnimplementedLightningServer struct { }
UnimplementedLightningServer must be embedded to have forward compatible implementations.
func (UnimplementedLightningServer) AbandonChannel ¶
func (UnimplementedLightningServer) AbandonChannel(context.Context, *AbandonChannelRequest) (*AbandonChannelResponse, error)
func (UnimplementedLightningServer) AddInvoice ¶
func (UnimplementedLightningServer) AddInvoice(context.Context, *Invoice) (*AddInvoiceResponse, error)
func (UnimplementedLightningServer) BakeMacaroon ¶
func (UnimplementedLightningServer) BakeMacaroon(context.Context, *BakeMacaroonRequest) (*BakeMacaroonResponse, error)
func (UnimplementedLightningServer) BatchOpenChannel ¶
func (UnimplementedLightningServer) BatchOpenChannel(context.Context, *BatchOpenChannelRequest) (*BatchOpenChannelResponse, error)
func (UnimplementedLightningServer) ChannelAcceptor ¶
func (UnimplementedLightningServer) ChannelAcceptor(Lightning_ChannelAcceptorServer) error
func (UnimplementedLightningServer) ChannelBalance ¶
func (UnimplementedLightningServer) ChannelBalance(context.Context, *ChannelBalanceRequest) (*ChannelBalanceResponse, error)
func (UnimplementedLightningServer) CheckMacaroonPermissions ¶
func (UnimplementedLightningServer) CheckMacaroonPermissions(context.Context, *CheckMacPermRequest) (*CheckMacPermResponse, error)
func (UnimplementedLightningServer) CloseChannel ¶
func (UnimplementedLightningServer) CloseChannel(*CloseChannelRequest, Lightning_CloseChannelServer) error
func (UnimplementedLightningServer) ClosedChannels ¶
func (UnimplementedLightningServer) ClosedChannels(context.Context, *ClosedChannelsRequest) (*ClosedChannelsResponse, error)
func (UnimplementedLightningServer) ConnectPeer ¶
func (UnimplementedLightningServer) ConnectPeer(context.Context, *ConnectPeerRequest) (*ConnectPeerResponse, error)
func (UnimplementedLightningServer) DebugLevel ¶
func (UnimplementedLightningServer) DebugLevel(context.Context, *DebugLevelRequest) (*DebugLevelResponse, error)
func (UnimplementedLightningServer) DecodePayReq ¶
func (UnimplementedLightningServer) DecodePayReq(context.Context, *PayReqString) (*PayReq, error)
func (UnimplementedLightningServer) DeleteAllPayments ¶
func (UnimplementedLightningServer) DeleteAllPayments(context.Context, *DeleteAllPaymentsRequest) (*DeleteAllPaymentsResponse, error)
func (UnimplementedLightningServer) DeleteMacaroonID ¶
func (UnimplementedLightningServer) DeleteMacaroonID(context.Context, *DeleteMacaroonIDRequest) (*DeleteMacaroonIDResponse, error)
func (UnimplementedLightningServer) DeletePayment ¶
func (UnimplementedLightningServer) DeletePayment(context.Context, *DeletePaymentRequest) (*DeletePaymentResponse, error)
func (UnimplementedLightningServer) DescribeGraph ¶
func (UnimplementedLightningServer) DescribeGraph(context.Context, *ChannelGraphRequest) (*ChannelGraph, error)
func (UnimplementedLightningServer) DisconnectPeer ¶
func (UnimplementedLightningServer) DisconnectPeer(context.Context, *DisconnectPeerRequest) (*DisconnectPeerResponse, error)
func (UnimplementedLightningServer) EstimateFee ¶
func (UnimplementedLightningServer) EstimateFee(context.Context, *EstimateFeeRequest) (*EstimateFeeResponse, error)
func (UnimplementedLightningServer) ExportAllChannelBackups ¶
func (UnimplementedLightningServer) ExportAllChannelBackups(context.Context, *ChanBackupExportRequest) (*ChanBackupSnapshot, error)
func (UnimplementedLightningServer) ExportChannelBackup ¶
func (UnimplementedLightningServer) ExportChannelBackup(context.Context, *ExportChannelBackupRequest) (*ChannelBackup, error)
func (UnimplementedLightningServer) FeeReport ¶
func (UnimplementedLightningServer) FeeReport(context.Context, *FeeReportRequest) (*FeeReportResponse, error)
func (UnimplementedLightningServer) ForwardingHistory ¶
func (UnimplementedLightningServer) ForwardingHistory(context.Context, *ForwardingHistoryRequest) (*ForwardingHistoryResponse, error)
func (UnimplementedLightningServer) FundingStateStep ¶
func (UnimplementedLightningServer) FundingStateStep(context.Context, *FundingTransitionMsg) (*FundingStateStepResp, error)
func (UnimplementedLightningServer) GetChanInfo ¶
func (UnimplementedLightningServer) GetChanInfo(context.Context, *ChanInfoRequest) (*ChannelEdge, error)
func (UnimplementedLightningServer) GetInfo ¶
func (UnimplementedLightningServer) GetInfo(context.Context, *GetInfoRequest) (*GetInfoResponse, error)
func (UnimplementedLightningServer) GetNetworkInfo ¶
func (UnimplementedLightningServer) GetNetworkInfo(context.Context, *NetworkInfoRequest) (*NetworkInfo, error)
func (UnimplementedLightningServer) GetNodeInfo ¶
func (UnimplementedLightningServer) GetNodeInfo(context.Context, *NodeInfoRequest) (*NodeInfo, error)
func (UnimplementedLightningServer) GetNodeMetrics ¶
func (UnimplementedLightningServer) GetNodeMetrics(context.Context, *NodeMetricsRequest) (*NodeMetricsResponse, error)
func (UnimplementedLightningServer) GetRecoveryInfo ¶
func (UnimplementedLightningServer) GetRecoveryInfo(context.Context, *GetRecoveryInfoRequest) (*GetRecoveryInfoResponse, error)
func (UnimplementedLightningServer) GetTransactions ¶
func (UnimplementedLightningServer) GetTransactions(context.Context, *GetTransactionsRequest) (*TransactionDetails, error)
func (UnimplementedLightningServer) ListChannels ¶
func (UnimplementedLightningServer) ListChannels(context.Context, *ListChannelsRequest) (*ListChannelsResponse, error)
func (UnimplementedLightningServer) ListInvoices ¶
func (UnimplementedLightningServer) ListInvoices(context.Context, *ListInvoiceRequest) (*ListInvoiceResponse, error)
func (UnimplementedLightningServer) ListMacaroonIDs ¶
func (UnimplementedLightningServer) ListMacaroonIDs(context.Context, *ListMacaroonIDsRequest) (*ListMacaroonIDsResponse, error)
func (UnimplementedLightningServer) ListPayments ¶
func (UnimplementedLightningServer) ListPayments(context.Context, *ListPaymentsRequest) (*ListPaymentsResponse, error)
func (UnimplementedLightningServer) ListPeers ¶
func (UnimplementedLightningServer) ListPeers(context.Context, *ListPeersRequest) (*ListPeersResponse, error)
func (UnimplementedLightningServer) ListPermissions ¶
func (UnimplementedLightningServer) ListPermissions(context.Context, *ListPermissionsRequest) (*ListPermissionsResponse, error)
func (UnimplementedLightningServer) ListUnspent ¶
func (UnimplementedLightningServer) ListUnspent(context.Context, *ListUnspentRequest) (*ListUnspentResponse, error)
func (UnimplementedLightningServer) LookupInvoice ¶
func (UnimplementedLightningServer) LookupInvoice(context.Context, *PaymentHash) (*Invoice, error)
func (UnimplementedLightningServer) NewAddress ¶
func (UnimplementedLightningServer) NewAddress(context.Context, *NewAddressRequest) (*NewAddressResponse, error)
func (UnimplementedLightningServer) OpenChannel ¶
func (UnimplementedLightningServer) OpenChannel(*OpenChannelRequest, Lightning_OpenChannelServer) error
func (UnimplementedLightningServer) OpenChannelSync ¶
func (UnimplementedLightningServer) OpenChannelSync(context.Context, *OpenChannelRequest) (*ChannelPoint, error)
func (UnimplementedLightningServer) PendingChannels ¶
func (UnimplementedLightningServer) PendingChannels(context.Context, *PendingChannelsRequest) (*PendingChannelsResponse, error)
func (UnimplementedLightningServer) QueryRoutes ¶
func (UnimplementedLightningServer) QueryRoutes(context.Context, *QueryRoutesRequest) (*QueryRoutesResponse, error)
func (UnimplementedLightningServer) RegisterRPCMiddleware ¶
func (UnimplementedLightningServer) RegisterRPCMiddleware(Lightning_RegisterRPCMiddlewareServer) error
func (UnimplementedLightningServer) RestoreChannelBackups ¶
func (UnimplementedLightningServer) RestoreChannelBackups(context.Context, *RestoreChanBackupRequest) (*RestoreBackupResponse, error)
func (UnimplementedLightningServer) SendCoins ¶
func (UnimplementedLightningServer) SendCoins(context.Context, *SendCoinsRequest) (*SendCoinsResponse, error)
func (UnimplementedLightningServer) SendCustomMessage ¶
func (UnimplementedLightningServer) SendCustomMessage(context.Context, *SendCustomMessageRequest) (*SendCustomMessageResponse, error)
func (UnimplementedLightningServer) SendMany ¶
func (UnimplementedLightningServer) SendMany(context.Context, *SendManyRequest) (*SendManyResponse, error)
func (UnimplementedLightningServer) SendPayment ¶
func (UnimplementedLightningServer) SendPayment(Lightning_SendPaymentServer) error
func (UnimplementedLightningServer) SendPaymentSync ¶
func (UnimplementedLightningServer) SendPaymentSync(context.Context, *SendRequest) (*SendResponse, error)
func (UnimplementedLightningServer) SendToRoute ¶
func (UnimplementedLightningServer) SendToRoute(Lightning_SendToRouteServer) error
func (UnimplementedLightningServer) SendToRouteSync ¶
func (UnimplementedLightningServer) SendToRouteSync(context.Context, *SendToRouteRequest) (*SendResponse, error)
func (UnimplementedLightningServer) SignMessage ¶
func (UnimplementedLightningServer) SignMessage(context.Context, *SignMessageRequest) (*SignMessageResponse, error)
func (UnimplementedLightningServer) StopDaemon ¶
func (UnimplementedLightningServer) StopDaemon(context.Context, *StopRequest) (*StopResponse, error)
func (UnimplementedLightningServer) SubscribeChannelBackups ¶
func (UnimplementedLightningServer) SubscribeChannelBackups(*ChannelBackupSubscription, Lightning_SubscribeChannelBackupsServer) error
func (UnimplementedLightningServer) SubscribeChannelEvents ¶
func (UnimplementedLightningServer) SubscribeChannelEvents(*ChannelEventSubscription, Lightning_SubscribeChannelEventsServer) error
func (UnimplementedLightningServer) SubscribeChannelGraph ¶
func (UnimplementedLightningServer) SubscribeChannelGraph(*GraphTopologySubscription, Lightning_SubscribeChannelGraphServer) error
func (UnimplementedLightningServer) SubscribeCustomMessages ¶
func (UnimplementedLightningServer) SubscribeCustomMessages(*SubscribeCustomMessagesRequest, Lightning_SubscribeCustomMessagesServer) error
func (UnimplementedLightningServer) SubscribeInvoices ¶
func (UnimplementedLightningServer) SubscribeInvoices(*InvoiceSubscription, Lightning_SubscribeInvoicesServer) error
func (UnimplementedLightningServer) SubscribePeerEvents ¶
func (UnimplementedLightningServer) SubscribePeerEvents(*PeerEventSubscription, Lightning_SubscribePeerEventsServer) error
func (UnimplementedLightningServer) SubscribeTransactions ¶
func (UnimplementedLightningServer) SubscribeTransactions(*GetTransactionsRequest, Lightning_SubscribeTransactionsServer) error
func (UnimplementedLightningServer) UpdateChannelPolicy ¶
func (UnimplementedLightningServer) UpdateChannelPolicy(context.Context, *PolicyUpdateRequest) (*PolicyUpdateResponse, error)
func (UnimplementedLightningServer) VerifyChanBackup ¶
func (UnimplementedLightningServer) VerifyChanBackup(context.Context, *ChanBackupSnapshot) (*VerifyChanBackupResponse, error)
func (UnimplementedLightningServer) VerifyMessage ¶
func (UnimplementedLightningServer) VerifyMessage(context.Context, *VerifyMessageRequest) (*VerifyMessageResponse, error)
func (UnimplementedLightningServer) WalletBalance ¶
func (UnimplementedLightningServer) WalletBalance(context.Context, *WalletBalanceRequest) (*WalletBalanceResponse, error)
type UnimplementedStateServer ¶
type UnimplementedStateServer struct { }
UnimplementedStateServer must be embedded to have forward compatible implementations.
func (UnimplementedStateServer) GetState ¶
func (UnimplementedStateServer) GetState(context.Context, *GetStateRequest) (*GetStateResponse, error)
func (UnimplementedStateServer) SubscribeState ¶
func (UnimplementedStateServer) SubscribeState(*SubscribeStateRequest, State_SubscribeStateServer) error
type UnimplementedWalletUnlockerServer ¶
type UnimplementedWalletUnlockerServer struct { }
UnimplementedWalletUnlockerServer must be embedded to have forward compatible implementations.
func (UnimplementedWalletUnlockerServer) ChangePassword ¶
func (UnimplementedWalletUnlockerServer) ChangePassword(context.Context, *ChangePasswordRequest) (*ChangePasswordResponse, error)
func (UnimplementedWalletUnlockerServer) GenSeed ¶
func (UnimplementedWalletUnlockerServer) GenSeed(context.Context, *GenSeedRequest) (*GenSeedResponse, error)
func (UnimplementedWalletUnlockerServer) InitWallet ¶
func (UnimplementedWalletUnlockerServer) InitWallet(context.Context, *InitWalletRequest) (*InitWalletResponse, error)
func (UnimplementedWalletUnlockerServer) UnlockWallet ¶
func (UnimplementedWalletUnlockerServer) UnlockWallet(context.Context, *UnlockWalletRequest) (*UnlockWalletResponse, error)
type UnlockWalletRequest ¶
type UnlockWalletRequest struct { // //wallet_password should be the current valid passphrase for the daemon. This //will be required to decrypt on-disk material that the daemon requires to //function properly. When using REST, this field must be encoded as base64. WalletPassword []byte `protobuf:"bytes,1,opt,name=wallet_password,json=walletPassword,proto3" json:"wallet_password,omitempty"` // //recovery_window is an optional argument specifying the address lookahead //when restoring a wallet seed. The recovery window applies to each //individual branch of the BIP44 derivation paths. Supplying a recovery //window of zero indicates that no addresses should be recovered, such after //the first initialization of the wallet. RecoveryWindow int32 `protobuf:"varint,2,opt,name=recovery_window,json=recoveryWindow,proto3" json:"recovery_window,omitempty"` // //channel_backups is an optional argument that allows clients to recover the //settled funds within a set of channels. This should be populated if the //user was unable to close out all channels and sweep funds before partial or //total data loss occurred. If specified, then after on-chain recovery of //funds, lnd begin to carry out the data loss recovery protocol in order to //recover the funds in each channel from a remote force closed transaction. ChannelBackups *ChanBackupSnapshot `protobuf:"bytes,3,opt,name=channel_backups,json=channelBackups,proto3" json:"channel_backups,omitempty"` // //stateless_init is an optional argument instructing the daemon NOT to create //any *.macaroon files in its file system. StatelessInit bool `protobuf:"varint,4,opt,name=stateless_init,json=statelessInit,proto3" json:"stateless_init,omitempty"` // contains filtered or unexported fields }
func (*UnlockWalletRequest) Descriptor
deprecated
func (*UnlockWalletRequest) Descriptor() ([]byte, []int)
Deprecated: Use UnlockWalletRequest.ProtoReflect.Descriptor instead.
func (*UnlockWalletRequest) GetChannelBackups ¶
func (x *UnlockWalletRequest) GetChannelBackups() *ChanBackupSnapshot
func (*UnlockWalletRequest) GetRecoveryWindow ¶
func (x *UnlockWalletRequest) GetRecoveryWindow() int32
func (*UnlockWalletRequest) GetStatelessInit ¶
func (x *UnlockWalletRequest) GetStatelessInit() bool
func (*UnlockWalletRequest) GetWalletPassword ¶
func (x *UnlockWalletRequest) GetWalletPassword() []byte
func (*UnlockWalletRequest) ProtoMessage ¶
func (*UnlockWalletRequest) ProtoMessage()
func (*UnlockWalletRequest) ProtoReflect ¶
func (x *UnlockWalletRequest) ProtoReflect() protoreflect.Message
func (*UnlockWalletRequest) Reset ¶
func (x *UnlockWalletRequest) Reset()
func (*UnlockWalletRequest) String ¶
func (x *UnlockWalletRequest) String() string
type UnlockWalletResponse ¶
type UnlockWalletResponse struct {
// contains filtered or unexported fields
}
func (*UnlockWalletResponse) Descriptor
deprecated
func (*UnlockWalletResponse) Descriptor() ([]byte, []int)
Deprecated: Use UnlockWalletResponse.ProtoReflect.Descriptor instead.
func (*UnlockWalletResponse) ProtoMessage ¶
func (*UnlockWalletResponse) ProtoMessage()
func (*UnlockWalletResponse) ProtoReflect ¶
func (x *UnlockWalletResponse) ProtoReflect() protoreflect.Message
func (*UnlockWalletResponse) Reset ¶
func (x *UnlockWalletResponse) Reset()
func (*UnlockWalletResponse) String ¶
func (x *UnlockWalletResponse) String() string
type UnsafeLightningServer ¶
type UnsafeLightningServer interface {
// contains filtered or unexported methods
}
UnsafeLightningServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to LightningServer will result in compilation errors.
type UnsafeStateServer ¶
type UnsafeStateServer interface {
// contains filtered or unexported methods
}
UnsafeStateServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to StateServer will result in compilation errors.
type UnsafeWalletUnlockerServer ¶
type UnsafeWalletUnlockerServer interface {
// contains filtered or unexported methods
}
UnsafeWalletUnlockerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to WalletUnlockerServer will result in compilation errors.
type UpdateFailure ¶
type UpdateFailure int32
const ( UpdateFailure_UPDATE_FAILURE_UNKNOWN UpdateFailure = 0 UpdateFailure_UPDATE_FAILURE_PENDING UpdateFailure = 1 UpdateFailure_UPDATE_FAILURE_NOT_FOUND UpdateFailure = 2 UpdateFailure_UPDATE_FAILURE_INTERNAL_ERR UpdateFailure = 3 UpdateFailure_UPDATE_FAILURE_INVALID_PARAMETER UpdateFailure = 4 )
func (UpdateFailure) Descriptor ¶
func (UpdateFailure) Descriptor() protoreflect.EnumDescriptor
func (UpdateFailure) Enum ¶
func (x UpdateFailure) Enum() *UpdateFailure
func (UpdateFailure) EnumDescriptor
deprecated
func (UpdateFailure) EnumDescriptor() ([]byte, []int)
Deprecated: Use UpdateFailure.Descriptor instead.
func (UpdateFailure) Number ¶
func (x UpdateFailure) Number() protoreflect.EnumNumber
func (UpdateFailure) String ¶
func (x UpdateFailure) String() string
func (UpdateFailure) Type ¶
func (UpdateFailure) Type() protoreflect.EnumType
type Utxo ¶
type Utxo struct { // The type of address AddressType AddressType `protobuf:"varint,1,opt,name=address_type,json=addressType,proto3,enum=lnrpc.AddressType" json:"address_type,omitempty"` // The address Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` // The value of the unspent coin in satoshis AmountSat int64 `protobuf:"varint,3,opt,name=amount_sat,json=amountSat,proto3" json:"amount_sat,omitempty"` // The pkscript in hex PkScript string `protobuf:"bytes,4,opt,name=pk_script,json=pkScript,proto3" json:"pk_script,omitempty"` // The outpoint in format txid:n Outpoint *OutPoint `protobuf:"bytes,5,opt,name=outpoint,proto3" json:"outpoint,omitempty"` // The number of confirmations for the Utxo Confirmations int64 `protobuf:"varint,6,opt,name=confirmations,proto3" json:"confirmations,omitempty"` // contains filtered or unexported fields }
func MarshalUtxos ¶
MarshalUtxos translates a []*lnwallet.Utxo into a []*lnrpc.Utxo.
func (*Utxo) Descriptor
deprecated
func (*Utxo) GetAddress ¶
func (*Utxo) GetAddressType ¶
func (x *Utxo) GetAddressType() AddressType
func (*Utxo) GetAmountSat ¶
func (*Utxo) GetConfirmations ¶
func (*Utxo) GetOutpoint ¶
func (*Utxo) GetPkScript ¶
func (*Utxo) ProtoMessage ¶
func (*Utxo) ProtoMessage()
func (*Utxo) ProtoReflect ¶
func (x *Utxo) ProtoReflect() protoreflect.Message
type VerifyChanBackupResponse ¶
type VerifyChanBackupResponse struct {
// contains filtered or unexported fields
}
func (*VerifyChanBackupResponse) Descriptor
deprecated
func (*VerifyChanBackupResponse) Descriptor() ([]byte, []int)
Deprecated: Use VerifyChanBackupResponse.ProtoReflect.Descriptor instead.
func (*VerifyChanBackupResponse) ProtoMessage ¶
func (*VerifyChanBackupResponse) ProtoMessage()
func (*VerifyChanBackupResponse) ProtoReflect ¶
func (x *VerifyChanBackupResponse) ProtoReflect() protoreflect.Message
func (*VerifyChanBackupResponse) Reset ¶
func (x *VerifyChanBackupResponse) Reset()
func (*VerifyChanBackupResponse) String ¶
func (x *VerifyChanBackupResponse) String() string
type VerifyMessageRequest ¶
type VerifyMessageRequest struct { // //The message over which the signature is to be verified. When using REST, //this field must be encoded as base64. Msg []byte `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"` // The signature to be verified over the given message Signature string `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*VerifyMessageRequest) Descriptor
deprecated
func (*VerifyMessageRequest) Descriptor() ([]byte, []int)
Deprecated: Use VerifyMessageRequest.ProtoReflect.Descriptor instead.
func (*VerifyMessageRequest) GetMsg ¶
func (x *VerifyMessageRequest) GetMsg() []byte
func (*VerifyMessageRequest) GetSignature ¶
func (x *VerifyMessageRequest) GetSignature() string
func (*VerifyMessageRequest) ProtoMessage ¶
func (*VerifyMessageRequest) ProtoMessage()
func (*VerifyMessageRequest) ProtoReflect ¶
func (x *VerifyMessageRequest) ProtoReflect() protoreflect.Message
func (*VerifyMessageRequest) Reset ¶
func (x *VerifyMessageRequest) Reset()
func (*VerifyMessageRequest) String ¶
func (x *VerifyMessageRequest) String() string
type VerifyMessageResponse ¶
type VerifyMessageResponse struct { // Whether the signature was valid over the given message Valid bool `protobuf:"varint,1,opt,name=valid,proto3" json:"valid,omitempty"` // The pubkey recovered from the signature Pubkey string `protobuf:"bytes,2,opt,name=pubkey,proto3" json:"pubkey,omitempty"` // contains filtered or unexported fields }
func (*VerifyMessageResponse) Descriptor
deprecated
func (*VerifyMessageResponse) Descriptor() ([]byte, []int)
Deprecated: Use VerifyMessageResponse.ProtoReflect.Descriptor instead.
func (*VerifyMessageResponse) GetPubkey ¶
func (x *VerifyMessageResponse) GetPubkey() string
func (*VerifyMessageResponse) GetValid ¶
func (x *VerifyMessageResponse) GetValid() bool
func (*VerifyMessageResponse) ProtoMessage ¶
func (*VerifyMessageResponse) ProtoMessage()
func (*VerifyMessageResponse) ProtoReflect ¶
func (x *VerifyMessageResponse) ProtoReflect() protoreflect.Message
func (*VerifyMessageResponse) Reset ¶
func (x *VerifyMessageResponse) Reset()
func (*VerifyMessageResponse) String ¶
func (x *VerifyMessageResponse) String() string
type WalletAccountBalance ¶
type WalletAccountBalance struct { // The confirmed balance of the account (with >= 1 confirmations). ConfirmedBalance int64 `protobuf:"varint,1,opt,name=confirmed_balance,json=confirmedBalance,proto3" json:"confirmed_balance,omitempty"` // The unconfirmed balance of the account (with 0 confirmations). UnconfirmedBalance int64 `protobuf:"varint,2,opt,name=unconfirmed_balance,json=unconfirmedBalance,proto3" json:"unconfirmed_balance,omitempty"` // contains filtered or unexported fields }
func (*WalletAccountBalance) Descriptor
deprecated
func (*WalletAccountBalance) Descriptor() ([]byte, []int)
Deprecated: Use WalletAccountBalance.ProtoReflect.Descriptor instead.
func (*WalletAccountBalance) GetConfirmedBalance ¶
func (x *WalletAccountBalance) GetConfirmedBalance() int64
func (*WalletAccountBalance) GetUnconfirmedBalance ¶
func (x *WalletAccountBalance) GetUnconfirmedBalance() int64
func (*WalletAccountBalance) ProtoMessage ¶
func (*WalletAccountBalance) ProtoMessage()
func (*WalletAccountBalance) ProtoReflect ¶
func (x *WalletAccountBalance) ProtoReflect() protoreflect.Message
func (*WalletAccountBalance) Reset ¶
func (x *WalletAccountBalance) Reset()
func (*WalletAccountBalance) String ¶
func (x *WalletAccountBalance) String() string
type WalletBalanceRequest ¶
type WalletBalanceRequest struct {
// contains filtered or unexported fields
}
func (*WalletBalanceRequest) Descriptor
deprecated
func (*WalletBalanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use WalletBalanceRequest.ProtoReflect.Descriptor instead.
func (*WalletBalanceRequest) ProtoMessage ¶
func (*WalletBalanceRequest) ProtoMessage()
func (*WalletBalanceRequest) ProtoReflect ¶
func (x *WalletBalanceRequest) ProtoReflect() protoreflect.Message
func (*WalletBalanceRequest) Reset ¶
func (x *WalletBalanceRequest) Reset()
func (*WalletBalanceRequest) String ¶
func (x *WalletBalanceRequest) String() string
type WalletBalanceResponse ¶
type WalletBalanceResponse struct { // The balance of the wallet TotalBalance int64 `protobuf:"varint,1,opt,name=total_balance,json=totalBalance,proto3" json:"total_balance,omitempty"` // The confirmed balance of a wallet(with >= 1 confirmations) ConfirmedBalance int64 `protobuf:"varint,2,opt,name=confirmed_balance,json=confirmedBalance,proto3" json:"confirmed_balance,omitempty"` // The unconfirmed balance of a wallet(with 0 confirmations) UnconfirmedBalance int64 `protobuf:"varint,3,opt,name=unconfirmed_balance,json=unconfirmedBalance,proto3" json:"unconfirmed_balance,omitempty"` // A mapping of each wallet account's name to its balance. AccountBalance map[string]*WalletAccountBalance `` /* 191-byte string literal not displayed */ // contains filtered or unexported fields }
func (*WalletBalanceResponse) Descriptor
deprecated
func (*WalletBalanceResponse) Descriptor() ([]byte, []int)
Deprecated: Use WalletBalanceResponse.ProtoReflect.Descriptor instead.
func (*WalletBalanceResponse) GetAccountBalance ¶
func (x *WalletBalanceResponse) GetAccountBalance() map[string]*WalletAccountBalance
func (*WalletBalanceResponse) GetConfirmedBalance ¶
func (x *WalletBalanceResponse) GetConfirmedBalance() int64
func (*WalletBalanceResponse) GetTotalBalance ¶
func (x *WalletBalanceResponse) GetTotalBalance() int64
func (*WalletBalanceResponse) GetUnconfirmedBalance ¶
func (x *WalletBalanceResponse) GetUnconfirmedBalance() int64
func (*WalletBalanceResponse) ProtoMessage ¶
func (*WalletBalanceResponse) ProtoMessage()
func (*WalletBalanceResponse) ProtoReflect ¶
func (x *WalletBalanceResponse) ProtoReflect() protoreflect.Message
func (*WalletBalanceResponse) Reset ¶
func (x *WalletBalanceResponse) Reset()
func (*WalletBalanceResponse) String ¶
func (x *WalletBalanceResponse) String() string
type WalletState ¶
type WalletState int32
const ( WalletState_NON_EXISTING WalletState = 0 WalletState_LOCKED WalletState = 1 WalletState_UNLOCKED WalletState = 2 WalletState_RPC_ACTIVE WalletState = 3 // SERVER_ACTIVE means that the lnd server is ready to accept calls. WalletState_SERVER_ACTIVE WalletState = 4 WalletState_WAITING_TO_START WalletState = 255 )
func (WalletState) Descriptor ¶
func (WalletState) Descriptor() protoreflect.EnumDescriptor
func (WalletState) Enum ¶
func (x WalletState) Enum() *WalletState
func (WalletState) EnumDescriptor
deprecated
func (WalletState) EnumDescriptor() ([]byte, []int)
Deprecated: Use WalletState.Descriptor instead.
func (WalletState) Number ¶
func (x WalletState) Number() protoreflect.EnumNumber
func (WalletState) String ¶
func (x WalletState) String() string
func (WalletState) Type ¶
func (WalletState) Type() protoreflect.EnumType
type WalletUnlockerClient ¶
type WalletUnlockerClient interface { // //GenSeed is the first method that should be used to instantiate a new lnd //instance. This method allows a caller to generate a new aezeed cipher seed //given an optional passphrase. If provided, the passphrase will be necessary //to decrypt the cipherseed to expose the internal wallet seed. // //Once the cipherseed is obtained and verified by the user, the InitWallet //method should be used to commit the newly generated seed, and create the //wallet. GenSeed(ctx context.Context, in *GenSeedRequest, opts ...grpc.CallOption) (*GenSeedResponse, error) // //InitWallet is used when lnd is starting up for the first time to fully //initialize the daemon and its internal wallet. At the very least a wallet //password must be provided. This will be used to encrypt sensitive material //on disk. // //In the case of a recovery scenario, the user can also specify their aezeed //mnemonic and passphrase. If set, then the daemon will use this prior state //to initialize its internal wallet. // //Alternatively, this can be used along with the GenSeed RPC to obtain a //seed, then present it to the user. Once it has been verified by the user, //the seed can be fed into this RPC in order to commit the new wallet. InitWallet(ctx context.Context, in *InitWalletRequest, opts ...grpc.CallOption) (*InitWalletResponse, error) // lncli: `unlock` //UnlockWallet is used at startup of lnd to provide a password to unlock //the wallet database. UnlockWallet(ctx context.Context, in *UnlockWalletRequest, opts ...grpc.CallOption) (*UnlockWalletResponse, error) // lncli: `changepassword` //ChangePassword changes the password of the encrypted wallet. This will //automatically unlock the wallet database if successful. ChangePassword(ctx context.Context, in *ChangePasswordRequest, opts ...grpc.CallOption) (*ChangePasswordResponse, error) }
WalletUnlockerClient is the client API for WalletUnlocker service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewWalletUnlockerClient ¶
func NewWalletUnlockerClient(cc grpc.ClientConnInterface) WalletUnlockerClient
type WalletUnlockerServer ¶
type WalletUnlockerServer interface { // //GenSeed is the first method that should be used to instantiate a new lnd //instance. This method allows a caller to generate a new aezeed cipher seed //given an optional passphrase. If provided, the passphrase will be necessary //to decrypt the cipherseed to expose the internal wallet seed. // //Once the cipherseed is obtained and verified by the user, the InitWallet //method should be used to commit the newly generated seed, and create the //wallet. GenSeed(context.Context, *GenSeedRequest) (*GenSeedResponse, error) // //InitWallet is used when lnd is starting up for the first time to fully //initialize the daemon and its internal wallet. At the very least a wallet //password must be provided. This will be used to encrypt sensitive material //on disk. // //In the case of a recovery scenario, the user can also specify their aezeed //mnemonic and passphrase. If set, then the daemon will use this prior state //to initialize its internal wallet. // //Alternatively, this can be used along with the GenSeed RPC to obtain a //seed, then present it to the user. Once it has been verified by the user, //the seed can be fed into this RPC in order to commit the new wallet. InitWallet(context.Context, *InitWalletRequest) (*InitWalletResponse, error) // lncli: `unlock` //UnlockWallet is used at startup of lnd to provide a password to unlock //the wallet database. UnlockWallet(context.Context, *UnlockWalletRequest) (*UnlockWalletResponse, error) // lncli: `changepassword` //ChangePassword changes the password of the encrypted wallet. This will //automatically unlock the wallet database if successful. ChangePassword(context.Context, *ChangePasswordRequest) (*ChangePasswordResponse, error) // contains filtered or unexported methods }
WalletUnlockerServer is the server API for WalletUnlocker service. All implementations must embed UnimplementedWalletUnlockerServer for forward compatibility
type WatchOnly ¶
type WatchOnly struct { // //The unix timestamp in seconds of when the master key was created. lnd will //only start scanning for funds in blocks that are after the birthday which //can speed up the process significantly. If the birthday is not known, this //should be left at its default value of 0 in which case lnd will start //scanning from the first SegWit block (481824 on mainnet). MasterKeyBirthdayTimestamp uint64 `` /* 144-byte string literal not displayed */ // //The fingerprint of the root key (also known as the key with derivation path //m/) from which the account public keys were derived from. This may be //required by some hardware wallets for proper identification and signing. The //bytes must be in big-endian order. MasterKeyFingerprint []byte `protobuf:"bytes,2,opt,name=master_key_fingerprint,json=masterKeyFingerprint,proto3" json:"master_key_fingerprint,omitempty"` // //The list of accounts to import. There _must_ be an account for all of lnd's //main key scopes: BIP49/BIP84 (m/49'/0'/0', m/84'/0'/0', note that the //coin type is always 0, even for testnet/regtest) and lnd's internal key //scope (m/1017'/<coin_type>'/<account>'), where account is the key family as //defined in `keychain/derivation.go` (currently indices 0 to 9). Accounts []*WatchOnlyAccount `protobuf:"bytes,3,rep,name=accounts,proto3" json:"accounts,omitempty"` // contains filtered or unexported fields }
func (*WatchOnly) Descriptor
deprecated
func (*WatchOnly) GetAccounts ¶
func (x *WatchOnly) GetAccounts() []*WatchOnlyAccount
func (*WatchOnly) GetMasterKeyBirthdayTimestamp ¶
func (*WatchOnly) GetMasterKeyFingerprint ¶
func (*WatchOnly) ProtoMessage ¶
func (*WatchOnly) ProtoMessage()
func (*WatchOnly) ProtoReflect ¶
func (x *WatchOnly) ProtoReflect() protoreflect.Message
type WatchOnlyAccount ¶
type WatchOnlyAccount struct { // //Purpose is the first number in the derivation path, must be either 49, 84 //or 1017. Purpose uint32 `protobuf:"varint,1,opt,name=purpose,proto3" json:"purpose,omitempty"` // //Coin type is the second number in the derivation path, this is _always_ 0 //for purposes 49 and 84. It only needs to be set to 1 for purpose 1017 on //testnet or regtest. CoinType uint32 `protobuf:"varint,2,opt,name=coin_type,json=coinType,proto3" json:"coin_type,omitempty"` // //Account is the third number in the derivation path. For purposes 49 and 84 //at least the default account (index 0) needs to be created but optional //additional accounts are allowed. For purpose 1017 there needs to be exactly //one account for each of the key families defined in `keychain/derivation.go` //(currently indices 0 to 9) Account uint32 `protobuf:"varint,3,opt,name=account,proto3" json:"account,omitempty"` // //The extended public key at depth 3 for the given account. Xpub string `protobuf:"bytes,4,opt,name=xpub,proto3" json:"xpub,omitempty"` // contains filtered or unexported fields }
func (*WatchOnlyAccount) Descriptor
deprecated
func (*WatchOnlyAccount) Descriptor() ([]byte, []int)
Deprecated: Use WatchOnlyAccount.ProtoReflect.Descriptor instead.
func (*WatchOnlyAccount) GetAccount ¶
func (x *WatchOnlyAccount) GetAccount() uint32
func (*WatchOnlyAccount) GetCoinType ¶
func (x *WatchOnlyAccount) GetCoinType() uint32
func (*WatchOnlyAccount) GetPurpose ¶
func (x *WatchOnlyAccount) GetPurpose() uint32
func (*WatchOnlyAccount) GetXpub ¶
func (x *WatchOnlyAccount) GetXpub() string
func (*WatchOnlyAccount) ProtoMessage ¶
func (*WatchOnlyAccount) ProtoMessage()
func (*WatchOnlyAccount) ProtoReflect ¶
func (x *WatchOnlyAccount) ProtoReflect() protoreflect.Message
func (*WatchOnlyAccount) Reset ¶
func (x *WatchOnlyAccount) Reset()
func (*WatchOnlyAccount) String ¶
func (x *WatchOnlyAccount) String() string
type WebsocketProxy ¶
type WebsocketProxy struct {
// contains filtered or unexported fields
}
WebsocketProxy provides websocket transport upgrade to compatible endpoints.
func (*WebsocketProxy) ServeHTTP ¶
func (p *WebsocketProxy) ServeHTTP(w http.ResponseWriter, r *http.Request)
ServeHTTP handles the incoming HTTP request. If the request is an "upgradeable" WebSocket request (identified by header fields), then the WS proxy handles the request. Otherwise the request is passed directly to the underlying REST proxy.
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package autopilotrpc is a reverse proxy.
|
Package autopilotrpc is a reverse proxy. |
Package chainrpc is a reverse proxy.
|
Package chainrpc is a reverse proxy. |
Package invoicesrpc is a reverse proxy.
|
Package invoicesrpc is a reverse proxy. |
Package routerrpc is a reverse proxy.
|
Package routerrpc is a reverse proxy. |
Package signrpc is a reverse proxy.
|
Package signrpc is a reverse proxy. |
Package verrpc is a reverse proxy.
|
Package verrpc is a reverse proxy. |
Package walletrpc is a reverse proxy.
|
Package walletrpc is a reverse proxy. |
Package watchtowerrpc is a reverse proxy.
|
Package watchtowerrpc is a reverse proxy. |
Package wtclientrpc is a reverse proxy.
|
Package wtclientrpc is a reverse proxy. |