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

lightningnetwork / lnd / 13412100018

19 Feb 2025 12:05PM UTC coverage: 44.914% (-13.9%) from 58.794%
13412100018

Pull #9521

github

web-flow
Merge 861d6970e into 0e8786348
Pull Request #9521: unit: remove GOACC, use Go 1.20 native coverage functionality

101023 of 224923 relevant lines covered (44.91%)

19479.4 hits per line

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

15.94
/lnrpc/devrpc/dev.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: devrpc/dev.proto
6

7
package devrpc
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
type ImportGraphResponse struct {
25
        state         protoimpl.MessageState
26
        sizeCache     protoimpl.SizeCache
27
        unknownFields protoimpl.UnknownFields
28
}
29

30
func (x *ImportGraphResponse) Reset() {
×
31
        *x = ImportGraphResponse{}
×
32
        if protoimpl.UnsafeEnabled {
×
33
                mi := &file_devrpc_dev_proto_msgTypes[0]
×
34
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
35
                ms.StoreMessageInfo(mi)
×
36
        }
×
37
}
38

39
func (x *ImportGraphResponse) String() string {
×
40
        return protoimpl.X.MessageStringOf(x)
×
41
}
×
42

43
func (*ImportGraphResponse) ProtoMessage() {}
×
44

45
func (x *ImportGraphResponse) ProtoReflect() protoreflect.Message {
×
46
        mi := &file_devrpc_dev_proto_msgTypes[0]
×
47
        if protoimpl.UnsafeEnabled && x != nil {
×
48
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
49
                if ms.LoadMessageInfo() == nil {
×
50
                        ms.StoreMessageInfo(mi)
×
51
                }
×
52
                return ms
×
53
        }
54
        return mi.MessageOf(x)
×
55
}
56

57
// Deprecated: Use ImportGraphResponse.ProtoReflect.Descriptor instead.
58
func (*ImportGraphResponse) Descriptor() ([]byte, []int) {
×
59
        return file_devrpc_dev_proto_rawDescGZIP(), []int{0}
×
60
}
×
61

62
type QuiescenceRequest struct {
63
        state         protoimpl.MessageState
64
        sizeCache     protoimpl.SizeCache
65
        unknownFields protoimpl.UnknownFields
66

67
        // The channel point of the channel we wish to quiesce
68
        ChanId *lnrpc.ChannelPoint `protobuf:"bytes,1,opt,name=chan_id,json=chanId,proto3" json:"chan_id,omitempty"`
69
}
70

71
func (x *QuiescenceRequest) Reset() {
×
72
        *x = QuiescenceRequest{}
×
73
        if protoimpl.UnsafeEnabled {
×
74
                mi := &file_devrpc_dev_proto_msgTypes[1]
×
75
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
76
                ms.StoreMessageInfo(mi)
×
77
        }
×
78
}
79

80
func (x *QuiescenceRequest) String() string {
×
81
        return protoimpl.X.MessageStringOf(x)
×
82
}
×
83

84
func (*QuiescenceRequest) ProtoMessage() {}
×
85

86
func (x *QuiescenceRequest) ProtoReflect() protoreflect.Message {
×
87
        mi := &file_devrpc_dev_proto_msgTypes[1]
×
88
        if protoimpl.UnsafeEnabled && x != nil {
×
89
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
90
                if ms.LoadMessageInfo() == nil {
×
91
                        ms.StoreMessageInfo(mi)
×
92
                }
×
93
                return ms
×
94
        }
95
        return mi.MessageOf(x)
×
96
}
97

98
// Deprecated: Use QuiescenceRequest.ProtoReflect.Descriptor instead.
99
func (*QuiescenceRequest) Descriptor() ([]byte, []int) {
×
100
        return file_devrpc_dev_proto_rawDescGZIP(), []int{1}
×
101
}
×
102

103
func (x *QuiescenceRequest) GetChanId() *lnrpc.ChannelPoint {
×
104
        if x != nil {
×
105
                return x.ChanId
×
106
        }
×
107
        return nil
×
108
}
109

110
type QuiescenceResponse struct {
111
        state         protoimpl.MessageState
112
        sizeCache     protoimpl.SizeCache
113
        unknownFields protoimpl.UnknownFields
114

115
        // Indicates whether or not we hold the initiator role or not once the
116
        // negotiation completes
117
        Initiator bool `protobuf:"varint,1,opt,name=initiator,proto3" json:"initiator,omitempty"`
118
}
119

