• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

lightningnetwork / lnd / 13481890706

23 Feb 2025 09:53AM UTC coverage: 46.221% (-12.6%) from 58.825%
13481890706

Pull #9521

github

web-flow
Merge 9fb980a6f into 5fe900d18
Pull Request #9521: unit: remove GOACC, use Go 1.20 native coverage functionality

105094 of 227374 relevant lines covered (46.22%)

19705.84 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

9.31
/lnrpc/peersrpc/peers.pb.go
1
// Code generated by protoc-gen-go. DO NOT EDIT.
2
// versions:
3
//         protoc-gen-go v1.33.0
4
//         protoc        v3.21.12
5
// source: peersrpc/peers.proto
6

7
package peersrpc
8

9
import (
10
        lnrpc "github.com/lightningnetwork/lnd/lnrpc"
11
        protoreflect "google.golang.org/protobuf/reflect/protoreflect"
12
        protoimpl "google.golang.org/protobuf/runtime/protoimpl"
13
        reflect "reflect"
14
        sync "sync"
15
)
16

17
const (
18
        // Verify that this generated code is sufficiently up-to-date.
19
        _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
20
        // Verify that runtime/protoimpl is sufficiently up-to-date.
21
        _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
22
)
23

24
// UpdateAction is used to determine the kind of action we are referring to.
25
type UpdateAction int32
26

27
const (
28
        // ADD indicates this is an "insertion" kind of action.
29
        UpdateAction_ADD UpdateAction = 0
30
        // REMOVE indicates this is a "deletion" kind of action.
31
        UpdateAction_REMOVE UpdateAction = 1
32
)
33

34
// Enum value maps for UpdateAction.
35
var (
36
        UpdateAction_name = map[int32]string{
37
                0: "ADD",
38
                1: "REMOVE",
39
        }
40
        UpdateAction_value = map[string]int32{
41
                "ADD":    0,
42
                "REMOVE": 1,
43
        }
44
)
45

46
func (x UpdateAction) Enum() *UpdateAction {
×
47
        p := new(UpdateAction)
×
48
        *p = x
×
49
        return p
×
50
}
×
51

52
func (x UpdateAction) String() string {
×
53
        return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
×
54
}
×
55

56
func (UpdateAction) Descriptor() protoreflect.EnumDescriptor {
×
57
        return file_peersrpc_peers_proto_enumTypes[0].Descriptor()
×
58
}
×
59

60
func (UpdateAction) Type() protoreflect.EnumType {
×
61
        return &file_peersrpc_peers_proto_enumTypes[0]
×
62
}
×
63

64
func (x UpdateAction) Number() protoreflect.EnumNumber {
×
65
        return protoreflect.EnumNumber(x)
×
66
}
×
67

68
// Deprecated: Use UpdateAction.Descriptor instead.
69
func (UpdateAction) EnumDescriptor() ([]byte, []int) {
×
70
        return file_peersrpc_peers_proto_rawDescGZIP(), []int{0}
×
71
}
×
72

73
type FeatureSet int32
74

75
const (
76
        // SET_INIT identifies features that should be sent in an Init message to
77
        // a remote peer.
78
        FeatureSet_SET_INIT FeatureSet = 0
79
        // SET_LEGACY_GLOBAL identifies features that should be set in the legacy
80
        // GlobalFeatures field of an Init message, which maintains backwards
81
        // compatibility with nodes that haven't implemented flat features.
82
        FeatureSet_SET_LEGACY_GLOBAL FeatureSet = 1
83
        // SET_NODE_ANN identifies features that should be advertised on node
84
        // announcements.
85
        FeatureSet_SET_NODE_ANN FeatureSet = 2
86
        // SET_INVOICE identifies features that should be advertised on invoices
87
        // generated by the daemon.
88
        FeatureSet_SET_INVOICE FeatureSet = 3
89
        // SET_INVOICE_AMP identifies the features that should be advertised on
90
        // AMP invoices generated by the daemon.
91
        FeatureSet_SET_INVOICE_AMP FeatureSet = 4
92
)
93

