mirror of
https://github.com/aljazceru/lspd.git
synced 2025-12-23 00:34:21 +01:00
cleanup: remove openchannel rpc
This commit is contained in:
308
rpc/lspd.pb.go
308
rpc/lspd.pb.go
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.28.1
|
||||
// protoc v3.21.12
|
||||
// protoc v4.25.2
|
||||
// source: lspd.proto
|
||||
|
||||
package lspd
|
||||
@@ -25,7 +25,7 @@ type ChannelInformationRequest struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
/// The identity pubkey of the Lightning node
|
||||
// / The identity pubkey of the Lightning node
|
||||
Pubkey string `protobuf:"bytes,1,opt,name=pubkey,proto3" json:"pubkey,omitempty"`
|
||||
}
|
||||
|
||||
@@ -73,27 +73,27 @@ type ChannelInformationReply struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
/// The name of of lsp
|
||||
// / The name of of lsp
|
||||
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
||||
/// The identity pubkey of the Lightning node
|
||||
// / 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`
|
||||
// / 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
|
||||
// / 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.
|
||||
// / 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.
|
||||
// / 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.
|
||||
// / 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.
|
||||
// / 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.
|
||||
// / 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"`
|
||||
@@ -328,111 +328,6 @@ func (x *OpeningFeeParams) GetPromise() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
type OpenChannelRequest struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
/// The identity pubkey of the Lightning node
|
||||
Pubkey string `protobuf:"bytes,1,opt,name=pubkey,proto3" json:"pubkey,omitempty"`
|
||||
}
|
||||
|
||||
func (x *OpenChannelRequest) Reset() {
|
||||
*x = OpenChannelRequest{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_lspd_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *OpenChannelRequest) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*OpenChannelRequest) ProtoMessage() {}
|
||||
|
||||
func (x *OpenChannelRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_lspd_proto_msgTypes[3]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use OpenChannelRequest.ProtoReflect.Descriptor instead.
|
||||
func (*OpenChannelRequest) Descriptor() ([]byte, []int) {
|
||||
return file_lspd_proto_rawDescGZIP(), []int{3}
|
||||
}
|
||||
|
||||
func (x *OpenChannelRequest) GetPubkey() string {
|
||||
if x != nil {
|
||||
return x.Pubkey
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
type OpenChannelReply struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
/// 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"`
|
||||
}
|
||||
|
||||
func (x *OpenChannelReply) Reset() {
|
||||
*x = OpenChannelReply{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_lspd_proto_msgTypes[4]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *OpenChannelReply) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*OpenChannelReply) ProtoMessage() {}
|
||||
|
||||
func (x *OpenChannelReply) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_lspd_proto_msgTypes[4]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use OpenChannelReply.ProtoReflect.Descriptor instead.
|
||||
func (*OpenChannelReply) Descriptor() ([]byte, []int) {
|
||||
return file_lspd_proto_rawDescGZIP(), []int{4}
|
||||
}
|
||||
|
||||
func (x *OpenChannelReply) GetTxHash() string {
|
||||
if x != nil {
|
||||
return x.TxHash
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *OpenChannelReply) GetOutputIndex() uint32 {
|
||||
if x != nil {
|
||||
return x.OutputIndex
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
type RegisterPaymentRequest struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
@@ -444,7 +339,7 @@ type RegisterPaymentRequest struct {
|
||||
func (x *RegisterPaymentRequest) Reset() {
|
||||
*x = RegisterPaymentRequest{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_lspd_proto_msgTypes[5]
|
||||
mi := &file_lspd_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -457,7 +352,7 @@ func (x *RegisterPaymentRequest) String() string {
|
||||
func (*RegisterPaymentRequest) ProtoMessage() {}
|
||||
|
||||
func (x *RegisterPaymentRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_lspd_proto_msgTypes[5]
|
||||
mi := &file_lspd_proto_msgTypes[3]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -470,7 +365,7 @@ func (x *RegisterPaymentRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use RegisterPaymentRequest.ProtoReflect.Descriptor instead.
|
||||
func (*RegisterPaymentRequest) Descriptor() ([]byte, []int) {
|
||||
return file_lspd_proto_rawDescGZIP(), []int{5}
|
||||
return file_lspd_proto_rawDescGZIP(), []int{3}
|
||||
}
|
||||
|
||||
func (x *RegisterPaymentRequest) GetBlob() []byte {
|
||||
@@ -489,7 +384,7 @@ type RegisterPaymentReply struct {
|
||||
func (x *RegisterPaymentReply) Reset() {
|
||||
*x = RegisterPaymentReply{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_lspd_proto_msgTypes[6]
|
||||
mi := &file_lspd_proto_msgTypes[4]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -502,7 +397,7 @@ func (x *RegisterPaymentReply) String() string {
|
||||
func (*RegisterPaymentReply) ProtoMessage() {}
|
||||
|
||||
func (x *RegisterPaymentReply) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_lspd_proto_msgTypes[6]
|
||||
mi := &file_lspd_proto_msgTypes[4]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -515,7 +410,7 @@ func (x *RegisterPaymentReply) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use RegisterPaymentReply.ProtoReflect.Descriptor instead.
|
||||
func (*RegisterPaymentReply) Descriptor() ([]byte, []int) {
|
||||
return file_lspd_proto_rawDescGZIP(), []int{6}
|
||||
return file_lspd_proto_rawDescGZIP(), []int{4}
|
||||
}
|
||||
|
||||
type PaymentInformation struct {
|
||||
@@ -535,7 +430,7 @@ type PaymentInformation struct {
|
||||
func (x *PaymentInformation) Reset() {
|
||||
*x = PaymentInformation{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_lspd_proto_msgTypes[7]
|
||||
mi := &file_lspd_proto_msgTypes[5]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -548,7 +443,7 @@ func (x *PaymentInformation) String() string {
|
||||
func (*PaymentInformation) ProtoMessage() {}
|
||||
|
||||
func (x *PaymentInformation) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_lspd_proto_msgTypes[7]
|
||||
mi := &file_lspd_proto_msgTypes[5]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -561,7 +456,7 @@ func (x *PaymentInformation) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use PaymentInformation.ProtoReflect.Descriptor instead.
|
||||
func (*PaymentInformation) Descriptor() ([]byte, []int) {
|
||||
return file_lspd_proto_rawDescGZIP(), []int{7}
|
||||
return file_lspd_proto_rawDescGZIP(), []int{5}
|
||||
}
|
||||
|
||||
func (x *PaymentInformation) GetPaymentHash() []byte {
|
||||
@@ -624,7 +519,7 @@ type Encrypted struct {
|
||||
func (x *Encrypted) Reset() {
|
||||
*x = Encrypted{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_lspd_proto_msgTypes[8]
|
||||
mi := &file_lspd_proto_msgTypes[6]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -637,7 +532,7 @@ func (x *Encrypted) String() string {
|
||||
func (*Encrypted) ProtoMessage() {}
|
||||
|
||||
func (x *Encrypted) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_lspd_proto_msgTypes[8]
|
||||
mi := &file_lspd_proto_msgTypes[6]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -650,7 +545,7 @@ func (x *Encrypted) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use Encrypted.ProtoReflect.Descriptor instead.
|
||||
func (*Encrypted) Descriptor() ([]byte, []int) {
|
||||
return file_lspd_proto_rawDescGZIP(), []int{8}
|
||||
return file_lspd_proto_rawDescGZIP(), []int{6}
|
||||
}
|
||||
|
||||
func (x *Encrypted) GetData() []byte {
|
||||
@@ -673,7 +568,7 @@ type Signed struct {
|
||||
func (x *Signed) Reset() {
|
||||
*x = Signed{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_lspd_proto_msgTypes[9]
|
||||
mi := &file_lspd_proto_msgTypes[7]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -686,7 +581,7 @@ func (x *Signed) String() string {
|
||||
func (*Signed) ProtoMessage() {}
|
||||
|
||||
func (x *Signed) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_lspd_proto_msgTypes[9]
|
||||
mi := &file_lspd_proto_msgTypes[7]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -699,7 +594,7 @@ func (x *Signed) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use Signed.ProtoReflect.Descriptor instead.
|
||||
func (*Signed) Descriptor() ([]byte, []int) {
|
||||
return file_lspd_proto_rawDescGZIP(), []int{9}
|
||||
return file_lspd_proto_rawDescGZIP(), []int{7}
|
||||
}
|
||||
|
||||
func (x *Signed) GetData() []byte {
|
||||
@@ -736,7 +631,7 @@ type CheckChannelsRequest struct {
|
||||
func (x *CheckChannelsRequest) Reset() {
|
||||
*x = CheckChannelsRequest{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_lspd_proto_msgTypes[10]
|
||||
mi := &file_lspd_proto_msgTypes[8]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -749,7 +644,7 @@ func (x *CheckChannelsRequest) String() string {
|
||||
func (*CheckChannelsRequest) ProtoMessage() {}
|
||||
|
||||
func (x *CheckChannelsRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_lspd_proto_msgTypes[10]
|
||||
mi := &file_lspd_proto_msgTypes[8]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -762,7 +657,7 @@ func (x *CheckChannelsRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use CheckChannelsRequest.ProtoReflect.Descriptor instead.
|
||||
func (*CheckChannelsRequest) Descriptor() ([]byte, []int) {
|
||||
return file_lspd_proto_rawDescGZIP(), []int{10}
|
||||
return file_lspd_proto_rawDescGZIP(), []int{8}
|
||||
}
|
||||
|
||||
func (x *CheckChannelsRequest) GetEncryptPubkey() []byte {
|
||||
@@ -798,7 +693,7 @@ type CheckChannelsReply struct {
|
||||
func (x *CheckChannelsReply) Reset() {
|
||||
*x = CheckChannelsReply{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_lspd_proto_msgTypes[11]
|
||||
mi := &file_lspd_proto_msgTypes[9]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -811,7 +706,7 @@ func (x *CheckChannelsReply) String() string {
|
||||
func (*CheckChannelsReply) ProtoMessage() {}
|
||||
|
||||
func (x *CheckChannelsReply) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_lspd_proto_msgTypes[11]
|
||||
mi := &file_lspd_proto_msgTypes[9]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -824,7 +719,7 @@ func (x *CheckChannelsReply) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use CheckChannelsReply.ProtoReflect.Descriptor instead.
|
||||
func (*CheckChannelsReply) Descriptor() ([]byte, []int) {
|
||||
return file_lspd_proto_rawDescGZIP(), []int{11}
|
||||
return file_lspd_proto_rawDescGZIP(), []int{9}
|
||||
}
|
||||
|
||||
func (x *CheckChannelsReply) GetNotFakeChannels() map[string]uint64 {
|
||||
@@ -900,15 +795,7 @@ var file_lspd_proto_rawDesc = []byte{
|
||||
0x6c, 0x61, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x14, 0x6d, 0x61, 0x78, 0x43, 0x6c,
|
||||
0x69, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x53, 0x65, 0x6c, 0x66, 0x44, 0x65, 0x6c, 0x61, 0x79, 0x12,
|
||||
0x18, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6d, 0x69, 0x73, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09,
|
||||
0x52, 0x07, 0x70, 0x72, 0x6f, 0x6d, 0x69, 0x73, 0x65, 0x22, 0x2c, 0x0a, 0x12, 0x4f, 0x70, 0x65,
|
||||
0x6e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
||||
0x16, 0x0a, 0x06, 0x70, 0x75, 0x62, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||||
0x06, 0x70, 0x75, 0x62, 0x6b, 0x65, 0x79, 0x22, 0x50, 0x0a, 0x10, 0x4f, 0x70, 0x65, 0x6e, 0x43,
|
||||
0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x74,
|
||||
0x78, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x74, 0x78,
|
||||
0x5f, 0x68, 0x61, 0x73, 0x68, 0x12, 0x22, 0x0a, 0x0c, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f,
|
||||
0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x6f, 0x75, 0x74,
|
||||
0x70, 0x75, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x22, 0x2c, 0x0a, 0x16, 0x52, 0x65, 0x67,
|
||||
0x52, 0x07, 0x70, 0x72, 0x6f, 0x6d, 0x69, 0x73, 0x65, 0x22, 0x2c, 0x0a, 0x16, 0x52, 0x65, 0x67,
|
||||
0x69, 0x73, 0x74, 0x65, 0x72, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75,
|
||||
0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x62, 0x6c, 0x6f, 0x62, 0x18, 0x03, 0x20, 0x01, 0x28,
|
||||
0x0c, 0x52, 0x04, 0x62, 0x6c, 0x6f, 0x62, 0x22, 0x16, 0x0a, 0x14, 0x52, 0x65, 0x67, 0x69, 0x73,
|
||||
@@ -985,31 +872,26 @@ var file_lspd_proto_rawDesc = []byte{
|
||||
0x73, 0x65, 0x64, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79,
|
||||
0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b,
|
||||
0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
|
||||
0x04, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x32, 0xae, 0x02, 0x0a,
|
||||
0x04, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x32, 0xeb, 0x01, 0x0a,
|
||||
0x0d, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4f, 0x70, 0x65, 0x6e, 0x65, 0x72, 0x12, 0x56,
|
||||
0x0a, 0x12, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61,
|
||||
0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x2e, 0x6c, 0x73, 0x70, 0x64, 0x2e, 0x43, 0x68, 0x61, 0x6e,
|
||||
0x6e, 0x65, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65,
|
||||
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x6c, 0x73, 0x70, 0x64, 0x2e, 0x43, 0x68, 0x61,
|
||||
0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52,
|
||||
0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x41, 0x0a, 0x0b, 0x4f, 0x70, 0x65, 0x6e, 0x43, 0x68,
|
||||
0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x18, 0x2e, 0x6c, 0x73, 0x70, 0x64, 0x2e, 0x4f, 0x70, 0x65,
|
||||
0x6e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
|
||||
0x16, 0x2e, 0x6c, 0x73, 0x70, 0x64, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x6e,
|
||||
0x65, 0x6c, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x4d, 0x0a, 0x0f, 0x52, 0x65, 0x67,
|
||||
0x69, 0x73, 0x74, 0x65, 0x72, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x1c, 0x2e, 0x6c,
|
||||
0x73, 0x70, 0x64, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x50, 0x61, 0x79, 0x6d,
|
||||
0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x6c, 0x73, 0x70,
|
||||
0x64, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e,
|
||||
0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x33, 0x0a, 0x0d, 0x43, 0x68, 0x65, 0x63,
|
||||
0x6b, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x12, 0x0f, 0x2e, 0x6c, 0x73, 0x70, 0x64,
|
||||
0x2e, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x1a, 0x0f, 0x2e, 0x6c, 0x73, 0x70,
|
||||
0x64, 0x2e, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x22, 0x00, 0x42, 0x3a, 0x0a,
|
||||
0x14, 0x69, 0x6f, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x6c, 0x73, 0x70, 0x64, 0x2e, 0x73, 0x65,
|
||||
0x72, 0x76, 0x69, 0x63, 0x65, 0x42, 0x09, 0x4c, 0x73, 0x70, 0x64, 0x50, 0x72, 0x6f, 0x74, 0x6f,
|
||||
0x50, 0x01, 0x5a, 0x15, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x62,
|
||||
0x72, 0x65, 0x65, 0x7a, 0x2f, 0x6c, 0x73, 0x70, 0x64, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
||||
0x33,
|
||||
0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x4d, 0x0a, 0x0f, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74,
|
||||
0x65, 0x72, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x1c, 0x2e, 0x6c, 0x73, 0x70, 0x64,
|
||||
0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74,
|
||||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x6c, 0x73, 0x70, 0x64, 0x2e, 0x52,
|
||||
0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65,
|
||||
0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x33, 0x0a, 0x0d, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x43, 0x68,
|
||||
0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x12, 0x0f, 0x2e, 0x6c, 0x73, 0x70, 0x64, 0x2e, 0x45, 0x6e,
|
||||
0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x1a, 0x0f, 0x2e, 0x6c, 0x73, 0x70, 0x64, 0x2e, 0x45,
|
||||
0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x22, 0x00, 0x42, 0x3a, 0x0a, 0x14, 0x69, 0x6f,
|
||||
0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x6c, 0x73, 0x70, 0x64, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69,
|
||||
0x63, 0x65, 0x42, 0x09, 0x4c, 0x73, 0x70, 0x64, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a,
|
||||
0x15, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x62, 0x72, 0x65, 0x65,
|
||||
0x7a, 0x2f, 0x6c, 0x73, 0x70, 0x64, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
|
||||
var (
|
||||
@@ -1024,42 +906,38 @@ func file_lspd_proto_rawDescGZIP() []byte {
|
||||
return file_lspd_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_lspd_proto_msgTypes = make([]protoimpl.MessageInfo, 16)
|
||||
var file_lspd_proto_msgTypes = make([]protoimpl.MessageInfo, 14)
|
||||
var file_lspd_proto_goTypes = []interface{}{
|
||||
(*ChannelInformationRequest)(nil), // 0: lspd.ChannelInformationRequest
|
||||
(*ChannelInformationReply)(nil), // 1: lspd.ChannelInformationReply
|
||||
(*OpeningFeeParams)(nil), // 2: lspd.OpeningFeeParams
|
||||
(*OpenChannelRequest)(nil), // 3: lspd.OpenChannelRequest
|
||||
(*OpenChannelReply)(nil), // 4: lspd.OpenChannelReply
|
||||
(*RegisterPaymentRequest)(nil), // 5: lspd.RegisterPaymentRequest
|
||||
(*RegisterPaymentReply)(nil), // 6: lspd.RegisterPaymentReply
|
||||
(*PaymentInformation)(nil), // 7: lspd.PaymentInformation
|
||||
(*Encrypted)(nil), // 8: lspd.Encrypted
|
||||
(*Signed)(nil), // 9: lspd.Signed
|
||||
(*CheckChannelsRequest)(nil), // 10: lspd.CheckChannelsRequest
|
||||
(*CheckChannelsReply)(nil), // 11: lspd.CheckChannelsReply
|
||||
nil, // 12: lspd.CheckChannelsRequest.FakeChannelsEntry
|
||||
nil, // 13: lspd.CheckChannelsRequest.WaitingCloseChannelsEntry
|
||||
nil, // 14: lspd.CheckChannelsReply.NotFakeChannelsEntry
|
||||
nil, // 15: lspd.CheckChannelsReply.ClosedChannelsEntry
|
||||
(*RegisterPaymentRequest)(nil), // 3: lspd.RegisterPaymentRequest
|
||||
(*RegisterPaymentReply)(nil), // 4: lspd.RegisterPaymentReply
|
||||
(*PaymentInformation)(nil), // 5: lspd.PaymentInformation
|
||||
(*Encrypted)(nil), // 6: lspd.Encrypted
|
||||
(*Signed)(nil), // 7: lspd.Signed
|
||||
(*CheckChannelsRequest)(nil), // 8: lspd.CheckChannelsRequest
|
||||
(*CheckChannelsReply)(nil), // 9: lspd.CheckChannelsReply
|
||||
nil, // 10: lspd.CheckChannelsRequest.FakeChannelsEntry
|
||||
nil, // 11: lspd.CheckChannelsRequest.WaitingCloseChannelsEntry
|
||||
nil, // 12: lspd.CheckChannelsReply.NotFakeChannelsEntry
|
||||
nil, // 13: lspd.CheckChannelsReply.ClosedChannelsEntry
|
||||
}
|
||||
var file_lspd_proto_depIdxs = []int32{
|
||||
2, // 0: lspd.ChannelInformationReply.opening_fee_params_menu:type_name -> lspd.OpeningFeeParams
|
||||
2, // 1: lspd.PaymentInformation.opening_fee_params:type_name -> lspd.OpeningFeeParams
|
||||
12, // 2: lspd.CheckChannelsRequest.fake_channels:type_name -> lspd.CheckChannelsRequest.FakeChannelsEntry
|
||||
13, // 3: lspd.CheckChannelsRequest.waiting_close_channels:type_name -> lspd.CheckChannelsRequest.WaitingCloseChannelsEntry
|
||||
14, // 4: lspd.CheckChannelsReply.not_fake_channels:type_name -> lspd.CheckChannelsReply.NotFakeChannelsEntry
|
||||
15, // 5: lspd.CheckChannelsReply.closed_channels:type_name -> lspd.CheckChannelsReply.ClosedChannelsEntry
|
||||
10, // 2: lspd.CheckChannelsRequest.fake_channels:type_name -> lspd.CheckChannelsRequest.FakeChannelsEntry
|
||||
11, // 3: lspd.CheckChannelsRequest.waiting_close_channels:type_name -> lspd.CheckChannelsRequest.WaitingCloseChannelsEntry
|
||||
12, // 4: lspd.CheckChannelsReply.not_fake_channels:type_name -> lspd.CheckChannelsReply.NotFakeChannelsEntry
|
||||
13, // 5: lspd.CheckChannelsReply.closed_channels:type_name -> lspd.CheckChannelsReply.ClosedChannelsEntry
|
||||
0, // 6: lspd.ChannelOpener.ChannelInformation:input_type -> lspd.ChannelInformationRequest
|
||||
3, // 7: lspd.ChannelOpener.OpenChannel:input_type -> lspd.OpenChannelRequest
|
||||
5, // 8: lspd.ChannelOpener.RegisterPayment:input_type -> lspd.RegisterPaymentRequest
|
||||
8, // 9: lspd.ChannelOpener.CheckChannels:input_type -> lspd.Encrypted
|
||||
1, // 10: lspd.ChannelOpener.ChannelInformation:output_type -> lspd.ChannelInformationReply
|
||||
4, // 11: lspd.ChannelOpener.OpenChannel:output_type -> lspd.OpenChannelReply
|
||||
6, // 12: lspd.ChannelOpener.RegisterPayment:output_type -> lspd.RegisterPaymentReply
|
||||
8, // 13: lspd.ChannelOpener.CheckChannels:output_type -> lspd.Encrypted
|
||||
10, // [10:14] is the sub-list for method output_type
|
||||
6, // [6:10] is the sub-list for method input_type
|
||||
3, // 7: lspd.ChannelOpener.RegisterPayment:input_type -> lspd.RegisterPaymentRequest
|
||||
6, // 8: lspd.ChannelOpener.CheckChannels:input_type -> lspd.Encrypted
|
||||
1, // 9: lspd.ChannelOpener.ChannelInformation:output_type -> lspd.ChannelInformationReply
|
||||
4, // 10: lspd.ChannelOpener.RegisterPayment:output_type -> lspd.RegisterPaymentReply
|
||||
6, // 11: lspd.ChannelOpener.CheckChannels:output_type -> lspd.Encrypted
|
||||
9, // [9:12] is the sub-list for method output_type
|
||||
6, // [6:9] is the sub-list for method input_type
|
||||
6, // [6:6] is the sub-list for extension type_name
|
||||
6, // [6:6] is the sub-list for extension extendee
|
||||
0, // [0:6] is the sub-list for field type_name
|
||||
@@ -1108,30 +986,6 @@ func file_lspd_proto_init() {
|
||||
}
|
||||
}
|
||||
file_lspd_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*OpenChannelRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_lspd_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*OpenChannelReply); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_lspd_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*RegisterPaymentRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1143,7 +997,7 @@ func file_lspd_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_lspd_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_lspd_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*RegisterPaymentReply); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1155,7 +1009,7 @@ func file_lspd_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_lspd_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_lspd_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*PaymentInformation); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1167,7 +1021,7 @@ func file_lspd_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_lspd_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_lspd_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*Encrypted); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1179,7 +1033,7 @@ func file_lspd_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_lspd_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_lspd_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*Signed); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1191,7 +1045,7 @@ func file_lspd_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_lspd_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_lspd_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*CheckChannelsRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1203,7 +1057,7 @@ func file_lspd_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_lspd_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_lspd_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*CheckChannelsReply); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1222,7 +1076,7 @@ func file_lspd_proto_init() {
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_lspd_proto_rawDesc,
|
||||
NumEnums: 0,
|
||||
NumMessages: 16,
|
||||
NumMessages: 14,
|
||||
NumExtensions: 0,
|
||||
NumServices: 1,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user