120
func (x *QuiescenceResponse) Reset() {
×
121
        *x = QuiescenceResponse{}
×
122
        if protoimpl.UnsafeEnabled {
×
123
                mi := &file_devrpc_dev_proto_msgTypes[2]
×
124
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
125
                ms.StoreMessageInfo(mi)
×
126
        }
×
127
}
128

129
func (x *QuiescenceResponse) String() string {
×
130
        return protoimpl.X.MessageStringOf(x)
×
131
}
×
132

133
func (*QuiescenceResponse) ProtoMessage() {}
×
134

135
func (x *QuiescenceResponse) ProtoReflect() protoreflect.Message {
×
136
        mi := &file_devrpc_dev_proto_msgTypes[2]
×
137
        if protoimpl.UnsafeEnabled && x != nil {
×
138
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
139
                if ms.LoadMessageInfo() == nil {
×
140
                        ms.StoreMessageInfo(mi)
×
141
                }
×
142
                return ms
×
143
        }
144
        return mi.MessageOf(x)
×
145
}
146

147
// Deprecated: Use QuiescenceResponse.ProtoReflect.Descriptor instead.
148
func (*QuiescenceResponse) Descriptor() ([]byte, []int) {
×
149
        return file_devrpc_dev_proto_rawDescGZIP(), []int{2}
×
150
}
×
151

152
func (x *QuiescenceResponse) GetInitiator() bool {
×
153
        if x != nil {
×
154
                return x.Initiator
×
155
        }
×
156
        return false
×
157
}
158

159
var File_devrpc_dev_proto protoreflect.FileDescriptor
160

161
var file_devrpc_dev_proto_rawDesc = []byte{
162
        0x0a, 0x10, 0x64, 0x65, 0x76, 0x72, 0x70, 0x63, 0x2f, 0x64, 0x65, 0x76, 0x2e, 0x70, 0x72, 0x6f,
163
        0x74, 0x6f, 0x12, 0x06, 0x64, 0x65, 0x76, 0x72, 0x70, 0x63, 0x1a, 0x0f, 0x6c, 0x69, 0x67, 0x68,
164
        0x74, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x15, 0x0a, 0x13, 0x49,
165
        0x6d, 0x70, 0x6f, 0x72, 0x74, 0x47, 0x72, 0x61, 0x70, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
166
        0x73, 0x65, 0x22, 0x41, 0x0a, 0x11, 0x51, 0x75, 0x69, 0x65, 0x73, 0x63, 0x65, 0x6e, 0x63, 0x65,
167
        0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x5f,
168
        0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63,
169
        0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x06, 0x63,
170
        0x68, 0x61, 0x6e, 0x49, 0x64, 0x22, 0x32, 0x0a, 0x12, 0x51, 0x75, 0x69, 0x65, 0x73, 0x63, 0x65,
171
        0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x69,
172
        0x6e, 0x69, 0x74, 0x69, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09,
173
        0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x74, 0x6f, 0x72, 0x32, 0x88, 0x01, 0x0a, 0x03, 0x44, 0x65,
174
        0x76, 0x12, 0x3f, 0x0a, 0x0b, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x47, 0x72, 0x61, 0x70, 0x68,
175
        0x12, 0x13, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c,
176
        0x47, 0x72, 0x61, 0x70, 0x68, 0x1a, 0x1b, 0x2e, 0x64, 0x65, 0x76, 0x72, 0x70, 0x63, 0x2e, 0x49,
177
        0x6d, 0x70, 0x6f, 0x72, 0x74, 0x47, 0x72, 0x61, 0x70, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
178
        0x73, 0x65, 0x12, 0x40, 0x0a, 0x07, 0x51, 0x75, 0x69, 0x65, 0x73, 0x63, 0x65, 0x12, 0x19, 0x2e,
179
        0x64, 0x65, 0x76, 0x72, 0x70, 0x63, 0x2e, 0x51, 0x75, 0x69, 0x65, 0x73, 0x63, 0x65, 0x6e, 0x63,
180
        0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x64, 0x65, 0x76, 0x72, 0x70,
181
        0x63, 0x2e, 0x51, 0x75, 0x69, 0x65, 0x73, 0x63, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70,
182
        0x6f, 0x6e, 0x73, 0x65, 0x42, 0x2e, 0x5a, 0x2c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63,
183
        0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x6e, 0x69, 0x6e, 0x67, 0x6e, 0x65, 0x74, 0x77,
184
        0x6f, 0x72, 0x6b, 0x2f, 0x6c, 0x6e, 0x64, 0x2f, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2f, 0x64, 0x65,
185
        0x76, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
186
}
187