94
// Enum value maps for FeatureSet.
95
var (
96
        FeatureSet_name = map[int32]string{
97
                0: "SET_INIT",
98
                1: "SET_LEGACY_GLOBAL",
99
                2: "SET_NODE_ANN",
100
                3: "SET_INVOICE",
101
                4: "SET_INVOICE_AMP",
102
        }
103
        FeatureSet_value = map[string]int32{
104
                "SET_INIT":          0,
105
                "SET_LEGACY_GLOBAL": 1,
106
                "SET_NODE_ANN":      2,
107
                "SET_INVOICE":       3,
108
                "SET_INVOICE_AMP":   4,
109
        }
110
)
111

112
func (x FeatureSet) Enum() *FeatureSet {
×
113
        p := new(FeatureSet)
×
114
        *p = x
×
115
        return p
×
116
}
×
117

118
func (x FeatureSet) String() string {
×
119
        return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
×
120
}
×
121

122
func (FeatureSet) Descriptor() protoreflect.EnumDescriptor {
×
123
        return file_peersrpc_peers_proto_enumTypes[1].Descriptor()
×
124
}
×
125

126
func (FeatureSet) Type() protoreflect.EnumType {
×
127
        return &file_peersrpc_peers_proto_enumTypes[1]
×
128
}
×
129

130
func (x FeatureSet) Number() protoreflect.EnumNumber {
×
131
        return protoreflect.EnumNumber(x)
×
132
}
×
133

134
// Deprecated: Use FeatureSet.Descriptor instead.
135
func (FeatureSet) EnumDescriptor() ([]byte, []int) {
×
136
        return file_peersrpc_peers_proto_rawDescGZIP(), []int{1}
×
137
}
×
138

139
type UpdateAddressAction struct {
140
        state         protoimpl.MessageState
141
        sizeCache     protoimpl.SizeCache
142
        unknownFields protoimpl.UnknownFields
143

144
        // Determines the kind of action.
145
        Action UpdateAction `protobuf:"varint,1,opt,name=action,proto3,enum=peersrpc.UpdateAction" json:"action,omitempty"`
146
        // The address used to apply the update action.
147
        Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
148
}
149

150
func (x *UpdateAddressAction) Reset() {
×
151
        *x = UpdateAddressAction{}
×
152
        if protoimpl.UnsafeEnabled {
×
153
                mi := &file_peersrpc_peers_proto_msgTypes[0]
×
154
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
155
                ms.StoreMessageInfo(mi)
×
156
        }
×
157
}
158

159
func (x *UpdateAddressAction) String() string {
×
160
        return protoimpl.X.MessageStringOf(x)
×
161
}
×
162

163
func (*UpdateAddressAction) ProtoMessage() {}
×
164

165
func (x *UpdateAddressAction) ProtoReflect() protoreflect.Message {
×
166
        mi := &file_peersrpc_peers_proto_msgTypes[0]
×
167
        if protoimpl.UnsafeEnabled && x != nil {
×
168
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
169
                if ms.LoadMessageInfo() == nil {
×
170
                        ms.StoreMessageInfo(mi)
×
171
                }
×
172
                return ms
×
173
        }
174
        return mi.MessageOf(x)
×
175
}
176

177
// Deprecated: Use UpdateAddressAction.ProtoReflect.Descriptor instead.
178
func (*UpdateAddressAction) Descriptor() ([]byte, []int) {
×
179
        return file_peersrpc_peers_proto_rawDescGZIP(), []int{0}
×
180
}
×
181

182
func (x *UpdateAddressAction) GetAction() UpdateAction {
×
183
        if x != nil {
×
184
                return x.Action
×
185
        }
×
186
        return UpdateAction_ADD
×
187
}
188

189
func (x *UpdateAddressAction) GetAddress() string {
×
190
        if x != nil {
×
191
                return x.Address
×
192
        }
×
193
        return ""
×
194
}
195

