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

lightningnetwork / lnd / 12056196575

27 Nov 2024 06:23PM UTC coverage: 58.717% (-0.2%) from 58.921%
12056196575

Pull #9242

github

aakselrod
go.mod: update to latest btcwallet
Pull Request #9242: Reapply #8644

8 of 39 new or added lines in 3 files covered. (20.51%)

543 existing lines in 30 files now uncovered.

132924 of 226381 relevant lines covered (58.72%)

19504.16 hits per line

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

2.8
/lnrpc/neutrinorpc/neutrino.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: neutrinorpc/neutrino.proto
6

7
package neutrinorpc
8

9
import (
10
        protoreflect "google.golang.org/protobuf/reflect/protoreflect"
11
        protoimpl "google.golang.org/protobuf/runtime/protoimpl"
12
        reflect "reflect"
13
        sync "sync"
14
)
15

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

23
type StatusRequest struct {
24
        state         protoimpl.MessageState
25
        sizeCache     protoimpl.SizeCache
26
        unknownFields protoimpl.UnknownFields
27
}
28

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

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

42
func (*StatusRequest) ProtoMessage() {}
×
43

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

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

61
type StatusResponse struct {
62
        state         protoimpl.MessageState
63
        sizeCache     protoimpl.SizeCache
64
        unknownFields protoimpl.UnknownFields
65

66
        // Indicates whether the neutrino backend is active or not.
67
        Active bool `protobuf:"varint,1,opt,name=active,proto3" json:"active,omitempty"`
68
        // Is fully synced.
69
        Synced bool `protobuf:"varint,2,opt,name=synced,proto3" json:"synced,omitempty"`
70
        // Best block height.
71
        BlockHeight int32 `protobuf:"varint,3,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"`
72
        // Best block hash.
73
        BlockHash string `protobuf:"bytes,4,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"`
74
        // Connected peers.
75
        Peers []string `protobuf:"bytes,5,rep,name=peers,proto3" json:"peers,omitempty"`
76
}
77

78
func (x *StatusResponse) Reset() {
×
79
        *x = StatusResponse{}
×
80
        if protoimpl.UnsafeEnabled {
×
81
                mi := &file_neutrinorpc_neutrino_proto_msgTypes[1]
×
82
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
83
                ms.StoreMessageInfo(mi)
×
84
        }
×
85
}
86

87
func (x *StatusResponse) String() string {
×
88
        return protoimpl.X.MessageStringOf(x)
×
89
}
×
90

91
func (*StatusResponse) ProtoMessage() {}
×
92

UNCOV
93
func (x *StatusResponse) ProtoReflect() protoreflect.Message {
×
UNCOV
94
        mi := &file_neutrinorpc_neutrino_proto_msgTypes[1]
×
UNCOV
95
        if protoimpl.UnsafeEnabled && x != nil {
×
UNCOV
96
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
UNCOV
97
                if ms.LoadMessageInfo() == nil {
×
UNCOV
98
                        ms.StoreMessageInfo(mi)
×
UNCOV
99
                }
×
UNCOV
100
                return ms
×
101
        }
102
        return mi.MessageOf(x)
×
103
}
104

105
// Deprecated: Use StatusResponse.ProtoReflect.Descriptor instead.
106
func (*StatusResponse) Descriptor() ([]byte, []int) {
×
107
        return file_neutrinorpc_neutrino_proto_rawDescGZIP(), []int{1}
×
108
}
×
109

110
func (x *StatusResponse) GetActive() bool {
×
111
        if x != nil {
×
112
                return x.Active
×
113
        }
×
114
        return false
×
115
}
116

117
func (x *StatusResponse) GetSynced() bool {
×
118
        if x != nil {
×
119
                return x.Synced
×
120
        }
×
121
        return false
×
122
}
123

124
func (x *StatusResponse) GetBlockHeight() int32 {
×
125
        if x != nil {
×
126
                return x.BlockHeight
×
127
        }
×
128
        return 0
×
129
}
130

131
func (x *StatusResponse) GetBlockHash() string {
×
132
        if x != nil {
×
133
                return x.BlockHash
×
134
        }
×
135
        return ""
×
136
}
137

138
func (x *StatusResponse) GetPeers() []string {
×
139
        if x != nil {
×
140
                return x.Peers
×
141
        }
×
142
        return nil
×
143
}
144

145
type AddPeerRequest struct {
146
        state         protoimpl.MessageState
147
        sizeCache     protoimpl.SizeCache
148
        unknownFields protoimpl.UnknownFields
149

150
        // Peer to add.
151
        PeerAddrs string `protobuf:"bytes,1,opt,name=peer_addrs,json=peerAddrs,proto3" json:"peer_addrs,omitempty"`
152
}
153

UNCOV
154
func (x *AddPeerRequest) Reset() {
×
UNCOV
155
        *x = AddPeerRequest{}
×
UNCOV
156
        if protoimpl.UnsafeEnabled {
×
UNCOV
157
                mi := &file_neutrinorpc_neutrino_proto_msgTypes[2]
×
UNCOV
158
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
UNCOV
159
                ms.StoreMessageInfo(mi)
×
UNCOV
160
        }
×
161
}
162

163
func (x *AddPeerRequest) String() string {
×
164
        return protoimpl.X.MessageStringOf(x)
×
165
}
×
166

167
func (*AddPeerRequest) ProtoMessage() {}
×
168

UNCOV
169
func (x *AddPeerRequest) ProtoReflect() protoreflect.Message {
×
UNCOV
170
        mi := &file_neutrinorpc_neutrino_proto_msgTypes[2]
×
UNCOV
171
        if protoimpl.UnsafeEnabled && x != nil {
×
UNCOV
172
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
UNCOV
173
                if ms.LoadMessageInfo() == nil {
×
174
                        ms.StoreMessageInfo(mi)
×
175
                }
×
UNCOV
176
                return ms
×
177
        }
178
        return mi.MessageOf(x)
×
179
}
180

181
// Deprecated: Use AddPeerRequest.ProtoReflect.Descriptor instead.
182
func (*AddPeerRequest) Descriptor() ([]byte, []int) {
×
183
        return file_neutrinorpc_neutrino_proto_rawDescGZIP(), []int{2}
×
184
}
×
185

186
func (x *AddPeerRequest) GetPeerAddrs() string {
×
187
        if x != nil {
×
188
                return x.PeerAddrs
×
189
        }
×
190
        return ""
×
191
}
192

193
type AddPeerResponse struct {
194
        state         protoimpl.MessageState
195
        sizeCache     protoimpl.SizeCache
196
        unknownFields protoimpl.UnknownFields
197
}
198

199
func (x *AddPeerResponse) Reset() {
×
200
        *x = AddPeerResponse{}
×
201
        if protoimpl.UnsafeEnabled {
×
202
                mi := &file_neutrinorpc_neutrino_proto_msgTypes[3]
×
203
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
204
                ms.StoreMessageInfo(mi)
×
205
        }
×
206
}
207

208
func (x *AddPeerResponse) String() string {
×
209
        return protoimpl.X.MessageStringOf(x)
×
210
}
×
211

212
func (*AddPeerResponse) ProtoMessage() {}
×
213

UNCOV
214
func (x *AddPeerResponse) ProtoReflect() protoreflect.Message {
×
UNCOV
215
        mi := &file_neutrinorpc_neutrino_proto_msgTypes[3]
×
UNCOV
216
        if protoimpl.UnsafeEnabled && x != nil {
×
UNCOV
217
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
UNCOV
218
                if ms.LoadMessageInfo() == nil {
×
UNCOV
219
                        ms.StoreMessageInfo(mi)
×
UNCOV
220
                }
×
UNCOV
221
                return ms
×
222
        }
223
        return mi.MessageOf(x)
×
224
}
225

226
// Deprecated: Use AddPeerResponse.ProtoReflect.Descriptor instead.
227
func (*AddPeerResponse) Descriptor() ([]byte, []int) {
×
228
        return file_neutrinorpc_neutrino_proto_rawDescGZIP(), []int{3}
×
229
}
×
230

231
type DisconnectPeerRequest struct {
232
        state         protoimpl.MessageState
233
        sizeCache     protoimpl.SizeCache
234
        unknownFields protoimpl.UnknownFields
235

236
        // Peer to disconnect.
237
        PeerAddrs string `protobuf:"bytes,1,opt,name=peer_addrs,json=peerAddrs,proto3" json:"peer_addrs,omitempty"`
238
}
239

