@latticexyz/services 1.17.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 +0 -0
- package/bin/ecs-snapshot +0 -0
- package/bin/ecs-stream +0 -0
- package/bin/faucet +0 -0
- package/package.json +2 -2
- package/protobuf/go/ecs-snapshot/ecs-snapshot.pb.go +225 -115
- package/protobuf/go/ecs-snapshot/ecs-snapshot_grpc.pb.go +65 -0
- package/protobuf/go/ecs-stream/ecs-stream.pb.go +1 -1
- package/protobuf/go/ecs-stream/ecs-stream_grpc.pb.go +1 -1
- package/protobuf/go/faucet/faucet.pb.go +87 -76
- package/protobuf/go/faucet/faucet_grpc.pb.go +1 -1
- package/protobuf/ts/ecs-snapshot/ecs-snapshot.ts +85 -0
- package/protobuf/ts/faucet/faucet.ts +15 -7
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.
|
|
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": "
|
|
23
|
+
"gitHead": "d579fab7e081e0208beb90bcb23f25e711897ba2"
|
|
24
24
|
}
|
|
@@ -273,6 +273,78 @@ 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
|
+
|
|
276
348
|
// The request message for the latest chunked ECS state.
|
|
277
349
|
type ECSStateRequestLatestStream struct {
|
|
278
350
|
state protoimpl.MessageState
|
|
@@ -286,7 +358,7 @@ type ECSStateRequestLatestStream struct {
|
|
|
286
358
|
func (x *ECSStateRequestLatestStream) Reset() {
|
|
287
359
|
*x = ECSStateRequestLatestStream{}
|
|
288
360
|
if protoimpl.UnsafeEnabled {
|
|
289
|
-
mi := &file_proto_ecs_snapshot_proto_msgTypes[
|
|
361
|
+
mi := &file_proto_ecs_snapshot_proto_msgTypes[5]
|
|
290
362
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
291
363
|
ms.StoreMessageInfo(mi)
|
|
292
364
|
}
|
|
@@ -299,7 +371,7 @@ func (x *ECSStateRequestLatestStream) String() string {
|
|
|
299
371
|
func (*ECSStateRequestLatestStream) ProtoMessage() {}
|
|
300
372
|
|
|
301
373
|
func (x *ECSStateRequestLatestStream) ProtoReflect() protoreflect.Message {
|
|
302
|
-
mi := &file_proto_ecs_snapshot_proto_msgTypes[
|
|
374
|
+
mi := &file_proto_ecs_snapshot_proto_msgTypes[5]
|
|
303
375
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
304
376
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
305
377
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -312,7 +384,7 @@ func (x *ECSStateRequestLatestStream) ProtoReflect() protoreflect.Message {
|
|
|
312
384
|
|
|
313
385
|
// Deprecated: Use ECSStateRequestLatestStream.ProtoReflect.Descriptor instead.
|
|
314
386
|
func (*ECSStateRequestLatestStream) Descriptor() ([]byte, []int) {
|
|
315
|
-
return file_proto_ecs_snapshot_proto_rawDescGZIP(), []int{
|
|
387
|
+
return file_proto_ecs_snapshot_proto_rawDescGZIP(), []int{5}
|
|
316
388
|
}
|
|
317
389
|
|
|
318
390
|
func (x *ECSStateRequestLatestStream) GetWorldAddress() string {
|
|
@@ -341,7 +413,7 @@ type ECSStateBlockRequestLatest struct {
|
|
|
341
413
|
func (x *ECSStateBlockRequestLatest) Reset() {
|
|
342
414
|
*x = ECSStateBlockRequestLatest{}
|
|
343
415
|
if protoimpl.UnsafeEnabled {
|
|
344
|
-
mi := &file_proto_ecs_snapshot_proto_msgTypes[
|
|
416
|
+
mi := &file_proto_ecs_snapshot_proto_msgTypes[6]
|
|
345
417
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
346
418
|
ms.StoreMessageInfo(mi)
|
|
347
419
|
}
|
|
@@ -354,7 +426,7 @@ func (x *ECSStateBlockRequestLatest) String() string {
|
|
|
354
426
|
func (*ECSStateBlockRequestLatest) ProtoMessage() {}
|
|
355
427
|
|
|
356
428
|
func (x *ECSStateBlockRequestLatest) ProtoReflect() protoreflect.Message {
|
|
357
|
-
mi := &file_proto_ecs_snapshot_proto_msgTypes[
|
|
429
|
+
mi := &file_proto_ecs_snapshot_proto_msgTypes[6]
|
|
358
430
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
359
431
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
360
432
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -367,7 +439,7 @@ func (x *ECSStateBlockRequestLatest) ProtoReflect() protoreflect.Message {
|
|
|
367
439
|
|
|
368
440
|
// Deprecated: Use ECSStateBlockRequestLatest.ProtoReflect.Descriptor instead.
|
|
369
441
|
func (*ECSStateBlockRequestLatest) Descriptor() ([]byte, []int) {
|
|
370
|
-
return file_proto_ecs_snapshot_proto_rawDescGZIP(), []int{
|
|
442
|
+
return file_proto_ecs_snapshot_proto_rawDescGZIP(), []int{6}
|
|
371
443
|
}
|
|
372
444
|
|
|
373
445
|
func (x *ECSStateBlockRequestLatest) GetWorldAddress() string {
|
|
@@ -389,7 +461,7 @@ type ECSStateRequestAtBlock struct {
|
|
|
389
461
|
func (x *ECSStateRequestAtBlock) Reset() {
|
|
390
462
|
*x = ECSStateRequestAtBlock{}
|
|
391
463
|
if protoimpl.UnsafeEnabled {
|
|
392
|
-
mi := &file_proto_ecs_snapshot_proto_msgTypes[
|
|
464
|
+
mi := &file_proto_ecs_snapshot_proto_msgTypes[7]
|
|
393
465
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
394
466
|
ms.StoreMessageInfo(mi)
|
|
395
467
|
}
|
|
@@ -402,7 +474,7 @@ func (x *ECSStateRequestAtBlock) String() string {
|
|
|
402
474
|
func (*ECSStateRequestAtBlock) ProtoMessage() {}
|
|
403
475
|
|
|
404
476
|
func (x *ECSStateRequestAtBlock) ProtoReflect() protoreflect.Message {
|
|
405
|
-
mi := &file_proto_ecs_snapshot_proto_msgTypes[
|
|
477
|
+
mi := &file_proto_ecs_snapshot_proto_msgTypes[7]
|
|
406
478
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
407
479
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
408
480
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -415,7 +487,7 @@ func (x *ECSStateRequestAtBlock) ProtoReflect() protoreflect.Message {
|
|
|
415
487
|
|
|
416
488
|
// Deprecated: Use ECSStateRequestAtBlock.ProtoReflect.Descriptor instead.
|
|
417
489
|
func (*ECSStateRequestAtBlock) Descriptor() ([]byte, []int) {
|
|
418
|
-
return file_proto_ecs_snapshot_proto_rawDescGZIP(), []int{
|
|
490
|
+
return file_proto_ecs_snapshot_proto_rawDescGZIP(), []int{7}
|
|
419
491
|
}
|
|
420
492
|
|
|
421
493
|
func (x *ECSStateRequestAtBlock) GetBlockNumber() uint64 {
|
|
@@ -435,7 +507,7 @@ type WorldsRequest struct {
|
|
|
435
507
|
func (x *WorldsRequest) Reset() {
|
|
436
508
|
*x = WorldsRequest{}
|
|
437
509
|
if protoimpl.UnsafeEnabled {
|
|
438
|
-
mi := &file_proto_ecs_snapshot_proto_msgTypes[
|
|
510
|
+
mi := &file_proto_ecs_snapshot_proto_msgTypes[8]
|
|
439
511
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
440
512
|
ms.StoreMessageInfo(mi)
|
|
441
513
|
}
|
|
@@ -448,7 +520,7 @@ func (x *WorldsRequest) String() string {
|
|
|
448
520
|
func (*WorldsRequest) ProtoMessage() {}
|
|
449
521
|
|
|
450
522
|
func (x *WorldsRequest) ProtoReflect() protoreflect.Message {
|
|
451
|
-
mi := &file_proto_ecs_snapshot_proto_msgTypes[
|
|
523
|
+
mi := &file_proto_ecs_snapshot_proto_msgTypes[8]
|
|
452
524
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
453
525
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
454
526
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -461,7 +533,7 @@ func (x *WorldsRequest) ProtoReflect() protoreflect.Message {
|
|
|
461
533
|
|
|
462
534
|
// Deprecated: Use WorldsRequest.ProtoReflect.Descriptor instead.
|
|
463
535
|
func (*WorldsRequest) Descriptor() ([]byte, []int) {
|
|
464
|
-
return file_proto_ecs_snapshot_proto_rawDescGZIP(), []int{
|
|
536
|
+
return file_proto_ecs_snapshot_proto_rawDescGZIP(), []int{8}
|
|
465
537
|
}
|
|
466
538
|
|
|
467
539
|
// The response message containing the current state, hash of that state, and the block number of that state.
|
|
@@ -480,7 +552,7 @@ type ECSStateReply struct {
|
|
|
480
552
|
func (x *ECSStateReply) Reset() {
|
|
481
553
|
*x = ECSStateReply{}
|
|
482
554
|
if protoimpl.UnsafeEnabled {
|
|
483
|
-
mi := &file_proto_ecs_snapshot_proto_msgTypes[
|
|
555
|
+
mi := &file_proto_ecs_snapshot_proto_msgTypes[9]
|
|
484
556
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
485
557
|
ms.StoreMessageInfo(mi)
|
|
486
558
|
}
|
|
@@ -493,7 +565,7 @@ func (x *ECSStateReply) String() string {
|
|
|
493
565
|
func (*ECSStateReply) ProtoMessage() {}
|
|
494
566
|
|
|
495
567
|
func (x *ECSStateReply) ProtoReflect() protoreflect.Message {
|
|
496
|
-
mi := &file_proto_ecs_snapshot_proto_msgTypes[
|
|
568
|
+
mi := &file_proto_ecs_snapshot_proto_msgTypes[9]
|
|
497
569
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
498
570
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
499
571
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -506,7 +578,7 @@ func (x *ECSStateReply) ProtoReflect() protoreflect.Message {
|
|
|
506
578
|
|
|
507
579
|
// Deprecated: Use ECSStateReply.ProtoReflect.Descriptor instead.
|
|
508
580
|
func (*ECSStateReply) Descriptor() ([]byte, []int) {
|
|
509
|
-
return file_proto_ecs_snapshot_proto_rawDescGZIP(), []int{
|
|
581
|
+
return file_proto_ecs_snapshot_proto_rawDescGZIP(), []int{9}
|
|
510
582
|
}
|
|
511
583
|
|
|
512
584
|
func (x *ECSStateReply) GetState() []*ECSState {
|
|
@@ -555,7 +627,7 @@ type ECSStateBlockReply struct {
|
|
|
555
627
|
func (x *ECSStateBlockReply) Reset() {
|
|
556
628
|
*x = ECSStateBlockReply{}
|
|
557
629
|
if protoimpl.UnsafeEnabled {
|
|
558
|
-
mi := &file_proto_ecs_snapshot_proto_msgTypes[
|
|
630
|
+
mi := &file_proto_ecs_snapshot_proto_msgTypes[10]
|
|
559
631
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
560
632
|
ms.StoreMessageInfo(mi)
|
|
561
633
|
}
|
|
@@ -568,7 +640,7 @@ func (x *ECSStateBlockReply) String() string {
|
|
|
568
640
|
func (*ECSStateBlockReply) ProtoMessage() {}
|
|
569
641
|
|
|
570
642
|
func (x *ECSStateBlockReply) ProtoReflect() protoreflect.Message {
|
|
571
|
-
mi := &file_proto_ecs_snapshot_proto_msgTypes[
|
|
643
|
+
mi := &file_proto_ecs_snapshot_proto_msgTypes[10]
|
|
572
644
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
573
645
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
574
646
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -581,7 +653,7 @@ func (x *ECSStateBlockReply) ProtoReflect() protoreflect.Message {
|
|
|
581
653
|
|
|
582
654
|
// Deprecated: Use ECSStateBlockReply.ProtoReflect.Descriptor instead.
|
|
583
655
|
func (*ECSStateBlockReply) Descriptor() ([]byte, []int) {
|
|
584
|
-
return file_proto_ecs_snapshot_proto_rawDescGZIP(), []int{
|
|
656
|
+
return file_proto_ecs_snapshot_proto_rawDescGZIP(), []int{10}
|
|
585
657
|
}
|
|
586
658
|
|
|
587
659
|
func (x *ECSStateBlockReply) GetBlockNumber() uint32 {
|
|
@@ -628,72 +700,94 @@ var file_proto_ecs_snapshot_proto_rawDesc = []byte{
|
|
|
628
700
|
0x15, 0x45, 0x43, 0x53, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
629
701
|
0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x41,
|
|
630
702
|
0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x77, 0x6f,
|
|
631
|
-
0x72, 0x6c, 0x64, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22,
|
|
703
|
+
0x72, 0x6c, 0x64, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0xf4, 0x01, 0x0a, 0x21, 0x45,
|
|
632
704
|
0x43, 0x53, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4c, 0x61,
|
|
633
|
-
0x74, 0x65, 0x73, 0x74, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d,
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
638
|
-
|
|
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,
|
|
639
718
|
0x10, 0x5f, 0x63, 0x68, 0x75, 0x6e, 0x6b, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67,
|
|
640
|
-
0x65, 0x22,
|
|
641
|
-
|
|
642
|
-
0x22, 0x0a, 0x0c, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73,
|
|
643
|
-
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x41, 0x64,
|
|
644
|
-
0x65, 0x73, 0x73,
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
0x28, 0x0a, 0x0f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e,
|
|
654
|
-
0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x43,
|
|
655
|
-
0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x24, 0x0a, 0x0d, 0x73, 0x74, 0x61,
|
|
656
|
-
0x74, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09,
|
|
657
|
-
0x52, 0x0d, 0x73, 0x74, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12,
|
|
658
|
-
0x1c, 0x0a, 0x09, 0x73, 0x74, 0x61, 0x74, 0x65, 0x48, 0x61, 0x73, 0x68, 0x18, 0x04, 0x20, 0x01,
|
|
659
|
-
0x28, 0x09, 0x52, 0x09, 0x73, 0x74, 0x61, 0x74, 0x65, 0x48, 0x61, 0x73, 0x68, 0x12, 0x20, 0x0a,
|
|
660
|
-
0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01,
|
|
661
|
-
0x28, 0x0d, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22,
|
|
662
|
-
0x36, 0x0a, 0x12, 0x45, 0x43, 0x53, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x6c, 0x6f, 0x63, 0x6b,
|
|
663
|
-
0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x20, 0x0a, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75,
|
|
664
|
-
0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63,
|
|
665
|
-
0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x32, 0xc8, 0x03, 0x0a, 0x17, 0x45, 0x43, 0x53, 0x53,
|
|
666
|
-
0x74, 0x61, 0x74, 0x65, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x53, 0x65, 0x72, 0x76,
|
|
667
|
-
0x69, 0x63, 0x65, 0x12, 0x52, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x4c,
|
|
668
|
-
0x61, 0x74, 0x65, 0x73, 0x74, 0x12, 0x22, 0x2e, 0x65, 0x63, 0x73, 0x73, 0x6e, 0x61, 0x70, 0x73,
|
|
669
|
-
0x68, 0x6f, 0x74, 0x2e, 0x45, 0x43, 0x53, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75,
|
|
670
|
-
0x65, 0x73, 0x74, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x65, 0x63, 0x73, 0x73,
|
|
671
|
-
0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x2e, 0x45, 0x43, 0x53, 0x53, 0x74, 0x61, 0x74, 0x65,
|
|
672
|
-
0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x60, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x53, 0x74,
|
|
673
|
-
0x61, 0x74, 0x65, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12,
|
|
674
|
-
0x28, 0x2e, 0x65, 0x63, 0x73, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x2e, 0x45, 0x43,
|
|
675
|
-
0x53, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4c, 0x61, 0x74,
|
|
676
|
-
0x65, 0x73, 0x74, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x1a, 0x1a, 0x2e, 0x65, 0x63, 0x73, 0x73,
|
|
677
|
-
0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x2e, 0x45, 0x43, 0x53, 0x53, 0x74, 0x61, 0x74, 0x65,
|
|
678
|
-
0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x30, 0x01, 0x12, 0x61, 0x0a, 0x13, 0x47, 0x65, 0x74,
|
|
679
|
-
0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74,
|
|
680
|
-
0x12, 0x27, 0x2e, 0x65, 0x63, 0x73, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x2e, 0x45,
|
|
681
|
-
0x43, 0x53, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75,
|
|
682
|
-
0x65, 0x73, 0x74, 0x4c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x65, 0x63, 0x73, 0x73,
|
|
683
|
-
0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x2e, 0x45, 0x43, 0x53, 0x53, 0x74, 0x61, 0x74, 0x65,
|
|
684
|
-
0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x54, 0x0a, 0x0f,
|
|
685
|
-
0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x41, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12,
|
|
686
|
-
0x23, 0x2e, 0x65, 0x63, 0x73, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x2e, 0x45, 0x43,
|
|
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,
|
|
687
732
|
0x53, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x41, 0x74, 0x42,
|
|
688
|
-
0x6c, 0x6f, 0x63, 0x6b,
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
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,
|
|
739
|
+
0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x2e, 0x45, 0x43, 0x53, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52,
|
|
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,
|
|
756
|
+
0x63, 0x73, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x2e, 0x45, 0x43, 0x53, 0x53, 0x74,
|
|
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,
|
|
697
791
|
}
|
|
698
792
|
|
|
699
793
|
var (
|
|
@@ -708,37 +802,40 @@ func file_proto_ecs_snapshot_proto_rawDescGZIP() []byte {
|
|
|
708
802
|
return file_proto_ecs_snapshot_proto_rawDescData
|
|
709
803
|
}
|
|
710
804
|
|
|
711
|
-
var file_proto_ecs_snapshot_proto_msgTypes = make([]protoimpl.MessageInfo,
|
|
805
|
+
var file_proto_ecs_snapshot_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
|
|
712
806
|
var file_proto_ecs_snapshot_proto_goTypes = []interface{}{
|
|
713
|
-
(*ECSState)(nil),
|
|
714
|
-
(*ECSStateSnapshot)(nil),
|
|
715
|
-
(*Worlds)(nil),
|
|
716
|
-
(*ECSStateRequestLatest)(nil),
|
|
717
|
-
(*
|
|
718
|
-
(*
|
|
719
|
-
(*
|
|
720
|
-
(*
|
|
721
|
-
(*
|
|
722
|
-
(*
|
|
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
|
|
723
818
|
}
|
|
724
819
|
var file_proto_ecs_snapshot_proto_depIdxs = []int32{
|
|
725
|
-
0,
|
|
726
|
-
0,
|
|
727
|
-
3,
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
6,
|
|
731
|
-
7,
|
|
732
|
-
8,
|
|
733
|
-
|
|
734
|
-
9,
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
2,
|
|
739
|
-
|
|
740
|
-
2,
|
|
741
|
-
|
|
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
|
|
742
839
|
}
|
|
743
840
|
|
|
744
841
|
func init() { file_proto_ecs_snapshot_proto_init() }
|
|
@@ -796,7 +893,7 @@ func file_proto_ecs_snapshot_proto_init() {
|
|
|
796
893
|
}
|
|
797
894
|
}
|
|
798
895
|
file_proto_ecs_snapshot_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
799
|
-
switch v := v.(*
|
|
896
|
+
switch v := v.(*ECSStateRequestLatestStreamPruned); i {
|
|
800
897
|
case 0:
|
|
801
898
|
return &v.state
|
|
802
899
|
case 1:
|
|
@@ -808,7 +905,7 @@ func file_proto_ecs_snapshot_proto_init() {
|
|
|
808
905
|
}
|
|
809
906
|
}
|
|
810
907
|
file_proto_ecs_snapshot_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
811
|
-
switch v := v.(*
|
|
908
|
+
switch v := v.(*ECSStateRequestLatestStream); i {
|
|
812
909
|
case 0:
|
|
813
910
|
return &v.state
|
|
814
911
|
case 1:
|
|
@@ -820,7 +917,7 @@ func file_proto_ecs_snapshot_proto_init() {
|
|
|
820
917
|
}
|
|
821
918
|
}
|
|
822
919
|
file_proto_ecs_snapshot_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
823
|
-
switch v := v.(*
|
|
920
|
+
switch v := v.(*ECSStateBlockRequestLatest); i {
|
|
824
921
|
case 0:
|
|
825
922
|
return &v.state
|
|
826
923
|
case 1:
|
|
@@ -832,7 +929,7 @@ func file_proto_ecs_snapshot_proto_init() {
|
|
|
832
929
|
}
|
|
833
930
|
}
|
|
834
931
|
file_proto_ecs_snapshot_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
835
|
-
switch v := v.(*
|
|
932
|
+
switch v := v.(*ECSStateRequestAtBlock); i {
|
|
836
933
|
case 0:
|
|
837
934
|
return &v.state
|
|
838
935
|
case 1:
|
|
@@ -844,7 +941,7 @@ func file_proto_ecs_snapshot_proto_init() {
|
|
|
844
941
|
}
|
|
845
942
|
}
|
|
846
943
|
file_proto_ecs_snapshot_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
847
|
-
switch v := v.(*
|
|
944
|
+
switch v := v.(*WorldsRequest); i {
|
|
848
945
|
case 0:
|
|
849
946
|
return &v.state
|
|
850
947
|
case 1:
|
|
@@ -856,6 +953,18 @@ func file_proto_ecs_snapshot_proto_init() {
|
|
|
856
953
|
}
|
|
857
954
|
}
|
|
858
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{} {
|
|
859
968
|
switch v := v.(*ECSStateBlockReply); i {
|
|
860
969
|
case 0:
|
|
861
970
|
return &v.state
|
|
@@ -869,13 +978,14 @@ func file_proto_ecs_snapshot_proto_init() {
|
|
|
869
978
|
}
|
|
870
979
|
}
|
|
871
980
|
file_proto_ecs_snapshot_proto_msgTypes[4].OneofWrappers = []interface{}{}
|
|
981
|
+
file_proto_ecs_snapshot_proto_msgTypes[5].OneofWrappers = []interface{}{}
|
|
872
982
|
type x struct{}
|
|
873
983
|
out := protoimpl.TypeBuilder{
|
|
874
984
|
File: protoimpl.DescBuilder{
|
|
875
985
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
876
986
|
RawDescriptor: file_proto_ecs_snapshot_proto_rawDesc,
|
|
877
987
|
NumEnums: 0,
|
|
878
|
-
NumMessages:
|
|
988
|
+
NumMessages: 11,
|
|
879
989
|
NumExtensions: 0,
|
|
880
990
|
NumServices: 1,
|
|
881
991
|
},
|
|
@@ -26,6 +26,8 @@ type ECSStateSnapshotServiceClient interface {
|
|
|
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
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.
|
|
@@ -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...)
|
|
@@ -118,6 +152,8 @@ type ECSStateSnapshotServiceServer interface {
|
|
|
118
152
|
GetStateLatest(context.Context, *ECSStateRequestLatest) (*ECSStateReply, error)
|
|
119
153
|
// Requests the latest ECS state in stream format, which will chunk the state.
|
|
120
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.
|
|
@@ -137,6 +173,9 @@ func (UnimplementedECSStateSnapshotServiceServer) GetStateLatest(context.Context
|
|
|
137
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
|
}
|
|
@@ -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.
|
|
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
|
-
|
|
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)
|
|
353
|
+
func (x *DripResponse) GetDripTxHash() string {
|
|
353
354
|
if x != nil {
|
|
354
|
-
return x.
|
|
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,
|
|
742
|
-
0x6f, 0x6e, 0x73, 0x65, 0x12,
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
0x69,
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
0x69,
|
|
759
|
-
|
|
760
|
-
0x6b, 0x65, 0x64, 0x54, 0x77, 0x69, 0x74, 0x74, 0x65, 0x72,
|
|
761
|
-
|
|
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,
|
|
764
|
-
|
|
765
|
-
|
|
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,
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
0x65,
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
0x74,
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
0x65,
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
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 (
|
|
@@ -30,6 +30,14 @@ 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
|
+
|
|
33
41
|
/** The request message for the latest chunked ECS state. */
|
|
34
42
|
export interface ECSStateRequestLatestStream {
|
|
35
43
|
worldAddress: string;
|
|
@@ -274,6 +282,64 @@ export const ECSStateRequestLatest = {
|
|
|
274
282
|
},
|
|
275
283
|
};
|
|
276
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
|
+
|
|
277
343
|
function createBaseECSStateRequestLatestStream(): ECSStateRequestLatestStream {
|
|
278
344
|
return { worldAddress: "", chunkPercentage: undefined };
|
|
279
345
|
}
|
|
@@ -548,6 +614,15 @@ export const ECSStateSnapshotServiceDefinition = {
|
|
|
548
614
|
responseStream: true,
|
|
549
615
|
options: {},
|
|
550
616
|
},
|
|
617
|
+
/** Requests the latest ECS state, with aditional pruning. */
|
|
618
|
+
getStateLatestStreamPruned: {
|
|
619
|
+
name: "GetStateLatestStreamPruned",
|
|
620
|
+
requestType: ECSStateRequestLatestStreamPruned,
|
|
621
|
+
requestStream: false,
|
|
622
|
+
responseType: ECSStateReply,
|
|
623
|
+
responseStream: true,
|
|
624
|
+
options: {},
|
|
625
|
+
},
|
|
551
626
|
/** Requests the latest block number based on the latest ECS state. */
|
|
552
627
|
getStateBlockLatest: {
|
|
553
628
|
name: "GetStateBlockLatest",
|
|
@@ -589,6 +664,11 @@ export interface ECSStateSnapshotServiceServiceImplementation<CallContextExt = {
|
|
|
589
664
|
request: ECSStateRequestLatestStream,
|
|
590
665
|
context: CallContext & CallContextExt
|
|
591
666
|
): ServerStreamingMethodResult<DeepPartial<ECSStateReply>>;
|
|
667
|
+
/** Requests the latest ECS state, with aditional pruning. */
|
|
668
|
+
getStateLatestStreamPruned(
|
|
669
|
+
request: ECSStateRequestLatestStreamPruned,
|
|
670
|
+
context: CallContext & CallContextExt
|
|
671
|
+
): ServerStreamingMethodResult<DeepPartial<ECSStateReply>>;
|
|
592
672
|
/** Requests the latest block number based on the latest ECS state. */
|
|
593
673
|
getStateBlockLatest(
|
|
594
674
|
request: ECSStateBlockRequestLatest,
|
|
@@ -614,6 +694,11 @@ export interface ECSStateSnapshotServiceClient<CallOptionsExt = {}> {
|
|
|
614
694
|
request: DeepPartial<ECSStateRequestLatestStream>,
|
|
615
695
|
options?: CallOptions & CallOptionsExt
|
|
616
696
|
): AsyncIterable<ECSStateReply>;
|
|
697
|
+
/** Requests the latest ECS state, with aditional pruning. */
|
|
698
|
+
getStateLatestStreamPruned(
|
|
699
|
+
request: DeepPartial<ECSStateRequestLatestStreamPruned>,
|
|
700
|
+
options?: CallOptions & CallOptionsExt
|
|
701
|
+
): AsyncIterable<ECSStateReply>;
|
|
617
702
|
/** Requests the latest block number based on the latest ECS state. */
|
|
618
703
|
getStateBlockLatest(
|
|
619
704
|
request: DeepPartial<ECSStateBlockRequestLatest>,
|
|
@@ -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
|
-
|
|
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 {
|
|
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.
|
|
486
|
-
writer.uint32(10).string(message.
|
|
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.
|
|
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.
|
|
518
|
+
message.dripTxHash = object.dripTxHash ?? "";
|
|
519
|
+
message.ecsTxHash = object.ecsTxHash ?? "";
|
|
512
520
|
return message;
|
|
513
521
|
},
|
|
514
522
|
};
|