196
type UpdateFeatureAction struct {
197
        state         protoimpl.MessageState
198
        sizeCache     protoimpl.SizeCache
199
        unknownFields protoimpl.UnknownFields
200

201
        // Determines the kind of action.
202
        Action UpdateAction `protobuf:"varint,1,opt,name=action,proto3,enum=peersrpc.UpdateAction" json:"action,omitempty"`
203
        // The feature bit used to apply the update action.
204
        FeatureBit lnrpc.FeatureBit `protobuf:"varint,2,opt,name=feature_bit,json=featureBit,proto3,enum=lnrpc.FeatureBit" json:"feature_bit,omitempty"`
205
}
206

207
func (x *UpdateFeatureAction) Reset() {
×
208
        *x = UpdateFeatureAction{}
×
209
        if protoimpl.UnsafeEnabled {
×
210
                mi := &file_peersrpc_peers_proto_msgTypes[1]
×
211
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
212
                ms.StoreMessageInfo(mi)
×
213
        }
×
214
}
215

216
func (x *UpdateFeatureAction) String() string {
×
217
        return protoimpl.X.MessageStringOf(x)
×
218
}
×
219

220
func (*UpdateFeatureAction) ProtoMessage() {}
×
221

222
func (x *UpdateFeatureAction) ProtoReflect() protoreflect.Message {
×
223
        mi := &file_peersrpc_peers_proto_msgTypes[1]
×
224
        if protoimpl.UnsafeEnabled && x != nil {
×
225
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
226
                if ms.LoadMessageInfo() == nil {
×
227
                        ms.StoreMessageInfo(mi)
×
228
                }
×
229
                return ms
×
230
        }
231
        return mi.MessageOf(x)
×
232
}
233

234
// Deprecated: Use UpdateFeatureAction.ProtoReflect.Descriptor instead.
235
func (*UpdateFeatureAction) Descriptor() ([]byte, []int) {
×
236
        return file_peersrpc_peers_proto_rawDescGZIP(), []int{1}
×
237
}
×
238

239
func (x *UpdateFeatureAction) GetAction() UpdateAction {
×
240
        if x != nil {
×
241
                return x.Action
×
242
        }
×
243
        return UpdateAction_ADD
×
244
}
245

246
func (x *UpdateFeatureAction) GetFeatureBit() lnrpc.FeatureBit {
×
247
        if x != nil {
×
248
                return x.FeatureBit
×
249
        }
×
250
        return lnrpc.FeatureBit(0)
×
251
}
252

253
type NodeAnnouncementUpdateRequest struct {
254
        state         protoimpl.MessageState
255
        sizeCache     protoimpl.SizeCache
256
        unknownFields protoimpl.UnknownFields
257

258
        // Set of changes for the features that the node supports.
259
        FeatureUpdates []*UpdateFeatureAction `protobuf:"bytes,1,rep,name=feature_updates,json=featureUpdates,proto3" json:"feature_updates,omitempty"`
260
        // Color is the node's color in hex code format.
261
        Color string `protobuf:"bytes,2,opt,name=color,proto3" json:"color,omitempty"`
262
        // Alias or nick name of the node.
263
        Alias string `protobuf:"bytes,3,opt,name=alias,proto3" json:"alias,omitempty"`
264
        // Set of changes for the node's known addresses.
265
        AddressUpdates []*UpdateAddressAction `protobuf:"bytes,4,rep,name=address_updates,json=addressUpdates,proto3" json:"address_updates,omitempty"`
266
}
267

268
func (x *NodeAnnouncementUpdateRequest) Reset() {
×
269
        *x = NodeAnnouncementUpdateRequest{}
×
270
        if protoimpl.UnsafeEnabled {
×
271
                mi := &file_peersrpc_peers_proto_msgTypes[2]
×
272
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
273
                ms.StoreMessageInfo(mi)
×
274
        }
×
275
}
276

