@latticexyz/services 1.16.0 → 1.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bin/ecs-relay CHANGED
Binary file
package/bin/ecs-snapshot CHANGED
Binary file
package/bin/ecs-stream CHANGED
Binary file
package/bin/faucet CHANGED
Binary file
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@latticexyz/services",
3
3
  "license": "MIT",
4
- "version": "1.16.0",
4
+ "version": "1.18.0",
5
5
  "description": "MUD services for enhanced interactions with on-chain ECS state",
6
6
  "main": "protobuf/ts",
7
7
  "repository": {
@@ -20,5 +20,5 @@
20
20
  "ts-proto": "^1.126.1",
21
21
  "typedoc": "^0.23.10"
22
22
  },
23
- "gitHead": "b9e8909cfe6de3e2d1b3aab8bd15432cde76cafd"
23
+ "gitHead": "d579fab7e081e0208beb90bcb23f25e711897ba2"
24
24
  }
@@ -1,7 +1,7 @@
1
1
  // Code generated by protoc-gen-go. DO NOT EDIT.
2
2
  // versions:
3
3
  // protoc-gen-go v1.28.1
4
- // protoc v3.20.1
4
+ // protoc v3.21.3
5
5
  // source: proto/ecs-snapshot.proto
6
6
 
7
7
  package ecs_snapshot
@@ -273,6 +273,134 @@ func (x *ECSStateRequestLatest) GetWorldAddress() string {
273
273
  return ""
274
274
  }
275
275
 
276
+ // The request message for the latest ECS statem, pruned for specific address.
277
+ type ECSStateRequestLatestStreamPruned struct {
278
+ state protoimpl.MessageState
279
+ sizeCache protoimpl.SizeCache
280
+ unknownFields protoimpl.UnknownFields
281
+
282
+ WorldAddress string `protobuf:"bytes,1,opt,name=worldAddress,proto3" json:"worldAddress,omitempty"`
283
+ PruneAddress string `protobuf:"bytes,2,opt,name=pruneAddress,proto3" json:"pruneAddress,omitempty"`
284
+ PruneComponentId *string `protobuf:"bytes,3,opt,name=pruneComponentId,proto3,oneof" json:"pruneComponentId,omitempty"`
285
+ ChunkPercentage *uint32 `protobuf:"varint,4,opt,name=chunkPercentage,proto3,oneof" json:"chunkPercentage,omitempty"`
286
+ }
287
+
288
+ func (x *ECSStateRequestLatestStreamPruned) Reset() {
289
+ *x = ECSStateRequestLatestStreamPruned{}
290
+ if protoimpl.UnsafeEnabled {
291
+ mi := &file_proto_ecs_snapshot_proto_msgTypes[4]
292
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
293
+ ms.StoreMessageInfo(mi)
294
+ }
295
+ }
296
+
297
+ func (x *ECSStateRequestLatestStreamPruned) String() string {
298
+ return protoimpl.X.MessageStringOf(x)
299
+ }
300
+
301
+ func (*ECSStateRequestLatestStreamPruned) ProtoMessage() {}
302
+
303
+ func (x *ECSStateRequestLatestStreamPruned) ProtoReflect() protoreflect.Message {
304
+ mi := &file_proto_ecs_snapshot_proto_msgTypes[4]
305
+ if protoimpl.UnsafeEnabled && x != nil {
306
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
307
+ if ms.LoadMessageInfo() == nil {
308
+ ms.StoreMessageInfo(mi)
309
+ }
310
+ return ms
311
+ }
312
+ return mi.MessageOf(x)
313
+ }
314
+
315
+ // Deprecated: Use ECSStateRequestLatestStreamPruned.ProtoReflect.Descriptor instead.
316
+ func (*ECSStateRequestLatestStreamPruned) Descriptor() ([]byte, []int) {
317
+ return file_proto_ecs_snapshot_proto_rawDescGZIP(), []int{4}
318
+ }
319
+
320
+ func (x *ECSStateRequestLatestStreamPruned) GetWorldAddress() string {
321
+ if x != nil {
322
+ return x.WorldAddress
323
+ }
324
+ return ""
325
+ }
326
+
327
+ func (x *ECSStateRequestLatestStreamPruned) GetPruneAddress() string {
328
+ if x != nil {
329
+ return x.PruneAddress
330
+ }
331
+ return ""
332
+ }
333
+
334
+ func (x *ECSStateRequestLatestStreamPruned) GetPruneComponentId() string {
335
+ if x != nil && x.PruneComponentId != nil {
336
+ return *x.PruneComponentId
337
+ }
338
+ return ""
339
+ }
340
+
341
+ func (x *ECSStateRequestLatestStreamPruned) GetChunkPercentage() uint32 {
342
+ if x != nil && x.ChunkPercentage != nil {
343
+ return *x.ChunkPercentage
344
+ }
345
+ return 0
346
+ }
347
+
348
+ // The request message for the latest chunked ECS state.
349
+ type ECSStateRequestLatestStream struct {
350
+ state protoimpl.MessageState
351
+ sizeCache protoimpl.SizeCache
352
+ unknownFields protoimpl.UnknownFields
353
+
354
+ WorldAddress string `protobuf:"bytes,1,opt,name=worldAddress,proto3" json:"worldAddress,omitempty"`
355
+ ChunkPercentage *uint32 `protobuf:"varint,2,opt,name=chunkPercentage,proto3,oneof" json:"chunkPercentage,omitempty"`
356
+ }
357
+
358
+ func (x *ECSStateRequestLatestStream) Reset() {
359
+ *x = ECSStateRequestLatestStream{}
360
+ if protoimpl.UnsafeEnabled {
361
+ mi := &file_proto_ecs_snapshot_proto_msgTypes[5]
362
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
363
+ ms.StoreMessageInfo(mi)
364
+ }
365
+ }
366
+
367
+ func (x *ECSStateRequestLatestStream) String() string {
368
+ return protoimpl.X.MessageStringOf(x)
369
+ }
370
+
371
+ func (*ECSStateRequestLatestStream) ProtoMessage() {}
372
+
373
+ func (x *ECSStateRequestLatestStream) ProtoReflect() protoreflect.Message {
374
+ mi := &file_proto_ecs_snapshot_proto_msgTypes[5]
375
+ if protoimpl.UnsafeEnabled && x != nil {
376
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
377
+ if ms.LoadMessageInfo() == nil {
378
+ ms.StoreMessageInfo(mi)
379
+ }
380
+ return ms
381
+ }
382
+ return mi.MessageOf(x)
383
+ }
384
+
385
+ // Deprecated: Use ECSStateRequestLatestStream.ProtoReflect.Descriptor instead.
386
+ func (*ECSStateRequestLatestStream) Descriptor() ([]byte, []int) {
387
+ return file_proto_ecs_snapshot_proto_rawDescGZIP(), []int{5}
388
+ }
389
+
390
+ func (x *ECSStateRequestLatestStream) GetWorldAddress() string {
391
+ if x != nil {
392
+ return x.WorldAddress
393
+ }
394
+ return ""
395
+ }
396
+
397
+ func (x *ECSStateRequestLatestStream) GetChunkPercentage() uint32 {
398
+ if x != nil && x.ChunkPercentage != nil {
399
+ return *x.ChunkPercentage
400
+ }
401
+ return 0
402
+ }
403
+
276
404
  // The request message for the latest block based on latest ECS state.
