Documentation ¶
Index ¶
- Variables
- func RegisterChannelOpenerServer(s grpc.ServiceRegistrar, srv ChannelOpenerServer)
- type ChannelInformationReply
- func (*ChannelInformationReply) Descriptor() ([]byte, []int)deprecated
- func (x *ChannelInformationReply) GetBaseFeeMsat() int64
- func (x *ChannelInformationReply) GetChannelCapacity() int64
- func (x *ChannelInformationReply) GetChannelFeePermyriad() int64deprecated
- func (x *ChannelInformationReply) GetChannelMinimumFeeMsat() int64deprecated
- func (x *ChannelInformationReply) GetFeeRate() float64
- func (x *ChannelInformationReply) GetHost() string
- func (x *ChannelInformationReply) GetLspPubkey() []byte
- func (x *ChannelInformationReply) GetMaxInactiveDuration() int64deprecated
- func (x *ChannelInformationReply) GetMinHtlcMsat() int64
- func (x *ChannelInformationReply) GetName() string
- func (x *ChannelInformationReply) GetOpeningFeeParamsMenu() []*OpeningFeeParams
- func (x *ChannelInformationReply) GetPubkey() string
- func (x *ChannelInformationReply) GetTargetConf() int32
- func (x *ChannelInformationReply) GetTimeLockDelta() uint32
- func (*ChannelInformationReply) ProtoMessage()
- func (x *ChannelInformationReply) ProtoReflect() protoreflect.Message
- func (x *ChannelInformationReply) Reset()
- func (x *ChannelInformationReply) String() string
- type ChannelInformationRequest
- func (*ChannelInformationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ChannelInformationRequest) GetPubkey() string
- func (*ChannelInformationRequest) ProtoMessage()
- func (x *ChannelInformationRequest) ProtoReflect() protoreflect.Message
- func (x *ChannelInformationRequest) Reset()
- func (x *ChannelInformationRequest) String() string
- type ChannelOpenerClient
- type ChannelOpenerServer
- type CheckChannelsReply
- func (*CheckChannelsReply) Descriptor() ([]byte, []int)deprecated
- func (x *CheckChannelsReply) GetClosedChannels() map[string]uint64
- func (x *CheckChannelsReply) GetNotFakeChannels() map[string]uint64
- func (*CheckChannelsReply) ProtoMessage()
- func (x *CheckChannelsReply) ProtoReflect() protoreflect.Message
- func (x *CheckChannelsReply) Reset()
- func (x *CheckChannelsReply) String() string
- type CheckChannelsRequest
- func (*CheckChannelsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CheckChannelsRequest) GetEncryptPubkey() []byte
- func (x *CheckChannelsRequest) GetFakeChannels() map[string]uint64
- func (x *CheckChannelsRequest) GetWaitingCloseChannels() map[string]uint64
- func (*CheckChannelsRequest) ProtoMessage()
- func (x *CheckChannelsRequest) ProtoReflect() protoreflect.Message
- func (x *CheckChannelsRequest) Reset()
- func (x *CheckChannelsRequest) String() string
- type Encrypted
- type OpenChannelReply
- func (*OpenChannelReply) Descriptor() ([]byte, []int)deprecated
- func (x *OpenChannelReply) GetOutputIndex() uint32
- func (x *OpenChannelReply) GetTxHash() string
- func (*OpenChannelReply) ProtoMessage()
- func (x *OpenChannelReply) ProtoReflect() protoreflect.Message
- func (x *OpenChannelReply) Reset()
- func (x *OpenChannelReply) String() string
- type OpenChannelRequest
- func (*OpenChannelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *OpenChannelRequest) GetPubkey() string
- func (*OpenChannelRequest) ProtoMessage()
- func (x *OpenChannelRequest) ProtoReflect() protoreflect.Message
- func (x *OpenChannelRequest) Reset()
- func (x *OpenChannelRequest) String() string
- type OpeningFeeParams
- func (*OpeningFeeParams) Descriptor() ([]byte, []int)deprecated
- func (x *OpeningFeeParams) GetMaxClientToSelfDelay() uint32
- func (x *OpeningFeeParams) GetMaxIdleTime() uint32
- func (x *OpeningFeeParams) GetMinMsat() uint64
- func (x *OpeningFeeParams) GetPromise() string
- func (x *OpeningFeeParams) GetProportional() uint32
- func (x *OpeningFeeParams) GetValidUntil() string
- func (*OpeningFeeParams) ProtoMessage()
- func (x *OpeningFeeParams) ProtoReflect() protoreflect.Message
- func (x *OpeningFeeParams) Reset()
- func (x *OpeningFeeParams) String() string
- type PaymentInformation
- func (*PaymentInformation) Descriptor() ([]byte, []int)deprecated
- func (x *PaymentInformation) GetDestination() []byte
- func (x *PaymentInformation) GetIncomingAmountMsat() int64
- func (x *PaymentInformation) GetOpeningFeeParams() *OpeningFeeParams
- func (x *PaymentInformation) GetOutgoingAmountMsat() int64
- func (x *PaymentInformation) GetPaymentHash() []byte
- func (x *PaymentInformation) GetPaymentSecret() []byte
- func (x *PaymentInformation) GetTag() string
- func (*PaymentInformation) ProtoMessage()
- func (x *PaymentInformation) ProtoReflect() protoreflect.Message
- func (x *PaymentInformation) Reset()
- func (x *PaymentInformation) String() string
- type RegisterPaymentReply
- type RegisterPaymentRequest
- func (*RegisterPaymentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterPaymentRequest) GetBlob() []byte
- func (*RegisterPaymentRequest) ProtoMessage()
- func (x *RegisterPaymentRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterPaymentRequest) Reset()
- func (x *RegisterPaymentRequest) String() string
- type Signed
- func (*Signed) Descriptor() ([]byte, []int)deprecated
- func (x *Signed) GetData() []byte
- func (x *Signed) GetPubkey() []byte
- func (x *Signed) GetSignature() []byte
- func (*Signed) ProtoMessage()
- func (x *Signed) ProtoReflect() protoreflect.Message
- func (x *Signed) Reset()
- func (x *Signed) String() string
- type UnimplementedChannelOpenerServer
- func (UnimplementedChannelOpenerServer) ChannelInformation(context.Context, *ChannelInformationRequest) (*ChannelInformationReply, error)
- func (UnimplementedChannelOpenerServer) CheckChannels(context.Context, *Encrypted) (*Encrypted, error)
- func (UnimplementedChannelOpenerServer) OpenChannel(context.Context, *OpenChannelRequest) (*OpenChannelReply, error)
- func (UnimplementedChannelOpenerServer) RegisterPayment(context.Context, *RegisterPaymentRequest) (*RegisterPaymentReply, error)
- type UnsafeChannelOpenerServer
Constants ¶
This section is empty.
Variables ¶
var ChannelOpener_ServiceDesc = grpc.ServiceDesc{ ServiceName: "lspd.ChannelOpener", HandlerType: (*ChannelOpenerServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ChannelInformation", Handler: _ChannelOpener_ChannelInformation_Handler, }, { MethodName: "OpenChannel", Handler: _ChannelOpener_OpenChannel_Handler, }, { MethodName: "RegisterPayment", Handler: _ChannelOpener_RegisterPayment_Handler, }, { MethodName: "CheckChannels", Handler: _ChannelOpener_CheckChannels_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "lspd.proto", }
ChannelOpener_ServiceDesc is the grpc.ServiceDesc for ChannelOpener service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_lspd_proto protoreflect.FileDescriptor
Functions ¶
func RegisterChannelOpenerServer ¶
func RegisterChannelOpenerServer(s grpc.ServiceRegistrar, srv ChannelOpenerServer)
Types ¶
type ChannelInformationReply ¶
type ChannelInformationReply struct { /// The name of of lsp Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` /// The identity pubkey of the Lightning node Pubkey string `protobuf:"bytes,2,opt,name=pubkey,proto3" json:"pubkey,omitempty"` /// The network location of the lightning node, e.g. `12.34.56.78:9012` or /// `localhost:10011` Host string `protobuf:"bytes,3,opt,name=host,proto3" json:"host,omitempty"` /// The channel capacity in satoshis ChannelCapacity int64 `protobuf:"varint,4,opt,name=channel_capacity,proto3" json:"channel_capacity,omitempty"` /// The target number of blocks that the funding transaction should be /// confirmed by. TargetConf int32 `protobuf:"varint,5,opt,name=target_conf,proto3" json:"target_conf,omitempty"` /// The base fee charged regardless of the number of milli-satoshis sent. BaseFeeMsat int64 `protobuf:"varint,6,opt,name=base_fee_msat,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,7,opt,name=fee_rate,proto3" json:"fee_rate,omitempty"` /// The required timelock delta for HTLCs forwarded over the channel. TimeLockDelta uint32 `protobuf:"varint,8,opt,name=time_lock_delta,proto3" json:"time_lock_delta,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,proto3" json:"min_htlc_msat,omitempty"` // Deprecated: Do not use. ChannelFeePermyriad int64 `protobuf:"varint,10,opt,name=channel_fee_permyriad,json=channelFeePermyriad,proto3" json:"channel_fee_permyriad,omitempty"` LspPubkey []byte `protobuf:"bytes,11,opt,name=lsp_pubkey,json=lspPubkey,proto3" json:"lsp_pubkey,omitempty"` // The channel can be closed if not used this duration in seconds. // // Deprecated: Do not use. MaxInactiveDuration int64 `protobuf:"varint,12,opt,name=max_inactive_duration,json=maxInactiveDuration,proto3" json:"max_inactive_duration,omitempty"` // Deprecated: Do not use. ChannelMinimumFeeMsat int64 `` /* 130-byte string literal not displayed */ OpeningFeeParamsMenu []*OpeningFeeParams `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ChannelInformationReply) Descriptor
deprecated
func (*ChannelInformationReply) Descriptor() ([]byte, []int)
Deprecated: Use ChannelInformationReply.ProtoReflect.Descriptor instead.
func (*ChannelInformationReply) GetBaseFeeMsat ¶
func (x *ChannelInformationReply) GetBaseFeeMsat() int64
func (*ChannelInformationReply) GetChannelCapacity ¶
func (x *ChannelInformationReply) GetChannelCapacity() int64
func (*ChannelInformationReply) GetChannelFeePermyriad
deprecated
func (x *ChannelInformationReply) GetChannelFeePermyriad() int64
Deprecated: Do not use.
func (*ChannelInformationReply) GetChannelMinimumFeeMsat
deprecated
func (x *ChannelInformationReply) GetChannelMinimumFeeMsat() int64
Deprecated: Do not use.
func (*ChannelInformationReply) GetFeeRate ¶
func (x *ChannelInformationReply) GetFeeRate() float64
func (*ChannelInformationReply) GetHost ¶
func (x *ChannelInformationReply) GetHost() string
func (*ChannelInformationReply) GetLspPubkey ¶
func (x *ChannelInformationReply) GetLspPubkey() []byte
func (*ChannelInformationReply) GetMaxInactiveDuration
deprecated
func (x *ChannelInformationReply) GetMaxInactiveDuration() int64
Deprecated: Do not use.
func (*ChannelInformationReply) GetMinHtlcMsat ¶
func (x *ChannelInformationReply) GetMinHtlcMsat() int64
func (*ChannelInformationReply) GetName ¶
func (x *ChannelInformationReply) GetName() string
func (*ChannelInformationReply) GetOpeningFeeParamsMenu ¶
func (x *ChannelInformationReply) GetOpeningFeeParamsMenu() []*OpeningFeeParams
func (*ChannelInformationReply) GetPubkey ¶
func (x *ChannelInformationReply) GetPubkey() string
func (*ChannelInformationReply) GetTargetConf ¶
func (x *ChannelInformationReply) GetTargetConf() int32
func (*ChannelInformationReply) GetTimeLockDelta ¶
func (x *ChannelInformationReply) GetTimeLockDelta() uint32
func (*ChannelInformationReply) ProtoMessage ¶
func (*ChannelInformationReply) ProtoMessage()
func (*ChannelInformationReply) ProtoReflect ¶
func (x *ChannelInformationReply) ProtoReflect() protoreflect.Message
func (*ChannelInformationReply) Reset ¶
func (x *ChannelInformationReply) Reset()
func (*ChannelInformationReply) String ¶
func (x *ChannelInformationReply) String() string
type ChannelInformationRequest ¶
type ChannelInformationRequest struct { /// The identity pubkey of the Lightning node Pubkey string `protobuf:"bytes,1,opt,name=pubkey,proto3" json:"pubkey,omitempty"` // contains filtered or unexported fields }
func (*ChannelInformationRequest) Descriptor
deprecated
func (*ChannelInformationRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChannelInformationRequest.ProtoReflect.Descriptor instead.
func (*ChannelInformationRequest) GetPubkey ¶
func (x *ChannelInformationRequest) GetPubkey() string
func (*ChannelInformationRequest) ProtoMessage ¶
func (*ChannelInformationRequest) ProtoMessage()
func (*ChannelInformationRequest) ProtoReflect ¶
func (x *ChannelInformationRequest) ProtoReflect() protoreflect.Message
func (*ChannelInformationRequest) Reset ¶
func (x *ChannelInformationRequest) Reset()
func (*ChannelInformationRequest) String ¶
func (x *ChannelInformationRequest) String() string
type ChannelOpenerClient ¶
type ChannelOpenerClient interface { ChannelInformation(ctx context.Context, in *ChannelInformationRequest, opts ...grpc.CallOption) (*ChannelInformationReply, error) OpenChannel(ctx context.Context, in *OpenChannelRequest, opts ...grpc.CallOption) (*OpenChannelReply, error) RegisterPayment(ctx context.Context, in *RegisterPaymentRequest, opts ...grpc.CallOption) (*RegisterPaymentReply, error) CheckChannels(ctx context.Context, in *Encrypted, opts ...grpc.CallOption) (*Encrypted, error) }
ChannelOpenerClient is the client API for ChannelOpener 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 NewChannelOpenerClient ¶
func NewChannelOpenerClient(cc grpc.ClientConnInterface) ChannelOpenerClient
type ChannelOpenerServer ¶
type ChannelOpenerServer interface { ChannelInformation(context.Context, *ChannelInformationRequest) (*ChannelInformationReply, error) OpenChannel(context.Context, *OpenChannelRequest) (*OpenChannelReply, error) RegisterPayment(context.Context, *RegisterPaymentRequest) (*RegisterPaymentReply, error) CheckChannels(context.Context, *Encrypted) (*Encrypted, error) // contains filtered or unexported methods }
ChannelOpenerServer is the server API for ChannelOpener service. All implementations must embed UnimplementedChannelOpenerServer for forward compatibility
type CheckChannelsReply ¶
type CheckChannelsReply struct { NotFakeChannels map[string]uint64 `` /* 197-byte string literal not displayed */ ClosedChannels map[string]uint64 `` /* 192-byte string literal not displayed */ // contains filtered or unexported fields }
func (*CheckChannelsReply) Descriptor
deprecated
func (*CheckChannelsReply) Descriptor() ([]byte, []int)
Deprecated: Use CheckChannelsReply.ProtoReflect.Descriptor instead.
func (*CheckChannelsReply) GetClosedChannels ¶
func (x *CheckChannelsReply) GetClosedChannels() map[string]uint64
func (*CheckChannelsReply) GetNotFakeChannels ¶
func (x *CheckChannelsReply) GetNotFakeChannels() map[string]uint64
func (*CheckChannelsReply) ProtoMessage ¶
func (*CheckChannelsReply) ProtoMessage()
func (*CheckChannelsReply) ProtoReflect ¶
func (x *CheckChannelsReply) ProtoReflect() protoreflect.Message
func (*CheckChannelsReply) Reset ¶
func (x *CheckChannelsReply) Reset()
func (*CheckChannelsReply) String ¶
func (x *CheckChannelsReply) String() string
type CheckChannelsRequest ¶
type CheckChannelsRequest struct { EncryptPubkey []byte `protobuf:"bytes,1,opt,name=encrypt_pubkey,json=encryptPubkey,proto3" json:"encrypt_pubkey,omitempty"` FakeChannels map[string]uint64 `` /* 186-byte string literal not displayed */ WaitingCloseChannels map[string]uint64 `` /* 212-byte string literal not displayed */ // contains filtered or unexported fields }
func (*CheckChannelsRequest) Descriptor
deprecated
func (*CheckChannelsRequest) Descriptor() ([]byte, []int)
Deprecated: Use CheckChannelsRequest.ProtoReflect.Descriptor instead.
func (*CheckChannelsRequest) GetEncryptPubkey ¶
func (x *CheckChannelsRequest) GetEncryptPubkey() []byte
func (*CheckChannelsRequest) GetFakeChannels ¶
func (x *CheckChannelsRequest) GetFakeChannels() map[string]uint64
func (*CheckChannelsRequest) GetWaitingCloseChannels ¶
func (x *CheckChannelsRequest) GetWaitingCloseChannels() map[string]uint64
func (*CheckChannelsRequest) ProtoMessage ¶
func (*CheckChannelsRequest) ProtoMessage()
func (*CheckChannelsRequest) ProtoReflect ¶
func (x *CheckChannelsRequest) ProtoReflect() protoreflect.Message
func (*CheckChannelsRequest) Reset ¶
func (x *CheckChannelsRequest) Reset()
func (*CheckChannelsRequest) String ¶
func (x *CheckChannelsRequest) String() string
type Encrypted ¶
type Encrypted struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*Encrypted) Descriptor
deprecated
func (*Encrypted) ProtoMessage ¶
func (*Encrypted) ProtoMessage()
func (*Encrypted) ProtoReflect ¶
func (x *Encrypted) ProtoReflect() protoreflect.Message
type OpenChannelReply ¶
type OpenChannelReply struct { /// The transaction hash TxHash string `protobuf:"bytes,1,opt,name=tx_hash,proto3" json:"tx_hash,omitempty"` /// The output index OutputIndex uint32 `protobuf:"varint,2,opt,name=output_index,proto3" json:"output_index,omitempty"` // contains filtered or unexported fields }
func (*OpenChannelReply) Descriptor
deprecated
func (*OpenChannelReply) Descriptor() ([]byte, []int)
Deprecated: Use OpenChannelReply.ProtoReflect.Descriptor instead.
func (*OpenChannelReply) GetOutputIndex ¶
func (x *OpenChannelReply) GetOutputIndex() uint32
func (*OpenChannelReply) GetTxHash ¶
func (x *OpenChannelReply) GetTxHash() string
func (*OpenChannelReply) ProtoMessage ¶
func (*OpenChannelReply) ProtoMessage()
func (*OpenChannelReply) ProtoReflect ¶
func (x *OpenChannelReply) ProtoReflect() protoreflect.Message
func (*OpenChannelReply) Reset ¶
func (x *OpenChannelReply) Reset()
func (*OpenChannelReply) String ¶
func (x *OpenChannelReply) String() string
type OpenChannelRequest ¶
type OpenChannelRequest struct { /// The identity pubkey of the Lightning node Pubkey string `protobuf:"bytes,1,opt,name=pubkey,proto3" json:"pubkey,omitempty"` // contains filtered or unexported fields }
func (*OpenChannelRequest) Descriptor
deprecated
func (*OpenChannelRequest) Descriptor() ([]byte, []int)
Deprecated: Use OpenChannelRequest.ProtoReflect.Descriptor instead.
func (*OpenChannelRequest) GetPubkey ¶
func (x *OpenChannelRequest) GetPubkey() string
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 OpeningFeeParams ¶
type OpeningFeeParams struct { MinMsat uint64 `protobuf:"varint,1,opt,name=min_msat,json=minMsat,proto3" json:"min_msat,omitempty"` Proportional uint32 `protobuf:"varint,2,opt,name=proportional,proto3" json:"proportional,omitempty"` ValidUntil string `protobuf:"bytes,3,opt,name=valid_until,json=validUntil,proto3" json:"valid_until,omitempty"` // The channel can be closed if not used this duration in blocks. MaxIdleTime uint32 `protobuf:"varint,4,opt,name=max_idle_time,json=maxIdleTime,proto3" json:"max_idle_time,omitempty"` MaxClientToSelfDelay uint32 `` /* 128-byte string literal not displayed */ Promise string `protobuf:"bytes,6,opt,name=promise,proto3" json:"promise,omitempty"` // contains filtered or unexported fields }
func (*OpeningFeeParams) Descriptor
deprecated
func (*OpeningFeeParams) Descriptor() ([]byte, []int)
Deprecated: Use OpeningFeeParams.ProtoReflect.Descriptor instead.
func (*OpeningFeeParams) GetMaxClientToSelfDelay ¶
func (x *OpeningFeeParams) GetMaxClientToSelfDelay() uint32
func (*OpeningFeeParams) GetMaxIdleTime ¶
func (x *OpeningFeeParams) GetMaxIdleTime() uint32
func (*OpeningFeeParams) GetMinMsat ¶
func (x *OpeningFeeParams) GetMinMsat() uint64
func (*OpeningFeeParams) GetPromise ¶
func (x *OpeningFeeParams) GetPromise() string
func (*OpeningFeeParams) GetProportional ¶
func (x *OpeningFeeParams) GetProportional() uint32
func (*OpeningFeeParams) GetValidUntil ¶
func (x *OpeningFeeParams) GetValidUntil() string
func (*OpeningFeeParams) ProtoMessage ¶
func (*OpeningFeeParams) ProtoMessage()
func (*OpeningFeeParams) ProtoReflect ¶
func (x *OpeningFeeParams) ProtoReflect() protoreflect.Message
func (*OpeningFeeParams) Reset ¶
func (x *OpeningFeeParams) Reset()
func (*OpeningFeeParams) String ¶
func (x *OpeningFeeParams) String() string
type PaymentInformation ¶
type PaymentInformation struct { PaymentHash []byte `protobuf:"bytes,1,opt,name=payment_hash,json=paymentHash,proto3" json:"payment_hash,omitempty"` PaymentSecret []byte `protobuf:"bytes,2,opt,name=payment_secret,json=paymentSecret,proto3" json:"payment_secret,omitempty"` Destination []byte `protobuf:"bytes,3,opt,name=destination,proto3" json:"destination,omitempty"` IncomingAmountMsat int64 `protobuf:"varint,4,opt,name=incoming_amount_msat,json=incomingAmountMsat,proto3" json:"incoming_amount_msat,omitempty"` OutgoingAmountMsat int64 `protobuf:"varint,5,opt,name=outgoing_amount_msat,json=outgoingAmountMsat,proto3" json:"outgoing_amount_msat,omitempty"` Tag string `protobuf:"bytes,6,opt,name=tag,proto3" json:"tag,omitempty"` OpeningFeeParams *OpeningFeeParams `protobuf:"bytes,7,opt,name=opening_fee_params,json=openingFeeParams,proto3" json:"opening_fee_params,omitempty"` // contains filtered or unexported fields }
func (*PaymentInformation) Descriptor
deprecated
func (*PaymentInformation) Descriptor() ([]byte, []int)
Deprecated: Use PaymentInformation.ProtoReflect.Descriptor instead.
func (*PaymentInformation) GetDestination ¶
func (x *PaymentInformation) GetDestination() []byte
func (*PaymentInformation) GetIncomingAmountMsat ¶
func (x *PaymentInformation) GetIncomingAmountMsat() int64
func (*PaymentInformation) GetOpeningFeeParams ¶
func (x *PaymentInformation) GetOpeningFeeParams() *OpeningFeeParams
func (*PaymentInformation) GetOutgoingAmountMsat ¶
func (x *PaymentInformation) GetOutgoingAmountMsat() int64
func (*PaymentInformation) GetPaymentHash ¶
func (x *PaymentInformation) GetPaymentHash() []byte
func (*PaymentInformation) GetPaymentSecret ¶
func (x *PaymentInformation) GetPaymentSecret() []byte
func (*PaymentInformation) GetTag ¶
func (x *PaymentInformation) GetTag() string
func (*PaymentInformation) ProtoMessage ¶
func (*PaymentInformation) ProtoMessage()
func (*PaymentInformation) ProtoReflect ¶
func (x *PaymentInformation) ProtoReflect() protoreflect.Message
func (*PaymentInformation) Reset ¶
func (x *PaymentInformation) Reset()
func (*PaymentInformation) String ¶
func (x *PaymentInformation) String() string
type RegisterPaymentReply ¶
type RegisterPaymentReply struct {
// contains filtered or unexported fields
}
func (*RegisterPaymentReply) Descriptor
deprecated
func (*RegisterPaymentReply) Descriptor() ([]byte, []int)
Deprecated: Use RegisterPaymentReply.ProtoReflect.Descriptor instead.
func (*RegisterPaymentReply) ProtoMessage ¶
func (*RegisterPaymentReply) ProtoMessage()
func (*RegisterPaymentReply) ProtoReflect ¶
func (x *RegisterPaymentReply) ProtoReflect() protoreflect.Message
func (*RegisterPaymentReply) Reset ¶
func (x *RegisterPaymentReply) Reset()
func (*RegisterPaymentReply) String ¶
func (x *RegisterPaymentReply) String() string
type RegisterPaymentRequest ¶
type RegisterPaymentRequest struct { Blob []byte `protobuf:"bytes,3,opt,name=blob,proto3" json:"blob,omitempty"` // contains filtered or unexported fields }
func (*RegisterPaymentRequest) Descriptor
deprecated
func (*RegisterPaymentRequest) Descriptor() ([]byte, []int)
Deprecated: Use RegisterPaymentRequest.ProtoReflect.Descriptor instead.
func (*RegisterPaymentRequest) GetBlob ¶
func (x *RegisterPaymentRequest) GetBlob() []byte
func (*RegisterPaymentRequest) ProtoMessage ¶
func (*RegisterPaymentRequest) ProtoMessage()
func (*RegisterPaymentRequest) ProtoReflect ¶
func (x *RegisterPaymentRequest) ProtoReflect() protoreflect.Message
func (*RegisterPaymentRequest) Reset ¶
func (x *RegisterPaymentRequest) Reset()
func (*RegisterPaymentRequest) String ¶
func (x *RegisterPaymentRequest) String() string
type Signed ¶
type Signed struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` Pubkey []byte `protobuf:"bytes,2,opt,name=pubkey,proto3" json:"pubkey,omitempty"` Signature []byte `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*Signed) Descriptor
deprecated
func (*Signed) GetSignature ¶
func (*Signed) ProtoMessage ¶
func (*Signed) ProtoMessage()
func (*Signed) ProtoReflect ¶
func (x *Signed) ProtoReflect() protoreflect.Message
type UnimplementedChannelOpenerServer ¶
type UnimplementedChannelOpenerServer struct { }
UnimplementedChannelOpenerServer must be embedded to have forward compatible implementations.
func (UnimplementedChannelOpenerServer) ChannelInformation ¶
func (UnimplementedChannelOpenerServer) ChannelInformation(context.Context, *ChannelInformationRequest) (*ChannelInformationReply, error)
func (UnimplementedChannelOpenerServer) CheckChannels ¶
func (UnimplementedChannelOpenerServer) OpenChannel ¶
func (UnimplementedChannelOpenerServer) OpenChannel(context.Context, *OpenChannelRequest) (*OpenChannelReply, error)
func (UnimplementedChannelOpenerServer) RegisterPayment ¶
func (UnimplementedChannelOpenerServer) RegisterPayment(context.Context, *RegisterPaymentRequest) (*RegisterPaymentReply, error)
type UnsafeChannelOpenerServer ¶
type UnsafeChannelOpenerServer interface {
// contains filtered or unexported methods
}
UnsafeChannelOpenerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ChannelOpenerServer will result in compilation errors.