277
func (x *NodeAnnouncementUpdateRequest) String() string {
×
278
        return protoimpl.X.MessageStringOf(x)
×
279
}
×
280

281
func (*NodeAnnouncementUpdateRequest) ProtoMessage() {}
×
282

283
func (x *NodeAnnouncementUpdateRequest) ProtoReflect() protoreflect.Message {
×
284
        mi := &file_peersrpc_peers_proto_msgTypes[2]
×
285
        if protoimpl.UnsafeEnabled && x != nil {
×
286
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
287
                if ms.LoadMessageInfo() == nil {
×
288
                        ms.StoreMessageInfo(mi)
×
289
                }
×
290
                return ms
×
291
        }
292
        return mi.MessageOf(x)
×
293
}
294

295
// Deprecated: Use NodeAnnouncementUpdateRequest.ProtoReflect.Descriptor instead.
296
func (*NodeAnnouncementUpdateRequest) Descriptor() ([]byte, []int) {
×
297
        return file_peersrpc_peers_proto_rawDescGZIP(), []int{2}
×
298
}
×
299

300
func (x *NodeAnnouncementUpdateRequest) GetFeatureUpdates() []*UpdateFeatureAction {
×
301
        if x != nil {
×
302
                return x.FeatureUpdates
×
303
        }
×
304
        return nil
×
305
}
306

307
func (x *NodeAnnouncementUpdateRequest) GetColor() string {
×
308
        if x != nil {
×
309
                return x.Color
×
310
        }
×
311
        return ""
×
312
}
313

314
func (x *NodeAnnouncementUpdateRequest) GetAlias() string {
×
315
        if x != nil {
×
316
                return x.Alias
×
317
        }
×
318
        return ""
×
319
}
320

321
func (x *NodeAnnouncementUpdateRequest) GetAddressUpdates() []*UpdateAddressAction {
×
322
        if x != nil {
×
323
                return x.AddressUpdates
×
324
        }
×
325
        return nil
×
326
}
327

328
type NodeAnnouncementUpdateResponse struct {
329
        state         protoimpl.MessageState
330
        sizeCache     protoimpl.SizeCache
331
        unknownFields protoimpl.UnknownFields
332

333
        Ops []*lnrpc.Op `protobuf:"bytes,1,rep,name=ops,proto3" json:"ops,omitempty"`
334
}
335

336
func (x *NodeAnnouncementUpdateResponse) Reset() {
×
337
        *x = NodeAnnouncementUpdateResponse{}
×
338
        if protoimpl.UnsafeEnabled {
×
339
                mi := &file_peersrpc_peers_proto_msgTypes[3]
×
340
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
341
                ms.StoreMessageInfo(mi)
×
342
        }
×
343
}
344

345
func (x *NodeAnnouncementUpdateResponse) String() string {
×
346
        return protoimpl.X.MessageStringOf(x)
×
347
}
×
348

349
func (*NodeAnnouncementUpdateResponse) ProtoMessage() {}
×
350

351
func (x *NodeAnnouncementUpdateResponse) ProtoReflect() protoreflect.Message {
×
352
        mi := &file_peersrpc_peers_proto_msgTypes[3]
×
353
        if protoimpl.UnsafeEnabled && x != nil {
×
354
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
355
                if ms.LoadMessageInfo() == nil {
×
356
                        ms.StoreMessageInfo(mi)
×
357
                }
×
358
                return ms
×
359
        }
360
        return mi.MessageOf(x)
×
361
}
362

363
// Deprecated: Use NodeAnnouncementUpdateResponse.ProtoReflect.Descriptor instead.
364
func (*NodeAnnouncementUpdateResponse) Descriptor() ([]byte, []int) {
×
365
        return file_peersrpc_peers_proto_rawDescGZIP(), []int{3}
×
366
}
×
367

368
func (x *NodeAnnouncementUpdateResponse) GetOps() []*lnrpc.Op {
×
369
        if x != nil {
×
370
                return x.Ops
×
371
        }
×
372
        return nil
×
373
}
374