240
func (x *DisconnectPeerRequest) Reset() {
×
241
        *x = DisconnectPeerRequest{}
×
242
        if protoimpl.UnsafeEnabled {
×
243
                mi := &file_neutrinorpc_neutrino_proto_msgTypes[4]
×
244
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
245
                ms.StoreMessageInfo(mi)
×
246
        }
×
247
}
248

249
func (x *DisconnectPeerRequest) String() string {
×
250
        return protoimpl.X.MessageStringOf(x)
×
251
}
×
252

253
func (*DisconnectPeerRequest) ProtoMessage() {}
×
254

255
func (x *DisconnectPeerRequest) ProtoReflect() protoreflect.Message {
×
256
        mi := &file_neutrinorpc_neutrino_proto_msgTypes[4]
×
257
        if protoimpl.UnsafeEnabled && x != nil {
×
258
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
259
                if ms.LoadMessageInfo() == nil {
×
260
                        ms.StoreMessageInfo(mi)
×
261
                }
×
262
                return ms
×
263
        }
264
        return mi.MessageOf(x)
×
265
}
266

267
// Deprecated: Use DisconnectPeerRequest.ProtoReflect.Descriptor instead.
268
func (*DisconnectPeerRequest) Descriptor() ([]byte, []int) {
×
269
        return file_neutrinorpc_neutrino_proto_rawDescGZIP(), []int{4}
×
270
}
×
271

272
func (x *DisconnectPeerRequest) GetPeerAddrs() string {
×
273
        if x != nil {
×
274
                return x.PeerAddrs
×
275
        }
×
276
        return ""
×
277
}
278

279
type DisconnectPeerResponse struct {
280
        state         protoimpl.MessageState
281
        sizeCache     protoimpl.SizeCache
282
        unknownFields protoimpl.UnknownFields
283
}
284

285
func (x *DisconnectPeerResponse) Reset() {
×
286
        *x = DisconnectPeerResponse{}
×
287
        if protoimpl.UnsafeEnabled {
×
288
                mi := &file_neutrinorpc_neutrino_proto_msgTypes[5]
×
289
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
290
                ms.StoreMessageInfo(mi)
×
291
        }
×
292
}
293

294
func (x *DisconnectPeerResponse) String() string {
×
295
        return protoimpl.X.MessageStringOf(x)
×
296
}
×
297

298
func (*DisconnectPeerResponse) ProtoMessage() {}
×
299

300
func (x *DisconnectPeerResponse) ProtoReflect() protoreflect.Message {
×
301
        mi := &file_neutrinorpc_neutrino_proto_msgTypes[5]
×
302
        if protoimpl.UnsafeEnabled && x != nil {
×
303
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
304
                if ms.LoadMessageInfo() == nil {
×
305
                        ms.StoreMessageInfo(mi)
×
306
                }
×
307
                return ms
×
308
        }
309
        return mi.MessageOf(x)
×
310
}
311

312
// Deprecated: Use DisconnectPeerResponse.ProtoReflect.Descriptor instead.
313
func (*DisconnectPeerResponse) Descriptor() ([]byte, []int) {
×
314
        return file_neutrinorpc_neutrino_proto_rawDescGZIP(), []int{5}
×
315
}
×
316

317
type IsBannedRequest struct {
318
        state         protoimpl.MessageState
319
        sizeCache     protoimpl.SizeCache
320
        unknownFields protoimpl.UnknownFields
321

322
        // Peer to lookup.
323
        PeerAddrs string `protobuf:"bytes,1,opt,name=peer_addrs,json=peerAddrs,proto3" json:"peer_addrs,omitempty"`
324
}
325

326
func (x *IsBannedRequest) Reset() {
×
327
        *x = IsBannedRequest{}
×
328
        if protoimpl.UnsafeEnabled {
×
329
                mi := &file_neutrinorpc_neutrino_proto_msgTypes[6]
×
330
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
331
                ms.StoreMessageInfo(mi)
×
332
        }
×
333
}
334

335
func (x *IsBannedRequest) String() string {
×
336
        return protoimpl.X.MessageStringOf(x)
×
337
}
×
338

339
func (*IsBannedRequest) ProtoMessage() {}
×
340

341
func (x *IsBannedRequest) ProtoReflect() protoreflect.Message {
×
342
        mi := &file_neutrinorpc_neutrino_proto_msgTypes[6]
×
343
        if protoimpl.UnsafeEnabled && x != nil {
×
344
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
345
                if ms.LoadMessageInfo() == nil {
×
346
                        ms.StoreMessageInfo(mi)
×
347
                }
×
348
                return ms
×
349
        }
350
        return mi.MessageOf(x)
×
351
}
352

353
// Deprecated: Use IsBannedRequest.ProtoReflect.Descriptor instead.
354
func (*IsBannedRequest) Descriptor() ([]byte, []int) {
×
355
        return file_neutrinorpc_neutrino_proto_rawDescGZIP(), []int{6}
×
356
}
×
357

358
func (x *IsBannedRequest) GetPeerAddrs() string {
×
359
        if x != nil {
×
360
                return x.PeerAddrs
×
361
        }
×
362
        return ""
×
363
}
364

365
type IsBannedResponse struct {
366
        state         protoimpl.MessageState
367
        sizeCache     protoimpl.SizeCache
368
        unknownFields protoimpl.UnknownFields
369

370
        Banned bool `protobuf:"varint,1,opt,name=banned,proto3" json:"banned,omitempty"`
371
}
372

373
func (x *IsBannedResponse) Reset() {
×
374
        *x = IsBannedResponse{}
×
375
        if protoimpl.UnsafeEnabled {
×
376
                mi := &file_neutrinorpc_neutrino_proto_msgTypes[7]
×
377
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
378
                ms.StoreMessageInfo(mi)
×
379
        }
×
380
}
381

382
func (x *IsBannedResponse) String() string {
×
383
        return protoimpl.X.MessageStringOf(x)
×
384
}
×
385

386
func (*IsBannedResponse) ProtoMessage() {}
×
387

388
func (x *IsBannedResponse) ProtoReflect() protoreflect.Message {
×
389
        mi := &file_neutrinorpc_neutrino_proto_msgTypes[7]
×
390
        if protoimpl.UnsafeEnabled && x != nil {
×
391
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
392
                if ms.LoadMessageInfo() == nil {
×
393
                        ms.StoreMessageInfo(mi)
×
394
                }
×
395
                return ms
×
396
        }
397
        return mi.MessageOf(x)
×
398
}
399

400
// Deprecated: Use IsBannedResponse.ProtoReflect.Descriptor instead.
401
func (*IsBannedResponse) Descriptor() ([]byte, []int) {
×
402
        return file_neutrinorpc_neutrino_proto_rawDescGZIP(), []int{7}
×
403
}
×
404

405
func (x *IsBannedResponse) GetBanned() bool {
×
406
        if x != nil {
×
407
                return x.Banned
×
408
        }
×
409
        return false
×
410
}
411

412
type GetBlockHeaderRequest struct {
413
        state         protoimpl.MessageState
414
        sizeCache     protoimpl.SizeCache
415
        unknownFields protoimpl.UnknownFields
416

417
        // Block hash in hex notation.
418
        Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
419
}
420

421
func (x *GetBlockHeaderRequest) Reset() {
×
422
        *x = GetBlockHeaderRequest{}
×
423
        if protoimpl.UnsafeEnabled {
×
424
                mi := &file_neutrinorpc_neutrino_proto_msgTypes[8]
×
425
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
426
                ms.StoreMessageInfo(mi)
×
427
        }
×
428
}
429

430
func (x *GetBlockHeaderRequest) String() string {
×
431
        return protoimpl.X.MessageStringOf(x)
×
432
}
×
433

434
func (*GetBlockHeaderRequest) ProtoMessage() {}
×
435

436
func (x *GetBlockHeaderRequest) ProtoReflect() protoreflect.Message {
×
437
        mi := &file_neutrinorpc_neutrino_proto_msgTypes[8]
×
438
        if protoimpl.UnsafeEnabled && x != nil {
×
439
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
440
                if ms.LoadMessageInfo() == nil {
×
441
                        ms.StoreMessageInfo(mi)
×
442
                }
×
443
                return ms
×
444
        }
445
        return mi.MessageOf(x)
×
446
}
447