188
var (
189
        file_devrpc_dev_proto_rawDescOnce sync.Once
190
        file_devrpc_dev_proto_rawDescData = file_devrpc_dev_proto_rawDesc
191
)
192

193
func file_devrpc_dev_proto_rawDescGZIP() []byte {
×
194
        file_devrpc_dev_proto_rawDescOnce.Do(func() {
×
195
                file_devrpc_dev_proto_rawDescData = protoimpl.X.CompressGZIP(file_devrpc_dev_proto_rawDescData)
×
196
        })
×
197
        return file_devrpc_dev_proto_rawDescData
×
198
}
199

200
var file_devrpc_dev_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
201
var file_devrpc_dev_proto_goTypes = []interface{}{
202
        (*ImportGraphResponse)(nil), // 0: devrpc.ImportGraphResponse
203
        (*QuiescenceRequest)(nil),   // 1: devrpc.QuiescenceRequest
204
        (*QuiescenceResponse)(nil),  // 2: devrpc.QuiescenceResponse
205
        (*lnrpc.ChannelPoint)(nil),  // 3: lnrpc.ChannelPoint
206
        (*lnrpc.ChannelGraph)(nil),  // 4: lnrpc.ChannelGraph
207
}
208
var file_devrpc_dev_proto_depIdxs = []int32{
209
        3, // 0: devrpc.QuiescenceRequest.chan_id:type_name -> lnrpc.ChannelPoint
210
        4, // 1: devrpc.Dev.ImportGraph:input_type -> lnrpc.ChannelGraph
211
        1, // 2: devrpc.Dev.Quiesce:input_type -> devrpc.QuiescenceRequest
212
        0, // 3: devrpc.Dev.ImportGraph:output_type -> devrpc.ImportGraphResponse
213
        2, // 4: devrpc.Dev.Quiesce:output_type -> devrpc.QuiescenceResponse
214
        3, // [3:5] is the sub-list for method output_type
215
        1, // [1:3] is the sub-list for method input_type
216
        1, // [1:1] is the sub-list for extension type_name
217
        1, // [1:1] is the sub-list for extension extendee
218
        0, // [0:1] is the sub-list for field type_name
219
}
220

221
func init() { file_devrpc_dev_proto_init() }
3✔
222
func file_devrpc_dev_proto_init() {
3✔
223
        if File_devrpc_dev_proto != nil {
3✔
224
                return
×
225
        }
×
226
        if !protoimpl.UnsafeEnabled {
3✔
227
                file_devrpc_dev_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
×
228
                        switch v := v.(*ImportGraphResponse); i {
×
229
                        case 0:
×
230
                                return &v.state
×
231
                        case 1:
×
232
                                return &v.sizeCache
×
233
                        case 2:
×
234
                                return &v.unknownFields
×
235
                        default:
×
236
                                return nil
×
237
                        }
238
                }
239
                file_devrpc_dev_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
×
240
                        switch v := v.(*QuiescenceRequest); i {
×
241
                        case 0:
×
242
                                return &v.state
×
243
                        case 1:
×
244
                                return &v.sizeCache
×
245
                        case 2:
×
246
                                return &v.unknownFields
×
247
                        default:
×
248
                                return nil
×
249
                        }
250
                }
251
                file_devrpc_dev_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
×
252
                        switch v := v.(*QuiescenceResponse); i {
×
253
                        case 0:
×
254
                                return &v.state
×
255
                        case 1:
×
256
                                return &v.sizeCache
×
257
                        case 2:
×
258
                                return &v.unknownFields
×
259
                        default:
×
260
                                return nil
×
261
                        }
262
                }
263
        }
264
        type x struct{}
3✔
265
        out := protoimpl.TypeBuilder{
3✔
266
                File: protoimpl.DescBuilder{
3✔
267
                        GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
3✔
268
                        RawDescriptor: file_devrpc_dev_proto_rawDesc,
3✔
269
                        NumEnums:      0,
3✔
270
                        NumMessages:   3,
3✔
271
                        NumExtensions: 0,
3✔
272
                        NumServices:   1,
3✔
273
                },
3✔
274
                GoTypes:           file_devrpc_dev_proto_goTypes,
3✔
275
                DependencyIndexes: file_devrpc_dev_proto_depIdxs,
3✔
276
                MessageInfos:      file_devrpc_dev_proto_msgTypes,
3✔
277
        }.Build()
3✔
278
        File_devrpc_dev_proto = out.File
3✔
279
        file_devrpc_dev_proto_rawDesc = nil
3✔
280
        file_devrpc_dev_proto_goTypes = nil
3✔
281
        file_devrpc_dev_proto_depIdxs = nil
3✔
282
}
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