375
var File_peersrpc_peers_proto protoreflect.FileDescriptor
376

377
var file_peersrpc_peers_proto_rawDesc = []byte{
378
        0x0a, 0x14, 0x70, 0x65, 0x65, 0x72, 0x73, 0x72, 0x70, 0x63, 0x2f, 0x70, 0x65, 0x65, 0x72, 0x73,
379
        0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x70, 0x65, 0x65, 0x72, 0x73, 0x72, 0x70, 0x63,
380
        0x1a, 0x0f, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74,
381
        0x6f, 0x22, 0x5f, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x64, 0x64, 0x72, 0x65,
382
        0x73, 0x73, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2e, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69,
383
        0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x70, 0x65, 0x65, 0x72, 0x73,
384
        0x72, 0x70, 0x63, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e,
385
        0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72,
386
        0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65,
387
        0x73, 0x73, 0x22, 0x79, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x46, 0x65, 0x61, 0x74,
388
        0x75, 0x72, 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2e, 0x0a, 0x06, 0x61, 0x63, 0x74,
389
        0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x70, 0x65, 0x65, 0x72,
390
        0x73, 0x72, 0x70, 0x63, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f,
391
        0x6e, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x32, 0x0a, 0x0b, 0x66, 0x65, 0x61,
392
        0x74, 0x75, 0x72, 0x65, 0x5f, 0x62, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x11,
393
        0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x42, 0x69,
394
        0x74, 0x52, 0x0a, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x42, 0x69, 0x74, 0x22, 0xdb, 0x01,
395
        0x0a, 0x1d, 0x4e, 0x6f, 0x64, 0x65, 0x41, 0x6e, 0x6e, 0x6f, 0x75, 0x6e, 0x63, 0x65, 0x6d, 0x65,
396
        0x6e, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
397
        0x46, 0x0a, 0x0f, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74,
398
        0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x70, 0x65, 0x65, 0x72, 0x73,
399
        0x72, 0x70, 0x63, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72,
400
        0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65,
401
        0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x6c, 0x6f, 0x72,
402
        0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x12, 0x14, 0x0a,
403
        0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x6c,
404
        0x69, 0x61, 0x73, 0x12, 0x46, 0x0a, 0x0f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x75,
405
        0x70, 0x64, 0x61, 0x74, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x70,
406
        0x65, 0x65, 0x72, 0x73, 0x72, 0x70, 0x63, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x64,
407
        0x64, 0x72, 0x65, 0x73, 0x73, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x61, 0x64, 0x64,
408
        0x72, 0x65, 0x73, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, 0x22, 0x3d, 0x0a, 0x1e, 0x4e,
409
        0x6f, 0x64, 0x65, 0x41, 0x6e, 0x6e, 0x6f, 0x75, 0x6e, 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x55,
410
        0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1b, 0x0a,
411
        0x03, 0x6f, 0x70, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x6c, 0x6e, 0x72,
412
        0x70, 0x63, 0x2e, 0x4f, 0x70, 0x52, 0x03, 0x6f, 0x70, 0x73, 0x2a, 0x23, 0x0a, 0x0c, 0x55, 0x70,
413
        0x64, 0x61, 0x74, 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x44,
414
        0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x52, 0x45, 0x4d, 0x4f, 0x56, 0x45, 0x10, 0x01, 0x2a,
415
        0x69, 0x0a, 0x0a, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x12, 0x0c, 0x0a,
416
        0x08, 0x53, 0x45, 0x54, 0x5f, 0x49, 0x4e, 0x49, 0x54, 0x10, 0x00, 0x12, 0x15, 0x0a, 0x11, 0x53,
417
        0x45, 0x54, 0x5f, 0x4c, 0x45, 0x47, 0x41, 0x43, 0x59, 0x5f, 0x47, 0x4c, 0x4f, 0x42, 0x41, 0x4c,
418
        0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x53, 0x45, 0x54, 0x5f, 0x4e, 0x4f, 0x44, 0x45, 0x5f, 0x41,
419
        0x4e, 0x4e, 0x10, 0x02, 0x12, 0x0f, 0x0a, 0x0b, 0x53, 0x45, 0x54, 0x5f, 0x49, 0x4e, 0x56, 0x4f,
420
        0x49, 0x43, 0x45, 0x10, 0x03, 0x12, 0x13, 0x0a, 0x0f, 0x53, 0x45, 0x54, 0x5f, 0x49, 0x4e, 0x56,
421
        0x4f, 0x49, 0x43, 0x45, 0x5f, 0x41, 0x4d, 0x50, 0x10, 0x04, 0x32, 0x74, 0x0a, 0x05, 0x50, 0x65,
422
        0x65, 0x72, 0x73, 0x12, 0x6b, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x64,
423
        0x65, 0x41, 0x6e, 0x6e, 0x6f, 0x75, 0x6e, 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x27, 0x2e,
424
        0x70, 0x65, 0x65, 0x72, 0x73, 0x72, 0x70, 0x63, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x41, 0x6e, 0x6e,
425
        0x6f, 0x75, 0x6e, 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52,
426
        0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x70, 0x65, 0x65, 0x72, 0x73, 0x72, 0x70,
427
        0x63, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x41, 0x6e, 0x6e, 0x6f, 0x75, 0x6e, 0x63, 0x65, 0x6d, 0x65,
428
        0x6e, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
429
        0x42, 0x30, 0x5a, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c,
430
        0x69, 0x67, 0x68, 0x74, 0x6e, 0x69, 0x6e, 0x67, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f,
431
        0x6c, 0x6e, 0x64, 0x2f, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2f, 0x70, 0x65, 0x65, 0x72, 0x73, 0x72,
432
        0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
433
}
434