277
405
  type ECSStateBlockRequestLatest struct {
278
406
  state protoimpl.MessageState
@@ -285,7 +413,7 @@ type ECSStateBlockRequestLatest struct {
285
413
  func (x *ECSStateBlockRequestLatest) Reset() {
286
414
  *x = ECSStateBlockRequestLatest{}
287
415
  if protoimpl.UnsafeEnabled {
288
- mi := &file_proto_ecs_snapshot_proto_msgTypes[4]
416
+ mi := &file_proto_ecs_snapshot_proto_msgTypes[6]
289
417
  ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
290
418
  ms.StoreMessageInfo(mi)
291
419
  }
@@ -298,7 +426,7 @@ func (x *ECSStateBlockRequestLatest) String() string {
298
426
  func (*ECSStateBlockRequestLatest) ProtoMessage() {}
299
427
 
300
428
  func (x *ECSStateBlockRequestLatest) ProtoReflect() protoreflect.Message {
301
- mi := &file_proto_ecs_snapshot_proto_msgTypes[4]
429
+ mi := &file_proto_ecs_snapshot_proto_msgTypes[6]
302
430
  if protoimpl.UnsafeEnabled && x != nil {
303
431
  ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
304
432
  if ms.LoadMessageInfo() == nil {
@@ -311,7 +439,7 @@ func (x *ECSStateBlockRequestLatest) ProtoReflect() protoreflect.Message {
311
439
 
312
440
  // Deprecated: Use ECSStateBlockRequestLatest.ProtoReflect.Descriptor instead.
313
441
  func (*ECSStateBlockRequestLatest) Descriptor() ([]byte, []int) {
314
- return file_proto_ecs_snapshot_proto_rawDescGZIP(), []int{4}
442
+ return file_proto_ecs_snapshot_proto_rawDescGZIP(), []int{6}
315
443
  }
316
444
 
317
445
  func (x *ECSStateBlockRequestLatest) GetWorldAddress() string {
@@ -333,7 +461,7 @@ type ECSStateRequestAtBlock struct {
333
461
  func (x *ECSStateRequestAtBlock) Reset() {
334
462
  *x = ECSStateRequestAtBlock{}
335
463
  if protoimpl.UnsafeEnabled {
336
- mi := &file_proto_ecs_snapshot_proto_msgTypes[5]
464
+ mi := &file_proto_ecs_snapshot_proto_msgTypes[7]
337
465
  ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
338
466
  ms.StoreMessageInfo(mi)
339
467
  }
@@ -346,7 +474,7 @@ func (x *ECSStateRequestAtBlock) String() string {
346
474
  func (*ECSStateRequestAtBlock) ProtoMessage() {}
347
475
 
348
476
  func (x *ECSStateRequestAtBlock) ProtoReflect() protoreflect.Message {
349
- mi := &file_proto_ecs_snapshot_proto_msgTypes[5]
477
+ mi := &file_proto_ecs_snapshot_proto_msgTypes[7]
350
478
  if protoimpl.UnsafeEnabled && x != nil {
351
479
  ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
352
480
  if ms.LoadMessageInfo() == nil {
@@ -359,7 +487,7 @@ func (x *ECSStateRequestAtBlock) ProtoReflect() protoreflect.Message {
359
487
 
360
488
  // Deprecated: Use ECSStateRequestAtBlock.ProtoReflect.Descriptor instead.
361
489
  func (*ECSStateRequestAtBlock) Descriptor() ([]byte, []int) {
362
- return file_proto_ecs_snapshot_proto_rawDescGZIP(), []int{5}
490
+ return file_proto_ecs_snapshot_proto_rawDescGZIP(), []int{7}
363
491
  }
364
492
 
365
493
  func (x *ECSStateRequestAtBlock) GetBlockNumber() uint64 {
@@ -379,7 +507,7 @@ type WorldsRequest struct {
379
507
  func (x *WorldsRequest) Reset() {
380
508
  *x = WorldsRequest{}
381
509
  if protoimpl.UnsafeEnabled {
382
- mi := &file_proto_ecs_snapshot_proto_msgTypes[6]
510
+ mi := &file_proto_ecs_snapshot_proto_msgTypes[8]
383
511
  ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
384
512
  ms.StoreMessageInfo(mi)
385
513
  }
@@ -392,7 +520,7 @@ func (x *WorldsRequest) String() string {
392
520
  func (*WorldsRequest) ProtoMessage() {}
393
521
 
394
522
  func (x *WorldsRequest) ProtoReflect() protoreflect.Message {
395
- mi := &file_proto_ecs_snapshot_proto_msgTypes[6]
523
+ mi := &file_proto_ecs_snapshot_proto_msgTypes[8]
396
524
  if protoimpl.UnsafeEnabled && x != nil {
397
525
  ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
398
526
  if ms.LoadMessageInfo() == nil {
@@ -405,7 +533,7 @@ func (x *WorldsRequest) ProtoReflect() protoreflect.Message {
405
533
 
406
534
  // Deprecated: Use WorldsRequest.ProtoReflect.Descriptor instead.
407
535
  func (*WorldsRequest) Descriptor() ([]byte, []int) {
408
- return file_proto_ecs_snapshot_proto_rawDescGZIP(), []int{6}
536
+ return file_proto_ecs_snapshot_proto_rawDescGZIP(), []int{8}
409
537
  }
410
538
 
411
539
  // The response message containing the current state, hash of that state, and the block number of that state.
@@ -424,7 +552,7 @@ type ECSStateReply struct {
424
552
  func (x *ECSStateReply) Reset() {
425
553
  *x = ECSStateReply{}
426
554
  if protoimpl.UnsafeEnabled {
427
- mi := &file_proto_ecs_snapshot_proto_msgTypes[7]
555
+ mi := &file_proto_ecs_snapshot_proto_msgTypes[9]
428
556
  ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
429
557
  ms.StoreMessageInfo(mi)
430
558
  }
@@ -437,7 +565,7 @@ func (x *ECSStateReply) String() string {
437
565
  func (*ECSStateReply) ProtoMessage() {}
438
566
 
439
567
  func (x *ECSStateReply) ProtoReflect() protoreflect.Message {
440
- mi := &file_proto_ecs_snapshot_proto_msgTypes[7]
568
+ mi := &file_proto_ecs_snapshot_proto_msgTypes[9]
441
569
  if protoimpl.UnsafeEnabled && x != nil {
442
570
  ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
443
571
  if ms.LoadMessageInfo() == nil {
@@ -450,7 +578,7 @@ func (x *ECSStateReply) ProtoReflect() protoreflect.Message {
450
578
 
451
579
  // Deprecated: Use ECSStateReply.ProtoReflect.Descriptor instead.
452
580
  func (*ECSStateReply) Descriptor() ([]byte, []int) {
453
- return file_proto_ecs_snapshot_proto_rawDescGZIP(), []int{7}
581
+ return file_proto_ecs_snapshot_proto_rawDescGZIP(), []int{9}
454
582
  }
455
583
 
456
584
  func (x *ECSStateReply) GetState() []*ECSState {
@@ -499,7 +627,7 @@ type ECSStateBlockReply struct {
499
627
  func (x *ECSStateBlockReply) Reset() {
500
628
  *x = ECSStateBlockReply{}
501
629
  if protoimpl.UnsafeEnabled {
502
- mi := &file_proto_ecs_snapshot_proto_msgTypes[8]
630
+ mi := &file_proto_ecs_snapshot_proto_msgTypes[10]
503
631
  ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
504
632
  ms.StoreMessageInfo(mi)
505
633
  }
@@ -512,7 +640,7 @@ func (x *ECSStateBlockReply) String() string {
512
640
  func (*ECSStateBlockReply) ProtoMessage() {}
513
641
 
514
642
  func (x *ECSStateBlockReply) ProtoReflect() protoreflect.Message {
515
- mi := &file_proto_ecs_snapshot_proto_msgTypes[8]
643
+ mi := &file_proto_ecs_snapshot_proto_msgTypes[10]
516
644
  if protoimpl.UnsafeEnabled && x != nil {
517
645
  ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
518
646
  if ms.LoadMessageInfo() == nil {
@@ -525,7 +653,7 @@ func (x *ECSStateBlockReply) ProtoReflect() protoreflect.Message {
525
653
 
526
654
  // Deprecated: Use ECSStateBlockReply.ProtoReflect.Descriptor instead.
527
655
  func (*ECSStateBlockReply) Descriptor() ([]byte, []int) {
528
- return file_proto_ecs_snapshot_proto_rawDescGZIP(), []int{8}
656
+ return file_proto_ecs_snapshot_proto_rawDescGZIP(), []int{10}
529
657
  }
530
658
 
531
659
  func (x *ECSStateBlockReply) GetBlockNumber() uint32 {
@@ -572,63 +700,94 @@ var file_proto_ecs_snapshot_proto_rawDesc = []byte{
572
700
  0x15, 0x45, 0x43, 0x53, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
573
701
  0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x41,
574
702
  0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x77, 0x6f,
575
- 0x72, 0x6c, 0x64, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x40, 0x0a, 0x1a, 0x45, 0x43,
576
- 0x53, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65,
577
- 0x73, 0x74, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x77, 0x6f, 0x72, 0x6c,
578
- 0x64, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c,
579
- 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x3a, 0x0a, 0x16,
580
- 0x45, 0x43, 0x53, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x41,
581
- 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x20, 0x0a, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x4e,
582
- 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x62, 0x6c, 0x6f,
583
- 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0x0f, 0x0a, 0x0d, 0x57, 0x6f, 0x72, 0x6c,
584
- 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xcc, 0x01, 0x0a, 0x0d, 0x45, 0x43,
585
- 0x53, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x2b, 0x0a, 0x05, 0x73,
586
- 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x65, 0x63, 0x73,
587
- 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x2e, 0x45, 0x43, 0x53, 0x53, 0x74, 0x61, 0x74,
588
- 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x73, 0x74, 0x61, 0x74,
589
- 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28,
590
- 0x09, 0x52, 0x0f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e,
591
- 0x74, 0x73, 0x12, 0x24, 0x0a, 0x0d, 0x73, 0x74, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74,
592
- 0x69, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x74, 0x61, 0x74, 0x65,
593
- 0x45, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x74, 0x61, 0x74,
594
- 0x65, 0x48, 0x61, 0x73, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x74, 0x61,
595
- 0x74, 0x65, 0x48, 0x61, 0x73, 0x68, 0x12, 0x20, 0x0a, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x4e,
596
- 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x62, 0x6c, 0x6f,
597
- 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0x36, 0x0a, 0x12, 0x45, 0x43, 0x53, 0x53,
598
- 0x74, 0x61, 0x74, 0x65, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x20,
599
- 0x0a, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20,
600
- 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72,
601
- 0x32, 0xc2, 0x03, 0x0a, 0x17, 0x45, 0x43, 0x53, 0x53, 0x74, 0x61, 0x74, 0x65, 0x53, 0x6e, 0x61,
602
- 0x70, 0x73, 0x68, 0x6f, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x52, 0x0a, 0x0e,
603
- 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x12, 0x22,
604
- 0x2e, 0x65, 0x63, 0x73, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x2e, 0x45, 0x43, 0x53,
605
- 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4c, 0x61, 0x74, 0x65,
606
- 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x65, 0x63, 0x73, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74,
607
- 0x2e, 0x45, 0x43, 0x53, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00,
608
- 0x12, 0x5a, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x4c, 0x61, 0x74, 0x65,
609
- 0x73, 0x74, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, 0x22, 0x2e, 0x65, 0x63, 0x73, 0x73, 0x6e,
703
+ 0x72, 0x6c, 0x64, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0xf4, 0x01, 0x0a, 0x21, 0x45,
704
+ 0x43, 0x53, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4c, 0x61,
705
+ 0x74, 0x65, 0x73, 0x74, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x50, 0x72, 0x75, 0x6e, 0x65, 0x64,
706
+ 0x12, 0x22, 0x0a, 0x0c, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73,
707
+ 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x41, 0x64, 0x64,
708
+ 0x72, 0x65, 0x73, 0x73, 0x12, 0x22, 0x0a, 0x0c, 0x70, 0x72, 0x75, 0x6e, 0x65, 0x41, 0x64, 0x64,
709
+ 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x70, 0x72, 0x75, 0x6e,
710
+ 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x2f, 0x0a, 0x10, 0x70, 0x72, 0x75, 0x6e,
711
+ 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01,
712
+ 0x28, 0x09, 0x48, 0x00, 0x52, 0x10, 0x70, 0x72, 0x75, 0x6e, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x6f,
713
+ 0x6e, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x2d, 0x0a, 0x0f, 0x63, 0x68, 0x75,
714
+ 0x6e, 0x6b, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01,
715
+ 0x28, 0x0d, 0x48, 0x01, 0x52, 0x0f, 0x63, 0x68, 0x75, 0x6e, 0x6b, 0x50, 0x65, 0x72, 0x63, 0x65,
716
+ 0x6e, 0x74, 0x61, 0x67, 0x65, 0x88, 0x01, 0x01, 0x42, 0x13, 0x0a, 0x11, 0x5f, 0x70, 0x72, 0x75,
717
+ 0x6e, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x42, 0x12, 0x0a,
718
+ 0x10, 0x5f, 0x63, 0x68, 0x75, 0x6e, 0x6b, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67,
719
+ 0x65, 0x22, 0x84, 0x01, 0x0a, 0x1b, 0x45, 0x43, 0x53, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65,
720
+ 0x71, 0x75, 0x65, 0x73, 0x74, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x53, 0x74, 0x72, 0x65, 0x61,
721
+ 0x6d, 0x12, 0x22, 0x0a, 0x0c, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73,
722
+ 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x41, 0x64,
723
+ 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x2d, 0x0a, 0x0f, 0x63, 0x68, 0x75, 0x6e, 0x6b, 0x50, 0x65,
724
+ 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x00,
725
+ 0x52, 0x0f, 0x63, 0x68, 0x75, 0x6e, 0x6b, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67,
726
+ 0x65, 0x88, 0x01, 0x01, 0x42, 0x12, 0x0a, 0x10, 0x5f, 0x63, 0x68, 0x75, 0x6e, 0x6b, 0x50, 0x65,
727
+ 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x22, 0x40, 0x0a, 0x1a, 0x45, 0x43, 0x53, 0x53,
728
+ 0x74, 0x61, 0x74, 0x65, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
729
+ 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x41,
730
+ 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x77, 0x6f,
731
+ 0x72, 0x6c, 0x64, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x3a, 0x0a, 0x16, 0x45, 0x43,
732
+ 0x53, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x41, 0x74, 0x42,
733
+ 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x20, 0x0a, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d,
734
+ 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b,
735
+ 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0x0f, 0x0a, 0x0d, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x73,
736
+ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xcc, 0x01, 0x0a, 0x0d, 0x45, 0x43, 0x53, 0x53,
737
+ 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x2b, 0x0a, 0x05, 0x73, 0x74, 0x61,
738
+ 0x74, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x65, 0x63, 0x73, 0x73, 0x6e,
610
739
  0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x2e, 0x45, 0x43, 0x53, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52,
611
- 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x65,
740
+ 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x43,
741
+ 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52,
742
+ 0x0f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x73,
743
+ 0x12, 0x24, 0x0a, 0x0d, 0x73, 0x74, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65,
744
+ 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x74, 0x61, 0x74, 0x65, 0x45, 0x6e,
745
+ 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x74, 0x61, 0x74, 0x65, 0x48,
746
+ 0x61, 0x73, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x74, 0x61, 0x74, 0x65,
747
+ 0x48, 0x61, 0x73, 0x68, 0x12, 0x20, 0x0a, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d,
748
+ 0x62, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b,
749
+ 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0x36, 0x0a, 0x12, 0x45, 0x43, 0x53, 0x53, 0x74, 0x61,
750
+ 0x74, 0x65, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x20, 0x0a, 0x0b,
751
+ 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28,
752
+ 0x0d, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x32, 0xb6,
753
+ 0x04, 0x0a, 0x17, 0x45, 0x43, 0x53, 0x53, 0x74, 0x61, 0x74, 0x65, 0x53, 0x6e, 0x61, 0x70, 0x73,
754
+ 0x68, 0x6f, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x52, 0x0a, 0x0e, 0x47, 0x65,
755
+ 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x12, 0x22, 0x2e, 0x65,
612
756
  0x63, 0x73, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x2e, 0x45, 0x43, 0x53, 0x53, 0x74,
613
- 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x30, 0x01, 0x12, 0x61, 0x0a, 0x13,
614
- 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4c, 0x61, 0x74,
615
- 0x65, 0x73, 0x74, 0x12, 0x27, 0x2e, 0x65, 0x63, 0x73, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f,
616
- 0x74, 0x2e, 0x45, 0x43, 0x53, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52,
617
- 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x65,
618
- 0x63, 0x73, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x2e, 0x45, 0x43, 0x53, 0x53, 0x74,
619
- 0x61, 0x74, 0x65, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12,
620
- 0x54, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x41, 0x74, 0x42, 0x6c, 0x6f,
621
- 0x63, 0x6b, 0x12, 0x23, 0x2e, 0x65, 0x63, 0x73, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74,
622
- 0x2e, 0x45, 0x43, 0x53, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
623
- 0x41, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x1a, 0x1a, 0x2e, 0x65, 0x63, 0x73, 0x73, 0x6e, 0x61,
624
- 0x70, 0x73, 0x68, 0x6f, 0x74, 0x2e, 0x45, 0x43, 0x53, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65,
625
- 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x3e, 0x0a, 0x09, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6c,
626
- 0x64, 0x73, 0x12, 0x1a, 0x2e, 0x65, 0x63, 0x73, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74,
627
- 0x2e, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13,
628
- 0x2e, 0x65, 0x63, 0x73, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x2e, 0x57, 0x6f, 0x72,
629
- 0x6c, 0x64, 0x73, 0x22, 0x00, 0x42, 0x1a, 0x5a, 0x18, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
630
- 0x66, 0x2f, 0x67, 0x6f, 0x2f, 0x65, 0x63, 0x73, 0x2d, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f,
631
- 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
757
+ 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74,
758
+ 0x1a, 0x1a, 0x2e, 0x65, 0x63, 0x73, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x2e, 0x45,
759
+ 0x43, 0x53, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x60,
760
+ 0x0a, 0x14, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74,
761
+ 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, 0x28, 0x2e, 0x65, 0x63, 0x73, 0x73, 0x6e, 0x61, 0x70,
762
+ 0x73, 0x68, 0x6f, 0x74, 0x2e, 0x45, 0x43, 0x53, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71,
763
+ 0x75, 0x65, 0x73, 0x74, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d,
764
+ 0x1a, 0x1a, 0x2e, 0x65, 0x63, 0x73, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x2e, 0x45,
765
+ 0x43, 0x53, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x30, 0x01,
766
+ 0x12, 0x6c, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x4c, 0x61, 0x74, 0x65,
767
+ 0x73, 0x74, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x50, 0x72, 0x75, 0x6e, 0x65, 0x64, 0x12, 0x2e,
768
+ 0x2e, 0x65, 0x63, 0x73, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x2e, 0x45, 0x43, 0x53,
769
+ 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4c, 0x61, 0x74, 0x65,
770
+ 0x73, 0x74, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x50, 0x72, 0x75, 0x6e, 0x65, 0x64, 0x1a, 0x1a,
771
+ 0x2e, 0x65, 0x63, 0x73, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x2e, 0x45, 0x43, 0x53,
772
+ 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x30, 0x01, 0x12, 0x61,
773
+ 0x0a, 0x13, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4c,
774
+ 0x61, 0x74, 0x65, 0x73, 0x74, 0x12, 0x27, 0x2e, 0x65, 0x63, 0x73, 0x73, 0x6e, 0x61, 0x70, 0x73,
775
+ 0x68, 0x6f, 0x74, 0x2e, 0x45, 0x43, 0x53, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x6c, 0x6f, 0x63,
776
+ 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x1a, 0x1f,
777
+ 0x2e, 0x65, 0x63, 0x73, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x2e, 0x45, 0x43, 0x53,
778
+ 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22,
779
+ 0x00, 0x12, 0x54, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x41, 0x74, 0x42,
780
+ 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x23, 0x2e, 0x65, 0x63, 0x73, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68,
781
+ 0x6f, 0x74, 0x2e, 0x45, 0x43, 0x53, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
782
+ 0x73, 0x74, 0x41, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x1a, 0x1a, 0x2e, 0x65, 0x63, 0x73, 0x73,
783
+ 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x2e, 0x45, 0x43, 0x53, 0x53, 0x74, 0x61, 0x74, 0x65,
784
+ 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x3e, 0x0a, 0x09, 0x47, 0x65, 0x74, 0x57, 0x6f,
785
+ 0x72, 0x6c, 0x64, 0x73, 0x12, 0x1a, 0x2e, 0x65, 0x63, 0x73, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68,
786
+ 0x6f, 0x74, 0x2e, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
787
+ 0x1a, 0x13, 0x2e, 0x65, 0x63, 0x73, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x2e, 0x57,
788
+ 0x6f, 0x72, 0x6c, 0x64, 0x73, 0x22, 0x00, 0x42, 0x1a, 0x5a, 0x18, 0x70, 0x72, 0x6f, 0x74, 0x6f,
789
+ 0x62, 0x75, 0x66, 0x2f, 0x67, 0x6f, 0x2f, 0x65, 0x63, 0x73, 0x2d, 0x73, 0x6e, 0x61, 0x70, 0x73,
790
+ 0x68, 0x6f, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
632
791
  }
633
792
 
634
793
  var (
@@ -643,36 +802,40 @@ func file_proto_ecs_snapshot_proto_rawDescGZIP() []byte {
643
802
  return file_proto_ecs_snapshot_proto_rawDescData
644
803
  }
645
804
 
646
- var file_proto_ecs_snapshot_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
805
+ var file_proto_ecs_snapshot_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
647
806
  var file_proto_ecs_snapshot_proto_goTypes = []interface{}{
648
- (*ECSState)(nil), // 0: ecssnapshot.ECSState
649
- (*ECSStateSnapshot)(nil), // 1: ecssnapshot.ECSStateSnapshot
650
- (*Worlds)(nil), // 2: ecssnapshot.Worlds
651
- (*ECSStateRequestLatest)(nil), // 3: ecssnapshot.ECSStateRequestLatest
652
- (*ECSStateBlockRequestLatest)(nil), // 4: ecssnapshot.ECSStateBlockRequestLatest
653
- (*ECSStateRequestAtBlock)(nil), // 5: ecssnapshot.ECSStateRequestAtBlock
654
- (*WorldsRequest)(nil), // 6: ecssnapshot.WorldsRequest
655
- (*ECSStateReply)(nil), // 7: ecssnapshot.ECSStateReply
656
- (*ECSStateBlockReply)(nil), // 8: ecssnapshot.ECSStateBlockReply
807
+ (*ECSState)(nil), // 0: ecssnapshot.ECSState
808
+ (*ECSStateSnapshot)(nil), // 1: ecssnapshot.ECSStateSnapshot
809
+ (*Worlds)(nil), // 2: ecssnapshot.Worlds
810
+ (*ECSStateRequestLatest)(nil), // 3: ecssnapshot.ECSStateRequestLatest
811
+ (*ECSStateRequestLatestStreamPruned)(nil), // 4: ecssnapshot.ECSStateRequestLatestStreamPruned
812
+ (*ECSStateRequestLatestStream)(nil), // 5: ecssnapshot.ECSStateRequestLatestStream
813
+ (*ECSStateBlockRequestLatest)(nil), // 6: ecssnapshot.ECSStateBlockRequestLatest
814
+ (*ECSStateRequestAtBlock)(nil), // 7: ecssnapshot.ECSStateRequestAtBlock
815
+ (*WorldsRequest)(nil), // 8: ecssnapshot.WorldsRequest
816
+ (*ECSStateReply)(nil), // 9: ecssnapshot.ECSStateReply
817
+ (*ECSStateBlockReply)(nil), // 10: ecssnapshot.ECSStateBlockReply
657
818
  }
658
819
  var file_proto_ecs_snapshot_proto_depIdxs = []int32{
659
- 0, // 0: ecssnapshot.ECSStateSnapshot.state:type_name -> ecssnapshot.ECSState
660
- 0, // 1: ecssnapshot.ECSStateReply.state:type_name -> ecssnapshot.ECSState
661
- 3, // 2: ecssnapshot.ECSStateSnapshotService.GetStateLatest:input_type -> ecssnapshot.ECSStateRequestLatest
662
- 3, // 3: ecssnapshot.ECSStateSnapshotService.GetStateLatestStream:input_type -> ecssnapshot.ECSStateRequestLatest
663
- 4, // 4: ecssnapshot.ECSStateSnapshotService.GetStateBlockLatest:input_type -> ecssnapshot.ECSStateBlockRequestLatest
664
- 5, // 5: ecssnapshot.ECSStateSnapshotService.GetStateAtBlock:input_type -> ecssnapshot.ECSStateRequestAtBlock
665
- 6, // 6: ecssnapshot.ECSStateSnapshotService.GetWorlds:input_type -> ecssnapshot.WorldsRequest
666
- 7, // 7: ecssnapshot.ECSStateSnapshotService.GetStateLatest:output_type -> ecssnapshot.ECSStateReply
667
- 7, // 8: ecssnapshot.ECSStateSnapshotService.GetStateLatestStream:output_type -> ecssnapshot.ECSStateReply
668
- 8, // 9: ecssnapshot.ECSStateSnapshotService.GetStateBlockLatest:output_type -> ecssnapshot.ECSStateBlockReply
669
- 7, // 10: ecssnapshot.ECSStateSnapshotService.GetStateAtBlock:output_type -> ecssnapshot.ECSStateReply
670
- 2, // 11: ecssnapshot.ECSStateSnapshotService.GetWorlds:output_type -> ecssnapshot.Worlds
671
- 7, // [7:12] is the sub-list for method output_type
672
- 2, // [2:7] is the sub-list for method input_type
673
- 2, // [2:2] is the sub-list for extension type_name
674
- 2, // [2:2] is the sub-list for extension extendee
675
- 0, // [0:2] is the sub-list for field type_name
820
+ 0, // 0: ecssnapshot.ECSStateSnapshot.state:type_name -> ecssnapshot.ECSState
821
+ 0, // 1: ecssnapshot.ECSStateReply.state:type_name -> ecssnapshot.ECSState
822
+ 3, // 2: ecssnapshot.ECSStateSnapshotService.GetStateLatest:input_type -> ecssnapshot.ECSStateRequestLatest
823
+ 5, // 3: ecssnapshot.ECSStateSnapshotService.GetStateLatestStream:input_type -> ecssnapshot.ECSStateRequestLatestStream
824
+ 4, // 4: ecssnapshot.ECSStateSnapshotService.GetStateLatestStreamPruned:input_type -> ecssnapshot.ECSStateRequestLatestStreamPruned
825
+ 6, // 5: ecssnapshot.ECSStateSnapshotService.GetStateBlockLatest:input_type -> ecssnapshot.ECSStateBlockRequestLatest
826
+ 7, // 6: ecssnapshot.ECSStateSnapshotService.GetStateAtBlock:input_type -> ecssnapshot.ECSStateRequestAtBlock
827
+ 8, // 7: ecssnapshot.ECSStateSnapshotService.GetWorlds:input_type -> ecssnapshot.WorldsRequest
828
+ 9, // 8: ecssnapshot.ECSStateSnapshotService.GetStateLatest:output_type -> ecssnapshot.ECSStateReply
829
+ 9, // 9: ecssnapshot.ECSStateSnapshotService.GetStateLatestStream:output_type -> ecssnapshot.ECSStateReply
830
+ 9, // 10: ecssnapshot.ECSStateSnapshotService.GetStateLatestStreamPruned:output_type -> ecssnapshot.ECSStateReply
831
+ 10, // 11: ecssnapshot.ECSStateSnapshotService.GetStateBlockLatest:output_type -> ecssnapshot.ECSStateBlockReply
832
+ 9, // 12: ecssnapshot.ECSStateSnapshotService.GetStateAtBlock:output_type -> ecssnapshot.ECSStateReply
833
+ 2, // 13: ecssnapshot.ECSStateSnapshotService.GetWorlds:output_type -> ecssnapshot.Worlds
834
+ 8, // [8:14] is the sub-list for method output_type
835
+ 2, // [2:8] is the sub-list for method input_type
836
+ 2, // [2:2] is the sub-list for extension type_name
837
+ 2, // [2:2] is the sub-list for extension extendee
838
+ 0, // [0:2] is the sub-list for field type_name
676
839
  }
677
840
 
678
841
  func init() { file_proto_ecs_snapshot_proto_init() }
@@ -730,7 +893,7 @@ func file_proto_ecs_snapshot_proto_init() {
730
893
  }
731
894
  }
732
895
  file_proto_ecs_snapshot_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
733
- switch v := v.(*ECSStateBlockRequestLatest); i {
896
+ switch v := v.(*ECSStateRequestLatestStreamPruned); i {
734
897
  case 0:
735
898
  return &v.state
736
899
  case 1:
@@ -742,7 +905,7 @@ func file_proto_ecs_snapshot_proto_init() {
742
905
  }
743
906
  }
744
907
  file_proto_ecs_snapshot_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
745
- switch v := v.(*ECSStateRequestAtBlock); i {
908
+ switch v := v.(*ECSStateRequestLatestStream); i {
746
909
  case 0:
747
910
  return &v.state
748
911
  case 1:
@@ -754,7 +917,7 @@ func file_proto_ecs_snapshot_proto_init() {
754
917
  }
755
918
  }
756
919
  file_proto_ecs_snapshot_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
757
- switch v := v.(*WorldsRequest); i {
920
+ switch v := v.(*ECSStateBlockRequestLatest); i {
758
921
  case 0:
759
922
  return &v.state
760
923
  case 1:
@@ -766,7 +929,7 @@ func file_proto_ecs_snapshot_proto_init() {
766
929
  }
767
930
  }
768
931
  file_proto_ecs_snapshot_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
769
- switch v := v.(*ECSStateReply); i {
932
+ switch v := v.(*ECSStateRequestAtBlock); i {
770
933
  case 0:
771
934
  return &v.state
772
935
  case 1:
@@ -778,6 +941,30 @@ func file_proto_ecs_snapshot_proto_init() {
778
941
  }
779
942
  }
780
943
  file_proto_ecs_snapshot_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
944
+ switch v := v.(*WorldsRequest); i {
945
+ case 0:
946
+ return &v.state
947
+ case 1:
948
+ return &v.sizeCache
949
+ case 2:
950
+ return &v.unknownFields
951
+ default:
952
+ return nil
953
+ }
954
+ }
955
+ file_proto_ecs_snapshot_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
956
+ switch v := v.(*ECSStateReply); i {
957
+ case 0:
958
+ return &v.state
959
+ case 1:
960
+ return &v.sizeCache
961
+ case 2:
962
+ return &v.unknownFields
963
+ default:
964
+ return nil
965
+ }
966
+ }
967
+ file_proto_ecs_snapshot_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
781
968
  switch v := v.(*ECSStateBlockReply); i {
782
969
  case 0:
783
970
  return &v.state
@@ -790,13 +977,15 @@ func file_proto_ecs_snapshot_proto_init() {
790
977
  }
791
978
  }
792
979
  }
980
+ file_proto_ecs_snapshot_proto_msgTypes[4].OneofWrappers = []interface{}{}
981
+ file_proto_ecs_snapshot_proto_msgTypes[5].OneofWrappers = []interface{}{}
793
982
  type x struct{}
794
983
  out := protoimpl.TypeBuilder{
795
984
  File: protoimpl.DescBuilder{
796
985
  GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
797
986
  RawDescriptor: file_proto_ecs_snapshot_proto_rawDesc,
798
987
  NumEnums: 0,
799
- NumMessages: 9,
988
+ NumMessages: 11,
800
989
  NumExtensions: 0,
801
990
  NumServices: 1,
802
991
  },
@@ -1,7 +1,7 @@
1
1
  // Code generated by protoc-gen-go-grpc. DO NOT EDIT.
2
2
  // versions:
3
3
  // - protoc-gen-go-grpc v1.2.0
4
- // - protoc v3.20.1
4
+ // - protoc v3.21.3
5
5
  // source: proto/ecs-snapshot.proto
6
6
 
7
7
  package ecs_snapshot
@@ -25,7 +25,9 @@ type ECSStateSnapshotServiceClient interface {
25
25
  // Requests the latest ECS state.
26
26
  GetStateLatest(ctx context.Context, in *ECSStateRequestLatest, opts ...grpc.CallOption) (*ECSStateReply, error)
27
27
  // Requests the latest ECS state in stream format, which will chunk the state.
28
- GetStateLatestStream(ctx context.Context, in *ECSStateRequestLatest, opts ...grpc.CallOption) (ECSStateSnapshotService_GetStateLatestStreamClient, error)
28
+ GetStateLatestStream(ctx context.Context, in *ECSStateRequestLatestStream, opts ...grpc.CallOption) (ECSStateSnapshotService_GetStateLatestStreamClient, error)
29
+ // Requests the latest ECS state, with aditional pruning.
30
+ GetStateLatestStreamPruned(ctx context.Context, in *ECSStateRequestLatestStreamPruned, opts ...grpc.CallOption) (ECSStateSnapshotService_GetStateLatestStreamPrunedClient, error)
29
31
  // Requests the latest block number based on the latest ECS state.
30
32
  GetStateBlockLatest(ctx context.Context, in *ECSStateBlockRequestLatest, opts ...grpc.CallOption) (*ECSStateBlockReply, error)
31
33
  // Requests the ECS state at specific block.
@@ -51,7 +53,7 @@ func (c *eCSStateSnapshotServiceClient) GetStateLatest(ctx context.Context, in *
51
53
  return out, nil
52
54
  }
53
55
 
54
- func (c *eCSStateSnapshotServiceClient) GetStateLatestStream(ctx context.Context, in *ECSStateRequestLatest, opts ...grpc.CallOption) (ECSStateSnapshotService_GetStateLatestStreamClient, error) {
56
+ func (c *eCSStateSnapshotServiceClient) GetStateLatestStream(ctx context.Context, in *ECSStateRequestLatestStream, opts ...grpc.CallOption) (ECSStateSnapshotService_GetStateLatestStreamClient, error) {
55
57
  stream, err := c.cc.NewStream(ctx, &ECSStateSnapshotService_ServiceDesc.Streams[0], "/ecssnapshot.ECSStateSnapshotService/GetStateLatestStream", opts...)
56
58
  if err != nil {
57
59
  return nil, err
@@ -83,6 +85,38 @@ func (x *eCSStateSnapshotServiceGetStateLatestStreamClient) Recv() (*ECSStateRep
83
85
  return m, nil
84
86
  }
85
87
 
88
+ func (c *eCSStateSnapshotServiceClient) GetStateLatestStreamPruned(ctx context.Context, in *ECSStateRequestLatestStreamPruned, opts ...grpc.CallOption) (ECSStateSnapshotService_GetStateLatestStreamPrunedClient, error) {
89
+ stream, err := c.cc.NewStream(ctx, &ECSStateSnapshotService_ServiceDesc.Streams[1], "/ecssnapshot.ECSStateSnapshotService/GetStateLatestStreamPruned", opts...)
90
+ if err != nil {
91
+ return nil, err
92
+ }
93
+ x := &eCSStateSnapshotServiceGetStateLatestStreamPrunedClient{stream}
94
+ if err := x.ClientStream.SendMsg(in); err != nil {
95
+ return nil, err
96
+ }
97
+ if err := x.ClientStream.CloseSend(); err != nil {
98
+ return nil, err
99
+ }
100
+ return x, nil
101
+ }
102
+
103
+ type ECSStateSnapshotService_GetStateLatestStreamPrunedClient interface {
104
+ Recv() (*ECSStateReply, error)
105
+ grpc.ClientStream
106
+ }
107
+
108
+ type eCSStateSnapshotServiceGetStateLatestStreamPrunedClient struct {
109
+ grpc.ClientStream
110
+ }
111
+
112
+ func (x *eCSStateSnapshotServiceGetStateLatestStreamPrunedClient) Recv() (*ECSStateReply, error) {
113
+ m := new(ECSStateReply)
114
+ if err := x.ClientStream.RecvMsg(m); err != nil {
115
+ return nil, err
116
+ }
117
+ return m, nil
118
+ }
119
+
86
120
  func (c *eCSStateSnapshotServiceClient) GetStateBlockLatest(ctx context.Context, in *ECSStateBlockRequestLatest, opts ...grpc.CallOption) (*ECSStateBlockReply, error) {
87
121
  out := new(ECSStateBlockReply)
88
122
  err := c.cc.Invoke(ctx, "/ecssnapshot.ECSStateSnapshotService/GetStateBlockLatest", in, out, opts...)
@@ -117,7 +151,9 @@ type ECSStateSnapshotServiceServer interface {
117
151
  // Requests the latest ECS state.
118
152
  GetStateLatest(context.Context, *ECSStateRequestLatest) (*ECSStateReply, error)
119
153
  // Requests the latest ECS state in stream format, which will chunk the state.
120
- GetStateLatestStream(*ECSStateRequestLatest, ECSStateSnapshotService_GetStateLatestStreamServer) error
154
+ GetStateLatestStream(*ECSStateRequestLatestStream, ECSStateSnapshotService_GetStateLatestStreamServer) error
155
+ // Requests the latest ECS state, with aditional pruning.
156
+ GetStateLatestStreamPruned(*ECSStateRequestLatestStreamPruned, ECSStateSnapshotService_GetStateLatestStreamPrunedServer) error
121
157
  // Requests the latest block number based on the latest ECS state.
122
158
  GetStateBlockLatest(context.Context, *ECSStateBlockRequestLatest) (*ECSStateBlockReply, error)
123
159
  // Requests the ECS state at specific block.
@@ -134,9 +170,12 @@ type UnimplementedECSStateSnapshotServiceServer struct {
134
170
  func (UnimplementedECSStateSnapshotServiceServer) GetStateLatest(context.Context, *ECSStateRequestLatest) (*ECSStateReply, error) {
135
171
  return nil, status.Errorf(codes.Unimplemented, "method GetStateLatest not implemented")
136
172
  }
137
- func (UnimplementedECSStateSnapshotServiceServer) GetStateLatestStream(*ECSStateRequestLatest, ECSStateSnapshotService_GetStateLatestStreamServer) error {
173
+ func (UnimplementedECSStateSnapshotServiceServer) GetStateLatestStream(*ECSStateRequestLatestStream, ECSStateSnapshotService_GetStateLatestStreamServer) error {
138
174
  return status.Errorf(codes.Unimplemented, "method GetStateLatestStream not implemented")
139
175
  }
176
+ func (UnimplementedECSStateSnapshotServiceServer) GetStateLatestStreamPruned(*ECSStateRequestLatestStreamPruned, ECSStateSnapshotService_GetStateLatestStreamPrunedServer) error {
177
+ return status.Errorf(codes.Unimplemented, "method GetStateLatestStreamPruned not implemented")
178
+ }
140
179
  func (UnimplementedECSStateSnapshotServiceServer) GetStateBlockLatest(context.Context, *ECSStateBlockRequestLatest) (*ECSStateBlockReply, error) {
141
180
  return nil, status.Errorf(codes.Unimplemented, "method GetStateBlockLatest not implemented")
142
181
  }
@@ -179,7 +218,7 @@ func _ECSStateSnapshotService_GetStateLatest_Handler(srv interface{}, ctx contex
179
218
  }
180
219
 
181
220
  func _ECSStateSnapshotService_GetStateLatestStream_Handler(srv interface{}, stream grpc.ServerStream) error {
182
- m := new(ECSStateRequestLatest)
221
+ m := new(ECSStateRequestLatestStream)
183
222
  if err := stream.RecvMsg(m); err != nil {
184
223
  return err
185
224
  }
@@ -199,6 +238,27 @@ func (x *eCSStateSnapshotServiceGetStateLatestStreamServer) Send(m *ECSStateRepl
199
238
  return x.ServerStream.SendMsg(m)
200
239
  }
201
240
 
241
+ func _ECSStateSnapshotService_GetStateLatestStreamPruned_Handler(srv interface{}, stream grpc.ServerStream) error {
242
+ m := new(ECSStateRequestLatestStreamPruned)
243
+ if err := stream.RecvMsg(m); err != nil {
244
+ return err
245
+ }
246
+ return srv.(ECSStateSnapshotServiceServer).GetStateLatestStreamPruned(m, &eCSStateSnapshotServiceGetStateLatestStreamPrunedServer{stream})
247
+ }
248
+
249
+ type ECSStateSnapshotService_GetStateLatestStreamPrunedServer interface {
250
+ Send(*ECSStateReply) error
251
+ grpc.ServerStream
252
+ }
253
+
254
+ type eCSStateSnapshotServiceGetStateLatestStreamPrunedServer struct {
255
+ grpc.ServerStream
256
+ }
257
+
258
+ func (x *eCSStateSnapshotServiceGetStateLatestStreamPrunedServer) Send(m *ECSStateReply) error {
259
+ return x.ServerStream.SendMsg(m)
260
+ }
261
+
202
262
  func _ECSStateSnapshotService_GetStateBlockLatest_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
203
263
  in := new(ECSStateBlockRequestLatest)
204
264
  if err := dec(in); err != nil {
@@ -283,6 +343,11 @@ var ECSStateSnapshotService_ServiceDesc = grpc.ServiceDesc{
283
343
  Handler: _ECSStateSnapshotService_GetStateLatestStream_Handler,
284
344
  ServerStreams: true,
285
345
  },
346
+ {
347
+ StreamName: "GetStateLatestStreamPruned",
348
+ Handler: _ECSStateSnapshotService_GetStateLatestStreamPruned_Handler,
349
+ ServerStreams: true,
350
+ },
286
351
  },
287
352
  Metadata: "proto/ecs-snapshot.proto",
288
353
  }
@@ -1,7 +1,7 @@
1
1
  // Code generated by protoc-gen-go. DO NOT EDIT.
2
2
  // versions:
3
3
  // protoc-gen-go v1.28.1
4
- // protoc v3.20.1
4
+ // protoc v3.21.3
5
5
  // source: proto/ecs-stream.proto
6
6
 
7
7
  package ecs_stream
@@ -1,7 +1,7 @@
1
1
  // Code generated by protoc-gen-go-grpc. DO NOT EDIT.
2
2
  // versions:
3
3
  // - protoc-gen-go-grpc v1.2.0
4
- // - protoc v3.20.1
4
+ // - protoc v3.21.3
5
5
  // source: proto/ecs-stream.proto
6
6
 
7
7
  package ecs_stream
@@ -1,7 +1,7 @@
1
1
  // Code generated by protoc-gen-go. DO NOT EDIT.
2
2
  // versions:
3
3
  // protoc-gen-go v1.28.1
4
- // protoc v3.20.1
4
+ // protoc v3.21.3
5
5
  // source: proto/faucet.proto
6
6
 
7
7
  package faucet
@@ -308,13 +308,14 @@ func (x *DripDevRequest) GetAddress() string {
308
308
  return ""
309
309
  }
310
310
 
311
- // Response for drip request that contains the transaction hash of the drip tx.
311
+ // Response for drip request that contains the transaction hash of the drip tx and the ECS component set hash (if any).
312
312
  type DripResponse struct {
313
313
  state protoimpl.MessageState
314
314
  sizeCache protoimpl.SizeCache
315
315
  unknownFields protoimpl.UnknownFields
316
316
 
317
- TxHash string `protobuf:"bytes,1,opt,name=txHash,proto3" json:"txHash,omitempty"`
317
+ DripTxHash string `protobuf:"bytes,1,opt,name=dripTxHash,proto3" json:"dripTxHash,omitempty"`
318
+ EcsTxHash string `protobuf:"bytes,2,opt,name=ecsTxHash,proto3" json:"ecsTxHash,omitempty"`
318
319
  }
319
320
 
320
321
  func (x *DripResponse) Reset() {
@@ -349,9 +350,16 @@ func (*DripResponse) Descriptor() ([]byte, []int) {
349
350
  return file_proto_faucet_proto_rawDescGZIP(), []int{5}
350
351
  }
351
352
 
352
- func (x *DripResponse) GetTxHash() string {
353
+ func (x *DripResponse) GetDripTxHash() string {
353
354
  if x != nil {
354
- return x.TxHash
355
+ return x.DripTxHash
356
+ }
357
+ return ""
358
+ }
359
+
360
+ func (x *DripResponse) GetEcsTxHash() string {
361
+ if x != nil {
362
+ return x.EcsTxHash
355
363
  }
356
364
  return ""
357
365
  }
@@ -738,79 +746,82 @@ var file_proto_faucet_proto_rawDesc = []byte{
738
746
  0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x2a, 0x0a, 0x0e, 0x44, 0x72, 0x69, 0x70,
739
747
  0x44, 0x65, 0x76, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64,
740
748
  0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64,
741
- 0x72, 0x65, 0x73, 0x73, 0x22, 0x26, 0x0a, 0x0c, 0x44, 0x72, 0x69, 0x70, 0x52, 0x65, 0x73, 0x70,
742
- 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x78, 0x48, 0x61, 0x73, 0x68, 0x18, 0x01,
743
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x78, 0x48, 0x61, 0x73, 0x68, 0x22, 0x7f, 0x0a, 0x15,
744
- 0x54, 0x69, 0x6d, 0x65, 0x55, 0x6e, 0x74, 0x69, 0x6c, 0x44, 0x72, 0x69, 0x70, 0x52, 0x65, 0x73,
745
- 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x32, 0x0a, 0x14, 0x74, 0x69, 0x6d, 0x65, 0x55, 0x6e, 0x74,
746
- 0x69, 0x6c, 0x44, 0x72, 0x69, 0x70, 0x4d, 0x69, 0x6e, 0x75, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20,
747
- 0x01, 0x28, 0x01, 0x52, 0x14, 0x74, 0x69, 0x6d, 0x65, 0x55, 0x6e, 0x74, 0x69, 0x6c, 0x44, 0x72,
748
- 0x69, 0x70, 0x4d, 0x69, 0x6e, 0x75, 0x74, 0x65, 0x73, 0x12, 0x32, 0x0a, 0x14, 0x74, 0x69, 0x6d,
749
- 0x65, 0x55, 0x6e, 0x74, 0x69, 0x6c, 0x44, 0x72, 0x69, 0x70, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64,
750
- 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x14, 0x74, 0x69, 0x6d, 0x65, 0x55, 0x6e, 0x74,
751
- 0x69, 0x6c, 0x44, 0x72, 0x69, 0x70, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x22, 0x1a, 0x0a,
752
- 0x18, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x54, 0x77, 0x69, 0x74, 0x74, 0x65,
753
- 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x5e, 0x0a, 0x19, 0x47, 0x65, 0x74,
754
- 0x4c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x54, 0x77, 0x69, 0x74, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65,
755
- 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x0e, 0x6c, 0x69, 0x6e, 0x6b, 0x65, 0x64,
756
- 0x54, 0x77, 0x69, 0x74, 0x74, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19,
757
- 0x2e, 0x66, 0x61, 0x75, 0x63, 0x65, 0x74, 0x2e, 0x4c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x54, 0x77,
758
- 0x69, 0x74, 0x74, 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, 0x52, 0x0e, 0x6c, 0x69, 0x6e, 0x6b, 0x65,
759
- 0x64, 0x54, 0x77, 0x69, 0x74, 0x74, 0x65, 0x72, 0x73, 0x22, 0x3a, 0x0a, 0x1e, 0x4c, 0x69, 0x6e,
760
- 0x6b, 0x65, 0x64, 0x54, 0x77, 0x69, 0x74, 0x74, 0x65, 0x72, 0x46, 0x6f, 0x72, 0x41, 0x64, 0x64,
761
- 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x61,
749
+ 0x72, 0x65, 0x73, 0x73, 0x22, 0x4c, 0x0a, 0x0c, 0x44, 0x72, 0x69, 0x70, 0x52, 0x65, 0x73, 0x70,
750
+ 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x72, 0x69, 0x70, 0x54, 0x78, 0x48, 0x61,
751
+ 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x72, 0x69, 0x70, 0x54, 0x78,
752
+ 0x48, 0x61, 0x73, 0x68, 0x12, 0x1c, 0x0a, 0x09, 0x65, 0x63, 0x73, 0x54, 0x78, 0x48, 0x61, 0x73,
753
+ 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x65, 0x63, 0x73, 0x54, 0x78, 0x48, 0x61,
754
+ 0x73, 0x68, 0x22, 0x7f, 0x0a, 0x15, 0x54, 0x69, 0x6d, 0x65, 0x55, 0x6e, 0x74, 0x69, 0x6c, 0x44,
755
+ 0x72, 0x69, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x32, 0x0a, 0x14, 0x74,
756
+ 0x69, 0x6d, 0x65, 0x55, 0x6e, 0x74, 0x69, 0x6c, 0x44, 0x72, 0x69, 0x70, 0x4d, 0x69, 0x6e, 0x75,
757
+ 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x01, 0x52, 0x14, 0x74, 0x69, 0x6d, 0x65, 0x55,
758
+ 0x6e, 0x74, 0x69, 0x6c, 0x44, 0x72, 0x69, 0x70, 0x4d, 0x69, 0x6e, 0x75, 0x74, 0x65, 0x73, 0x12,
759
+ 0x32, 0x0a, 0x14, 0x74, 0x69, 0x6d, 0x65, 0x55, 0x6e, 0x74, 0x69, 0x6c, 0x44, 0x72, 0x69, 0x70,
760
+ 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x14, 0x74,
761
+ 0x69, 0x6d, 0x65, 0x55, 0x6e, 0x74, 0x69, 0x6c, 0x44, 0x72, 0x69, 0x70, 0x53, 0x65, 0x63, 0x6f,
762
+ 0x6e, 0x64, 0x73, 0x22, 0x1a, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x6e, 0x6b, 0x65, 0x64,
763
+ 0x54, 0x77, 0x69, 0x74, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22,
764
+ 0x5e, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x54, 0x77, 0x69, 0x74,
765
+ 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x0e,
766
+ 0x6c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x54, 0x77, 0x69, 0x74, 0x74, 0x65, 0x72, 0x73, 0x18, 0x01,
767
+ 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x66, 0x61, 0x75, 0x63, 0x65, 0x74, 0x2e, 0x4c, 0x69,
768
+ 0x6e, 0x6b, 0x65, 0x64, 0x54, 0x77, 0x69, 0x74, 0x74, 0x65, 0x72, 0x50, 0x61, 0x69, 0x72, 0x52,
769
+ 0x0e, 0x6c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x54, 0x77, 0x69, 0x74, 0x74, 0x65, 0x72, 0x73, 0x22,
770
+ 0x3a, 0x0a, 0x1e, 0x4c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x54, 0x77, 0x69, 0x74, 0x74, 0x65, 0x72,
771
+ 0x46, 0x6f, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
772
+ 0x74, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01,
773
+ 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x3d, 0x0a, 0x1f, 0x4c,
774
+ 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x54, 0x77, 0x69, 0x74, 0x74, 0x65, 0x72, 0x46, 0x6f, 0x72, 0x41,
775
+ 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a,
776
+ 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
777
+ 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x3c, 0x0a, 0x1e, 0x4c, 0x69,
778
+ 0x6e, 0x6b, 0x65, 0x64, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x46, 0x6f, 0x72, 0x54, 0x77,
779
+ 0x69, 0x74, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08,
780
+ 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
781
+ 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x3b, 0x0a, 0x1f, 0x4c, 0x69, 0x6e, 0x6b,
782
+ 0x65, 0x64, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x46, 0x6f, 0x72, 0x54, 0x77, 0x69, 0x74,
783
+ 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x61,
762
784
  0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64,
763
- 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x3d, 0x0a, 0x1f, 0x4c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x54,
764
- 0x77, 0x69, 0x74, 0x74, 0x65, 0x72, 0x46, 0x6f, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73,
765
- 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72,
766
- 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72,
767
- 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x3c, 0x0a, 0x1e, 0x4c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x41, 0x64,
768
- 0x64, 0x72, 0x65, 0x73, 0x73, 0x46, 0x6f, 0x72, 0x54, 0x77, 0x69, 0x74, 0x74, 0x65, 0x72, 0x52,
769
- 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61,
770
- 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61,
771
- 0x6d, 0x65, 0x22, 0x3b, 0x0a, 0x1f, 0x4c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x41, 0x64, 0x64, 0x72,
772
- 0x65, 0x73, 0x73, 0x46, 0x6f, 0x72, 0x54, 0x77, 0x69, 0x74, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73,
773
- 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73,
774
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x32,
775
- 0xcf, 0x04, 0x0a, 0x0d, 0x46, 0x61, 0x75, 0x63, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
776
- 0x65, 0x12, 0x33, 0x0a, 0x04, 0x44, 0x72, 0x69, 0x70, 0x12, 0x13, 0x2e, 0x66, 0x61, 0x75, 0x63,
777
- 0x65, 0x74, 0x2e, 0x44, 0x72, 0x69, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14,
778
- 0x2e, 0x66, 0x61, 0x75, 0x63, 0x65, 0x74, 0x2e, 0x44, 0x72, 0x69, 0x70, 0x52, 0x65, 0x73, 0x70,
779
- 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x39, 0x0a, 0x07, 0x44, 0x72, 0x69, 0x70, 0x44, 0x65,
780
- 0x76, 0x12, 0x16, 0x2e, 0x66, 0x61, 0x75, 0x63, 0x65, 0x74, 0x2e, 0x44, 0x72, 0x69, 0x70, 0x44,
781
- 0x65, 0x76, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x66, 0x61, 0x75, 0x63,
782
- 0x65, 0x74, 0x2e, 0x44, 0x72, 0x69, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
783
- 0x00, 0x12, 0x49, 0x0a, 0x0f, 0x44, 0x72, 0x69, 0x70, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x54,
784
- 0x77, 0x65, 0x65, 0x74, 0x12, 0x1e, 0x2e, 0x66, 0x61, 0x75, 0x63, 0x65, 0x74, 0x2e, 0x44, 0x72,
785
- 0x69, 0x70, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x54, 0x77, 0x65, 0x65, 0x74, 0x52, 0x65, 0x71,
785
+ 0x64, 0x72, 0x65, 0x73, 0x73, 0x32, 0xcf, 0x04, 0x0a, 0x0d, 0x46, 0x61, 0x75, 0x63, 0x65, 0x74,
786
+ 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x33, 0x0a, 0x04, 0x44, 0x72, 0x69, 0x70, 0x12,
787
+ 0x13, 0x2e, 0x66, 0x61, 0x75, 0x63, 0x65, 0x74, 0x2e, 0x44, 0x72, 0x69, 0x70, 0x52, 0x65, 0x71,
786
788
  0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x66, 0x61, 0x75, 0x63, 0x65, 0x74, 0x2e, 0x44, 0x72,
787
- 0x69, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x45, 0x0a, 0x0d,
788
- 0x54, 0x69, 0x6d, 0x65, 0x55, 0x6e, 0x74, 0x69, 0x6c, 0x44, 0x72, 0x69, 0x70, 0x12, 0x13, 0x2e,
789
- 0x66, 0x61, 0x75, 0x63, 0x65, 0x74, 0x2e, 0x44, 0x72, 0x69, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65,
790
- 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x66, 0x61, 0x75, 0x63, 0x65, 0x74, 0x2e, 0x54, 0x69, 0x6d, 0x65,
791
- 0x55, 0x6e, 0x74, 0x69, 0x6c, 0x44, 0x72, 0x69, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
792
- 0x65, 0x22, 0x00, 0x12, 0x5a, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x6e, 0x6b, 0x65, 0x64,
793
- 0x54, 0x77, 0x69, 0x74, 0x74, 0x65, 0x72, 0x73, 0x12, 0x20, 0x2e, 0x66, 0x61, 0x75, 0x63, 0x65,
794
- 0x74, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x54, 0x77, 0x69, 0x74, 0x74,
795
- 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x66, 0x61, 0x75,
796
- 0x63, 0x65, 0x74, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x54, 0x77, 0x69,
797
- 0x74, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12,
798
- 0x6f, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x54, 0x77, 0x69, 0x74,
799
- 0x74, 0x65, 0x72, 0x46, 0x6f, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x26, 0x2e,
800
- 0x66, 0x61, 0x75, 0x63, 0x65, 0x74, 0x2e, 0x4c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x54, 0x77, 0x69,
801
- 0x74, 0x74, 0x65, 0x72, 0x46, 0x6f, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65,
802
- 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x66, 0x61, 0x75, 0x63, 0x65, 0x74, 0x2e, 0x4c,
803
- 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x54, 0x77, 0x69, 0x74, 0x74, 0x65, 0x72, 0x46, 0x6f, 0x72, 0x41,
804
- 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00,
805
- 0x12, 0x6f, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x41, 0x64, 0x64,
806
- 0x72, 0x65, 0x73, 0x73, 0x46, 0x6f, 0x72, 0x54, 0x77, 0x69, 0x74, 0x74, 0x65, 0x72, 0x12, 0x26,
807
- 0x2e, 0x66, 0x61, 0x75, 0x63, 0x65, 0x74, 0x2e, 0x4c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x41, 0x64,
808
- 0x64, 0x72, 0x65, 0x73, 0x73, 0x46, 0x6f, 0x72, 0x54, 0x77, 0x69, 0x74, 0x74, 0x65, 0x72, 0x52,
809
- 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x66, 0x61, 0x75, 0x63, 0x65, 0x74, 0x2e,
810
- 0x4c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x46, 0x6f, 0x72,
811
- 0x54, 0x77, 0x69, 0x74, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
812
- 0x00, 0x42, 0x14, 0x5a, 0x12, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x67, 0x6f,
813
- 0x2f, 0x66, 0x61, 0x75, 0x63, 0x65, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
789
+ 0x69, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x39, 0x0a, 0x07,
790
+ 0x44, 0x72, 0x69, 0x70, 0x44, 0x65, 0x76, 0x12, 0x16, 0x2e, 0x66, 0x61, 0x75, 0x63, 0x65, 0x74,
791
+ 0x2e, 0x44, 0x72, 0x69, 0x70, 0x44, 0x65, 0x76, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
792
+ 0x14, 0x2e, 0x66, 0x61, 0x75, 0x63, 0x65, 0x74, 0x2e, 0x44, 0x72, 0x69, 0x70, 0x52, 0x65, 0x73,
793
+ 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x49, 0x0a, 0x0f, 0x44, 0x72, 0x69, 0x70, 0x56,
794
+ 0x65, 0x72, 0x69, 0x66, 0x79, 0x54, 0x77, 0x65, 0x65, 0x74, 0x12, 0x1e, 0x2e, 0x66, 0x61, 0x75,
795
+ 0x63, 0x65, 0x74, 0x2e, 0x44, 0x72, 0x69, 0x70, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x54, 0x77,
796
+ 0x65, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x66, 0x61, 0x75,
797
+ 0x63, 0x65, 0x74, 0x2e, 0x44, 0x72, 0x69, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
798
+ 0x22, 0x00, 0x12, 0x45, 0x0a, 0x0d, 0x54, 0x69, 0x6d, 0x65, 0x55, 0x6e, 0x74, 0x69, 0x6c, 0x44,
799
+ 0x72, 0x69, 0x70, 0x12, 0x13, 0x2e, 0x66, 0x61, 0x75, 0x63, 0x65, 0x74, 0x2e, 0x44, 0x72, 0x69,
800
+ 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x66, 0x61, 0x75, 0x63, 0x65,
801
+ 0x74, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x55, 0x6e, 0x74, 0x69, 0x6c, 0x44, 0x72, 0x69, 0x70, 0x52,
802
+ 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5a, 0x0a, 0x11, 0x47, 0x65, 0x74,
803
+ 0x4c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x54, 0x77, 0x69, 0x74, 0x74, 0x65, 0x72, 0x73, 0x12, 0x20,
804
+ 0x2e, 0x66, 0x61, 0x75, 0x63, 0x65, 0x74, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x6e, 0x6b, 0x65,
805
+ 0x64, 0x54, 0x77, 0x69, 0x74, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
806
+ 0x1a, 0x21, 0x2e, 0x66, 0x61, 0x75, 0x63, 0x65, 0x74, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x6e,
807
+ 0x6b, 0x65, 0x64, 0x54, 0x77, 0x69, 0x74, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
808
+ 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6f, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x6e, 0x6b,
809
+ 0x65, 0x64, 0x54, 0x77, 0x69, 0x74, 0x74, 0x65, 0x72, 0x46, 0x6f, 0x72, 0x41, 0x64, 0x64, 0x72,
810
+ 0x65, 0x73, 0x73, 0x12, 0x26, 0x2e, 0x66, 0x61, 0x75, 0x63, 0x65, 0x74, 0x2e, 0x4c, 0x69, 0x6e,
811
+ 0x6b, 0x65, 0x64, 0x54, 0x77, 0x69, 0x74, 0x74, 0x65, 0x72, 0x46, 0x6f, 0x72, 0x41, 0x64, 0x64,
812
+ 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x66, 0x61,
813
+ 0x75, 0x63, 0x65, 0x74, 0x2e, 0x4c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x54, 0x77, 0x69, 0x74, 0x74,
814
+ 0x65, 0x72, 0x46, 0x6f, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70,
815
+ 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6f, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x6e,
816
+ 0x6b, 0x65, 0x64, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x46, 0x6f, 0x72, 0x54, 0x77, 0x69,
817
+ 0x74, 0x74, 0x65, 0x72, 0x12, 0x26, 0x2e, 0x66, 0x61, 0x75, 0x63, 0x65, 0x74, 0x2e, 0x4c, 0x69,
818
+ 0x6e, 0x6b, 0x65, 0x64, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x46, 0x6f, 0x72, 0x54, 0x77,
819
+ 0x69, 0x74, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x66,
820
+ 0x61, 0x75, 0x63, 0x65, 0x74, 0x2e, 0x4c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x41, 0x64, 0x64, 0x72,
821
+ 0x65, 0x73, 0x73, 0x46, 0x6f, 0x72, 0x54, 0x77, 0x69, 0x74, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73,
822
+ 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x14, 0x5a, 0x12, 0x70, 0x72, 0x6f, 0x74, 0x6f,
823
+ 0x62, 0x75, 0x66, 0x2f, 0x67, 0x6f, 0x2f, 0x66, 0x61, 0x75, 0x63, 0x65, 0x74, 0x62, 0x06, 0x70,
824
+ 0x72, 0x6f, 0x74, 0x6f, 0x33,
814
825
  }
815
826
 
816
827
  var (
@@ -1,7 +1,7 @@
1
1
  // Code generated by protoc-gen-go-grpc. DO NOT EDIT.
2
2
  // versions:
3
3
  // - protoc-gen-go-grpc v1.2.0
4
- // - protoc v3.20.1
4
+ // - protoc v3.21.3
5
5
  // source: proto/faucet.proto
6
6
 
7
7
  package faucet
@@ -30,6 +30,20 @@ export interface ECSStateRequestLatest {
30
30
  worldAddress: string;
31
31
  }
32
32
 
33
+ /** The request message for the latest ECS statem, pruned for specific address. */
34
+ export interface ECSStateRequestLatestStreamPruned {
35
+ worldAddress: string;
36
+ pruneAddress: string;
37
+ pruneComponentId?: string | undefined;
38
+ chunkPercentage?: number | undefined;
39
+ }
40
+
41
+ /** The request message for the latest chunked ECS state. */
42
+ export interface ECSStateRequestLatestStream {
43
+ worldAddress: string;
44
+ chunkPercentage?: number | undefined;
45
+ }
46
+
33
47
  /** The request message for the latest block based on latest ECS state. */
34
48
  export interface ECSStateBlockRequestLatest {
35
49
  worldAddress: string;
@@ -268,6 +282,108 @@ export const ECSStateRequestLatest = {
268
282
  },
269
283
  };
270
284
 
285
+ function createBaseECSStateRequestLatestStreamPruned(): ECSStateRequestLatestStreamPruned {
286
+ return { worldAddress: "", pruneAddress: "", pruneComponentId: undefined, chunkPercentage: undefined };
287
+ }
288
+
289
+ export const ECSStateRequestLatestStreamPruned = {
290
+ encode(message: ECSStateRequestLatestStreamPruned, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
291
+ if (message.worldAddress !== "") {
292
+ writer.uint32(10).string(message.worldAddress);
293
+ }
294
+ if (message.pruneAddress !== "") {
295
+ writer.uint32(18).string(message.pruneAddress);
296
+ }
297
+ if (message.pruneComponentId !== undefined) {
298
+ writer.uint32(26).string(message.pruneComponentId);
299
+ }
300
+ if (message.chunkPercentage !== undefined) {
301
+ writer.uint32(32).uint32(message.chunkPercentage);
302
+ }
303
+ return writer;
304
+ },
305
+
306
+ decode(input: _m0.Reader | Uint8Array, length?: number): ECSStateRequestLatestStreamPruned {
307
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
308
+ let end = length === undefined ? reader.len : reader.pos + length;
309
+ const message = createBaseECSStateRequestLatestStreamPruned();
310
+ while (reader.pos < end) {
311
+ const tag = reader.uint32();
312
+ switch (tag >>> 3) {
313
+ case 1:
314
+ message.worldAddress = reader.string();
315
+ break;
316
+ case 2:
317
+ message.pruneAddress = reader.string();
318
+ break;
319
+ case 3:
320
+ message.pruneComponentId = reader.string();
321
+ break;
322
+ case 4:
323
+ message.chunkPercentage = reader.uint32();
324
+ break;
325
+ default:
326
+ reader.skipType(tag & 7);
327
+ break;
328
+ }
329
+ }
330
+ return message;
331
+ },
332
+
333
+ fromPartial(object: DeepPartial<ECSStateRequestLatestStreamPruned>): ECSStateRequestLatestStreamPruned {
334
+ const message = createBaseECSStateRequestLatestStreamPruned();
335
+ message.worldAddress = object.worldAddress ?? "";
336
+ message.pruneAddress = object.pruneAddress ?? "";
337
+ message.pruneComponentId = object.pruneComponentId ?? undefined;
338
+ message.chunkPercentage = object.chunkPercentage ?? undefined;
339
+ return message;
340
+ },
341
+ };
342
+
343
+ function createBaseECSStateRequestLatestStream(): ECSStateRequestLatestStream {
344
+ return { worldAddress: "", chunkPercentage: undefined };
345
+ }
346
+
347
+ export const ECSStateRequestLatestStream = {
348
+ encode(message: ECSStateRequestLatestStream, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
349
+ if (message.worldAddress !== "") {
350
+ writer.uint32(10).string(message.worldAddress);
351
+ }
352
+ if (message.chunkPercentage !== undefined) {
353
+ writer.uint32(16).uint32(message.chunkPercentage);
354
+ }
355
+ return writer;
356
+ },
357
+
358
+ decode(input: _m0.Reader | Uint8Array, length?: number): ECSStateRequestLatestStream {
359
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
360
+ let end = length === undefined ? reader.len : reader.pos + length;
361
+ const message = createBaseECSStateRequestLatestStream();
362
+ while (reader.pos < end) {
363
+ const tag = reader.uint32();
364
+ switch (tag >>> 3) {
365
+ case 1:
366
+ message.worldAddress = reader.string();
367
+ break;
368
+ case 2:
369
+ message.chunkPercentage = reader.uint32();
370
+ break;
371
+ default:
372
+ reader.skipType(tag & 7);
373
+ break;
374
+ }
375
+ }
376
+ return message;
377
+ },
378
+
379
+ fromPartial(object: DeepPartial<ECSStateRequestLatestStream>): ECSStateRequestLatestStream {
380
+ const message = createBaseECSStateRequestLatestStream();
381
+ message.worldAddress = object.worldAddress ?? "";
382
+ message.chunkPercentage = object.chunkPercentage ?? undefined;
383
+ return message;
384
+ },
385
+ };
386
+
271
387
  function createBaseECSStateBlockRequestLatest(): ECSStateBlockRequestLatest {
272
388
  return { worldAddress: "" };
273
389
  }
@@ -492,7 +608,16 @@ export const ECSStateSnapshotServiceDefinition = {
492
608
  /** Requests the latest ECS state in stream format, which will chunk the state. */
493
609
  getStateLatestStream: {
494
610
  name: "GetStateLatestStream",
495
- requestType: ECSStateRequestLatest,
611
+ requestType: ECSStateRequestLatestStream,
612
+ requestStream: false,
613
+ responseType: ECSStateReply,
614
+ responseStream: true,
615
+ options: {},
616
+ },
617
+ /** Requests the latest ECS state, with aditional pruning. */
618
+ getStateLatestStreamPruned: {
619
+ name: "GetStateLatestStreamPruned",
620
+ requestType: ECSStateRequestLatestStreamPruned,
496
621
  requestStream: false,
497
622
  responseType: ECSStateReply,
498
623
  responseStream: true,
@@ -536,7 +661,12 @@ export interface ECSStateSnapshotServiceServiceImplementation<CallContextExt = {
536
661
  ): Promise<DeepPartial<ECSStateReply>>;
537
662
  /** Requests the latest ECS state in stream format, which will chunk the state. */
538
663
  getStateLatestStream(
539
- request: ECSStateRequestLatest,
664
+ request: ECSStateRequestLatestStream,
665
+ context: CallContext & CallContextExt
666
+ ): ServerStreamingMethodResult<DeepPartial<ECSStateReply>>;
667
+ /** Requests the latest ECS state, with aditional pruning. */
668
+ getStateLatestStreamPruned(
669
+ request: ECSStateRequestLatestStreamPruned,
540
670
  context: CallContext & CallContextExt
541
671
  ): ServerStreamingMethodResult<DeepPartial<ECSStateReply>>;
542
672
  /** Requests the latest block number based on the latest ECS state. */
@@ -561,7 +691,12 @@ export interface ECSStateSnapshotServiceClient<CallOptionsExt = {}> {
561
691
  ): Promise<ECSStateReply>;
562
692
  /** Requests the latest ECS state in stream format, which will chunk the state. */
563
693
  getStateLatestStream(
564
- request: DeepPartial<ECSStateRequestLatest>,
694
+ request: DeepPartial<ECSStateRequestLatestStream>,
695
+ options?: CallOptions & CallOptionsExt
696
+ ): AsyncIterable<ECSStateReply>;
697
+ /** Requests the latest ECS state, with aditional pruning. */
698
+ getStateLatestStreamPruned(
699
+ request: DeepPartial<ECSStateRequestLatestStreamPruned>,
565
700
  options?: CallOptions & CallOptionsExt
566
701
  ): AsyncIterable<ECSStateReply>;
567
702
  /** Requests the latest block number based on the latest ECS state. */
@@ -51,9 +51,10 @@ export interface DripDevRequest {
51
51
  address: string;
52
52
  }
53
53
 
54
- /** Response for drip request that contains the transaction hash of the drip tx. */
54
+ /** Response for drip request that contains the transaction hash of the drip tx and the ECS component set hash (if any). */
55
55
  export interface DripResponse {
56
- txHash: string;
56
+ dripTxHash: string;
57
+ ecsTxHash: string;
57
58
  }
58
59
 
59
60
  /** Response for the time until next drip request. */
@@ -477,13 +478,16 @@ export const DripDevRequest = {
477
478
  };
478
479
 
479
480
  function createBaseDripResponse(): DripResponse {
480
- return { txHash: "" };
481
+ return { dripTxHash: "", ecsTxHash: "" };
481
482
  }
482
483
 
483
484
  export const DripResponse = {
484
485
  encode(message: DripResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
485
- if (message.txHash !== "") {
486
- writer.uint32(10).string(message.txHash);
486
+ if (message.dripTxHash !== "") {
487
+ writer.uint32(10).string(message.dripTxHash);
488
+ }
489
+ if (message.ecsTxHash !== "") {
490
+ writer.uint32(18).string(message.ecsTxHash);
487
491
  }
488
492
  return writer;
489
493
  },
@@ -496,7 +500,10 @@ export const DripResponse = {
496
500
  const tag = reader.uint32();
497
501
  switch (tag >>> 3) {
498
502
  case 1:
499
- message.txHash = reader.string();
503
+ message.dripTxHash = reader.string();
504
+ break;
505
+ case 2:
506
+ message.ecsTxHash = reader.string();
500
507
  break;
501
508
  default:
502
509
  reader.skipType(tag & 7);
@@ -508,7 +515,8 @@ export const DripResponse = {
508
515
 
509
516
  fromPartial(object: DeepPartial<DripResponse>): DripResponse {
510
517
  const message = createBaseDripResponse();
511
- message.txHash = object.txHash ?? "";
518
+ message.dripTxHash = object.dripTxHash ?? "";
519
+ message.ecsTxHash = object.ecsTxHash ?? "";
512
520
  return message;
513
521
  },
514
522
  };