448
// Deprecated: Use GetBlockHeaderRequest.ProtoReflect.Descriptor instead.
449
func (*GetBlockHeaderRequest) Descriptor() ([]byte, []int) {
×
450
        return file_neutrinorpc_neutrino_proto_rawDescGZIP(), []int{8}
×
451
}
×
452

453
func (x *GetBlockHeaderRequest) GetHash() string {
×
454
        if x != nil {
×
455
                return x.Hash
×
456
        }
×
457
        return ""
×
458
}
459

460
type GetBlockHeaderResponse struct {
461
        state         protoimpl.MessageState
462
        sizeCache     protoimpl.SizeCache
463
        unknownFields protoimpl.UnknownFields
464

465
        // The block hash (same as provided).
466
        Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
467
        // The number of confirmations.
468
        Confirmations int64 `protobuf:"varint,2,opt,name=confirmations,proto3" json:"confirmations,omitempty"`
469
        // The block size excluding witness data.
470
        StrippedSize int64 `protobuf:"varint,3,opt,name=stripped_size,json=strippedSize,proto3" json:"stripped_size,omitempty"`
471
        // The block size (bytes).
472
        Size int64 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"`
473
        // The block weight as defined in BIP 141.
474
        Weight int64 `protobuf:"varint,5,opt,name=weight,proto3" json:"weight,omitempty"`
475
        // The block height or index.
476
        Height int32 `protobuf:"varint,6,opt,name=height,proto3" json:"height,omitempty"`
477
        // The block version.
478
        Version int32 `protobuf:"varint,7,opt,name=version,proto3" json:"version,omitempty"`
479
        // The block version.
480
        VersionHex string `protobuf:"bytes,8,opt,name=version_hex,json=versionHex,proto3" json:"version_hex,omitempty"`
481
        // The merkle root.
482
        Merkleroot string `protobuf:"bytes,9,opt,name=merkleroot,proto3" json:"merkleroot,omitempty"`
483
        // The block time in seconds since epoch (Jan 1 1970 GMT).
484
        Time int64 `protobuf:"varint,10,opt,name=time,proto3" json:"time,omitempty"`
485
        // The nonce.
486
        Nonce uint32 `protobuf:"varint,11,opt,name=nonce,proto3" json:"nonce,omitempty"`
487
        // The bits in hex notation.
488
        Bits string `protobuf:"bytes,12,opt,name=bits,proto3" json:"bits,omitempty"`
489
        // The number of transactions in the block.
490
        Ntx int32 `protobuf:"varint,13,opt,name=ntx,proto3" json:"ntx,omitempty"`
491
        // The hash of the previous block.
492
        PreviousBlockHash string `protobuf:"bytes,14,opt,name=previous_block_hash,json=previousBlockHash,proto3" json:"previous_block_hash,omitempty"`
493
        // The raw hex of the block.
494
        RawHex []byte `protobuf:"bytes,15,opt,name=raw_hex,json=rawHex,proto3" json:"raw_hex,omitempty"`
495
}
496

497
func (x *GetBlockHeaderResponse) Reset() {
×
498
        *x = GetBlockHeaderResponse{}
×
499
        if protoimpl.UnsafeEnabled {
×
500
                mi := &file_neutrinorpc_neutrino_proto_msgTypes[9]
×
501
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
502
                ms.StoreMessageInfo(mi)
×
503
        }
×
504
}
505

506
func (x *GetBlockHeaderResponse) String() string {
×
507
        return protoimpl.X.MessageStringOf(x)
×
508
}
×
509

510
func (*GetBlockHeaderResponse) ProtoMessage() {}
×
511

512
func (x *GetBlockHeaderResponse) ProtoReflect() protoreflect.Message {
×
513
        mi := &file_neutrinorpc_neutrino_proto_msgTypes[9]
×
514
        if protoimpl.UnsafeEnabled && x != nil {
×
515
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
516
                if ms.LoadMessageInfo() == nil {
×
517
                        ms.StoreMessageInfo(mi)
×
518
                }
×
519
                return ms
×
520
        }
521
        return mi.MessageOf(x)
×
522
}
523

524
// Deprecated: Use GetBlockHeaderResponse.ProtoReflect.Descriptor instead.
525
func (*GetBlockHeaderResponse) Descriptor() ([]byte, []int) {
×
526
        return file_neutrinorpc_neutrino_proto_rawDescGZIP(), []int{9}
×
527
}
×
528

529
func (x *GetBlockHeaderResponse) GetHash() string {
×
530
        if x != nil {
×
531
                return x.Hash
×
532
        }
×
533
        return ""
×
534
}
535

536
func (x *GetBlockHeaderResponse) GetConfirmations() int64 {
×
537
        if x != nil {
×
538
                return x.Confirmations
×
539
        }
×
540
        return 0
×
541
}
542

543
func (x *GetBlockHeaderResponse) GetStrippedSize() int64 {
×
544
        if x != nil {
×
545
                return x.StrippedSize
×
546
        }
×
547
        return 0
×
548
}
549

550
func (x *GetBlockHeaderResponse) GetSize() int64 {
×
551
        if x != nil {
×
552
                return x.Size
×
553
        }
×
554
        return 0
×
555
}
556

557
func (x *GetBlockHeaderResponse) GetWeight() int64 {
×
558
        if x != nil {
×
559
                return x.Weight
×
560
        }
×
561
        return 0
×
562
}
563

564
func (x *GetBlockHeaderResponse) GetHeight() int32 {
×
565
        if x != nil {
×
566
                return x.Height
×
567
        }
×
568
        return 0
×
569
}
570

571
func (x *GetBlockHeaderResponse) GetVersion() int32 {
×
572
        if x != nil {
×
573
                return x.Version
×
574
        }
×
575
        return 0
×
576
}
577

578
func (x *GetBlockHeaderResponse) GetVersionHex() string {
×
579
        if x != nil {
×
580
                return x.VersionHex
×
581
        }
×
582
        return ""
×
583
}
584

585
func (x *GetBlockHeaderResponse) GetMerkleroot() string {
×
586
        if x != nil {
×
587
                return x.Merkleroot
×
588
        }
×
589
        return ""
×
590
}
591

592
func (x *GetBlockHeaderResponse) GetTime() int64 {
×
593
        if x != nil {
×
594
                return x.Time
×
595
        }
×
596
        return 0
×
597
}
598

599
func (x *GetBlockHeaderResponse) GetNonce() uint32 {
×
600
        if x != nil {
×
601
                return x.Nonce
×
602
        }
×
603
        return 0
×
604
}
605

606
func (x *GetBlockHeaderResponse) GetBits() string {
×
607
        if x != nil {
×
608
                return x.Bits
×
609
        }
×
610
        return ""
×
611
}
612

613
func (x *GetBlockHeaderResponse) GetNtx() int32 {
×
614
        if x != nil {
×
615
                return x.Ntx
×
616
        }
×
617
        return 0
×
618
}
619

620
func (x *GetBlockHeaderResponse) GetPreviousBlockHash() string {
×
621
        if x != nil {
×
622
                return x.PreviousBlockHash
×
623
        }
×
624
        return ""
×
625
}
626

627
func (x *GetBlockHeaderResponse) GetRawHex() []byte {
×
628
        if x != nil {
×
629
                return x.RawHex
×
630
        }
×
631
        return nil
×
632
}
633

634
type GetBlockRequest struct {
635
        state         protoimpl.MessageState
636
        sizeCache     protoimpl.SizeCache
637
        unknownFields protoimpl.UnknownFields
638

639
        // Block hash in hex notation.
640
        Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
641
}
642

643
func (x *GetBlockRequest) Reset() {
×
644
        *x = GetBlockRequest{}
×
645
        if protoimpl.UnsafeEnabled {
×
646
                mi := &file_neutrinorpc_neutrino_proto_msgTypes[10]
×
647
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
648
                ms.StoreMessageInfo(mi)
×
649
        }
×
650
}
651

652
func (x *GetBlockRequest) String() string {
×
653
        return protoimpl.X.MessageStringOf(x)
×
654
}
×
655

656
func (*GetBlockRequest) ProtoMessage() {}
×
657

658
func (x *GetBlockRequest) ProtoReflect() protoreflect.Message {
×
659
        mi := &file_neutrinorpc_neutrino_proto_msgTypes[10]
×
660
        if protoimpl.UnsafeEnabled && x != nil {
×
661
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
662
                if ms.LoadMessageInfo() == nil {
×
663
                        ms.StoreMessageInfo(mi)
×
664
                }
×
665
                return ms
×
666
        }
667
        return mi.MessageOf(x)
×
668
}
669

670
// Deprecated: Use GetBlockRequest.ProtoReflect.Descriptor instead.
671
func (*GetBlockRequest) Descriptor() ([]byte, []int) {
×
672
        return file_neutrinorpc_neutrino_proto_rawDescGZIP(), []int{10}
×
673
}
×
674

675
func (x *GetBlockRequest) GetHash() string {
×
676
        if x != nil {
×
677
                return x.Hash
×
678
        }
×
679
        return ""
×
680
}
681

682
type GetBlockResponse struct {
683
        state         protoimpl.MessageState
684
        sizeCache     protoimpl.SizeCache
685
        unknownFields protoimpl.UnknownFields
686

687
        // The block hash (same as provided).
688
        Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
689
        // The number of confirmations.
690
        Confirmations int64 `protobuf:"varint,2,opt,name=confirmations,proto3" json:"confirmations,omitempty"`
691
        // The block size excluding witness data.
692
        StrippedSize int64 `protobuf:"varint,3,opt,name=stripped_size,json=strippedSize,proto3" json:"stripped_size,omitempty"`
693
        // The block size (bytes).
694
        Size int64 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"`
695
        // The block weight as defined in BIP 141.
696
        Weight int64 `protobuf:"varint,5,opt,name=weight,proto3" json:"weight,omitempty"`
697
        // The block height or index.
698
        Height int32 `protobuf:"varint,6,opt,name=height,proto3" json:"height,omitempty"`
699
        // The block version.
700
        Version int32 `protobuf:"varint,7,opt,name=version,proto3" json:"version,omitempty"`
701
        // The block version.
702
        VersionHex string `protobuf:"bytes,8,opt,name=version_hex,json=versionHex,proto3" json:"version_hex,omitempty"`
703
        // The merkle root.
704
        Merkleroot string `protobuf:"bytes,9,opt,name=merkleroot,proto3" json:"merkleroot,omitempty"`
705
        // List of transaction ids.
706
        Tx []string `protobuf:"bytes,10,rep,name=tx,proto3" json:"tx,omitempty"`
707
        // The block time in seconds since epoch (Jan 1 1970 GMT).
708
        Time int64 `protobuf:"varint,11,opt,name=time,proto3" json:"time,omitempty"`
709
        // The nonce.
710
        Nonce uint32 `protobuf:"varint,12,opt,name=nonce,proto3" json:"nonce,omitempty"`
711
        // The bits in hex notation.
712
        Bits string `protobuf:"bytes,13,opt,name=bits,proto3" json:"bits,omitempty"`
713
        // The number of transactions in the block.
714
        Ntx int32 `protobuf:"varint,14,opt,name=ntx,proto3" json:"ntx,omitempty"`
715
        // The hash of the previous block.
716
        PreviousBlockHash string `protobuf:"bytes,15,opt,name=previous_block_hash,json=previousBlockHash,proto3" json:"previous_block_hash,omitempty"`
717
        // The raw hex of the block.
718
        RawHex []byte `protobuf:"bytes,16,opt,name=raw_hex,json=rawHex,proto3" json:"raw_hex,omitempty"`
719
}
720

721
func (x *GetBlockResponse) Reset() {
×
722
        *x = GetBlockResponse{}
×
723
        if protoimpl.UnsafeEnabled {
×
724
                mi := &file_neutrinorpc_neutrino_proto_msgTypes[11]
×
725
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
726
                ms.StoreMessageInfo(mi)
×
727
        }
×
728
}
729

730
func (x *GetBlockResponse) String() string {
×
731
        return protoimpl.X.MessageStringOf(x)
×
732
}
×
733

734
func (*GetBlockResponse) ProtoMessage() {}
×
735

736
func (x *GetBlockResponse) ProtoReflect() protoreflect.Message {
×
737
        mi := &file_neutrinorpc_neutrino_proto_msgTypes[11]
×
738
        if protoimpl.UnsafeEnabled && x != nil {
×
739
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
740
                if ms.LoadMessageInfo() == nil {
×
741
                        ms.StoreMessageInfo(mi)
×
742
                }
×
743
                return ms
×
744
        }
745
        return mi.MessageOf(x)
×
746
}
747

748
// Deprecated: Use GetBlockResponse.ProtoReflect.Descriptor instead.
749
func (*GetBlockResponse) Descriptor() ([]byte, []int) {
×
750
        return file_neutrinorpc_neutrino_proto_rawDescGZIP(), []int{11}
×
751
}
×
752

753
func (x *GetBlockResponse) GetHash() string {
×
754
        if x != nil {
×
755
                return x.Hash
×
756
        }
×
757
        return ""
×
758
}
759

760
func (x *GetBlockResponse) GetConfirmations() int64 {
×
761
        if x != nil {
×
762
                return x.Confirmations
×
763
        }
×
764
        return 0
×
765
}
766

767
func (x *GetBlockResponse) GetStrippedSize() int64 {
×
768
        if x != nil {
×
769
                return x.StrippedSize
×
770
        }
×
771
        return 0
×
772
}
773

774
func (x *GetBlockResponse) GetSize() int64 {
×
775
        if x != nil {
×
776
                return x.Size
×
777
        }
×
778
        return 0
×
779
}
780

781
func (x *GetBlockResponse) GetWeight() int64 {
×
782
        if x != nil {
×
783
                return x.Weight
×
784
        }
×
785
        return 0
×
786
}
787

788
func (x *GetBlockResponse) GetHeight() int32 {
×
789
        if x != nil {
×
790
                return x.Height
×
791
        }
×
792
        return 0
×
793
}
794

795
func (x *GetBlockResponse) GetVersion() int32 {
×
796
        if x != nil {
×
797
                return x.Version
×
798
        }
×
799
        return 0
×
800
}
801

802
func (x *GetBlockResponse) GetVersionHex() string {
×
803
        if x != nil {
×
804
                return x.VersionHex
×
805
        }
×
806
        return ""
×
807
}
808

809
func (x *GetBlockResponse) GetMerkleroot() string {
×
810
        if x != nil {
×
811
                return x.Merkleroot
×
812
        }
×
813
        return ""
×
814
}
815

816
func (x *GetBlockResponse) GetTx() []string {
×
817
        if x != nil {
×
818
                return x.Tx
×
819
        }
×
820
        return nil
×
821
}
822

823
func (x *GetBlockResponse) GetTime() int64 {
×
824
        if x != nil {
×
825
                return x.Time
×
826
        }
×
827
        return 0
×
828
}
829

830
func (x *GetBlockResponse) GetNonce() uint32 {
×
831
        if x != nil {
×
832
                return x.Nonce
×
833
        }
×
834
        return 0
×
835
}
836

837
func (x *GetBlockResponse) GetBits() string {
×
838
        if x != nil {
×
839
                return x.Bits
×
840
        }
×
841
        return ""
×
842
}
843

844
func (x *GetBlockResponse) GetNtx() int32 {
×
845
        if x != nil {
×
846
                return x.Ntx
×
847
        }
×
848
        return 0
×
849
}
850

851
func (x *GetBlockResponse) GetPreviousBlockHash() string {
×
852
        if x != nil {
×
853
                return x.PreviousBlockHash
×
854
        }
×
855
        return ""
×
856
}
857

858
func (x *GetBlockResponse) GetRawHex() []byte {
×
859
        if x != nil {
×
860
                return x.RawHex
×
861
        }
×
862
        return nil
×
863
}
864

865
type GetCFilterRequest struct {
866
        state         protoimpl.MessageState
867
        sizeCache     protoimpl.SizeCache
868
        unknownFields protoimpl.UnknownFields
869

870
        // Block hash in hex notation.
871
        Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
872
}
873

UNCOV
874
func (x *GetCFilterRequest) Reset() {
×
UNCOV
875
        *x = GetCFilterRequest{}
×
UNCOV
876
        if protoimpl.UnsafeEnabled {
×
UNCOV
877
                mi := &file_neutrinorpc_neutrino_proto_msgTypes[12]
×
UNCOV
878
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
UNCOV
879
                ms.StoreMessageInfo(mi)
×
UNCOV
880
        }
×
881
}
882

883
func (x *GetCFilterRequest) String() string {
×
884
        return protoimpl.X.MessageStringOf(x)
×
885
}
×
886

887
func (*GetCFilterRequest) ProtoMessage() {}
×
888

UNCOV
889
func (x *GetCFilterRequest) ProtoReflect() protoreflect.Message {
×
UNCOV
890
        mi := &file_neutrinorpc_neutrino_proto_msgTypes[12]
×
UNCOV
891
        if protoimpl.UnsafeEnabled && x != nil {
×
UNCOV
892
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
UNCOV
893
                if ms.LoadMessageInfo() == nil {
×
894
                        ms.StoreMessageInfo(mi)
×
895
                }
×
UNCOV
896
                return ms
×
897
        }
898
        return mi.MessageOf(x)
×
899
}
900

901
// Deprecated: Use GetCFilterRequest.ProtoReflect.Descriptor instead.
902
func (*GetCFilterRequest) Descriptor() ([]byte, []int) {
×
903
        return file_neutrinorpc_neutrino_proto_rawDescGZIP(), []int{12}
×
904
}
×
905

906
func (x *GetCFilterRequest) GetHash() string {
×
907
        if x != nil {
×
908
                return x.Hash
×
909
        }
×
910
        return ""
×
911
}
912

913
type GetCFilterResponse struct {
914
        state         protoimpl.MessageState
915
        sizeCache     protoimpl.SizeCache
916
        unknownFields protoimpl.UnknownFields
917

918
        // GCS filter.
919
        Filter []byte `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
920
}
921

922
func (x *GetCFilterResponse) Reset() {
×
923
        *x = GetCFilterResponse{}
×
924
        if protoimpl.UnsafeEnabled {
×
925
                mi := &file_neutrinorpc_neutrino_proto_msgTypes[13]
×
926
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
927
                ms.StoreMessageInfo(mi)
×
928
        }
×
929
}
930

931
func (x *GetCFilterResponse) String() string {
×
932
        return protoimpl.X.MessageStringOf(x)
×
933
}
×
934

935
func (*GetCFilterResponse) ProtoMessage() {}
×
936

UNCOV
937
func (x *GetCFilterResponse) ProtoReflect() protoreflect.Message {
×
UNCOV
938
        mi := &file_neutrinorpc_neutrino_proto_msgTypes[13]
×
UNCOV
939
        if protoimpl.UnsafeEnabled && x != nil {
×
UNCOV
940
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
UNCOV
941
                if ms.LoadMessageInfo() == nil {
×
UNCOV
942
                        ms.StoreMessageInfo(mi)
×
UNCOV
943
                }
×
UNCOV
944
                return ms
×
945
        }
946
        return mi.MessageOf(x)
×
947
}
948

949
// Deprecated: Use GetCFilterResponse.ProtoReflect.Descriptor instead.
950
func (*GetCFilterResponse) Descriptor() ([]byte, []int) {
×
951
        return file_neutrinorpc_neutrino_proto_rawDescGZIP(), []int{13}
×
952
}
×
953

954
func (x *GetCFilterResponse) GetFilter() []byte {
×
955
        if x != nil {
×
956
                return x.Filter
×
957
        }
×
958
        return nil
×
959
}
960

961
type GetBlockHashRequest struct {
962
        state         protoimpl.MessageState
963
        sizeCache     protoimpl.SizeCache
964
        unknownFields protoimpl.UnknownFields
965

966
        // The block height or index.
967
        Height int32 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
968
}
969

970
func (x *GetBlockHashRequest) Reset() {
×
971
        *x = GetBlockHashRequest{}
×
972
        if protoimpl.UnsafeEnabled {
×
973
                mi := &file_neutrinorpc_neutrino_proto_msgTypes[14]
×
974
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
975
                ms.StoreMessageInfo(mi)
×
976
        }
×
977
}
978

979
func (x *GetBlockHashRequest) String() string {
×
980
        return protoimpl.X.MessageStringOf(x)
×
981
}
×
982

983
func (*GetBlockHashRequest) ProtoMessage() {}
×
984

985
func (x *GetBlockHashRequest) ProtoReflect() protoreflect.Message {
×
986
        mi := &file_neutrinorpc_neutrino_proto_msgTypes[14]
×
987
        if protoimpl.UnsafeEnabled && x != nil {
×
988
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
989
                if ms.LoadMessageInfo() == nil {
×
990
                        ms.StoreMessageInfo(mi)
×
991
                }
×
992
                return ms
×
993
        }
994
        return mi.MessageOf(x)
×
995
}
996

997
// Deprecated: Use GetBlockHashRequest.ProtoReflect.Descriptor instead.
998
func (*GetBlockHashRequest) Descriptor() ([]byte, []int) {
×
999
        return file_neutrinorpc_neutrino_proto_rawDescGZIP(), []int{14}
×
1000
}
×
1001

1002
func (x *GetBlockHashRequest) GetHeight() int32 {
×
1003
        if x != nil {
×
1004
                return x.Height
×
1005
        }
×
1006
        return 0
×
1007
}
1008

1009
type GetBlockHashResponse struct {
1010
        state         protoimpl.MessageState
1011
        sizeCache     protoimpl.SizeCache
1012
        unknownFields protoimpl.UnknownFields
1013

1014
        // The block hash.
1015
        Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
1016
}
1017

1018
func (x *GetBlockHashResponse) Reset() {
×
1019
        *x = GetBlockHashResponse{}
×
1020
        if protoimpl.UnsafeEnabled {
×
1021
                mi := &file_neutrinorpc_neutrino_proto_msgTypes[15]
×
1022
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
1023
                ms.StoreMessageInfo(mi)
×
1024
        }
×
1025
}
1026

1027
func (x *GetBlockHashResponse) String() string {
×
1028
        return protoimpl.X.MessageStringOf(x)
×
1029
}
×
1030

1031
func (*GetBlockHashResponse) ProtoMessage() {}
×
1032

1033
func (x *GetBlockHashResponse) ProtoReflect() protoreflect.Message {
×
1034
        mi := &file_neutrinorpc_neutrino_proto_msgTypes[15]
×
1035
        if protoimpl.UnsafeEnabled && x != nil {
×
1036
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
1037
                if ms.LoadMessageInfo() == nil {
×
1038
                        ms.StoreMessageInfo(mi)
×
1039
                }
×
1040
                return ms
×
1041
        }
1042
        return mi.MessageOf(x)
×
1043
}
1044

1045
// Deprecated: Use GetBlockHashResponse.ProtoReflect.Descriptor instead.
1046
func (*GetBlockHashResponse) Descriptor() ([]byte, []int) {
×
1047
        return file_neutrinorpc_neutrino_proto_rawDescGZIP(), []int{15}
×
1048
}
×
1049

1050
func (x *GetBlockHashResponse) GetHash() string {
×
1051
        if x != nil {
×
1052
                return x.Hash
×
1053
        }
×
1054
        return ""
×
1055
}
1056

1057
var File_neutrinorpc_neutrino_proto protoreflect.FileDescriptor
1058

1059
var file_neutrinorpc_neutrino_proto_rawDesc = []byte{
1060
        0x0a, 0x1a, 0x6e, 0x65, 0x75, 0x74, 0x72, 0x69, 0x6e, 0x6f, 0x72, 0x70, 0x63, 0x2f, 0x6e, 0x65,
1061
        0x75, 0x74, 0x72, 0x69, 0x6e, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x6e, 0x65,
1062
        0x75, 0x74, 0x72, 0x69, 0x6e, 0x6f, 0x72, 0x70, 0x63, 0x22, 0x0f, 0x0a, 0x0d, 0x53, 0x74, 0x61,
1063
        0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x98, 0x01, 0x0a, 0x0e, 0x53,
1064
        0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a,
1065
        0x06, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x61,
1066
        0x63, 0x74, 0x69, 0x76, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x79, 0x6e, 0x63, 0x65, 0x64, 0x18,
1067
        0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x73, 0x79, 0x6e, 0x63, 0x65, 0x64, 0x12, 0x21, 0x0a,
1068
        0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x03, 0x20,
1069
        0x01, 0x28, 0x05, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74,
1070
        0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x04,
1071
        0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x61, 0x73, 0x68, 0x12,
1072
        0x14, 0x0a, 0x05, 0x70, 0x65, 0x65, 0x72, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05,
1073
        0x70, 0x65, 0x65, 0x72, 0x73, 0x22, 0x2f, 0x0a, 0x0e, 0x41, 0x64, 0x64, 0x50, 0x65, 0x65, 0x72,
1074
        0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x65, 0x65, 0x72, 0x5f,
1075
        0x61, 0x64, 0x64, 0x72, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x65, 0x65,
1076
        0x72, 0x41, 0x64, 0x64, 0x72, 0x73, 0x22, 0x11, 0x0a, 0x0f, 0x41, 0x64, 0x64, 0x50, 0x65, 0x65,
1077
        0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x36, 0x0a, 0x15, 0x44, 0x69, 0x73,
1078
        0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x50, 0x65, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65,
1079
        0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x65, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x73,
1080
        0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x65, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72,
1081
        0x73, 0x22, 0x18, 0x0a, 0x16, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x50,
1082
        0x65, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x30, 0x0a, 0x0f, 0x49,
1083
        0x73, 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d,
1084
        0x0a, 0x0a, 0x70, 0x65, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x73, 0x18, 0x01, 0x20, 0x01,
1085
        0x28, 0x09, 0x52, 0x09, 0x70, 0x65, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x73, 0x22, 0x2a, 0x0a,
1086
        0x10, 0x49, 0x73, 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
1087
        0x65, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
1088
        0x08, 0x52, 0x06, 0x62, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x22, 0x2b, 0x0a, 0x15, 0x47, 0x65, 0x74,
1089
        0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65,
1090
        0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
1091
        0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x22, 0xaf, 0x03, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x42, 0x6c,
1092
        0x6f, 0x63, 0x6b, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
1093
        0x65, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
1094
        0x04, 0x68, 0x61, 0x73, 0x68, 0x12, 0x24, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d,
1095
        0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x63, 0x6f,
1096
        0x6e, 0x66, 0x69, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x73,
1097
        0x74, 0x72, 0x69, 0x70, 0x70, 0x65, 0x64, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01,
1098
        0x28, 0x03, 0x52, 0x0c, 0x73, 0x74, 0x72, 0x69, 0x70, 0x70, 0x65, 0x64, 0x53, 0x69, 0x7a, 0x65,
1099
        0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04,
1100
        0x73, 0x69, 0x7a, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x05,
1101
        0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x16, 0x0a, 0x06,
1102
        0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x68, 0x65,
1103
        0x69, 0x67, 0x68, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18,
1104
        0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1f,
1105
        0x0a, 0x0b, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x68, 0x65, 0x78, 0x18, 0x08, 0x20,
1106
        0x01, 0x28, 0x09, 0x52, 0x0a, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x65, 0x78, 0x12,
1107
        0x1e, 0x0a, 0x0a, 0x6d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x09, 0x20,
1108
        0x01, 0x28, 0x09, 0x52, 0x0a, 0x6d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x72, 0x6f, 0x6f, 0x74, 0x12,
1109
        0x12, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x74,
1110
        0x69, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x18, 0x0b, 0x20, 0x01,
1111
        0x28, 0x0d, 0x52, 0x05, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x62, 0x69, 0x74,
1112
        0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x62, 0x69, 0x74, 0x73, 0x12, 0x10, 0x0a,
1113
        0x03, 0x6e, 0x74, 0x78, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6e, 0x74, 0x78, 0x12,
1114
        0x2e, 0x0a, 0x13, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x5f, 0x62, 0x6c, 0x6f, 0x63,
1115
        0x6b, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x70, 0x72,
1116
        0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x61, 0x73, 0x68, 0x12,
1117
        0x17, 0x0a, 0x07, 0x72, 0x61, 0x77, 0x5f, 0x68, 0x65, 0x78, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0c,
1118
        0x52, 0x06, 0x72, 0x61, 0x77, 0x48, 0x65, 0x78, 0x22, 0x25, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x42,
1119
        0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x68,
1120
        0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x22,
1121
        0xb9, 0x03, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70,
1122
        0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01,
1123
        0x28, 0x09, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x12, 0x24, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x66,
1124
        0x69, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52,
1125
        0x0d, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x23,
1126
        0x0a, 0x0d, 0x73, 0x74, 0x72, 0x69, 0x70, 0x70, 0x65, 0x64, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18,
1127
        0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x73, 0x74, 0x72, 0x69, 0x70, 0x70, 0x65, 0x64, 0x53,
1128
        0x69, 0x7a, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28,
1129
        0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68,
1130
        0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12,
1131
        0x16, 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52,
1132
        0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69,
1133
        0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f,
1134
        0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x68, 0x65, 0x78,
1135
        0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x48,
1136
        0x65, 0x78, 0x12, 0x1e, 0x0a, 0x0a, 0x6d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x72, 0x6f, 0x6f, 0x74,
1137
        0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6d, 0x65, 0x72, 0x6b, 0x6c, 0x65, 0x72, 0x6f,
1138
        0x6f, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x74, 0x78, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x09, 0x52, 0x02,
1139
        0x74, 0x78, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x03,
1140
        0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x18,
1141
        0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04,
1142
        0x62, 0x69, 0x74, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x62, 0x69, 0x74, 0x73,
1143
        0x12, 0x10, 0x0a, 0x03, 0x6e, 0x74, 0x78, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6e,
1144
        0x74, 0x78, 0x12, 0x2e, 0x0a, 0x13, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x5f, 0x62,
1145
        0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52,
1146
        0x11, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x61,
1147
        0x73, 0x68, 0x12, 0x17, 0x0a, 0x07, 0x72, 0x61, 0x77, 0x5f, 0x68, 0x65, 0x78, 0x18, 0x10, 0x20,
1148
        0x01, 0x28, 0x0c, 0x52, 0x06, 0x72, 0x61, 0x77, 0x48, 0x65, 0x78, 0x22, 0x27, 0x0a, 0x11, 0x47,
1149
        0x65, 0x74, 0x43, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
1150
        0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
1151
        0x68, 0x61, 0x73, 0x68, 0x22, 0x2c, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x43, 0x46, 0x69, 0x6c, 0x74,
1152
        0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69,
1153
        0x6c, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74,
1154
        0x65, 0x72, 0x22, 0x2d, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x61,
1155
        0x73, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x69,
1156
        0x67, 0x68, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68,
1157
        0x74, 0x22, 0x2a, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x61, 0x73,
1158
        0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73,
1159
        0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x32, 0x87, 0x05,
1160
        0x0a, 0x0b, 0x4e, 0x65, 0x75, 0x74, 0x72, 0x69, 0x6e, 0x6f, 0x4b, 0x69, 0x74, 0x12, 0x41, 0x0a,
1161
        0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1a, 0x2e, 0x6e, 0x65, 0x75, 0x74, 0x72, 0x69,
1162
        0x6e, 0x6f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75,
1163
        0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x6e, 0x65, 0x75, 0x74, 0x72, 0x69, 0x6e, 0x6f, 0x72, 0x70,
1164
        0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
1165
        0x12, 0x44, 0x0a, 0x07, 0x41, 0x64, 0x64, 0x50, 0x65, 0x65, 0x72, 0x12, 0x1b, 0x2e, 0x6e, 0x65,
1166
        0x75, 0x74, 0x72, 0x69, 0x6e, 0x6f, 0x72, 0x70, 0x63, 0x2e, 0x41, 0x64, 0x64, 0x50, 0x65, 0x65,
1167
        0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x6e, 0x65, 0x75, 0x74, 0x72,
1168
        0x69, 0x6e, 0x6f, 0x72, 0x70, 0x63, 0x2e, 0x41, 0x64, 0x64, 0x50, 0x65, 0x65, 0x72, 0x52, 0x65,
1169
        0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, 0x0e, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e,
1170
        0x6e, 0x65, 0x63, 0x74, 0x50, 0x65, 0x65, 0x72, 0x12, 0x22, 0x2e, 0x6e, 0x65, 0x75, 0x74, 0x72,
1171
        0x69, 0x6e, 0x6f, 0x72, 0x70, 0x63, 0x2e, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63,
1172
        0x74, 0x50, 0x65, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x6e,
1173
        0x65, 0x75, 0x74, 0x72, 0x69, 0x6e, 0x6f, 0x72, 0x70, 0x63, 0x2e, 0x44, 0x69, 0x73, 0x63, 0x6f,
1174
        0x6e, 0x6e, 0x65, 0x63, 0x74, 0x50, 0x65, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
1175
        0x65, 0x12, 0x47, 0x0a, 0x08, 0x49, 0x73, 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x12, 0x1c, 0x2e,
1176
        0x6e, 0x65, 0x75, 0x74, 0x72, 0x69, 0x6e, 0x6f, 0x72, 0x70, 0x63, 0x2e, 0x49, 0x73, 0x42, 0x61,
1177
        0x6e, 0x6e, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x6e, 0x65,
1178
        0x75, 0x74, 0x72, 0x69, 0x6e, 0x6f, 0x72, 0x70, 0x63, 0x2e, 0x49, 0x73, 0x42, 0x61, 0x6e, 0x6e,
1179
        0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, 0x0e, 0x47, 0x65,
1180
        0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x22, 0x2e, 0x6e,
1181
        0x65, 0x75, 0x74, 0x72, 0x69, 0x6e, 0x6f, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x6c,
1182
        0x6f, 0x63, 0x6b, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
1183
        0x1a, 0x23, 0x2e, 0x6e, 0x65, 0x75, 0x74, 0x72, 0x69, 0x6e, 0x6f, 0x72, 0x70, 0x63, 0x2e, 0x47,
1184
        0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73,
1185
        0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63,
1186
        0x6b, 0x12, 0x1c, 0x2e, 0x6e, 0x65, 0x75, 0x74, 0x72, 0x69, 0x6e, 0x6f, 0x72, 0x70, 0x63, 0x2e,
1187
        0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
1188
        0x1d, 0x2e, 0x6e, 0x65, 0x75, 0x74, 0x72, 0x69, 0x6e, 0x6f, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65,
1189
        0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d,
1190
        0x0a, 0x0a, 0x47, 0x65, 0x74, 0x43, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x1e, 0x2e, 0x6e,
1191
        0x65, 0x75, 0x74, 0x72, 0x69, 0x6e, 0x6f, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x46,
1192
        0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x6e,
1193
        0x65, 0x75, 0x74, 0x72, 0x69, 0x6e, 0x6f, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x46,
1194
        0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x58, 0x0a,
1195
        0x0c, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x61, 0x73, 0x68, 0x12, 0x20, 0x2e,
1196
        0x6e, 0x65, 0x75, 0x74, 0x72, 0x69, 0x6e, 0x6f, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x42,
1197
        0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x61, 0x73, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
1198
        0x21, 0x2e, 0x6e, 0x65, 0x75, 0x74, 0x72, 0x69, 0x6e, 0x6f, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65,
1199
        0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x61, 0x73, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
1200
        0x73, 0x65, 0x22, 0x03, 0x88, 0x02, 0x01, 0x42, 0x33, 0x5a, 0x31, 0x67, 0x69, 0x74, 0x68, 0x75,
1201
        0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x6e, 0x69, 0x6e, 0x67, 0x6e,
1202
        0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x6c, 0x6e, 0x64, 0x2f, 0x6c, 0x6e, 0x72, 0x70, 0x63,
1203
        0x2f, 0x6e, 0x65, 0x75, 0x74, 0x72, 0x69, 0x6e, 0x6f, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, 0x72,
1204
        0x6f, 0x74, 0x6f, 0x33,
1205
}
1206

1207
var (
1208
        file_neutrinorpc_neutrino_proto_rawDescOnce sync.Once
1209
        file_neutrinorpc_neutrino_proto_rawDescData = file_neutrinorpc_neutrino_proto_rawDesc
1210
)
1211

1212
func file_neutrinorpc_neutrino_proto_rawDescGZIP() []byte {
×
1213
        file_neutrinorpc_neutrino_proto_rawDescOnce.Do(func() {
×
1214
                file_neutrinorpc_neutrino_proto_rawDescData = protoimpl.X.CompressGZIP(file_neutrinorpc_neutrino_proto_rawDescData)
×
1215
        })
×
1216
        return file_neutrinorpc_neutrino_proto_rawDescData
×
1217
}
1218

1219
var file_neutrinorpc_neutrino_proto_msgTypes = make([]protoimpl.MessageInfo, 16)
1220
var file_neutrinorpc_neutrino_proto_goTypes = []interface{}{
1221
        (*StatusRequest)(nil),          // 0: neutrinorpc.StatusRequest
1222
        (*StatusResponse)(nil),         // 1: neutrinorpc.StatusResponse
1223
        (*AddPeerRequest)(nil),         // 2: neutrinorpc.AddPeerRequest
1224
        (*AddPeerResponse)(nil),        // 3: neutrinorpc.AddPeerResponse
1225
        (*DisconnectPeerRequest)(nil),  // 4: neutrinorpc.DisconnectPeerRequest
1226
        (*DisconnectPeerResponse)(nil), // 5: neutrinorpc.DisconnectPeerResponse
1227
        (*IsBannedRequest)(nil),        // 6: neutrinorpc.IsBannedRequest
1228
        (*IsBannedResponse)(nil),       // 7: neutrinorpc.IsBannedResponse
1229
        (*GetBlockHeaderRequest)(nil),  // 8: neutrinorpc.GetBlockHeaderRequest
1230
        (*GetBlockHeaderResponse)(nil), // 9: neutrinorpc.GetBlockHeaderResponse
1231
        (*GetBlockRequest)(nil),        // 10: neutrinorpc.GetBlockRequest
1232
        (*GetBlockResponse)(nil),       // 11: neutrinorpc.GetBlockResponse
1233
        (*GetCFilterRequest)(nil),      // 12: neutrinorpc.GetCFilterRequest
1234
        (*GetCFilterResponse)(nil),     // 13: neutrinorpc.GetCFilterResponse
1235
        (*GetBlockHashRequest)(nil),    // 14: neutrinorpc.GetBlockHashRequest
1236
        (*GetBlockHashResponse)(nil),   // 15: neutrinorpc.GetBlockHashResponse
1237
}
1238
var file_neutrinorpc_neutrino_proto_depIdxs = []int32{
1239
        0,  // 0: neutrinorpc.NeutrinoKit.Status:input_type -> neutrinorpc.StatusRequest
1240
        2,  // 1: neutrinorpc.NeutrinoKit.AddPeer:input_type -> neutrinorpc.AddPeerRequest
1241
        4,  // 2: neutrinorpc.NeutrinoKit.DisconnectPeer:input_type -> neutrinorpc.DisconnectPeerRequest
1242
        6,  // 3: neutrinorpc.NeutrinoKit.IsBanned:input_type -> neutrinorpc.IsBannedRequest
1243
        8,  // 4: neutrinorpc.NeutrinoKit.GetBlockHeader:input_type -> neutrinorpc.GetBlockHeaderRequest
1244
        10, // 5: neutrinorpc.NeutrinoKit.GetBlock:input_type -> neutrinorpc.GetBlockRequest
1245
        12, // 6: neutrinorpc.NeutrinoKit.GetCFilter:input_type -> neutrinorpc.GetCFilterRequest
1246
        14, // 7: neutrinorpc.NeutrinoKit.GetBlockHash:input_type -> neutrinorpc.GetBlockHashRequest
1247
        1,  // 8: neutrinorpc.NeutrinoKit.Status:output_type -> neutrinorpc.StatusResponse
1248
        3,  // 9: neutrinorpc.NeutrinoKit.AddPeer:output_type -> neutrinorpc.AddPeerResponse
1249
        5,  // 10: neutrinorpc.NeutrinoKit.DisconnectPeer:output_type -> neutrinorpc.DisconnectPeerResponse
1250
        7,  // 11: neutrinorpc.NeutrinoKit.IsBanned:output_type -> neutrinorpc.IsBannedResponse
1251
        9,  // 12: neutrinorpc.NeutrinoKit.GetBlockHeader:output_type -> neutrinorpc.GetBlockHeaderResponse
1252
        11, // 13: neutrinorpc.NeutrinoKit.GetBlock:output_type -> neutrinorpc.GetBlockResponse
1253
        13, // 14: neutrinorpc.NeutrinoKit.GetCFilter:output_type -> neutrinorpc.GetCFilterResponse
1254
        15, // 15: neutrinorpc.NeutrinoKit.GetBlockHash:output_type -> neutrinorpc.GetBlockHashResponse
1255
        8,  // [8:16] is the sub-list for method output_type
1256
        0,  // [0:8] is the sub-list for method input_type
1257
        0,  // [0:0] is the sub-list for extension type_name
1258
        0,  // [0:0] is the sub-list for extension extendee
1259
        0,  // [0:0] is the sub-list for field type_name
1260
}
1261

1262
func init() { file_neutrinorpc_neutrino_proto_init() }
2✔
1263
func file_neutrinorpc_neutrino_proto_init() {
2✔
1264
        if File_neutrinorpc_neutrino_proto != nil {
2✔
1265
                return
×
1266
        }
×
1267
        if !protoimpl.UnsafeEnabled {
2✔
1268
                file_neutrinorpc_neutrino_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
×
1269
                        switch v := v.(*StatusRequest); i {
×
1270
                        case 0:
×
1271
                                return &v.state
×
1272
                        case 1:
×
1273
                                return &v.sizeCache
×
1274
                        case 2:
×
1275
                                return &v.unknownFields
×
1276
                        default:
×
1277
                                return nil
×
1278
                        }
1279
                }
1280
                file_neutrinorpc_neutrino_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
×
1281
                        switch v := v.(*StatusResponse); i {
×
1282
                        case 0:
×
1283
                                return &v.state
×
1284
                        case 1:
×
1285
                                return &v.sizeCache
×
1286
                        case 2:
×
1287
                                return &v.unknownFields
×
1288
                        default:
×
1289
                                return nil
×
1290
                        }
1291
                }
1292
                file_neutrinorpc_neutrino_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
×
1293
                        switch v := v.(*AddPeerRequest); i {
×
1294
                        case 0:
×
1295
                                return &v.state
×
1296
                        case 1:
×
1297
                                return &v.sizeCache
×
1298
                        case 2:
×
1299
                                return &v.unknownFields
×
1300
                        default:
×
1301
                                return nil
×
1302
                        }
1303
                }
1304
                file_neutrinorpc_neutrino_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
×
1305
                        switch v := v.(*AddPeerResponse); i {
×
1306
                        case 0:
×
1307
                                return &v.state
×
1308
                        case 1:
×
1309
                                return &v.sizeCache
×
1310
                        case 2:
×
1311
                                return &v.unknownFields
×
1312
                        default:
×
1313
                                return nil
×
1314
                        }
1315
                }
1316
                file_neutrinorpc_neutrino_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
×
1317
                        switch v := v.(*DisconnectPeerRequest); i {
×
1318
                        case 0:
×
1319
                                return &v.state
×
1320
                        case 1:
×
1321
                                return &v.sizeCache
×
1322
                        case 2:
×
1323
                                return &v.unknownFields
×
1324
                        default:
×
1325
                                return nil
×
1326
                        }
1327
                }
1328
                file_neutrinorpc_neutrino_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
×
1329
                        switch v := v.(*DisconnectPeerResponse); i {
×
1330
                        case 0:
×
1331
                                return &v.state
×
1332
                        case 1:
×
1333
                                return &v.sizeCache
×
1334
                        case 2:
×
1335
                                return &v.unknownFields
×
1336
                        default:
×
1337
                                return nil
×
1338
                        }
1339
                }
1340
                file_neutrinorpc_neutrino_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
×
1341
                        switch v := v.(*IsBannedRequest); i {
×
1342
                        case 0:
×
1343
                                return &v.state
×
1344
                        case 1:
×
1345
                                return &v.sizeCache
×
1346
                        case 2:
×
1347
                                return &v.unknownFields
×
1348
                        default:
×
1349
                                return nil
×
1350
                        }
1351
                }
1352
                file_neutrinorpc_neutrino_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
×
1353
                        switch v := v.(*IsBannedResponse); i {
×
1354
                        case 0:
×
1355
                                return &v.state
×
1356
                        case 1:
×
1357
                                return &v.sizeCache
×
1358
                        case 2:
×
1359
                                return &v.unknownFields
×
1360
                        default:
×
1361
                                return nil
×
1362
                        }
1363
                }
1364
                file_neutrinorpc_neutrino_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
×
1365
                        switch v := v.(*GetBlockHeaderRequest); i {
×
1366
                        case 0:
×
1367
                                return &v.state
×
1368
                        case 1:
×
1369
                                return &v.sizeCache
×
1370
                        case 2:
×
1371
                                return &v.unknownFields
×
1372
                        default:
×
1373
                                return nil
×
1374
                        }
1375
                }
1376
                file_neutrinorpc_neutrino_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
×
1377
                        switch v := v.(*GetBlockHeaderResponse); i {
×
1378
                        case 0:
×
1379
                                return &v.state
×
1380
                        case 1:
×
1381
                                return &v.sizeCache
×
1382
                        case 2:
×
1383
                                return &v.unknownFields
×
1384
                        default:
×
1385
                                return nil
×
1386
                        }
1387
                }
1388
                file_neutrinorpc_neutrino_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
×
1389
                        switch v := v.(*GetBlockRequest); i {
×
1390
                        case 0:
×
1391
                                return &v.state
×
1392
                        case 1:
×
1393
                                return &v.sizeCache
×
1394
                        case 2:
×
1395
                                return &v.unknownFields
×
1396
                        default:
×
1397
                                return nil
×
1398
                        }
1399
                }
1400
                file_neutrinorpc_neutrino_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
×
1401
                        switch v := v.(*GetBlockResponse); i {
×
1402
                        case 0:
×
1403
                                return &v.state
×
1404
                        case 1:
×
1405
                                return &v.sizeCache
×
1406
                        case 2:
×
1407
                                return &v.unknownFields
×
1408
                        default:
×
1409
                                return nil
×
1410
                        }
1411
                }
1412
                file_neutrinorpc_neutrino_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
×
1413
                        switch v := v.(*GetCFilterRequest); i {
×
1414
                        case 0:
×
1415
                                return &v.state
×
1416
                        case 1:
×
1417
                                return &v.sizeCache
×
1418
                        case 2:
×
1419
                                return &v.unknownFields
×
1420
                        default:
×
1421
                                return nil
×
1422
                        }
1423
                }
1424
                file_neutrinorpc_neutrino_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
×
1425
                        switch v := v.(*GetCFilterResponse); i {
×
1426
                        case 0:
×
1427
                                return &v.state
×
1428
                        case 1:
×
1429
                                return &v.sizeCache
×
1430
                        case 2:
×
1431
                                return &v.unknownFields
×
1432
                        default:
×
1433
                                return nil
×
1434
                        }
1435
                }
1436
                file_neutrinorpc_neutrino_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
×
1437
                        switch v := v.(*GetBlockHashRequest); i {
×
1438
                        case 0:
×
1439
                                return &v.state
×
1440
                        case 1:
×
1441
                                return &v.sizeCache
×
1442
                        case 2:
×
1443
                                return &v.unknownFields
×
1444
                        default:
×
1445
                                return nil
×
1446
                        }
1447
                }
1448
                file_neutrinorpc_neutrino_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
×
1449
                        switch v := v.(*GetBlockHashResponse); i {
×
1450
                        case 0:
×
1451
                                return &v.state
×
1452
                        case 1:
×
1453
                                return &v.sizeCache
×
1454
                        case 2:
×
1455
                                return &v.unknownFields
×
1456
                        default:
×
1457
                                return nil
×
1458
                        }
1459
                }
1460
        }
1461
        type x struct{}
2✔
1462
        out := protoimpl.TypeBuilder{
2✔
1463
                File: protoimpl.DescBuilder{
2✔
1464
                        GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
2✔
1465
                        RawDescriptor: file_neutrinorpc_neutrino_proto_rawDesc,
2✔
1466
                        NumEnums:      0,
2✔
1467
                        NumMessages:   16,
2✔
1468
                        NumExtensions: 0,
2✔
1469
                        NumServices:   1,
2✔
1470
                },
2✔
1471
                GoTypes:           file_neutrinorpc_neutrino_proto_goTypes,
2✔
1472
                DependencyIndexes: file_neutrinorpc_neutrino_proto_depIdxs,
2✔
1473
                MessageInfos:      file_neutrinorpc_neutrino_proto_msgTypes,
2✔
1474
        }.Build()
2✔
1475
        File_neutrinorpc_neutrino_proto = out.File
2✔
1476
        file_neutrinorpc_neutrino_proto_rawDesc = nil
2✔
1477
        file_neutrinorpc_neutrino_proto_goTypes = nil
2✔
1478
        file_neutrinorpc_neutrino_proto_depIdxs = nil
2✔
1479
}
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