435
var (
436
        file_peersrpc_peers_proto_rawDescOnce sync.Once
437
        file_peersrpc_peers_proto_rawDescData = file_peersrpc_peers_proto_rawDesc
438
)
439

440
func file_peersrpc_peers_proto_rawDescGZIP() []byte {
×
441
        file_peersrpc_peers_proto_rawDescOnce.Do(func() {
×
442
                file_peersrpc_peers_proto_rawDescData = protoimpl.X.CompressGZIP(file_peersrpc_peers_proto_rawDescData)
×
443
        })
×
444
        return file_peersrpc_peers_proto_rawDescData
×
445
}
446

447
var file_peersrpc_peers_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
448
var file_peersrpc_peers_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
449
var file_peersrpc_peers_proto_goTypes = []interface{}{
450
        (UpdateAction)(0),                      // 0: peersrpc.UpdateAction
451
        (FeatureSet)(0),                        // 1: peersrpc.FeatureSet
452
        (*UpdateAddressAction)(nil),            // 2: peersrpc.UpdateAddressAction
453
        (*UpdateFeatureAction)(nil),            // 3: peersrpc.UpdateFeatureAction
454
        (*NodeAnnouncementUpdateRequest)(nil),  // 4: peersrpc.NodeAnnouncementUpdateRequest
455
        (*NodeAnnouncementUpdateResponse)(nil), // 5: peersrpc.NodeAnnouncementUpdateResponse
456
        (lnrpc.FeatureBit)(0),                  // 6: lnrpc.FeatureBit
457
        (*lnrpc.Op)(nil),                       // 7: lnrpc.Op
458
}
459
var file_peersrpc_peers_proto_depIdxs = []int32{
460
        0, // 0: peersrpc.UpdateAddressAction.action:type_name -> peersrpc.UpdateAction
461
        0, // 1: peersrpc.UpdateFeatureAction.action:type_name -> peersrpc.UpdateAction
462
        6, // 2: peersrpc.UpdateFeatureAction.feature_bit:type_name -> lnrpc.FeatureBit
463
        3, // 3: peersrpc.NodeAnnouncementUpdateRequest.feature_updates:type_name -> peersrpc.UpdateFeatureAction
464
        2, // 4: peersrpc.NodeAnnouncementUpdateRequest.address_updates:type_name -> peersrpc.UpdateAddressAction
465
        7, // 5: peersrpc.NodeAnnouncementUpdateResponse.ops:type_name -> lnrpc.Op
466
        4, // 6: peersrpc.Peers.UpdateNodeAnnouncement:input_type -> peersrpc.NodeAnnouncementUpdateRequest
467
        5, // 7: peersrpc.Peers.UpdateNodeAnnouncement:output_type -> peersrpc.NodeAnnouncementUpdateResponse
468
        7, // [7:8] is the sub-list for method output_type
469
        6, // [6:7] is the sub-list for method input_type
470
        6, // [6:6] is the sub-list for extension type_name
471
        6, // [6:6] is the sub-list for extension extendee
472
        0, // [0:6] is the sub-list for field type_name
473
}
474

475
func init() { file_peersrpc_peers_proto_init() }
3✔
476
func file_peersrpc_peers_proto_init() {
3✔
477
        if File_peersrpc_peers_proto != nil {
3✔
478
                return
×
479
        }
×
480
        if !protoimpl.UnsafeEnabled {
3✔
481
                file_peersrpc_peers_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
×
482
                        switch v := v.(*UpdateAddressAction); i {
×
483
                        case 0:
×
484
                                return &v.state
×
485
                        case 1:
×
486
                                return &v.sizeCache
×
487
                        case 2:
×
488
                                return &v.unknownFields
×
489
                        default:
×
490
                                return nil
×
491
                        }
492
                }
493
                file_peersrpc_peers_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
×
494
                        switch v := v.(*UpdateFeatureAction); i {
×
495
                        case 0:
×
496
                                return &v.state
×
497
                        case 1:
×
498
                                return &v.sizeCache
×
499
                        case 2:
×
500
                                return &v.unknownFields
×
501
                        default:
×
502
                                return nil
×
503
                        }
504
                }
505
                file_peersrpc_peers_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
×
506
                        switch v := v.(*NodeAnnouncementUpdateRequest); i {
×
507
                        case 0:
×
508
                                return &v.state
×
509
                        case 1:
×
510
                                return &v.sizeCache
×
511
                        case 2:
×
512
                                return &v.unknownFields
×
513
                        default:
×
514
                                return nil
×
515
                        }
516
                }
517
                file_peersrpc_peers_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
×
518
                        switch v := v.(*NodeAnnouncementUpdateResponse); i {
×
519
                        case 0:
×
520
                                return &v.state
×
521
                        case 1:
×
522
                                return &v.sizeCache
×
523
                        case 2:
×
524
                                return &v.unknownFields
×
525
                        default:
×
526
                                return nil
×
527
                        }
528
                }
529
        }
530
        type x struct{}
3✔
531
        out := protoimpl.TypeBuilder{
3✔
532
                File: protoimpl.DescBuilder{
3✔
533
                        GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
3✔
534
                        RawDescriptor: file_peersrpc_peers_proto_rawDesc,
3✔
535
                        NumEnums:      2,
3✔
536
                        NumMessages:   4,
3✔
537
                        NumExtensions: 0,
3✔
538
                        NumServices:   1,
3✔
539
                },
3✔
540
                GoTypes:           file_peersrpc_peers_proto_goTypes,
3✔
541
                DependencyIndexes: file_peersrpc_peers_proto_depIdxs,
3✔
542
                EnumInfos:         file_peersrpc_peers_proto_enumTypes,
3✔
543
                MessageInfos:      file_peersrpc_peers_proto_msgTypes,
3✔
544
        }.Build()
3✔
545
        File_peersrpc_peers_proto = out.File
3✔
546
        file_peersrpc_peers_proto_rawDesc = nil
3✔
547
        file_peersrpc_peers_proto_goTypes = nil
3✔
548
        file_peersrpc_peers_proto_depIdxs = nil
3✔
549
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc